DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26431>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26431

JDBCRealm not working when mysql timeout is reached

           Summary: JDBCRealm not working when mysql timeout is reached
           Product: Tomcat 4
           Version: 4.1.27
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Database: mysql v. 3.2.3.54.
jdbc driver: mysql-connector-java-3.0.9-stable-bin, com.mysql.jdbc.Driver
my Realm:
<Realm  className="org.apache.catalina.realm.JDBCRealm" debug="99"
             driverName="com.mysql.jdbc.Driver"
          connectionURL="jdbc:mysql://localhost/db?autoReconnect=true"
         connectionName="username" connectionPassword="passwd"
              userTable="users" userNameCol="user_name" userCredCol="user_pass"
          userRoleTable="user_roles" roleNameCol="role_name" />
- - - - -
Java gives following error: java.sql.SQLException: Communication link failure 
- - - - -
I am using MySql DB and JDBCRealm for authenticate user. When db's timeout is
reached, JDBCRealm refuses to authenticate next user.
I have noticed that some tomcat users have had similar problems like i do. Any
ideas how to fix this problem?
yours,
Inkwon Hwang

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to