tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikola Milutinovic" <Nikola.Milutino...@ev.co.yu>
Subject Re: tomcat 4.0
Date Mon, 03 Dec 2001 06:59:10 GMT
> i am getting the below error
> can anybody help me
> 
> The error starts here:
> 
> type Exception report
> 
> message Internal Server Error
> 
> description The server encountered an internal error (Internal Server Error) that prevented
it from fulfilling this request.
> 
> exception 
> 
> javax.servlet.ServletException: No suitable driver

JDBC error indicating that a driver class for your desired JDBC connection has not been registered.
For PostgreSQL the process is relatively simple:

- add postgres-jdbc.jar to a classpath (in Tomcat, place it under $CATALINA_HOME/common/lib
- load the driver with: "Class.forName( "org.postgresql.Driver" )

I'd expct other dirvers to be similar.

Nix.
Mime
View raw message