| Author |
Tomcat 5.5.23 - Code Compilation - Tomcat Stop/Re-Start
|
Matt Cooke
Greenhorn
Joined: Jun 16, 2006
Posts: 10
|
|
|
Every time I compile my java code is it necessary to stop and then re-start Tomcat?
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
|
No, you can use the Tomcat manager to stop and restart single applications running within Tomcat.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Matt Cooke
Greenhorn
Joined: Jun 16, 2006
Posts: 10
|
|
|
Thanks Ben, I'll try that.
|
 |
Keith Lynn
Ranch Hand
Joined: Feb 07, 2005
Posts: 2341
|
|
|
One thing I do on my setup since I don't have a large number of users (in fact I only have 1 user that actually develops any servlet code) is include reloadable=true in the context xml file.
|
 |
Malith Yapa
Ranch Hand
Joined: Jan 17, 2007
Posts: 45
|
|
|
The manager works.. But when the app is using a library of some sort like "h2.jar" Stopping the application from the manager wont completely undeploy it.. When trying to delete the lib folder it gets the error file in use by another process.. So i have to stop tomcat, delete the lib folder, and restart tomcat and deploy my app again.. Got any alternative for that?
|
 |
 |
|
|
subject: Tomcat 5.5.23 - Code Compilation - Tomcat Stop/Re-Start
|
|
|