pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feed(no subject)
2+ messages / 2 participants
[nested] [flat]
* (no subject)
@ 2000-04-14 09:25 Dileep Mathew <dileep_mathew@yahoo.com>
0 siblings, 1 reply; 2+ messages in thread
From: Dileep Mathew @ 2000-04-14 09:25 UTC (permalink / raw)
To: pgsql-sql
hai
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
exception.
if you come across this problem
.Please let me know
My email id: dileep_mathew@yahoo.com
dileep
__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re:
@ 2000-04-14 10:37 Jerome Alet <alet@unice.fr>
parent: Dileep Mathew <dileep_mathew@yahoo.com>
0 siblings, 0 replies; 2+ messages in thread
From: Jerome Alet @ 2000-04-14 10:37 UTC (permalink / raw)
To: Dileep Mathew <dileep_mathew@yahoo.com>; +Cc: pgsql-sql
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
> exception.
> 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 :
wrapper.classpath=/usr/lib/apache/1.3/ApacheJServ.jar
wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar
wrapper.classpath=/usr/share/java/postgresql.jar
be careful: our installation is a Debian, and postgresql.jar was compiled
for jdk-1.1.x
I installed jdk-1.2.2 and I had to recompile postgresql.jar from
postgresql-6.5.3 sources
it works fine for the person who uses it (I don't know java at all).
bye,
Jerome
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-04-14 10:37 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-04-14 09:25 Dileep Mathew <dileep_mathew@yahoo.com>
2000-04-14 10:37 ` Re: Jerome Alet <alet@unice.fr>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox