tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@volny.cz
Subject Connection pool exhausted
Date Wed, 02 Jun 2004 08:00:00 GMT
Hi all,
I am dveloping small application which uses JDBC connection pool.
This pool I configured according howto on Tomcat's pages.
Sometimes I get below mentioned exception: Connection pool
exhausted.  Could you give me any advice?
My configuration:
Tomcat 5.0/24
DB on localhost MySQL Distrib 4.0.17, for sun-solaris2.9 (sparc)
Thanks,
Petr

javax.servlet.ServletException:
org.apache.commons.dbcp.SQLNestedException: Cannot get a
connection, pool exhausted, cause: Timeout waiting for idle
object
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
org.apache.jsp.jsp.Catalog_jsp._jspService(Catalog_jsp.java:202)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:322)	cz.shop.Controller.Dispatcher.goForward(Dispatcher.java:155)
cz.shop.Controller.Dispatcher.processRequest(Dispatcher.java:88)	cz.shop.Controller.Dispatcher.doGet(Dispatcher.java:166)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:322)

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


Mime
View raw message