[jboss-user] [JBoss Messaging] - 2CA0081E: Method cleanup failed while trying to execute method cleanup on ManagedConnection

h Ruan do-not-reply at jboss.com
Thu Jan 20 13:03:21 EST 2011


h Ruan [http://community.jboss.org/people/honglei_ruan] created the discussion

"2CA0081E: Method cleanup failed while trying to execute method cleanup on ManagedConnection"

To view the discussion, visit: http://community.jboss.org/message/582171#582171

--------------------------------------------------------------
Hi,

I have an app running on websphere 61 server and using jboss jbm as messaging provider. the app has been running file except yesterday an exception as below was thrown:

00022e1c MCWrapper     E   J2CA0081E: Method cleanup failed while trying to execute method cleanup on ManagedConnection  mailto:com.ibm.ejs.jms.JMSManagedQueueConnection at 75e875e8 com.ibm.ejs.jms.JMSManagedQueueConnection at 75e875e8
managed connection factory =  mailto:com.ibm.ejs.jms.GenericJMSManagedQueueConnectionFactory at 239e239e com.ibm.ejs.jms.GenericJMSManagedQueueConnectionFactory at 239e239e
physical connection = JBossConnection->ConnectionDelegate[24117616, ID=f5ok2-4yp324jg-1-nw2ns0ig-9xv9s5-x5r3h3h4, SID=0]
credential =  mailto:javax.resource.spi.security.PasswordCredential at 3e0fddd0 javax.resource.spi.security.PasswordCredential at 3e0fddd0
open connection handles = [] from resource jms/XAConnectionFactory. Caught exception: javax.resource.spi.ResourceAdapterInternalException: Failed to stop connection on cleanup
at com.ibm.ejs.jms.JMSCMUtils.mapToResourceException(JMSCMUtils.java:176)
at com.ibm.ejs.jms.JMSManagedConnection.cleanup(JMSManagedConnection.java:981)
at com.ibm.ejs.j2c.MCWrapper.cleanup(MCWrapper.java:1467)
at com.ibm.ejs.j2c.FreePool.returnToFreePool(FreePool.java:492)
at com.ibm.ejs.j2c.PoolManager.release(PoolManager.java:1783)
at com.ibm.ejs.j2c.MCWrapper.releaseToPoolManager(MCWrapper.java:2301)
at com.ibm.ejs.j2c.ConnectionEventListener.connectionClosed(ConnectionEventListener.java:326)
at com.ibm.ejs.jms.JMSManagedConnection.handleClosed(JMSManagedConnection.java:1637)
at com.ibm.ejs.jms.JMSConnectionHandle.close(JMSConnectionHandle.java:564)
at org.springframework.jms.support.JmsUtils.closeConnection(JmsUtils.java:57)
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:439)
at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:477)
at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:543)
at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:534)
at com.valueoptions.fileconnect.jms.FileConnectSender.sendFile(FileConnectSender.java:57)
at com.valueoptions.fileconnect.handler.JmsSenderFileHandler.handle(JmsSenderFileHandler.java:14)

This exception  immediately followed an DB transaction rollback so I think maybe the DB transaction rollback triggered such an exception. And finally message listeners are stopped on that server.

Please help!
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/582171#582171]

Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110120/d149f3f3/attachment-0001.html 


More information about the jboss-user mailing list