pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedRE:
3+ messages / 3 participants
[nested] [flat]
* RE:
@ 2000-11-06 10:01 Peter Mount <petermount@maidstone.gov.uk>
2000-11-06 10:39 ` Re: George Koras <gkoras@cres.gr>
2000-11-06 20:06 ` Re: Joseph Shraibman <jks@selectacast.net>
0 siblings, 2 replies; 3+ messages in thread
From: Peter Mount @ 2000-11-06 10:01 UTC (permalink / raw)
To: 'Joseph Shraibman' <jks@selectacast.net>; +Cc: pgsql-interfaces
So far, everyone who's asked me about problems with loading the driver with
Servlets had this problem. Setting CLASSPATH doesn't work, but putting the
.jar into jre/lib/ext does.
Personally I've not done anything with servlets, so it's basically knowing
what works for everyone who's asked. Perhaps apache does pass CLASSPATH, but
the others don't for some reason.
Peter
--
Peter Mount
Enterprise Support Officer, Maidstone Borough Council
Email: petermount@maidstone.gov.uk
WWW: http://www.maidstone.gov.uk
All views expressed within this email are not the views of Maidstone Borough
Council
-----Original Message-----
From: Joseph Shraibman [mailto:jks@selectacast.net]
Sent: Thursday, November 02, 2000 7:23 PM
To: Peter Mount
Cc: 'waheed rahman'; pgsql-interfaces@postgresql.org
Subject: Re: [INTERFACES]
Peter Mount wrote:
>
> With JSP & Servlets you have to put the postgresql.jar file into the jre's
> lib/ext directory. Then the jar file is available as part of the system
wide
> classpath.
>
> The reason for this, is that with servlets & JSP, there is no way of
setting
> CLASSPATH.
>
There isn't? In Apache Jserv there is. What are you used to using?
--
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio. http://www.targabot.com
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re:
2000-11-06 10:01 RE: Peter Mount <petermount@maidstone.gov.uk>
@ 2000-11-06 10:39 ` George Koras <gkoras@cres.gr>
1 sibling, 0 replies; 3+ messages in thread
From: George Koras @ 2000-11-06 10:39 UTC (permalink / raw)
To: pgsql-interfaces
In the file called jserv.properties there is a wrapper.classpath variable. This
is the classpath for servlets. At least this is what worked in my case (Redhat
Linux Release 6, Apache 1.3, Apache JServ 1.1.2).
Peter Mount wrote:
> So far, everyone who's asked me about problems with loading the driver with
> Servlets had this problem. Setting CLASSPATH doesn't work, but putting the
> .jar into jre/lib/ext does.
>
> Personally I've not done anything with servlets, so it's basically knowing
> what works for everyone who's asked. Perhaps apache does pass CLASSPATH, but
> the others don't for some reason.
>
> Peter
George Koras
(gkoras@cres.gr)
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re:
2000-11-06 10:01 RE: Peter Mount <petermount@maidstone.gov.uk>
@ 2000-11-06 20:06 ` Joseph Shraibman <jks@selectacast.net>
1 sibling, 0 replies; 3+ messages in thread
From: Joseph Shraibman @ 2000-11-06 20:06 UTC (permalink / raw)
To: Peter Mount <petermount@maidstone.gov.uk>; +Cc: pgsql-interfaces
Peter Mount wrote:
>
> So far, everyone who's asked me about problems with loading the driver with
> Servlets had this problem. Setting CLASSPATH doesn't work, but putting the
> .jar into jre/lib/ext does.
>
> Personally I've not done anything with servlets, so it's basically knowing
> what works for everyone who's asked. Perhaps apache does pass CLASSPATH, but
> the others don't for some reason.
>
It doesn't pass classpath, but it has its own classloader and in
jserv.properties
and the servlet zone files you specify where you want your classes
loaded from.
--
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio. http://www.targabot.com
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2000-11-06 20:06 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-11-06 10:01 RE: Peter Mount <petermount@maidstone.gov.uk>
2000-11-06 10:39 ` Re: George Koras <gkoras@cres.gr>
2000-11-06 20:06 ` Re: Joseph Shraibman <jks@selectacast.net>
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