Thread: RE: [INTERFACES] Jdbc-WebServer

RE: [INTERFACES] Jdbc-WebServer

From
Peter Mount
Date:
There is a trick to get the driver recognised without using the
CLASSPATH. I'm not sure about the Netscape server, but with the jdk's
find the rt.jar file, and place the postgresql.jar file into the same
directory.

I can't remember the exact location, but any jar files in this directory
are automatically included before the CLASSPATH.

Peter

-- 
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council.



-----Original Message-----
From: Zubair Saifullah [mailto:zubairsaifullah@hotmail.com]
Sent: 06 October 1999 07:59
To: pgsql-interfaces@postgreSQL.org
Subject: [INTERFACES] Jdbc-WebServer


I am using jdbc with java servlets to connect to Postgres database.
When I set the CLASSPATH to the driver it works fine. But how do I make
the 
server (Netscape3.6/Apache) find this Driver. It is giving me a class
not 
found error for the driver.
I will appreciate the answer.
Thanks

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

************


Re: [INTERFACES] Jdbc-WebServer

From
Brian P Millett
Date:
Peter Mount wrote:

> There is a trick to get the driver recognised without using the
> CLASSPATH. I'm not sure about the Netscape server, but with the jdk's
> find the rt.jar file, and place the postgresql.jar file into the same
> directory.
>
> I can't remember the exact location, but any jar files in this directory
> are automatically included before the CLASSPATH.

If that is JDK 1.2.X, then if I have installed java 1.2.X in /usr/java1.2,
then

/usr/java1.2/jre/lib/ext is the directory that jar files should be to be
loaded automatically.

I do not believe that there is a directory for jdk1.1.X.

--
Brian Millett
Enterprise Consulting Group     "Heaven can not exist,
(314) 205-9030                     If the family is not eternal"
bpm@ec-group.com                   F. Ballard Washburn