RE: Exception when reloading my EAR / linked with pool of session bean ?
<[email protected]> Fri, 13 May 2011 14:44:16 +0200
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Message-ID | <B11765B89737A7498AF63EA84EC9F5778B04BA@ftrdmel1> |
To be more precise, I noticed this when I stop Jonas, there is a kind of warning : "WebappClassLoader.clearReferencesThreads : The web application [/OrangeOpenCloud] appears to have started a thread named [WorkThread-1/61] but has failed to stop it. This is very likely to create a memory leak." Maybe it is the origin of the problem ? De : [email protected] [mailto:[email protected]] Envoyé : vendredi 13 mai 2011 14:37 À : [email protected] Objet : [jonas] Exception when reloading my EAR / linked with pool of session bean ? Hello there, When I redeploy my EAR on Jonas (5.2 version) I noticed this exception (not every time) : AbsTransactionInterceptor.handleContextContainerTransaction : Exception (not application exception) in business method javax.ejb.EJBException: java.lang.IllegalArgumentException: Cannot get element in the pool at org.ow2.easybeans.proxy.client.AbsInvocationHandler.handleThrowable(AbsInvocationHandler.java:176) It seems to be linked with the loading of a Timer session Bean and the associated pool : Caused by: org.ow2.util.pool.api.PoolException: No more instances available at org.ow2.util.pool.impl.enhanced.EnhancedPool.get(EnhancedPool.java:201) at org.ow2.easybeans.container.session.PoolWrapper.get(PoolWrapper.java:71) at org.ow2.easybeans.container.session.PoolWrapper.get(PoolWrapper.java:40) at org.ow2.easybeans.container.session.stateless.StatelessSessionFactory.getBean(StatelessSess ionFactory.java:105) ... 51 more Caused by: org.ow2.util.pool.impl.enhanced.api.TimeoutPoolException at org.ow2.util.pool.impl.enhanced.impl.keepbusy.KeepBusyPool.get(KeepBusyPool.java:229) at org.ow2.util.pool.impl.enhanced.impl.limited.LimitedWaiterPool.get(LimitedWaiterPool.java:7 0) at org.ow2.util.pool.impl.enhanced.EnhancedPool.get(EnhancedPool.java:197) ... 54 more Please can you help me ? Is there a setting in Jonas to change to increase session bean pool ? Thanks a lot. Serge