I think I mentioned this in the question that I am using
ScheduledExecutorService to start threads every minute. This is not the
application running every minute, these are the threads I create. 
And as I said It works fine for some time then it stops. 

Yes I checked the log but there is no sign of stopping application or
nothing about Too many database connections.





-----Original Message-----
From: Ralph Plawetzki [mailto:ra...@purejava.org] 
Sent: 15 April 2013 13:11
To: Tomcat Users List
Subject: Re: Tomcat web application stops automatically

Am 15.04.2013 11:31, schrieb Rishad Ali:
> I have a dedicated server running CentOS 5.9, Apache-Tomcat 5.5.36. I 
> have written a JAVA web applications which runs every minute to 
> collect the data from multiple sensors. I am using 
> ScheduledExecutorService to execute the threads. (one thread for each 
> sensor every minute and there can be more than hundred sensors) The 
> flow of the thread is
> 
A web application can be deployed to tomcat and when it is deployed it
can be running or not. It can't run every minute.

<snip/>

> thread. The applications work fine but after some time(24 Hour - 48
> Hours) the applications stop working. I can't find out what the 
> problem
What does that mean? Did you take a look at the tomcat logfiles?

Ralph

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to