tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Mixon" <>
Subject RE: Auto Reload Features by Tomcat
Date Fri, 02 Jun 2006 15:20:01 GMT
If I understand correctly, you are describing moving a src file
( under project/WEB-INF/src in your production Tomcat
webapps directory. I know that am not sure why you believe that Tomcat will
automatically compile your servlet source (I believe it will for a .jsp

The context parameter "reloadable" is defined as:
  Set to true if you want Catalina to monitor classes in /WEB-INF/classes/
and /WEB-INF/lib
  for changes, and automatically reload the web application if a change is
detected. This feature
  is very useful during application development, but it requires significant
runtime overhead and
  is not recommended for use on deployed production applications. ...

It does not mention the source/src directory at all.

I assume you are on the most current version of Tomcat, 5.5 - but the
reloadable attribute was available in prior versions also.

 HTH - Richard
-----Original Message-----
From: ks.foong [] 
Sent: Friday, June 02, 2006 1:52 AM
To: 'Tomcat Users List'
Subject: Auto Reload Features by Tomcat

Hi, I notice that starting from Tomcat 5 onwards; we can enjoy the benefit
of the "Auto-reload" features of it.


I personally have tried it with my Eclipse development. Each time I have
changed any servlet coding, the eclipse (or more specific, Tomcat) able to
detect the changes and Reload for itself.


But for my production, I am not sure how this is work. I have replaced my
servlet, to the
[CATALINA_HOME]/webapps/project/WEB-INF/src/com/servlet folder. 


I login into my system; I didn't see any changes at all. 


So, any ideas how can is this reload features work in production machine? Do
I need to issues any command for this?


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message