0 Replies Latest reply on Jul 11, 2011 3:31 PM by Santharam Ayyalasomayajula

    Messaging Worker Threads in Blocked State

    Santharam Ayyalasomayajula Newbie

      I have a Jboss messaging cluster(1.4.5GA) with JBoss 4.2.2 setup, while running the application for few hours i see lot of worker threads in blocked state & the application starts throwing exceptions. Is this the normal behavior to have the threads in blocked state?

       

      Thread: WorkerThread#8[192.168.80.101:43123] : priority:5, demon:false, threadId:1322, threadState:BLOCKED, lockName:java.lang.Object@27408777

      org.jboss.messaging.core.impl.ChannelSupport.handle(ChannelSupport.java:242)

      org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.routeInternal(MessagingPostOffice.java:2345)

      org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.route(MessagingPostOffice.java:515)

      org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:769)

      org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessionEndpoint.java:399)

      org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(SessionAdvised.java:87)

      org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)

      org.jboss.jms.server.container.SecurityAspect.handleSend(SecurityAspect.java:157)

      sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source)

      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      java.lang.reflect.Method.invoke(Method.java:585)

      org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)

      org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)

      org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)

      org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(SessionSendRequest.java:95)

      org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:157)

      org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:863)

      org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:634)

      org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:434)

      org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:176)

      Thread: WorkerThread#9[192.168.80.101:38547] : priority:5, demon:false, threadId:1323, threadState:BLOCKED, lockName:java.lang.Object@27408777

      org.jboss.messaging.core.impl.ChannelSupport.handle(ChannelSupport.java:242)

      org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.routeInternal(MessagingPostOffice.java:2345)

      org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.route(MessagingPostOffice.java:515)

      org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:769)

      org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessionEndpoint.java:399)

      org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(SessionAdvised.java:87)

      org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)

      org.jboss.jms.server.container.SecurityAspect.handleSend(SecurityAspect.java:157)

      sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source)