wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Turn on Servlet Reloading? 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 "Turn on Servlet Reloading?" Watch "Turn on Servlet Reloading?" New topic
Author

Turn on Servlet Reloading?

bat ken
Greenhorn

Joined: Dec 28, 2005
Posts: 24
Hello friends,

I am learning to set up tomcat apache server, I found some website is require us to turn on servlet reloading by Edit "install_dir/conf/context.xml" and change

<Context>
to
<Context reloadable="true">

Can anyone tell me the purpose of doing this?

please help...

thank you
[ April 02, 2006: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

By doing so in development, the container will monitor the web app and automatically trigger a reload if class files or jars get added or changed.

This should never be done in production as the monitoring is costly.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
bat ken
Greenhorn

Joined: Dec 28, 2005
Posts: 24
Thanks alot!

But what do means by saying that it is "costly"? since I only change the code
 
 
subject: Turn on Servlet Reloading?
 
Similar Threads
urgent : tomcat users
servlet reloading
Hot Deployement in Tomcat
easiest way to install/configure tomcat
Servlet reload Problem