Re: About ContainerBackgroundProcessor thread

2010-09-27 Thread jmoratilla
Yes Rainer, just what you say. I know that using watchresource will restart all servlets. I just want to restart one servlet, not all. Does tomcat provide a solution to restart a specified servlet when a resource changes??? I don't want to get all my web application restarted. Another beha

Re: About ContainerBackgroundProcessor thread

2010-09-27 Thread jmoratilla
Yes Rainer, just what you say. I know that using watchresource will restart all servlets. I just want to restart one servlet, not all. Does tomcat provide a solution to restart a specified servlet when a resource changes??? I don't want to get all my web application restarted. > On 27.09.2010 15

RE: About ContainerBackgroundProcessor thread

2010-09-27 Thread jmoratilla
Many thanks Caldarale. I'm working with tomcat 6, but a I was looking so quickly for an answer that I didn't realise that it was the tomcat 3.2 user manual, but that explained me what happened. I think that will help me for this kind of tasks > From: jmorati...@dit.upm.es [mailto:jmorati...@dit

Re: About ContainerBackgroundProcessor thread

2010-09-27 Thread jmoratilla
I answer me: I'm using reloadable="true" in my context. Is that the reason a found this behaviour??? Am I right??? If I use reloadable="false" init method of servlets will not be executed, am I right??? Here is the explanation I found: http://tomcat.apache.org/tomcat-3.2-doc/uguide/tomcat_ug.ht

About ContainerBackgroundProcessor thread

2010-09-27 Thread jmoratilla
Hi all, I have developed an application which instanciates a singleton class in the init method of a servlet. This servlet is defined in the web.xml with the 1 tag. This singleton class start a Thread which notifies the singleton class when a configuration file has changed. The thread checks if th