File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

connectionTimeout in Tomcat5.5.23

 
K.Suresh Kumar
Ranch Hand
Posts: 41
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 41
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Suresh!

May I know how the connection created ? Get from connection pool or just simply make a new connection from data source.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic