  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | Tomcat 4.1.29: Pool exhausted | Tomcat 4.1.29: Pool exhausted 2004-01-10 - By Altankov Peter
Back Actually im heavily using 4.1.29's Dbcp 1.1 package after a sraight forward migration from 4.1.27's Dbcp 1.0 Can you post your ResourceParams section of the configuration?
> -- --Original Message-- -- > From: Dmitry Guralnik [mailto:DGuralnik@(protected)] > Sent: 09 ������ 2004 �. 15:14 > To: tomcat-user@(protected) > Subject: Tomcat 4.1.29: Pool exhausted > > > Hello, > > I tried to move my web application from Tomcat 4.1.27 to > Tomcat 4.1.29. The application has a JNDI datasource. > Everything worked properly in 4.1.27, but after I moved to > 4.1.29 I've got an exception: > > Caused by: org.apache.commons.dbcp.SQLNestedException : Cannot > get a connection, pool exhausted, cause: > java.util.NoSuchElementException : Could not create a > validated object at > org.apache.commons.pool.impl.GenericObjectPool (Ge > nericObjectPoo > l.java:851) at > org.apache.commons.dbcp.PoolingDataSource (Poolin > gDataSource.ja > va:140) at > org.apache.commons.dbcp.BasicDataSource (BasicDat > aSource.java:5 > 18) at > net.sf.hibernate.connection.DatasourceConnectionProvider.getCo > nnection(Datas > ourceConnectionProvider.java:59) at > net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:257) > > > I know that 4.1.29 has the newest versions of Dbcp and Pool. > May be some new parameters appeared for Dbcp 1.1. I think it > is the reason of my exception. When I replace version 1.1 of > Dbcp and Pool to version 1.0 in common/lib of Tomcat 4.1.29 - > everything started working well! > > I wonder if anybody got success using JNDI datasource and > Tomcat 4.1.29. Tomcat works under J2SE 1.3.1. > > Thanks. Dmitry > > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) > For additional commands, e-mail: tomcat-user-help@(protected) > >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|
 |