wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Web Service deployed on Tomcat stops responding after sometime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Web Service deployed on Tomcat stops responding after sometime" Watch "Web Service deployed on Tomcat stops responding after sometime" New topic
Author

Web Service deployed on Tomcat stops responding after sometime

Mike Boota
Ranch Hand

Joined: Jul 18, 2002
Posts: 82
Hi,

I haven't used Tomcat before and is the first time I am using it. I have Web Service that is deployed on Tomcat 5 installed on my local system. Web Service I am using Spring, Hibernate. The issue I am facing is
after deploying a service all works fine. As soon as I leave the service idle means I don't make any calls to the Web Service for couple of hours
my Web Service stops working. If I try to invoke a Web Service I get an error message and looking at the logs I don't see any call to the Web Service so I end up undeploying and redeploying the Web Service and it starts working and if I don't invoke the Service for couple of hours it stops working and I then I have to undeploy and redeploy the Service.

Any idea waht might be the problem where to look. Why the Service keeps working as long as I keep calling but stops working if I call after couple of hours. Is there any settings I need to make on Tomcat as I am new to Tomcat so have no idea where to look.

Any help is appreciated.

Thanks


MB<br />Sun Certified Programmer for Java2 Platform
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
If I try to invoke a Web Service I get an error message


What is the content of the error message?

How is tomcat installed - service style or as application?

How is Tomcat started?

Will other Tomcat pages respond after the web service stops working?

Does the web service depend on a database connection that might be getting closed?

Bill
 
jQuery in Action, 2nd edition
 
subject: Web Service deployed on Tomcat stops responding after sometime
 
Similar Threads
web sites to deploy the web services
calling web service from another web service logging
Setting timeout
How to communicate b/w two Server
Receiving empty SOAP requests