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 10000] New: - IOException Broken Pipe when authenticating JDBCRealm MySQL db
Date Wed, 19 Jun 2002 13:10:43 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=10000>.
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=10000

IOException Broken Pipe when authenticating JDBCRealm MySQL db

           Summary: IOException Broken Pipe when authenticating JDBCRealm
                    MySQL db
           Product: Tomcat 3
           Version: 3.3 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Auth
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: tiempospasados@hotmail.com


I'm running tomcat 3.3a on Red Hat Linux 7.2. I have setup a JDBCRealm in an 
apps-xxx.xml configuration file to a MySQL database. mysql --version yields: 
 Ver 11.117 Distrib 3.23.49 for pc-linux-gnu (i686). 
When the web application has been inactive for some time, an attempt to
authenticate yields a JDBCRealm.getCredentials error due to an IOException
(broken pipe). It seems the JDBCRealm implementation attempts to reuse a
previous JDBC connection that is no longer alive.Currently, the only way to
"correct" this issue is to restart the tomcat server, a solution which is not
acceptable in a production environment.
Any workaround/solution to this problem would be highly appreciated.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message