5 Replies Latest reply on Aug 8, 2007 2:25 PM by Tim Fox

    Messaging hangs

    Martin Welss Newbie

      We are using jboss 4.2.1, and Messaging 1.4.0CR1
      We have a lot of servlets that listen to topics or produce into queues and sooner or later the messaging is completely stuck.

      Here is a sample stacktrace where the thread wants to create a new session. This is were most of the threads are blocked.

      I have the complete thread dump, if neccessary.


      2007-08-01 11:46:51
      Full thread dump Java HotSpot(TM) Server VM (1.6.0_02-b05 mixed mode):

      "http-0.0.0.0-8080-30" daemon prio=10 tid=0x08bc0000 nid=0x3a67 waiting for monitor entry [0x859e0000..0x859e1030]
      java.lang.Thread.State: BLOCKED (on object monitor)
      at org.jboss.jms.server.ServerPeer.getDefaultDLQInstance(ServerPeer.java:1090)
      - waiting to lock <0x9565fb58> (a org.jboss.jms.server.ServerPeer)
      at org.jboss.jms.server.endpoint.ServerSessionEndpoint.<init>(ServerSessionEndpoint.java:209)
      at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.createSessionDelegate(ServerConnectionEndpoint.java:242)
      at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$createSessionDelegate$aop(ConnectionAdvised
      .java:75)
      at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$createSessionDelegate_6052335267724906805.invokeNext(ConnectionAdvised$createSessionDelegate_605233
      5267724906805.java)
      at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
      at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$createSessionDelegate_6052335267724906805.invokeNext(ConnectionAdvised$createSessionDelegate_605233
      5267724906805.java)
      at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.createSessionDelegate(ConnectionAdvised.java)
      at org.jboss.jms.wireformat.ConnectionCreateSessionDelegateRequest.serverInvoke(ConnectionCreateSessionDelegateRequest.java:87)
      at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:165)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
      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.invoke(Client.java:518)
      at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:186)
      at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:157)
      at org.jboss.jms.client.delegate.ClientConnectionDelegate.org$jboss$jms$client$delegate$ClientConnectionDelegate$createSessionDelegate$aop(ClientConnectionDel
      egate.java:191)
      at org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805.invokeNext(ClientConnectionDelegate$createSessionDelegate_
      6052335267724906805.java)
      at org.jboss.jms.client.container.StateCreationAspect.handleCreateSessionDelegate(StateCreationAspect.java:128)
      at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect2.invoke(StateCreationAspect2.java)
      at org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805.invokeNext(ClientConnectionDelegate$createSessionDelegate_
      6052335267724906805.java)
      at org.jboss.jms.client.container.ConnectionAspect.handleCreateSessionDelegate(ConnectionAspect.java:163)
      at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)