Description
If there are pending messages, a mdb endpoint deactivation can wait pending active session close. Thread dump of the form:
3XMTHREADINFO "Non-deferrable Alarm : 0" J9VMThread:0x0000000030F28E00, j9thread_t:0x0000010016C22740, java/lang/Thread:0x0000000041CAAE70, state:CW, prio=5 3XMJAVALTHREAD (java/lang/Thread getId:0x47, isDaemon:true) 3XMTHREADINFO1 (native thread ID:0x39E051, native priority:0x5, native policy:UNKNOWN) 3XMTHREADINFO3 Java callstack: 4XESTACKTRACE at java/lang/Object.wait(Native Method) 4XESTACKTRACE at java/lang/Object.wait(Object.java:196(Compiled Code)) 4XESTACKTRACE at org/apache/activemq/ra/ServerSessionPoolImpl.close(ServerSessionPoolImpl.java:273) 4XESTACKTRACE at org/apache/activemq/ra/ActiveMQEndpointWorker.stop(ActiveMQEndpointWorker.java:265) 4XESTACKTRACE at org/apache/activemq/ra/ActiveMQResourceAdapter.endpointDeactivation(ActiveMQResourceAdapter.java:216) 4XESTACKTRACE at com/ibm/ejs/j2c/ActivationSpecWrapperImpl.deactivateUnderRAClassLoaderContext(ActivationSpecWrapperImpl.java:508) 4XESTACKTRACE at com/ibm/ejs/j2c/ActivationSpecWrapperImpl.deactivateEndPoint(ActivationSpecWrapperImpl.java:411) 4XESTACKTRACE at com/ibm/ejs/j2c/RAWrapperImpl.deactivateEndpoint(RAWrapperImpl.java:1462) 4XESTACKTRACE at com/ibm/ejs/j2c/RALifeCycleManagerImpl.deactivateEndPoint(RALifeCycleManagerImpl.java:1811) ....
Issue is inactive session are closed, but active sessions do not get an indication of the pending shutdown.
Attachments
Issue Links
- relates to
-
AMQ-7000 RAR - occasional hang on graceful server shutdown
- Resolved