Re: JDBC/servlet problem

1999-01-11 Thread Scott Fraser
>> Thanks, tried it but it didn't work. Any other ideas? << Well looking in some old code I noticed this was how I got the driver "registered": >> // Do it both ways for kicks: Class clsDriver = Class.forName( "package.SomeDriverName" ); DriverManager.regist

Re: JDBC/servlet problem

1999-01-08 Thread Peter T Mount
On Thu, 7 Jan 1999, Ben Newman wrote: > Thanks, tried it but it didn't work. Any other ideas? Have you tried registering the jdbc driver yourself, rather than relying on the driver doing it itself? In the early days of the PostgreSQL driver, we had a similar problem. When we found that registe

Re: JDBC/servlet problem

1999-01-07 Thread Ben Newman
Thanks, tried it but it didn't work. Any other ideas? On Wed, 6 Jan 1999, Scott Fraser wrote: > >> > Connection: java.sql.SQLException: No suitable driver message. At first > I > though it was CLASSPATH problem, but I returned the CLASSPATH along with > > the error message and the jar file fo

Re: JDBC/servlet problem

1999-01-07 Thread Urban Widmark
On Wed, 6 Jan 1999, Ben Newman wrote: > I'm having a problem with servlets that use JDBC. I have a servlet that > runs a simple query and returns some rows. As a stand alone app it works > just fine, but when I switch it over to run as a servlet I get a Error > Connection: java.sql.SQLException

Re: JDBC/servlet problem

1999-01-06 Thread Scott Fraser
>> Connection: java.sql.SQLException: No suitable driver message. At first I though it was CLASSPATH problem, but I returned the CLASSPATH along with the error message and the jar file for the jdbc driver is listed. << Total long shot here, but I just noticed on one of our servers I unzipped th