Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat 5.5.23 - Code Compilation - Tomcat Stop/Re-Start

 
Matt Cooke
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Every time I compile my java code is it necessary to stop and then re-start Tomcat?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, you can use the Tomcat manager to stop and restart single applications running within Tomcat.
 
Matt Cooke
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ben, I'll try that.
 
Keith Lynn
Ranch Hand
Posts: 2409
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic