ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Using Tomcat 4 Security Realms
Subject:   how do you know the DB conn is working?
Date:   2004-12-01 07:18:42
From:   beam
Followed this but none of the names/pwords will work, it seems like Tomcat is not connecting to mysql. Where will I find errors or log info to this effect? logs/catalina.out says stuff like

Dec 1, 2004 10:11:43 AM org.apache.catalina.realm.JDBCRealm authenticate
SEVERE: Exception performing authentication
java.sql.SQLException: org.gjt.mm.mysql.Driver
at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:589)
at org.apache.catalina.realm.JDBCRealm.authenticate(JDBCRealm.java:344)

but I can;t tell if thats a suth failure to the mySQL driver or the auth failure within the Authenicator.