pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Jdbc-WebServer
5+ messages / 4 participants
[nested] [flat]

* Jdbc-WebServer
@ 1999-10-05 23:59  Zubair Saifullah <zubairsaifullah@hotmail.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Zubair Saifullah @ 1999-10-05 23:59 UTC (permalink / raw)
  To: pgsql-interfaces

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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: [INTERFACES] Jdbc-WebServer
@ 1999-10-06 13:41  Anders Svensson <anders@simusoft.dk>
  parent: Zubair Saifullah <zubairsaifullah@hotmail.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Anders Svensson @ 1999-10-06 13:41 UTC (permalink / raw)
  To: Zubair Saifullah <zubairsaifullah@hotmail.com>; +Cc: pgsql-interfaces

>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
>
>************

Add the following line to your jserv.properties  (if you are using jserv)
wrapper.classpath=/home/servlets/jdbc6.5-1.2.jar


remeber to change the path to where ever you have jdbc6.5-1.2.jar or
pstgresql.jar


Simu Soft
v/Anders Svensson
Frederikssundsvej 20, 2 th
DK-2400  København NV

e-mail 	: Anders@simusoft.dk
tlf.	: +45 3583 8126




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* RE: [INTERFACES] Jdbc-WebServer
@ 1999-10-07 08:06  Peter Mount <petermount@it.maidstone.gov.uk>
  0 siblings, 1 reply; 5+ messages in thread

From: Peter Mount @ 1999-10-07 08:06 UTC (permalink / raw)
  To: 'Zubair Saifullah' <zubairsaifullah@hotmail.com>; pgsql-interfaces

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

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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: [INTERFACES] Jdbc-WebServer
@ 1999-10-07 13:53  Brian P Millett <bpm@ec-group.com>
  parent: Peter Mount <petermount@it.maidstone.gov.uk>
  0 siblings, 0 replies; 5+ messages in thread

From: Brian P Millett @ 1999-10-07 13:53 UTC (permalink / raw)
  To: Peter Mount <petermount@it.maidstone.gov.uk>; +Cc: 'Zubair Saifullah' <zubairsaifullah@hotmail.com>; pgsql-interfaces

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






^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* RE: [INTERFACES] Jdbc-WebServer
@ 1999-10-07 14:04  Peter Mount <petermount@it.maidstone.gov.uk>
  0 siblings, 0 replies; 5+ messages in thread

From: Peter Mount @ 1999-10-07 14:04 UTC (permalink / raw)
  To: 'Brian P Millett' <bpm@ec-group.com>; Peter Mount <petermount@it.maidstone.gov.uk>; +Cc: 'Zubair Saifullah' <zubairsaifullah@hotmail.com>; pgsql-interfaces

I was thinking of 1.2, but I do remember someone saying this in the past
for 1.1.x as well.

Peter

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


-----Original Message-----
From: Brian P Millett [mailto:bpm@ec-group.com]
Sent: 07 October 1999 14:54
To: Peter Mount
Cc: 'Zubair Saifullah'; pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] Jdbc-WebServer


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





^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~1999-10-07 14:04 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-10-05 23:59 Jdbc-WebServer Zubair Saifullah <zubairsaifullah@hotmail.com>
1999-10-06 13:41 ` Anders Svensson <anders@simusoft.dk>
1999-10-07 08:06 RE: [INTERFACES] Jdbc-WebServer Peter Mount <petermount@it.maidstone.gov.uk>
1999-10-07 13:53 ` Brian P Millett <bpm@ec-group.com>
1999-10-07 14:04 RE: [INTERFACES] Jdbc-WebServer Peter Mount <petermount@it.maidstone.gov.uk>

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