1 Reply Latest reply: Oct 26, 2011 6:06 AM by Insane geek RSS

JBoss auto refresh

Jenni fer Newbie

Hi Experts,
I have been using tomcat 5.5 with eclipse 3.1 for our project. Recently changed from tomcat to jboss 4.0. The real problem is i need to restart the server(jboss) every time to see the changes that i have made to my file(jsp). Is there is any auto refresh options in jboss? Help needed urgently.

Jenni

  • 1. Re: JBoss auto refresh
    Insane geek Newbie

    Firstly, do you still use eclipse along with jboss?...

    If yes...then DeleteWorkDirOnContextDestroy setting in $JBOSS/server/default/deploy/jboss-web.deployer/META-INF/jboss-service.xml may be what you are looking for.  It is false by default, but setting it to true may be what you need.  I think this should delete the JSPs' class files on redeploy so that they get recreated upon first access of each JSP.

    Let me know if that works for you....

    Hope it helps !!