Are you getting any kind of error in the logs?

-----Original Message-----
From: Anjib Mulepati [mailto:anji...@hotmail.com] 
Sent: Monday, January 09, 2012 9:22 AM
To: Tomcat Users List
Subject: Re: DB Connection error

I did change my config.xml to

<Context antiJARLocking="true" path="/myApp">
<Resource auth="Container"
             driverClassName="oracle.jdbc.driver.OracleDriver"
             maxActive="20"
             maxIdle="10"
             maxWait="-1"
             name="jdbc/myName"
             password="myPassword"
             testOnBorrow="true"
             type="javax.sql.DataSource"
             url="jdbc:oracle:thin:@//localhost:8080/MYDBS"
             username="myUsername"
             validationQuery="SELECT 1 FROM DUAL" />
</Context>

And this morning when DB restart I had to restart the tomcat to get 
connection. What can be other solutions?

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

Reply via email to