Hi James
> I recently saw this exception while shutting down GF using the generic JMS
> RA. It caused the shutdown of the server to fail.
Could you raise an issue in the Generic RA issue tracker for this?
https://genericjmsra.dev.java.net/servlets/ProjectIssues
We shall definitely look at fixing this in a future release. Do you see this
intermittently?
GlassFish has a resource-adapter shutdown timeout attribute which defaults to 30
seconds and hence ideally the AS shutdown should have completed after 30 seconds.
http://docs.sun.com/app/docs/doc/819-3659/6n5s6m5at?a=view#bealx
Is that what you observe or does shutdown completely fail? If AS hangs, could
you attach a thread dump of the hanging AS process with the issue.
Thanks
--Siva.
James Richardson wrote:
> Hi,
>
> I recently saw this exception while shutting down GF using the generic JMS
> RA. It caused the shutdown of the server to fail.
>
> [#|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)
> |#]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_genericjmsra.dev.java.net
> For additional commands, e-mail: users-help_at_genericjmsra.dev.java.net
>