This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes Reloadable True Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Reloadable True" Watch "Reloadable True" New topic
Author

Reloadable True

Neha Ashok
Greenhorn

Joined: Dec 12, 2002
Posts: 26
I'm running my webappliation on Tomcat4.0.3.
I have set the following Configuration in server.xml:
<Context path="/examples" docBase="examples" debug="0" reloadable="true" crossContext="true">

This works fine and my bean classes get reloaded every time I change the Java files , but is it possible to define the same property for ROOT directory to reload the classes?
Marty Hall
Author
Ranch Hand

Joined: Jan 02, 2003
Posts: 111
I'm running my webappliation on Tomcat4.0.3.
I have set the following Configuration in server.xml:
<Context path="/examples" docBase="examples" debug="0" reloadable="true" crossContext="true">

This works fine and my bean classes get reloaded every time I change the Java files , but is it possible to define the same property for ROOT directory to reload the classes?

No prob. Set it for the DefaultContext. See
http://www.moreservlets.com/Using-Tomcat-4.html#Servlet-Reloading
Cheers-
- Marty


Java training and consulting<br /><a href="http://www.coreservlets.com/" target="_blank" rel="nofollow">http://www.coreservlets.com/</a>
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Reloadable True
 
Similar Threads
web.xml andf default webapplication folder
Reloading Application
How to configure automatic reloading the class in jboss-3.2.1_tomcat-4.1.24
Tomcat 4.1 & Servlet Reloading
How to deploy my own directory in Tomcat?