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

Previosuly deployed (exploded) filesystem deployments are not deployed after server restart

XMLWordPrintable

    • Hide

      o be sure this has nothing to do with JBDS/JBT, I tried this completely without our tools. What I did:
      1. Unzip EAP 6.0 CR1
      2. Start the server using ./standalone.sh
      3. Copy exploded war in deployments: cp -R dynproj.war $JBOSS_HOME/standalone/deployments/
      5. This told me I needed .dodeploy, so I did that: touch $JBOSS_HOME/standalone/deployments/dynproj.war.dodeploy
      6. Stop server
      7. Start server again using ./standalone.sh
      8. dynproj.war is not deployed - this is in server log:

      12:01:48,788 INFO  [org.jboss.as.server.deployment.scanner] JBAS015003: Found dynproj.war in deployment directory. To trigger deployment create a file called dynproj.war.dodeploy
      
      Show
      o be sure this has nothing to do with JBDS/JBT, I tried this completely without our tools. What I did: 1. Unzip EAP 6.0 CR1 2. Start the server using ./standalone.sh 3. Copy exploded war in deployments: cp -R dynproj.war $JBOSS_HOME/standalone/deployments/ 5. This told me I needed .dodeploy, so I did that: touch $JBOSS_HOME/standalone/deployments/dynproj.war.dodeploy 6. Stop server 7. Start server again using ./standalone.sh 8. dynproj.war is not deployed - this is in server log: 12:01:48,788 INFO [org.jboss.as.server.deployment.scanner] JBAS015003: Found dynproj.war in deployment directory. To trigger deployment create a file called dynproj.war.dodeploy

      When you have EAP 6 up and running with an app deployed (any app, e.g. a simple dynamic web project) and then you stop and start the server, the app won't be deployed anymore. This is specific to EAP. In AS 7.1.1 the app gets deployed at the server start.
      With EAP 6 CR1 you will be shown this in the server log:

      15:46:25,828 INFO  [org.jboss.as.server.deployment.scanner] JBAS015003: Found dynproj.war in deployment directory. To trigger deployment create a file called dynproj.war.dodeploy
      

      Note that this has nothing to do with JBDS or JBT, I made sure it was completely independent of our tooling.

            jaikiran Jaikiran Pai (Inactive)
            exd-mmalina Martin Malina
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: