• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB timed out error while waiting to get an instance from the free pool.  RSS feed

 
rajareddya reddy
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

I am facing the below ejb error.

Ejb configuration:



Please help


2013-05-28 04:18:30,611GMT ERROR [EH3.2][EventSubscriberMDBean] [onMessage] 002:: [RemoteException] NOT successfully Sending message to subscriber RemoteException thrown by Application STACKTRACE =
java.rmi.RemoteException: EJB Exception: ; nested exception is:
java.lang.RuntimeException: An invocation of EJB XXXEventSubscriberBean(Application: XXXrel2_0, EJBComponent: XXXEJBrel2_0.jar) timed out while waiting to get an instance from the free pool.
at weblogic.ejb.container.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:106)
at weblogic.ejb.container.internal.BaseRemoteObject.handleSystemException(BaseRemoteObject.java:857)
at weblogic.ejb.container.internal.BaseRemoteObject.handleSystemException(BaseRemoteObject.java:809)
at weblogic.ejb.container.internal.BaseRemoteObject.preInvoke(BaseRemoteObject.java:261)
at weblogic.ejb.container.internal.StatelessRemoteObject.__WL_preInvoke(StatelessRemoteObject.java:41)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:24)
at com.XXX.thb.ejb.eventsubscriber.XXXEventSubscriberBean_f3anw8_EOImpl.handleEvent(Unknown Source)
at com.XXX.event.ejb.EventSubscriberMDBean.onMessage(EventSubscriberMDBean.java:178)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:519)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:424)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:326)
at com.ibm.mq.jms.MQMessageConsumer$FacadeMessageListener.onMessage(MQMessageConsumer.java:399)
at com.ibm.msg.client.jms.internal.JmsMessageConsumerImpl$JmsProviderMessageListener.onMessage(JmsMessageConsumerImpl.java:904)
at com.ibm.msg.client.wmq.internal.WMQAsyncConsumerShadow.honourNoLocal(WMQAsyncConsumerShadow.java:551)
at com.ibm.msg.client.wmq.internal.WMQAsyncConsumerShadow.consumer(WMQAsyncConsumerShadow.java:385)
at com.ibm.mq.jmqi.remote.internal.RemoteAsyncConsume.driveConsumer(RemoteAsyncConsume.java:1523)
at com.ibm.mq.jmqi.remote.internal.RemoteDispatchThread.run(RemoteDispatchThread.java:394)
at com.ibm.msg.client.commonservices.workqueue.WorkQueueItem.runTask(WorkQueueItem.java:209)
at com.ibm.msg.client.commonservices.workqueue.SimpleWorkQueueItem.runItem(SimpleWorkQueueItem.java:100)
at com.ibm.msg.client.commonservices.workqueue.WorkQueueItem.run(WorkQueueItem.java:224)
at com.ibm.msg.client.commonservices.workqueue.WorkQueueManager.runWorkQueueItem(WorkQueueManager.java:298)
at com.ibm.msg.client.commonservices.j2se.workqueue.WorkQueueManagerImplementation$ThreadPoolWorker.run(WorkQueueManagerImplementation.java:1220)
Caused by: java.lang.RuntimeException: An invocation of EJB XXXEventSubscriberBean(Application: XXXrel2_0, EJBComponent: XXXEJBrel2_0.jar) timed out while waiting to get an instance from the free pool.
at weblogic.ejb.container.pool.StatelessSessionPool.waitForBean(StatelessSessionPool.java:292)
at weblogic.ejb.container.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:116)
at weblogic.ejb.container.manager.StatelessManager.preInvoke(StatelessManager.java:148)
at weblogic.ejb.container.internal.BaseRemoteObject.preInvoke(BaseRemoteObject.java:229)
... 18 more

 
rajareddya reddy
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I increased the <max-beans-in-free-pool>3</max-beans-in-free-pool> to 10 still facing the above error.
 
rajareddya reddy
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

Kindly help
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!