tags:

views:

480

answers:

2

I have an issue hot deploying on JBoss4.2.3.GA. The server does not redeploy the application when i update web.xml file. Is it that only classes changed will make the server to redploy the application ? If this is the case how do I redeploy non-class files ?

Please advice.

Thanks, Saquib

+1  A: 

JBoss redeploys the web application when it detects a change to the web.xml. Make sure that whatever you are using to modify this makes a change to the timestamp on the file. So

 touch web.xml

should be the charm for a redeploy

Kevin
A: 

If your application is expanded from an EAR, being the WAR a part of it, try updating the META-INF/application.xml file.

Rafa Sanchez