Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1130

Unpacked deployment is lost across restarts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.0.0.CR1
    • 7.0.0.CR1
    • Server
    • None

      An unpacked war deployment does not remain deployed across restarts.

      [199](ironmaiden:bin) > ls ../standalone/deployments/
      README.txt ROOT.war ROOT.war.dodeploy
      [200](ironmaiden:bin) > ./standalone.sh
      ...
      07:01:21,122 INFO [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Found ROOT.war in deployment directory. To trigger deployment create a file called ROOT.war.dodeploy
      07:01:21,133 INFO [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.0.Beta4-SNAPSHOT "(TBD)" started in 2104ms - Started 91 of 119 services (25 services are passive or on-demand)
      07:01:21,144 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) Starting deployment of "ROOT.war"
      ...
      07:01:54,436 INFO [org.jboss.as.server.deployment] Stopped deployment ROOT.war in 34ms
      [201](ironmaiden:bin) > ls ../standalone/deployments/
      README.txt ROOT.war ROOT.war.deployed

      [202](ironmaiden:bin) > ./standalone.sh
      ...
      07:02:22,101 INFO [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Found ROOT.war in deployment directory. To trigger deployment create a file called ROOT.war.dodeploy
      [203](ironmaiden:bin) > ls ../standalone/deployments/
      README.txt ROOT.war

      Note that the same issue does not exist when the ROOT.war is an archive rather than a directory.

      [215](ironmaiden:bin) > ls ../standalone/deployments/
      README.txt ROOT.war ROOT.war.dodeploy
      [216](ironmaiden:bin) > ./standalone.sh
      07:04:36,536 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) Starting deployment of "ROOT.war"
      ..
      07:05:38,624 INFO [org.jboss.as.server.deployment] Stopped deployment ROOT.war in 41ms
      [217](ironmaiden:bin) > ls ../standalone/deployments/
      README.txt ROOT.war ROOT.war.deployed

      [218](ironmaiden:bin) > ./standalone.sh
      ..
      07:06:05,532 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) Starting deployment of "ROOT.war"
      ..
      07:06:28,313 INFO [org.jboss.as.server.deployment] Stopped deployment ROOT.war in 34ms
      [219](ironmaiden:bin) > ls ../standalone/deployments/
      README.txt ROOT.war ROOT.war.deployed

              bstansbe@redhat.com Brian Stansberry
              starksm64 Scott Stark (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: