Ben Ti

Greenhorn
+ Follow
since Oct 23, 2014
Ben likes ...
Eclipse IDE Java
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ben Ti

Ok I finally found the solution.

The problem was in the application code, a JSP snipplet creating a deadlock in the database, creating more and more database sessions...

7 years ago


These are default values in JBoss EAP, except max-pool size increased to 40 (default=20)

I guess ejb max-pool-size should be equal to database max pool size.

Thanks to this explanations from Wolf-Dieter Fink in this thread https://developer.jboss.org/thread/236044

I am gonna try to reduce instance acquisition timeout, event if it is a pain for performance.

7 years ago

My min-pool is 3, and max-pool is 40 which should be enough.

Here is the error when no connexion is possible :

java.rmi.RemoteException: javax.ejb.EJBException: JBAS014516: N'a pas pu acquƩrir un permis dans 5 MINUTES
at org.jboss.as.ejb3.pool.strictmax.StrictMaxPool.get(StrictMaxPool.java:109) [jboss-as-ejb3-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:47) [jboss-as-ejb3-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
7 years ago
hello,

I am facing the exact same issue with JBoss EAP 6.3.

Did you find any solution ?
7 years ago