• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Modifying source code without restarting JBOSS

 
Jaaouane Aymen
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author
Ranch Hand
Posts: 194
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 to....it's enough to "touch" the web.xml

hope it helps
Francesco
MyJBossSite
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic