It's not a secret anymore!*
The moose likes Tomcat and the fly likes connectionTimeout in Tomcat5.5.23 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "connectionTimeout in Tomcat5.5.23" Watch "connectionTimeout in Tomcat5.5.23" New topic
Author

connectionTimeout in Tomcat5.5.23

K.Suresh Kumar
Ranch Hand

Joined: Nov 21, 2007
Posts: 41
Hi,
I want to run the application continuously 10 hours without users interaction(idle state).

But I got the issue after 30 minutes in idle state.

Is it possible to set maximum connectionTimeout value is 10 hrs or any other way is there to run the application continuously 10 hours.

Please help me to solve this issue.

Thanks,
Suresh Kumar.K
ravi kanth
Ranch Hand

Joined: Jun 04, 2008
Posts: 36
hi Suresh ,
i think ,we can set connectionTimeout to our desired value in server.xml in tomcat config directory.


please correctme if i am wrong..


thanks,
rrk.
K.Suresh Kumar
Ranch Hand

Joined: Nov 21, 2007
Posts: 41
Hi ravi kanth,
Thanks for your reply...
Yes possible to change connection time out value in server.xml file.
But this is integer variable it takes 1000 as 1 second. But i want to set 8hrs. So it is not possible .
Please tell me if you have any other idea.......

Thanks,
Suresh Kumar.K
K.B. Stone
Greenhorn

Joined: Sep 11, 2008
Posts: 8
Hi Suresh!

May I know how the connection created ? Get from connection pool or just simply make a new connection from data source.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: connectionTimeout in Tomcat5.5.23
 
Similar Threads
Quartz scheduler stopped in tomcat
To run serlet continuously
Memory leak in Tomcat
callableStatement.execute()
Threads and Swings- UI Hangs..