arindam-bandyopadhyay / issue-test

0 stars 0 forks source link

ConcurrentModificationException in shutdown hangs server. #37

Open arinban opened 6 years ago

arinban commented 6 years ago

I recently saw this exception while shutting down GF using the generic JMS RA. It caused the shutdown of the server to fail - completely. kill -9 had to be used to bring the server down.

[#|2007-11-23T05:16:00.263-0500|WARNING|sun-appserver-pe9.0|javax.enterprise.system.stream.err|_ThreadID=16;_ThreadName=Thread-32;_RequestID=83aaaa6f-bd9c-44 85-b590-dbaeb70e6127;| javax.jms.JMSException: The ServerSessionPool is destroyed. at com.sun.genericra.inbound.InboundJmsResourcePool.validate(InboundJmsResourcePool.java:390) at com.sun.genericra.inbound.InboundJmsResourcePool.getServerSession(InboundJmsResourcePool.java:370) at com.tibco.tibjms.TibjmsConnectionConsumer._dispatchMessages(TibjmsConnectionConsumer.java:110) at com.tibco.tibjms.TibjmsConnectionConsumer$MR.run(TibjmsConnectionConsumer.java:57) at java.lang.Thread.run(Thread.java:595)

| #] [# | 2007-11-23T05:16:00.264-0500 | SEVERE | sun-appserver-pe9.0 | com.sun.genericjmsra | _ThreadID=15;_ThreadName=RMI TCP Connection(23)-127.0.0.1;_RequestID=65940de4 -9b52-4fa9-8331-934bab4fb0a1; | null java.util.ConcurrentModificationException at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:617) at java.util.LinkedList$ListItr.next(LinkedList.java:552) at com.sun.genericra.inbound.InboundJmsResourcePool.releaseAllWaitingThreads(InboundJmsResourcePool.java:480) at com.sun.genericra.inbound.InboundJmsResourcePool.destroy(InboundJmsResourcePool.java:459) at com.sun.genericra.inbound.EndpointConsumer.stop(EndpointConsumer.java:216) at com.sun.genericra.GenericJMSRA.endpointDeactivation(GenericJMSRA.java:247) at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.close(ConnectorMessageBeanClient.java:296) at com.sun.ejb.containers.MessageBeanContainer.cleanupResources(MessageBeanContainer.java:821) at com.sun.ejb.containers.MessageBeanContainer.onShutdown(MessageBeanContainer.java:853) at com.sun.enterprise.server.ApplicationLifecycle.onShutdown(ApplicationLifecycle.java:378) at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:440) at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:123) at com.sun.enterprise.server.Shutdown.startShutdown(Shutdown.java:62) at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeShutdownEventListener(AdminEventMulticaster.java:1481) at com.sun.enterprise.admin.event.AdminEventMulticaster.handleShutdownEvent(AdminEventMulticaster.java:1470) at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:464) at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160) at com.sun.enterprise.admin.server.core.channel.AdminChannelServer.sendNotification(AdminChannelServer.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) at java.lang.Thread.run(Thread.java:595) | | #] |

Environment

Operating System: All Platform: All

Affected Versions

[current]

arinban commented 6 years ago

Original Issue:https://github.com/javaee/glassfish-genericjmsra/issues/30 Raised By:@glassfishrobot Created at:Mon Nov 26 21:01:09 IST 2007 Assigned To:@glassfishrobot

arinban commented 6 years ago

@glassfishrobot Commented on Mon Nov 26 21:01:09 IST 2007 Reported by time4tea

arinban commented 6 years ago

@glassfishrobot Commented on Mon Nov 26 21:01:09 IST 2007 Was assigned to binod

arinban commented 6 years ago

@glassfishrobot Commented on Mon Apr 24 13:02:44 IST 2017 This issue was imported from java.net JIRA GENERICJMSRA-30