Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reloading Context

 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

If we have recompiled classes and put the same into the classes directory..

will the context be restarted or is there a provision of hot deployment in

tomcat?

Regards
 
Ben Zung
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat Manager's Reload sounds like the one you're after.
 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about hot deployment?
 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Include reloadable="true" in your context setup -

<Context path="/blah" docBase="blah" debug="0" reloadable="true"/>

HTH.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic