User: starksm
Date: 01/11/21 11:41:16
Modified: src/main/org/jboss/resource/connectionmanager
ManagedConnectionPoolFactory.java
Log:
Fix the bad check-in by thedug
Revision Changes Path
1.4 +9 -5
jbosscx/src/main/org/jboss/resource/connectionmanager/ManagedConnectionPoolFactory.java
Index: ManagedConnectionPoolFactory.java
===================================================================
RCS file:
/cvsroot/jboss/jbosscx/src/main/org/jboss/resource/connectionmanager/ManagedConnectionPoolFactory.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ManagedConnectionPoolFactory.java 2001/11/21 18:14:51 1.3
+++ ManagedConnectionPoolFactory.java 2001/11/21 19:41:16 1.4
@@ -68,14 +68,18 @@
* object will not be returned to the pool - after this, it is gone. This
* is called when the pool shrinks, and when the pool is shut down.
*/
- public void deleteObject(Object pooledObject) {
- try{
+ public void deleteObject(Object pooledObject)
+ {
+ try
+ {
((ManagedConnection)pooledObject).destroy();
- }catch(ResourceException e) {
- log.println("Unable to destroy ManagedConnection: "+e);
}
+ catch(ResourceException e)
+ {
+ log.error("Unable to destroy ManagedConnection: ", e);
+ }
- }
+ }
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development