On Fri, 14 Apr 2000, Dileep Mathew wrote:
> >From servlets I am not able to connect to the database
> The error is coming
> Class not found Exception .
> I used - Class.forName("postgresql.Driver");
> My Servlet is running on Apache web server.Platform
> is Linux 6.1.
> Database is postgresql.
> But this same program is working as java application
> . I am able to connect to database without any
> if you come across this problem
> .Please let me know
Ok, we had exactly the same problem.
you have to set your classpath correctly in jserv.properties
here's an excerpt from mine :
be careful: our installation is a Debian, and postgresql.jar was compiled
I installed jdk-1.2.2 and I had to recompile postgresql.jar from
it works fine for the person who uses it (I don't know java at all).
In response to
- at 2000-04-14 09:25:56 from Dileep Mathew
pgsql-sql by date
|Next:||From: Colin Smith||Date: 2000-04-14 11:51:07|
|Subject: Re: [Fwd: [HACKERS] Porting reports (cont'd)]|
|Previous:||From: Dileep Mathew||Date: 2000-04-14 09:25:56|