Click here to Skip to main content
15,891,909 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I face a connection polling error problem in jsp.
The error is:

MSIL
SEVERE: Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspTagException: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object


But my context.xml file:

XML
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/MMS" debug="5" reloadable="true" crossContext="true">
  <Resource auth="Container" driverClassName="oracle.jdbc.OracleDriver" maxActive="100" maxIdle="30" maxWait="-1"
  name="jdbc/MMS" password="hr" type="javax.sql.DataSource" url="jdbc:oracle:thin:@XXXXX:1521:XXX" username=XXX Context>


Please show me the way, how to solve this problem and send me at [KPB: Edit removed e-mail]

Thanks in advance.
Posted
Updated 15-Aug-10 22:05pm
v3
Comments
Keith Barrow 16-Aug-10 4:04am    
I have removed your e-mail. if you leave it on a newsgroup such as the codeproject, spammers will fill your inbox with rubbish. Never put you e-mail address directly on websites such as this!
Dalek Dave 16-Aug-10 4:05am    
Minor Edit for Grammar.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900