tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Boyce <Nathan.Bo...@cabelas.com>
Subject JDBC PoolExhaustedException
Date Fri, 09 Oct 2015 20:11:58 GMT
Does the tomcat jdbc pool use its own executor or does it share the executor that's calling
it?  Reason I ask is the pool size is set to 320 but only 84 show busy.  The default tomcatThreadPool
executor has been removed from this config and executor with the name AJPThreadPool has been
added for the ajp connections. The ajp thread pool is maxing out but unable to tell is it's
the cause or effect. 

Server.xml config 
<Executor name="AJPThreadPool" namePrefix="ajp-" maxThreads="750" minSpareThreads="10"
maxIdleTime="10000" prestartminSpareThreads="true"/> 

Error
org.apache.tomcat.jdbc.pool.PoolExhaustedException: [ajp-693] Timeout: Pool empty. Unable
to fetch a connection in 10 seconds, none available[size:320; busy:84; idle:0; lastwait:10000].


Apache Tomcat Version 7.0.55

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message