From: | "Skidmore, Walt" <walt(dot)skidmore(at)medinex(dot)com> |
---|---|
To: | "'Peter Mezzina'" <pmezzina(at)processintelligence(dot)com>, pgsql-jdbc(at)postgresql(dot)org |
Subject: | RE: No suitable driver |
Date: | 2001-06-15 21:24:17 |
Message-ID: | 965AEE931EB1D411BB0B00B0D0207AB967D1EC@MDNX-PF-009.netivation.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Try passing the driver in the command line, like this: java
-Djdbc.drivers=org.postgresql.Driver ...
-----Original Message-----
From: Peter Mezzina [mailto:pmezzina(at)processintelligence(dot)com]
Sent: Friday, June 15, 2001 2:58 PM
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [JDBC] No suitable driver
I have Tomcat 3.2.1 and Postgres 7.0.3 running well in Solaris and I
have installed the JDBC driver, jdbc7.0-1.2.jar, in both the
<TOMCAT_HOME>/lib and a second directory off of the tomcat tree. With
the jar file in the classpath the driver works fine from an application
but produces the error "No suitable driver" when called from within a
servlet. Having combed through the jdbc mailing list I have tried
placing the jar file in the <TOMCAT_HOME>/lib (a restart of tomcat
references the existence of the jar file in its output) and I have set
the driver's path for wrapper.classpath in tomcat.properties for the
parameter wrapper.classpath and set the driver name for
wrapper.bin.parameters.
Is there anyone who might have some advise about whatelse needs to be
done for this?
-Peter Mezzina
pmezzina(at)processintelligence(dot)com
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Mezzina | 2001-06-15 21:57:46 | No suitable driver |
Previous Message | Dave Cramer | 2001-06-15 17:53:33 | Re: [JDBC] The bytea datatype and JDBC |