tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Gregg" <>
Subject RE: Database connection - Catalina
Date Mon, 17 Jun 2002 17:11:51 GMT
Tomcat probably isn't finding your jdbc driver.  The exception's
getMessage() method is returning a class name, which usually means
ClassNotFoundException or ClassCastException.  Read this:


-----Original Message-----
org]On Behalf Of Skorupski Pawel ,(PZUZ)
Sent: Monday, June 17, 2002 7:32 AM
To: ''
Subject: Database connection - Catalina


I've got a problem with Tomcat 4.0 (Catalina). After setting up REALM:

<Realm  className="org.apache.catalina.realm.JDBCRealm" debug="99"

              userTable="users" userNameCol="user_name"
          userRoleTable="user_roles" roleNameCol="role_name" />

I can not connect to mysql server which is running on localhost. The error I
received is:

Catalina.start:Lifecycle Exception: Exception opening database connection:

I ran through many faq's lists and the only solution I found was: check
tables, all names etc. I've checked not twice but ten times receiving the
same type of error.

I use FORM type of authentication. Everything was ok with Tomcat 3.2 and got
worse after installing new version of Tomcat. Libraries: org.jar,
servlet.jar are added to classpath.

I would be grateful for any help.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message