3 Replies Latest reply on May 27, 2013 5:37 PM by Nicklas Karlsson

    JBoss 7.1.1 redeploy fail

    Juan Toro Marty Newbie

      Hi:

       

      I deployed with the .dodeploy method and autodeploy off a unpaqued ".war" through a symlink on Jboss7. It worked without a problem generating a .deployed file.

      Now I´m trying to deploy an .ear that is in a development stage and as i was expecting it failed to deploy and generated the .failed file.

      But now when i try to restart the server with jboss-cli.sh --connect command=:shutdown and then standalone.sh the deployed war fails to deploy and generate a .failed file.

       

       

      Can anybody help me understand here? The process of deployment seems to have a transaction behavior that if any deploy fails all others are rolled back.

       

      This is my deploy-scanner config at standalone.xml

              <subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1">
                  <deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000" auto-deploy-zipped="false" auto-deploy-exploded="false"/>
              </subsystem>

       

       

       

      Here is some log of what iam trying to say.

       

      13:20:46,263 INFO  [stdout] (MSC service thread 1-4) AdmTomcat - AlertaEstado: Fin init()

      13:20:46,355 INFO  [org.jboss.web] (MSC service thread 1-4) JBAS018210: Registering web context: /admjboss

      13:20:46,885 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."GestorDocumentalEAR.ear".STRUCTURE: org.jboss.msc.

      service.StartException in service jboss.deployment.unit."GestorDocumentalEAR.ear".STRUCTURE: Failed to process phase STRUCTURE of deployment "GestorDocumentalEAR.ear"

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]

              at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]

      Caused by: java.lang.IllegalArgumentException: Given parent is not an ancestor of this virtual file

              at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:116)

              at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)

              at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:110)

              at org.jboss.as.server.deployment.module.ManifestClassPathProcessor.createAdditionalModule(ManifestClassPathProcessor.java:193) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.server.deployment.module.ManifestClassPathProcessor.handlingExistingClassPathEntry(ManifestClassPathProcessor.java:185) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.server.deployment.module.ManifestClassPathProcessor.deploy(ManifestClassPathProcessor.java:162) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              ... 5 more

       

       

      13:20:46,900 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015871: Deploy of deployment "admjboss.war" was rolled back with no failure message

      R.ear\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"GestorDocumentalEAR.ear\""}}

      13:20:46,913 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

      nt.unit."GestorDocumentalEAR.ear".STRUCTURE: Failed to process phase STRUCTURE of deployment "GestorDocumentalEAR.ear"

       

      Thanks in advance.