Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1060

exploded jsp is not deployed after server reload

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.0.CR7
    • 2.0.0.CR6
    • Management
    • None
    • Hide

      1. Start EAP server and connect to CLI.
      2. From other terminal explode simple-jsp.war to deployments directory and deploy it using marker file:

      cd $JBOSS_HOME/standalone/deployments/
      unzip -d simple-jsp.war /tmp/simple-jsp.war
      touch simple-jsp.war.dodeploy
      

      3. Perform request to http://localhost:8080/simple-jsp/index.jsp to ensure that deployment has been successful (text "Original JSP" should occur). Also in deployment directory there is created simple-jsp.war.deployed marker file.
      4. In CLI execute:

      /deployment=simple-jsp.war:undeploy()
      

      The simple-jsp.war.deployed marker file in deployment directory is removed and no other is created.
      5. Deploy again executing in CLI:

      /deployment=simple-jsp.war:deploy()
      

      No marker file is created in deployment directory. Check that index.jsp is available again.
      6. Now perform reload of the EAP server executing in CLI:

      /:reload
      

      7. Check that request on http://localhost:8080/simple-jsp/index.jsp is not successful (404 Not found).

      Expected result: the simple-jsp to be deployed and http://localhost:8080/simple-jsp/index.jsp available.

      Show
      1. Start EAP server and connect to CLI. 2. From other terminal explode simple-jsp.war to deployments directory and deploy it using marker file: cd $JBOSS_HOME/standalone/deployments/ unzip -d simple-jsp.war /tmp/simple-jsp.war touch simple-jsp.war.dodeploy 3. Perform request to http://localhost:8080/simple-jsp/index.jsp to ensure that deployment has been successful (text "Original JSP" should occur). Also in deployment directory there is created simple-jsp.war.deployed marker file. 4. In CLI execute: /deployment=simple-jsp.war:undeploy() The simple-jsp.war.deployed marker file in deployment directory is removed and no other is created. 5. Deploy again executing in CLI: /deployment=simple-jsp.war:deploy() No marker file is created in deployment directory. Check that index.jsp is available again. 6. Now perform reload of the EAP server executing in CLI: /:reload 7. Check that request on http://localhost:8080/simple-jsp/index.jsp is not successful (404 Not found). Expected result: the simple-jsp to be deployed and http://localhost:8080/simple-jsp/index.jsp available.

    Description

      When I deploy exploded jsp on EAP server via marker file, undeploy it and again redeploy it via cli, then perform server reload, after those steps particular jsp is not available anymore.

      For more info see "Steps to Reproduce" section.

      Attachments

        Issue Links

          Activity

            People

              ehugonne1@redhat.com Emmanuel Hugonnet
              jstourac@redhat.com Jan Stourac
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: