Posted: Fri Jul 11, 2008 8:43 am Post subject: Connections not closing on Application shutdown
Newbie
Joined: 11 Jul 2008 Posts: 1
Hi,
I have an application using stateless session beans running on WAS 6.1. When we upgraded from 5.12 to 6.1 we had an issue "Java application tries to reuse a session and gets javax.jms.IllegalStateException". To fix this I added code based on input from IBM to open and close a connection each time. This seems to be running fine but when the application is stopped I see a number of instances of "J2CA0088W: The ManagedConnection that is being destroyed from resource MgBridge/jms/QueueConnectionFactory is in an invalid state STATE_TRAN_WRAPPER_INUSE." Is there a closure that I'm missing somewhere or a way to make sure all connections are closed properly.
On destroy/finalize any servlet or other part of your application that accesses MQ resources will need to relinquish those resources.MDB should use container managed access to the MQ resources.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum