0 Replies Latest reply on Aug 2, 2008 2:40 PM by Fabien Coppens

    Failed to acquire the pool semaphore

    Fabien Coppens Newbie

      We are using EJB3 MDBS on JBoss 4.2.2GA, and we keep getting the following exception.
      Any ideas ?

      2008-08-02 16:41:43,033 124733 DEBUG [org.springframework.jms.listener.DefaultMessageListenerContainer] (listenerContainer-1:) Consumer [org.jboss.resource.adapter.jms.JmsMessageConsumer@55ca6954] of session [org.jboss.resource.adapter.jms.JmsSession@1d1fceed] did not receive a message
      2008-08-02 16:41:43,183 124883 ERROR [org.jboss.resource.adapter.jms.inflow.JmsServerSession] (WorkManager(2)-58:) Unexpected error delivering message delegator->JBossMessage[909932]:PERSISTENT, deliveryId=15
      javax.ejb.EJBException: Failed to acquire the pool semaphore, strictTimeout=10000
      at org.jboss.ejb3.StrictMaxPool.get(StrictMaxPool.java:122)
      at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      at org.jboss.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:249)
      at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.delivery(MessageInflowLocalProxy.java:268)
      at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:138)
      at $Proxy91.onMessage(Unknown Source)
      at org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:178)
      at org.jboss.jms.client.container.ClientConsumer.callOnMessage(ClientConsumer.java:159)
      at org.jboss.jms.client.container.SessionAspect.handleRun(SessionAspect.java:802)
      at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect14.invoke(SessionAspect14.java)
      at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.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.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
      at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java)
      at org.jboss.jms.client.JBossSession.run(JBossSession.java:199)
      at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:237)
      at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
      at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:756)
      at java.lang.Thread.run(Thread.java:595)