0 Replies Latest reply on Mar 16, 2007 9:35 PM by Raju Koganty

    MDB dies when it encounters a ThreadPoolFullException

    Raju Koganty Newbie

      We running JBoss 4.0.4 with EJB3 RC8.

      Under heavy load, an MDB just dies when it encounters a ThreadPoolFullException.

      2007-03-16 19:19:46,984 WARN [Connection Consumer for dest Subscription[subId=-2147483648connection=ConnectionToken:ID:8/ebde215ac757411ae1b93a049e9907e7 destination=TOPIC.systemBus messageSelector=EVENT_TYPE='ManagedEntityCreatedEvent' OR EVENT_TYPE='ManagedEntityModifiedEvent' OR EVENT_TYPE='ManagedEntityDeletedEvent' OR EVENT_TYPE='ManagedEntityRelnChangedEvent' OR EVENT_TYPE='SyncCompleted' Local Create] id=3][SpyConnectionConsumer]: Connection consumer closing due to error in listening thread SpyConnectionConsumer[sub=Subscription[subId=-2147483648connection=ConnectionToken:ID:8/ebde215ac757411ae1b93a049e9907e7 destination=TOPIC.systemBus messageSelector=EVENT_TYPE='ManagedEntityCreatedEvent' OR EVENT_TYPE='ManagedEntityModifiedEvent' OR EVENT_TYPE='ManagedEntityDeletedEvent' OR EVENT_TYPE='ManagedEntityRelnChangedEvent' OR EVENT_TYPE='SyncCompleted' Local Create] messages=0 waitingForMessage=false internalThread=Thread[Connection Consumer for dest Subscription[subId=-2147483648connection=ConnectionToken:ID:8/ebde215ac757411ae1b93a049e9907e7 destination=TOPIC.systemBus messageSelector=EVENT_TYPE='ManagedEntityCreatedEvent' OR EVENT_TYPE='ManagedEntityModifiedEvent' OR EVENT_TYPE='ManagedEntityDeletedEvent' OR EVENT_TYPE='ManagedEntityRelnChangedEvent' OR EVENT_TYPE='SyncCompleted' Local Create] id=3,5,jboss] sessionPool=org.jboss.jms.asf.StdServerSessionPool@9cce54 connection=Connection@12344042[token=ConnectionToken:ID:8/ebde215ac757411ae1b93a049e9907e7 rcvstate=STARTED]]
      org.jboss.mq.SpyJMSException: Cannot receive ; - nested throwable: (org.jboss.util.threadpool.ThreadPoolFullException: java.lang.RuntimeException: Pool is blocked)
      at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:78)
      at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:63)
      at org.jboss.mq.Connection.receive(Connection.java:873)
      at org.jboss.mq.SpyConnectionConsumer.run(SpyConnectionConsumer.java:254)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: org.jboss.util.threadpool.ThreadPoolFullException: java.lang.RuntimeException: Pool is blocked
      at org.jboss.util.threadpool.BasicThreadPool.execute(BasicThreadPool.java:417)
      at org.jboss.util.threadpool.BasicThreadPool.runTaskWrapper(BasicThreadPool.java:192)
      at org.jboss.util.threadpool.BasicThreadPool.run(BasicThreadPool.java:212)
      at org.jboss.util.threadpool.BasicThreadPool.run(BasicThreadPool.java:206)
      at org.jboss.mq.server.BasicQueue.expireMessageAsync(BasicQueue.java:1037)
      at org.jboss.mq.server.BasicQueue.receive(BasicQueue.java:511)
      at org.jboss.mq.server.JMSTopic.receive(JMSTopic.java:342)
      at org.jboss.mq.server.ClientConsumer.receive(ClientConsumer.java:228)
      at org.jboss.mq.server.JMSDestinationManager.receive(JMSDestinationManager.java:573)
      at org.jboss.mq.server.JMSServerInterceptorSupport.receive(JMSServerInterceptorSupport.java:240)
      at org.jboss.mq.security.ServerSecurityInterceptor.receive(ServerSecurityInterceptor.java:115)
      at org.jboss.mq.server.TracingInterceptor.receive(TracingInterceptor.java:545)
      at org.jboss.mq.server.JMSServerInvoker.receive(JMSServerInvoker.java:241)
      at org.jboss.mq.il.jvm.JVMServerIL.receive(JVMServerIL.java:259)
      at org.jboss.mq.Connection.receive(Connection.java:866)
      ... 2 more