do u have JDBC driver for postgres?if yes put the Jar file in Classpath.
The jdbc driver for postgres, which I have is called "jdbc-6.5-1.2.jar" and
its under "/usr/lib/pgsql/jdbc-6.5-1.2.jar"
and ive included in my classpath
CLASSPATH= "/usr/lib/pgsql/jdbc-6.5-1.2.jar"
and its working fine.
eg:
CP=/path/to/jdbcdriverforpostgres/jdbc.jar
hope this helps
Deeps
Thanks and Regards,
Deepak C. S.
Planetasia Ltd,
A Microland Group Company,
Bangalore,India
Contact: 5522252 54 57 58 58 Extn 544
Email: [EMAIL PROTECTED]
> ----------
> From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: Monday, December 25, 2000 1:48 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat and PostgreSQL
>
> It seems that Tomcat cannot find jdbc Driver,or postgresql.jar.When
> "http://127.0.0.1:8080/jdbc_servlet/servlet/postgresql_servlet" is
> accessed,
> an error message is shown of
> "java.lang.ClassNotFoundException;org.postgresql.Driver".
> What do I need to do in order to let Tomcat know the position of
> postgresql.jar?
> Please help me out. I have not found any clues for two weeks.
> Thanks in advance.
>
> Hiroshi Kasamatsu
>
>
>
>