tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jagan" <>
Subject RE: tomcat 4.0
Date Mon, 03 Dec 2001 07:08:19 GMT
i am using mysql database
can the reply given by u solve my problem,
i aleady placed mysql.jar under
if u can pass me the server.xml, web.xml and the changes to be made in httpd.conf for creation
of new application
i will be very thank ful to u,
before that i want to say what i had done
1.i lept my myapplication.war under webapps,
2.i restarted tomcat
3.then a directory myapplication is creating under webapps
4.if i want to create the Context in server.xml
then the tomcat not starting,
if i comment the Conttext and restarting it's starting and the error i said before is occuring,
i changed in httpd.conf also as required.
One more case :
if i am uncommenting the Realm for,

      <Realm  className="org.apache.catalina.realm.JDBCRealm" debug="99"
              userTable="users" userNameCol="user_name" userCredCol="user_pass"
          userRoleTable="user_roles" roleNameCol="role_name" />
the server is not restarting,
so i think my changes are not proper in server.xml,
so please guide me in this

-----Original Message-----
From: Nikola Milutinovic []
Sent: Monday, December 03, 2001 2:59 PM
To: Tomcat Users List
Subject: Re: tomcat 4.0

> 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.


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message