users@glassfish.java.net

Managed Connection is not valid as the phyiscal connection is not usable

From: <glassfish_at_javadesktop.org>
Date: Mon, 25 Aug 2008 21:08:37 PDT

Hi, why do the connection pool throws the followings exception? What can I do ? Thanks!

Error while cleaning up ManagedConnection javax.resource.ResourceException: This Managed Connection is not valid as the phyiscal connection is not usable at com.sun.gjc.spi.ManagedConnection.checkIfValid(ManagedConnection.java:611) at com.sun.gjc.spi.ManagedConnection.cleanup(ManagedConnection.java:229) at com.sun.enterprise.resource.AbstractConnectorAllocator.cleanup(AbstractConnectorAllocator.java:145) at com.sun.enterprise.resource.PoolManagerImpl.putbackResourceToPool(PoolManagerImpl.java:448) at com.sun.enterprise.resource.PoolManagerImpl.resourceErrorOccurred(PoolManagerImpl.java:411) at com.sun.enterprise.resource.LocalTxConnectionEventListener.connectionErrorOccurred(LocalTxConnectionEventListener.java:78) at com.sun.gjc.spi.ManagedConnection.connectionErrorOccurred(ManagedConnection.java:661) at com.sun.gjc.spi.ManagedConnectionFactory.getInvalidConnections(ManagedConnectionFactory.java:249) at com.sun.enterprise.resource.AbstractConnectorAllocator.getInvalidConnections(AbstractConnectorAllocator.java:99) at com.sun.enterprise.resource.AbstractResourcePool.removeInvalidResources(AbstractResourcePool.java:1457) at com.sun.enterprise.resource.AbstractResourcePool.removeInvalidAndIdleResources(AbstractResourcePool.java:1437) at com.sun.enterprise.resource.AbstractResourcePool.resizePool(AbstractResourcePool.java:1370) at com.sun.enterprise.resource.AbstractResourcePool$Resizer.run(AbstractResourcePool.java:1532) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462)
[Message sent by forum member 'joechang316' (joechang316)]

http://forums.java.net/jive/thread.jspa?messageID=295256