These application are running inside tomcat because I was under the impression 
that Tomcat is an application server and I need tomcat to run Java dynamic web 
applications.


-----Original Message-----
From: André Warnier [mailto:a...@ice-sa.com] 
Sent: 15 April 2013 11:14
To: Tomcat Users List
Subject: Re: Tomcat web application stops automatically

Rishad Ali wrote:
> 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
> 
> 1.    Collect sensor information from the database.
> 
> 2.    Sends the command to the instrument to collect data.
> 
> 3.    Update the database with the data values.
> 
> There is another application that checks the database every minute and 
> send the alerts to the users (if necessary). I have monitored the 
> application using jvisualVM, I cant find any memory leak. for every 
> 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 could be, is it server configuration problem, too many threads or 
> what?
> 
> This might not be a Tomcat server problem but this could be!!!! 
> 
> Does anyone have any idea what might be going wrong or is there anyone 
> who has done think kind of work? Please help, Thanks
> 
[.. snip .. ]
This may be a naive question, but from your description above it is not clear 
if any of these applications have anything to do with Tomcat, or with a 
webserver environment.
Why would it/they be running "inside" Tomcat ?

---------------------------------------------------------------------
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