aspose file tools*
The moose likes JBoss/WildFly and the fly likes Context Reloading in JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Context Reloading in JBoss" Watch "Context Reloading in JBoss" New topic
Author

Context Reloading in JBoss

Mike Thomson
Ranch Hand

Joined: Nov 07, 2007
Posts: 115
I am using JBoss 4.2.2.GA with MyEclipse. In the web project, after deployment if I had done any changes to JSP, it
s getting reflected without redeploying the war. But whenever I done changes to java and build it, the context is not reloading automatically. How can we do it for JBoss with MyEclipse? I need to redeploy it for each time I am changing the java file and it's very teadous for the development. Any one help on this?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

The only way to get Java file changes recognized is to redeploy the web app. One way to redeploy the app is to 'touch' the web.xml file. Did you install JBoss Tools into Eclipse? It provides some JBoss-specific Java EE projects that should automatically redeploy the app when you make Java changes. (I know that Eclipse comes with some JBoss projects, but I don't know if they handle the redeployment properly.)


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Context Reloading in JBoss