Tomcat troubles with jdbc connection
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Philippe_Noury
Posted On:   Thursday, November 15, 2001 12:39 AM

I have trouble with my servlets.


My server is Apache for web and Tomcat for servlet. It works fine.


I connect to a DB with JDBC on another server. It works fine too.


The problem is that th DB server is disconneted every night for a backup and when i try my servlet the next morning it random results.


I mean that sometimes it works sometimes not...

could someone help me?

Re: Tomcat troubles with jdbc connection

Posted By:   Heinrich_Soebke  
Posted On:   Friday, November 16, 2001 08:08 AM

Hi Phillipe,

we are using a connection pool, which checks periodically if the connections are ok (by using a test-statement (e.g Oracle: select * from dual)). If the connections are not ok, new connections are created.
About | Sitemap | Contact