• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • Carey Brown
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • fred rosenberger
  • salvin francis

connectionTimeout in Tomcat5.5.23

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Is that a spider in your hair? Here, threaten it with this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic