Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2600

URLDeploymentScanner fails to redeploy the unpacked WAR after refreshing its web.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • No Release
    • JBossAS-4.0.3 SP1
    • Deployers
    • None
    • JBoss 4.0.3 SP1, Windows XP, Java 1.5.0_04

      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.

              dandread1@redhat.com Dimitrios Andreadis
              zambak_jira Amir Mistric (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: