File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Modifying source code without restarting JBOSS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Modifying source code without restarting JBOSS" Watch "Modifying source code without restarting JBOSS" New topic

Modifying source code without restarting JBOSS

Jaaouane Aymen

Joined: Sep 22, 2009
Posts: 29
Hello, i am a beginner and i am doing my fisrt seam application.
I am working with eclipse ganymede 3.4.2, jboss tools for ganymede
The version of JBOSS 5.1.0.
but when i change in the source code, i must restart JBOSS each time i modify my code
and it represents a nightmare for me. is there a solution that jboss reloads the context without restarting?
Is the JBOSS must restart eachtime? i was working withTomcat and i do not need to restart it after modifying my java classes
except when modifying web.xml.
Francesco Marchioni
Ranch Hand

Joined: Sep 22, 2003
Posts: 194
Hi Jaaouane,
no restarting the application server is not at all needed and it would be an overkill.
Redeploy your application (.war) by simply going on the Eclipse server window and choose to "Publish"
the application. Sometimes I've found this option not too responsive so I had to use the "Clean" option which
delete the deployed application at first.
Whatever you choose you need to replace the deployment unit with a new one- if you have an exploded application you don't even need's enough to "touch" the web.xml

hope it helps

Enterprise Integration Tutorials - JBoss-WildFly Tutorials
I agree. Here's the link:
subject: Modifying source code without restarting JBOSS
It's not a secret anymore!