Thread:

From
"Sanjeev Kumar"
Date:
hi,
I m  using latest (pgjdbc2.jar) file On solaris machine. But i m getting
ClassNotFoundException. I m using sun solaris,jdk 1.4 and tomcat.
Please help me.

regards
Sanjeev Kumar




Re:

From
Håkon Hansen
Date:
Thursday 01 August 2002 02:22, skrev Sanjeev Kumar:
> hi,
> I m  using latest (pgjdbc2.jar) file On solaris machine. But i m getting
> ClassNotFoundException. I m using sun solaris,jdk 1.4 and tomcat.
> Please help me.

Which class is not found? Where have you put the pgjdbc2.jar file? Are you
using it only from within an application - or for the Tomcat server (for
JDBCRealm) - or both?

Note that there are several places to put jar-files in Tomcat:

TOMCAT_HOME/server/lib
TOMCAT_HOME/common/lib
TOMCAT_HOME/webapps/your_app/WEB-INF/lib

I have mine in TOMCAT_HOME/common/lib.

Also check the permissions on the jarfile. Good luck!


Yours,

Haakon Hansen
Norway