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
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
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:
>
>
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