[jboss-user] [JBoss Tools Users] - Re: in tomcat, redeployment of webapp on class file changes?

snjeza do-not-reply at jboss.com
Fri Sep 18 17:56:56 EDT 2009


You need to configure Tomcat to not redeploy the application when changing WEB-INF/classes.
Create <your_application>/WebContent/META-INF/context.xml:


  | <Context  debug="0" reloadable="false">
  | </Context>
  | 

or add the attribute reloadable="false" if you already have context.xml.
You also can change Tomcat's global context.xml (TOMCAT_HOME/conf/context.xml).

As to "Merge all dependent projects into the WEB-INF/classes folder", I think that the Tomcat adapter doesn't support it. The Tomcat adapter is a WTP adapter and isn't related to JBoss Tools. JBoss Tools adapters support this feature for Web and EJB projects (they are deployed in an exploded form and are hot swappable).

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255994#4255994

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255994



More information about the jboss-user mailing list