tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26431] New: - JDBCRealm not working when mysql timeout is reached
Date Mon, 26 Jan 2004 08:46:46 GMT
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: tomcat-dev@jakarta.apache.org
        ReportedBy: inkwon.hwang@intstream.com


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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message