You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Dejan Bosanac (JIRA)" <ji...@apache.org> on 2010/12/02 14:09:51 UTC

[jira] Updated: (AMQ-2694) TcpTransportServer stops with InterruptedException

     [ https://issues.apache.org/jira/browse/AMQ-2694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dejan Bosanac updated AMQ-2694:
-------------------------------

    Fix Version/s:     (was: 5.4.2)
                   5.5.0

> TcpTransportServer stops with InterruptedException
> --------------------------------------------------
>
>                 Key: AMQ-2694
>                 URL: https://issues.apache.org/jira/browse/AMQ-2694
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.3.1
>         Environment: Ubuntu 10.04, OpenJDK 1.6
>            Reporter: Torsten Krah
>            Priority: Minor
>             Fix For: 5.5.0
>
>
> Stopping the broker does sometimes result in this Exception logged:
> 2010-04-13 08:25:07,475 [RMI TCP Connection(12)-192.168.1.50] ERROR org.apache.activemq.transport.tcp.TcpTransportServer [ServiceStopper.java:96] - Could not stop service: tcp://localhost:61616?wireFormat.maxInactivityDuration=10000. Reason: java.lang.InterruptedException
> java.lang.InterruptedException: null
> 	at java.lang.Object.wait(Native Method) [na:1.6.0_0]
> 	at java.lang.Thread.join(Thread.java:1160) [na:1.6.0_0]
> 	at java.lang.Thread.join(Thread.java:1213) [na:1.6.0_0]
> 	at org.apache.activemq.transport.TransportServerThreadSupport.doStop(TransportServerThreadSupport.java:81) [activemq-core-5.3.1.jar:5.3.1]
> 	at org.apache.activemq.transport.tcp.TcpTransportServer.doStop(TcpTransportServer.java:380) [activemq-core-5.3.1.jar:5.3.1]
> 	at org.apache.activemq.util.ServiceSupport.stop(ServiceSupport.java:69) [activemq-core-5.3.1.jar:5.3.1]
> 	at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41) [activemq-core-5.3.1.jar:5.3.1]
> 	at org.apache.activemq.broker.TransportConnector.stop(TransportConnector.java:273) [activemq-core-5.3.1.jar:5.3.1]
> 	at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41) [activemq-core-5.3.1.jar:5.3.1]
> 	at org.apache.activemq.broker.BrokerService.stopAllConnectors(BrokerService.java:1573) [activemq-core-5.3.1.jar:5.3.1]
> 	at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:545) [activemq-core-5.3.1.jar:5.3.1]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_0]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [na:1.6.0_0]
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.6.0_0]
> 	at java.lang.reflect.Method.invoke(Method.java:616) [na:1.6.0_0]
> 	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:340) [org.springframework.beans-3.0.1.RELEASE.jar:3.0.1.RELEASE]
> 	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeDestroyMethods(InitDestroyAnnotationBeanPostProcessor.java:305) [org.springframework.beans-3.0.1.RELEASE.jar:3.0.1.RELEASE]
> 	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeDestruction(InitDestroyAnnotationBeanPostProcessor.java:148) [org.springframework.beans-3.0.1.RELEASE.jar:3.0.1.RELEASE]
> 	at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:166) [org.springframework.beans-3.0.1.RELEASE.jar:3.0.1.RELEASE]
> 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:486) [org.springframework.beans-3.0.1.RELEASE.jar:3.0.1.RELEASE]
> 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:462) [org.springframework.beans-3.0.1.RELEASE.jar:3.0.1.RELEASE]
> 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:430) [org.springframework.beans-3.0.1.RELEASE.jar:3.0.1.RELEASE]
> 	at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1017) [org.springframework.context-3.0.1.RELEASE.jar:3.0.1.RELEASE]
> 	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:993) [org.springframework.context-3.0.1.RELEASE.jar:3.0.1.RELEASE]
> 	at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:946) [org.springframework.context-3.0.1.RELEASE.jar:3.0.1.RELEASE]
> 	at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:374) [org.springframework.web-3.0.1.RELEASE.jar:3.0.1.RELEASE]
> 	at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:78) [org.springframework.web-3.0.1.RELEASE.jar:3.0.1.RELEASE]
> 	at org.eclipse.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:683) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]
> 	at org.eclipse.jetty.webapp.WebAppContext.doStop(WebAppContext.java:393) [jetty-webapp-7.0.1.v20091125.jar:7.0.1.v20091125]
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:80) [jetty-util-7.0.1.v20091125.jar:7.0.1.v20091125]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_0]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [na:1.6.0_0]
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.6.0_0]
> 	at java.lang.reflect.Method.invoke(Method.java:616) [na:1.6.0_0]
> 	at org.eclipse.jetty.jmx.ObjectMBean.invoke(ObjectMBean.java:458) [jetty-jmx-7.0.1.v20091125.jar:7.0.1.v20091125]
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:857) [na:1.6.0_0]
> 	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:795) [na:1.6.0_0]
> 	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1450) [na:1.6.0_0]
> 	at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:90) [na:1.6.0_0]
> 	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1285) [na:1.6.0_0]
> 	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1383) [na:1.6.0_0]
> 	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:807) [na:1.6.0_0]
> 	at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source) [na:na]
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.6.0_0]
> 	at java.lang.reflect.Method.invoke(Method.java:616) [na:1.6.0_0]
> 	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322) [na:1.6.0_0]
> 	at sun.rmi.transport.Transport$1.run(Transport.java:177) [na:1.6.0_0]
> 	at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_0]
> 	at sun.rmi.transport.Transport.serviceCall(Transport.java:173) [na:1.6.0_0]
> 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553) [na:1.6.0_0]
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808) [na:1.6.0_0]
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667) [na:1.6.0_0]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.6.0_0]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [na:1.6.0_0]
> 	at java.lang.Thread.run(Thread.java:636) [na:1.6.0_0]
> 2010-04-13 08:25:07,484 [RMI TCP Connection(12)-192.168.1.50] ERROR org.apache.activemq.transport.tcp.TcpTransportServer [ServiceStopper.java:96] - Could not stop service: tcp://localhost:61616?wireFormat.maxInactivityDuration=10000. Reason: java.lang.InterruptedException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.