Re: Encountering "ConcurrentAccessTimeoutException" when making high-volume calls to @Stateless classes

2018-10-10 Thread Kean Erickson
That actually answered my question, I didn't have a proper stateless pool config in my tomee.xml... I assumed everything would be configured under so I was putting the maxSize property there, hence the property not working. I added a and put the prop there instead. Things are working as expected

Re: Encountering "ConcurrentAccessTimeoutException" when making high-volume calls to @Stateless classes

2018-10-10 Thread Jonathan Gallimore
At first glance, it looks like your threads are actually stuck trying to borrow a database connection from the pool. What does your stateless pool config and your datasource config look like (remove anything sensitive, like passwords etc)? Jon On Wed, Oct 10, 2018 at 7:13 PM Kean Erickson

Re: Encountering "ConcurrentAccessTimeoutException" when making high-volume calls to @Stateless classes

2018-10-10 Thread Jonathan Gallimore
Hi Can you get a thread dump when you're seeing this issue? Thanks Jon On Wed, Oct 10, 2018 at 1:50 AM Kean Erickson wrote: > I'm using TomEE 7.0.4, EJB version 3.1 > I often see this when making a high volume of calls to methods in > @Stateless classes: > >

Encountering "ConcurrentAccessTimeoutException" when making high-volume calls to @Stateless classes

2018-10-09 Thread Kean Erickson
I'm using TomEE 7.0.4, EJB version 3.1 I often see this when making a high volume of calls to methods in @Stateless classes: javax.ejb.ConcurrentAccessTimeoutException: No instances available in Stateless Session Bean pool. Waited 30 SECONDS I've set maxSize to 1000 in my tomee.xml and I still