Details
-
Bug
-
Resolution: Won't Do
-
Minor
-
JBossAS-4.0.3 SP1
-
None
-
Medium
-
Workaround Exists
-
Description
When specifying a location of an unpacked war directory to scan and deploy, URLDeploymentScanner will not redeploy the web application after I change its web.xml file.
The relevant setting in jboss-service.xml (URLDeploymentScanner MBean) is as following
--snip--
<attribute name="URLs">
deploy/,
file:///C:\projects\myapp.war
</attribute>
--snip--
Note, myapp.war is actually a subdirectory containing explored WAR application.
However, if I change the URL to include enire projects subdirectory then changing web.cml does redeploy the application. Setting is as following:
--snip--
<attribute name="URLs">
deploy/,
file:///C:\projects\
</attribute>
--snip--
I may be wrong but changing the web.xml in either scenario should trigger application redeployment.