[
http://jira.jboss.com/jira/browse/JBAS-2600?page=comments#action_12339866 ]
Amir Mistric commented on JBAS-2600:
------------------------------------
I disagree that this should not be fixed !
Why would this be a special case? If touching/changing web.xml is supposed to redeploy the
app it is a bug and not a "special case".
If there is problem with time and scheduling then move it into another release but
don't just say "WON'T FIX" because it is a special case.
Amir
URLDeploymentScanner fails to redeploy the unpacked WAR after
refreshing its web.xml
------------------------------------------------------------------------------------
Key: JBAS-2600
URL:
http://jira.jboss.com/jira/browse/JBAS-2600
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Deployment services
Affects Versions: JBossAS-4.0.3 SP1
Environment: JBoss 4.0.3 SP1, Windows XP, Java 1.5.0_04
Reporter: Amir Mistric
Assigned To: Dimitris Andreadis
Priority: Minor
Fix For: No Release
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira