tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Gumbrecht <agumbre...@tomitribe.com>
Subject Re: @Schedule don't start
Date Tue, 03 Jun 2014 15:41:32 GMT
The three scheduler threads are blocked on getting a free Database 
connection - The pool is starved.

at pl.test.ejb.RaroamImp.zaladujDoFoki(RaroamImp.java:86)

at pl.test.ejb.UslugiRImp.zapiszRaportLog(UslugiRImp.java:219)

at pl.test.ejb.UslugiRImp.zapiszRaportLog(UslugiRImp.java:219)

How is your connection pool configured? Maybe consider using 
testOnBorrow or testOnReturn.

Are you getting and closing connections properly in all other areas of 
your application.

Also your @AccessTimeout seems a bit aggressive at 1 second

Andy.

On 01/06/2014 16:01, slawek wrote:
> Today, scheduler stopped after 5 hours. It's a jstack result:

-- 
   Andy Gumbrecht

   http://www.tomitribe.com
   agumbrecht@tomitribe.com
   https://twitter.com/AndyGeeDe

   TomEE treibt Tomitribe! | http://tomee.apache.org


Mime
View raw message