commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13129] New: - CPDSConnectionFactory prints invalid error messages
Date Mon, 30 Sep 2002 06:46:31 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=13129>.
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=13129

CPDSConnectionFactory prints invalid error messages

           Summary: CPDSConnectionFactory prints invalid error messages
           Product: Commons
           Version: Nightly Builds
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Dbcp
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: roytmana@peacetech.com


KeyedCPDSConnectionFactory and CPDSConnectionFactory should not print error 
message "CLOSING DOWN CONNECTION DUE TO INTERNAL ERROR"
in connectionErrorOccurred(ConnectionEvent event)
if event.getSQLException == null
because this event gets fired when physical connection gets closed normal way

from ConnectionEventListener API DOCS:

The ConnectionEventListener interface is implemented by a connection pooling 
component. A connection pooling component will usually be provided by a JDBC 
driver vendor or another system software vendor. A JDBC driver notifies a 
ConnectionEventListener object when an application is finished using a pooled 
connection with which the listener has registered. The notification occurs 
after the application calls the method close on its representation of a 
PooledConnection object. A ConnectionEventListener is also notified when a 
connection error occurs due to the fact that the PooledConnection is unfit for 
future use---the server has crashed, for example. The listener is notified by 
the JDBC driver just before the driver throws an SQLException to the 
application using the PooledConnection object.

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


Mime
View raw message