You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by BugRat Mail System <to...@cortexity.com> on 2000/12/18 05:30:01 UTC
BugRat Report #605 has been filed.
Bug report #605 has just been filed.
You can view the report at the following URL:
<http://znutar.cortexity.com/BugRatViewer/ShowReport/605>
REPORT #605 Details.
Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: critical
Confidence: public
Environment:
Release: tomcat3.2
JVM Release: jdk1.3
Operating System: Irix
OS Release: Irix
Platform: Irix
Synopsis:
use with JDBC Realm is not stable
Description:
I have a implementation of Basic authentication with
JDBC Realm ,it worked correctly.but use long time
it is wrong,log file report below error :
2000-12-18 08:47:42 - ContextManager: JDBCRealm: The database connection is null or was found to be closed. Trying to re-open it.
2000-12-18 08:47:42 - ContextManager: JDBCRealm: There was an SQLException while in authenticate: null
2000-12-18 08:47:42 - ContextManager: JDBCRealm: SQLException: java.sql.SQLException: Communication link failure: java.io.IOException
2000-12-18 08:47:59 - ContextManager: JDBCRealm: The database connection is null or was found to be closed. Trying to re-open it.
2000-12-18 08:47:59 - ContextManager: JDBCRealm: There was an SQLException while in getUserRoles: monkey
2000-12-18 08:47:59 - ContextManager: JDBCRealm: SQLException: java.sql.SQLException: Communication link failure: java.io.IOException
2000-12-18 08:48:11 - ContextManager: JDBCRealm: The database connection is null or was found to be closed. Trying to re-open it.
2000-12-18 08:48:11 - Ctx( /sample ): Exception in: R( /sample + /newfmg.jsp + null) - java.lang.NullPointerException
at org.gjt.mm.mysql.PreparedStatement.executeQuery(PreparedStatement.java, Compiled Code)
at org.apache.tomcat.request.JDBCRealm.authenticate(JDBCRealm.java:307, Compiled Code)
at org.apache.tomcat.request.JDBCRealm.authenticate(JDBCRealm.java:482, Compiled Code)
at org.apache.tomcat.core.ContextManager.doAuthenticate(ContextManager.java:837, Compiled Code)
at org.apache.tomcat.core.RequestImpl.getRemoteUser(RequestImpl.java:341, Compiled Code)
at org.apache.tomcat.request.JDBCRealm.authorize(JDBCRealm.java:503, Compiled Code)
at org.apache.tomcat.core.ContextManager.doAuthorize(ContextManager.java:855, Compiled Code)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:789, Compiled Code)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743, Compiled Code)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210, Compiled Code)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416, Compiled Code)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498, Compiled Code)
at java.lang.Thread.run(Thread.java:484, Compiled Code)
2000-12-18 08:48:29 - Ctx( /sample ): Exception in: R( /sample + /newfmg.jsp + null) - java.lang.NullPointerException
at org.gjt.mm.mysql.PreparedStatement.executeQuery(PreparedStatement.java, Compiled Code)
at org.apache.tomcat.request.JDBCRealm.authenticate(JDBCRealm.java:307, Compiled Code)
at org.apache.tomcat.request.JDBCRealm.authenticate(JDBCRealm.java:482, Compiled Code)
at org.apache.tomcat.core.ContextManager.doAuthenticate(ContextManager.java:837, Compiled Code)
at org.apache.tomcat.core.RequestImpl.getRemoteUser(RequestImpl.java:341, Compiled Code)
at org.apache.tomcat.request.JDBCRealm.authorize(JDBCRealm.java:503, Compiled Code)
at org.apache.tomcat.core.ContextManager.doAuthorize(ContextManager.java:855, Compiled Code)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:789, Compiled Code)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743, Compiled Code)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210, Compiled Code)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416, Compiled Code)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498, Compiled Code)
at java.lang.Thread.run(Thread.java:484, Compiled Code)