how to enable hot deploy in tomcat

23,000

Solution 1

I ended up using HotSwapAgent tool. That's a free alternative to JRebel

Solution 2

There is a new plugin for intellij that supports it: https://plugins.jetbrains.com/plugin/9492-smart-tomcat

Share:
23,000
lili
Author by

lili

Updated on July 09, 2022

Comments

  • lili
    lili almost 2 years

    I can write an ant script that copies updated class files to web-inf\classes in tomcat. But how can I tell Tomcat 7.0 to auto pick up the changed class files from web-inf/classes directory?

    I tried setting autoDeploy="true" in tomcat Host configuration server.xml but when a change is detected, Tomcat session is destroyed. Can I easily a substitute eclipse tomcat plugin in Intellij