[jboss-user] [JBoss Messaging] - Re: remote client cannot connect: detected failure on contro

bartvh do-not-reply at jboss.com
Mon Jun 18 10:19:09 EDT 2007


I want to add that when is problem occurs, shutting down the server hangs. I did a stack trace dump and it shows:
"JBoss Shutdown Hook" daemon prio=1 tid=0x08abc388 nid=0x2d94 waiting for monitor entry [0x85adb000..0x85adf030]
  |         at org.jboss.remoting.ServerInvoker.removeCallbackHandler(ServerInvoker.java:1671)
  |         - waiting to lock <0x911bbb28> (a java.util.HashMap)
  |         at org.jboss.remoting.ServerInvoker.handleInternalInvocation(ServerInvoker.java:1341)
  |         at org.jboss.remoting.transport.bisocket.BisocketServerInvoker.handleInternalInvocation(BisocketServerInvoker.java:552)
  |         at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:721)
  |         at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101)
  |         at org.jboss.remoting.Client.invoke(Client.java:1550)
  |         at org.jboss.remoting.Client.invoke(Client.java:530)
  |         at org.jboss.remoting.Client.removeListener(Client.java:1043)
  |         at org.jboss.jms.client.remoting.JMSRemotingConnection.stop(JMSRemotingConnection.java:297)
  |         at org.jboss.jms.client.container.ConnectionAspect.handleClose(ConnectionAspect.java:181)
  |         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 org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
  |         at org.jboss.jms.client.delegate.ClientConnectionDelegate$close_N4742752445160157748.invokeNext(ClientConnectionDelegate$close_N4742752445160157748.java)
  |         at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:91)
  |         at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
  |         at org.jboss.jms.client.delegate.ClientConnectionDelegate$close_N4742752445160157748.invokeNext(ClientConnectionDelegate$close_N4742752445160157748.java)
  |         at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
  |         at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
  |         at org.jboss.jms.client.delegate.ClientConnectionDelegate$close_N4742752445160157748.invokeNext(ClientConnectionDelegate$close_N4742752445160157748.java)
  |         at org.jboss.jms.client.delegate.ClientConnectionDelegate.close(ClientConnectionDelegate.java)
  |         at org.jboss.jms.client.JBossConnection.close(JBossConnection.java:132)
  |         at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStopDelivery(JMSContainerInvoker.java:944)
  |         at org.jboss.ejb.plugins.jms.JMSContainerInvoker.stopService(JMSContainerInvoker.java:863)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247)
  |         at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
and
"WorkerThread#2[127.1.0.1:48325]" prio=1 tid=0x080e0e10 nid=0xb97 in Object.wait() [0x82ada000..0x82adaeb0]
  |         at java.lang.Object.wait(Native Method)
  |         - waiting on <0x94f79fa0> (a java.util.HashSet)
  |         at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.<init>(BisocketClientInvoker.java:206)
  |         - locked <0x94f79fa0> (a java.util.HashSet)
  |         at org.jboss.remoting.transport.bisocket.TransportClientFactory.createClientInvoker(TransportClientFactory.java:44)
  |         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 org.jboss.remoting.InvokerRegistry.loadClientInvoker(InvokerRegistry.java:419)
  |         at org.jboss.remoting.InvokerRegistry.createClientInvoker(InvokerRegistry.java:320)
  |         - locked <0x90b20338> (a java.lang.Object)
  |         at org.jboss.remoting.Client.connect(Client.java:441)
  |         at org.jboss.remoting.callback.ServerInvokerCallbackHandler.init(ServerInvokerCallbackHandler.java:167)
  |         at org.jboss.remoting.callback.ServerInvokerCallbackHandler.<init>(ServerInvokerCallbackHandler.java:139)
  |         at org.jboss.remoting.ServerInvoker.getCallbackHandler(ServerInvoker.java:1655)
  |         - locked <0x911bbb28> (a java.util.HashMap)
  |         at org.jboss.remoting.ServerInvoker.handleInternalInvocation(ServerInvoker.java:1336)
  |         at org.jboss.remoting.transport.bisocket.BisocketServerInvoker.handleInternalInvocation(BisocketServerInvoker.java:552)
  |         at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:721)
  |         at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:560)
  |         at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:383)
  |         at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:165)
  | 

Looks like a thread is holding some lock and waiting to get notified of something...

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055253#4055253

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055253



More information about the jboss-user mailing list