dcsimg
DB2 connection time out error
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Maneesh_Sharma
Posted On:   Monday, February 12, 2007 10:54 PM

Hi to all, I have wrote a jsp-servlet program(using struts) which connects to DB2 via JDBC. I am using Tomcat5.5. JDBC driver as400thinjdbc.jar . DB connection paramaters are The program is running fine and giving me all the expected values from DB2 BUT after 1hr or 2 or 3hrs of discontinuity of my web application,when I try to connect DB2 it takes 10-15 minutes. Sometimes it gives "Connection time out error" stating in my log file. I googled the internet but couldn't found   More>>

Hi to all,

I have wrote a jsp-servlet program(using struts) which connects to DB2 via JDBC.



I am using Tomcat5.5.

JDBC driver as400thinjdbc.jar .


DB connection paramaters are



























The program is running fine and giving me all the expected values from DB2 BUT
after 1hr or 2 or 3hrs of discontinuity of my web application,when I try to connect DB2 it takes 10-15 minutes.

Sometimes it gives "Connection time out error" stating in my log file.



I googled the internet but couldn't found any satisfied solution.


I changed my driver to jt400.jar but no luck.



Can you experts please point out the mistake I am doing.



Thanks in advance.

   <<Less
About | Sitemap | Contact