5 Replies Latest reply on Dec 7, 2011 12:55 AM by Vijay Kumar

    problem on war deployment

    Vijay Kumar Newbie
      • Failed to create Resource struts2.war - cause: java.lang.Exception:Failed to start deployment [vfs:///C:/jboss-6.0.0.Final/server/default/deploy/struts2.war] during deployment of 'struts2.war' - cause: java.lang.RuntimeException:org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS IN ERROR: Deployment "jboss.web.deployment:war=/struts2" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-6.0.0.Final/server/default/tmp/vfs/automounte8a48f2345127fef/struts2.war-a8d884ec18afd533/ deployment failed -> org.jboss.deployers.client.spi.IncompleteDeploymentException:Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS IN ERROR: Deployment "jboss.web.deployment:war=/struts2" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-6.0.0.Final/server/default/tmp/vfs/automounte8a48f2345127fef/struts2.war-a8d884ec18afd533/ deployment failed

       

      Could any one help on this?

       

       

      Thanks & Regards,

      Vijay

        • 1. Re: problem on war deployment
          jaikiran pai Master

          The real error/exception will be logged somewhere before this summary. Check what it says.

          • 2. Re: problem on war deployment
            Vijay Kumar Newbie

            i checked, could not able to catch the log which comes on command-prompt.

             

            please suggest me!

             

            Regards,

            Vijay

            • 3. Re: problem on war deployment
              Vijay Kumar Newbie

                      at org.jboss.profileservice.management.client.upload.StreamingDeployment
              Target.start(StreamingDeploymentTarget.java:197) [:6.0.0.Final]
                      at org.jboss.profileservice.management.client.upload.DeploymentProgressI
              mpl.start(DeploymentProgressImpl.java:232) [:6.0.0.Final]
                      at org.jboss.profileservice.management.client.upload.DeploymentProgressI
              mpl.run(DeploymentProgressImpl.java:89) [:6.0.0.Final]
                      at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.jav
              a:155)
                      at org.rhq.plugins.jbossas5.util.DeploymentUtils.deployArchive(Deploymen
              tUtils.java:116)
                      at org.rhq.plugins.jbossas5.deploy.AbstractDeployer.deploy(AbstractDeplo
              yer.java:119)
                      at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.crea
              teContentBasedResource(CreateChildResourceFacetDelegate.java:124)
                      at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.crea
              teResource(CreateChildResourceFacetDelegate.java:56)
                      at org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(Ap
              plicationServerComponent.java:304)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_0
              3]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
              java:39) [:1.6.0_03]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
              sorImpl.java:25) [:1.6.0_03]
                      at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_03]
                      at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread
              .call(ResourceContainer.java:525)
                      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [:
              1.6.0_03]
                      at java.util.concurrent.FutureTask.run(FutureTask.java:138) [:1.6.0_03]
                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
              utor.java:885) [:1.6.0_03]
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
              .java:907) [:1.6.0_03]
                      at java.lang.Thread.run(Thread.java:619) [:1.6.0_03]

              18:55:34,747 WARN  [org.jboss.profileservice.management.upload.remoting.DeployHa
              ndler] Failed to complete command: [start] for deployment: names=[vfs:///C:/jbos
              s-6.0.0.Final/server/default/deploy/struts2.war]: org.jboss.deployers.client.spi
              .IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS
              ERRORS FOR DETAILS):

              DEPLOYMENTS IN ERROR:
                Deployment "jboss.web.deployment:war=/struts2" is in error due to the followin
              g reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-6.0
              .0.Final/server/default/tmp/vfs/automount87f09858f49d8cde/struts2.war-52e0aadea4
              b9ac06/ deployment failed

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(Dep
              loyersImpl.java:1370) [:2.2.0.GA]
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(Dep
              loyersImpl.java:1316) [:2.2.0.GA]
                      at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainD
              eployerImpl.java:968) [:2.2.0.GA]
                      at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.c
              heckComplete(MainDeployerPlugin.java:82) [:6.0.0.Final]
                      at org.jboss.profileservice.dependency.ProfileControllerContext$Delegate
              Deployer.checkComplete(ProfileControllerContext.java:138) [:0.2.2]
                      at org.jboss.profileservice.plugins.deploy.actions.DeploymentStartAction
              .doPrepare(DeploymentStartAction.java:104) [:0.2.2]
                      at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificat
              ionAction.prepare(AbstractTwoPhaseModificationAction.java:101) [:0.2.2]
                      at org.jboss.profileservice.management.ModificationSession.prepare(Modif
              icationSession.java:87) [:0.2.2]
                      at org.jboss.profileservice.management.AbstractActionController.internal
              Perfom(AbstractActionController.java:234) [:0.2.2]
                      at org.jboss.profileservice.management.AbstractActionController.performW
              rite(AbstractActionController.java:213) [:0.2.2]
                      at org.jboss.profileservice.management.AbstractActionController.perform(
              AbstractActionController.java:150) [:0.2.2]
                      at org.jboss.profileservice.plugins.deploy.AbstractDeployHandler.startDe
              ployments(AbstractDeployHandler.java:168) [:0.2.2]
                      at org.jboss.profileservice.management.upload.remoting.DeployHandlerDele
              gate.startDeployments(DeployHandlerDelegate.java:74) [:6.0.0.Final]
                      at org.jboss.profileservice.management.upload.remoting.DeployHandler.inv
              oke(DeployHandler.java:156) [:6.0.0.Final]
                      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:898) [:6.0
              .0.Final]
                      at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalCli
              entInvoker.java:106) [:6.0.0.Final]
                      at org.jboss.remoting.Client.invoke(Client.java:1961) [:6.0.0.Final]
                      at org.jboss.remoting.Client.invoke(Client.java:804) [:6.0.0.Final]
                      at org.jboss.profileservice.management.client.upload.StreamingDeployment
              Target.invoke(StreamingDeploymentTarget.java:312) [:6.0.0.Final]
                      at org.jboss.profileservice.management.client.upload.StreamingDeployment
              Target.start(StreamingDeploymentTarget.java:197) [:6.0.0.Final]
                      at org.jboss.profileservice.management.client.upload.DeploymentProgressI
              mpl.start(DeploymentProgressImpl.java:232) [:6.0.0.Final]
                      at org.jboss.profileservice.management.client.upload.DeploymentProgressI
              mpl.run(DeploymentProgressImpl.java:89) [:6.0.0.Final]
                      at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.jav
              a:155) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]
                      at org.rhq.plugins.jbossas5.util.DeploymentUtils.deployArchive(Deploymen
              tUtils.java:116) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]
                      at org.rhq.plugins.jbossas5.deploy.AbstractDeployer.deploy(AbstractDeplo
              yer.java:119) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]
                      at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.crea
              teContentBasedResource(CreateChildResourceFacetDelegate.java:124) [jopr-jboss-as
              -5-plugin-3.0.0.jar:3.0.0]
                      at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.crea
              teResource(CreateChildResourceFacetDelegate.java:56) [jopr-jboss-as-5-plugin-3.0
              .0.jar:3.0.0]
                      at org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(Ap
              plicationServerComponent.java:304) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_0
              3]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
              java:39) [:1.6.0_03]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
              sorImpl.java:25) [:1.6.0_03]
                      at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_03]
                      at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread
              .call(ResourceContainer.java:525) [:3.0.0]
                      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [:
              1.6.0_03]
                      at java.util.concurrent.FutureTask.run(FutureTask.java:138) [:1.6.0_03]
                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
              utor.java:885) [:1.6.0_03]
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
              .java:907) [:1.6.0_03]
                      at java.lang.Thread.run(Thread.java:619) [:1.6.0_03]

              18:55:34,763 ERROR [org.rhq.plugins.jbossas5.util.DeploymentUtils] Failed to sta
              rt deployment [vfs:///C:/jboss-6.0.0.Final/server/default/deploy/struts2.war] du
              ring deployment of 'struts2.war'. Backing out the deployment...: java.lang.Runti
              meException: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summa
              ry of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

              DEPLOYMENTS IN ERROR:
                Deployment "jboss.web.deployment:war=/struts2" is in error due to the followin
              g reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-6.0
              .0.Final/server/default/tmp/vfs/automount87f09858f49d8cde/struts2.war-52e0aadea4
              b9ac06/ deployment failed

                      at org.jboss.profileservice.management.client.upload.StreamingDeployment
              Target.invoke(StreamingDeploymentTarget.java:320) [:6.0.0.Final]
                      at org.jboss.profileservice.management.client.upload.StreamingDeployment
              Target.start(StreamingDeploymentTarget.java:197) [:6.0.0.Final]
                      at org.jboss.profileservice.management.client.upload.DeploymentProgressI
              mpl.start(DeploymentProgressImpl.java:232) [:6.0.0.Final]
                      at org.jboss.profileservice.management.client.upload.DeploymentProgressI
              mpl.run(DeploymentProgressImpl.java:89) [:6.0.0.Final]
                      at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.jav
              a:155) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]
                      at org.rhq.plugins.jbossas5.util.DeploymentUtils.deployArchive(Deploymen
              tUtils.java:116) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]
                      at org.rhq.plugins.jbossas5.deploy.AbstractDeployer.deploy(AbstractDeplo
              yer.java:119) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]
                      at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.crea
              teContentBasedResource(CreateChildResourceFacetDelegate.java:124) [jopr-jboss-as
              -5-plugin-3.0.0.jar:3.0.0]
                      at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.crea
              teResource(CreateChildResourceFacetDelegate.java:56) [jopr-jboss-as-5-plugin-3.0
              .0.jar:3.0.0]
                      at org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(Ap
              plicationServerComponent.java:304) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_0
              3]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
              java:39) [:1.6.0_03]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
              sorImpl.java:25) [:1.6.0_03]
                      at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_03]
                      at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread
              .call(ResourceContainer.java:525) [:3.0.0]
                      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [:
              1.6.0_03]
                      at java.util.concurrent.FutureTask.run(FutureTask.java:138) [:1.6.0_03]
                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
              utor.java:885) [:1.6.0_03]
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
              .java:907) [:1.6.0_03]
                      at java.lang.Thread.run(Thread.java:619) [:1.6.0_03]
              Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary
              of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

              DEPLOYMENTS IN ERROR:
                Deployment "jboss.web.deployment:war=/struts2" is in error due to the followin
              g reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-6.0
              .0.Final/server/default/tmp/vfs/automount87f09858f49d8cde/struts2.war-52e0aadea4
              b9ac06/ deployment failed

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(Dep
              loyersImpl.java:1370) [:2.2.0.GA]
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(Dep
              loyersImpl.java:1316) [:2.2.0.GA]
                      at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainD
              eployerImpl.java:968) [:2.2.0.GA]
                      at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.c
              heckComplete(MainDeployerPlugin.java:82) [:6.0.0.Final]
                      at org.jboss.profileservice.dependency.ProfileControllerContext$Delegate
              Deployer.checkComplete(ProfileControllerContext.java:138) [:0.2.2]
                      at org.jboss.profileservice.plugins.deploy.actions.DeploymentStartAction
              .doPrepare(DeploymentStartAction.java:104) [:0.2.2]
                      at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificat
              ionAction.prepare(AbstractTwoPhaseModificationAction.java:101) [:0.2.2]
                      at org.jboss.profileservice.management.ModificationSession.prepare(Modif
              icationSession.java:87) [:0.2.2]
                      at org.jboss.profileservice.management.AbstractActionController.internal
              Perfom(AbstractActionController.java:234) [:0.2.2]
                      at org.jboss.profileservice.management.AbstractActionController.performW
              rite(AbstractActionController.java:213) [:0.2.2]
                      at org.jboss.profileservice.management.AbstractActionController.perform(
              AbstractActionController.java:150) [:0.2.2]
                      at org.jboss.profileservice.plugins.deploy.AbstractDeployHandler.startDe
              ployments(AbstractDeployHandler.java:168) [:0.2.2]
                      at org.jboss.profileservice.management.upload.remoting.DeployHandlerDele
              gate.startDeployments(DeployHandlerDelegate.java:74) [:6.0.0.Final]
                      at org.jboss.profileservice.management.upload.remoting.DeployHandler.inv
              oke(DeployHandler.java:156) [:6.0.0.Final]
                      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:898) [:6.0
              .0.Final]
                      at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalCli
              entInvoker.java:106) [:6.0.0.Final]
                      at org.jboss.remoting.Client.invoke(Client.java:1961) [:6.0.0.Final]
                      at org.jboss.remoting.Client.invoke(Client.java:804) [:6.0.0.Final]
                      at org.jboss.profileservice.management.client.upload.StreamingDeployment
              Target.invoke(StreamingDeploymentTarget.java:312) [:6.0.0.Final]
                      ... 19 more

              18:55:34,763 INFO  [org.jboss.profileservice.management.upload.remoting.DeployHa
              ndler] invoke, payload: {DeploymentTargetID=names=[vfs:///C:/jboss-6.0.0.Final/s
              erver/default/deploy/struts2.war]}, parameter: remove
              18:55:34,763 ERROR [org.rhq.plugins.jbossas5.deploy.LocalDeployer] Error deployi
              ng application for request [CreateResourceReport: ResourceType=[ResourceType[id=
              0, category=Service, name=Web Application (WAR), plugin=JBossAS5]], ResourceKey=
              [null]].: java.lang.Exception: Failed to start deployment [vfs:///C:/jboss-6.0.0
              .Final/server/default/deploy/struts2.war] during deployment of 'struts2.war' - c
              ause: java.lang.RuntimeException:org.jboss.deployers.client.spi.IncompleteDeploy
              mentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAIL
              S):

              DEPLOYMENTS IN ERROR:
                Deployment "jboss.web.deployment:war=/struts2" is in error due to the followin
              g reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-6.0
              .0.Final/server/default/tmp/vfs/automount87f09858f49d8cde/struts2.war-52e0aadea4
              b9ac06/ deployment failed
              -> org.jboss.deployers.client.spi.IncompleteDeploymentException:Summary of inco
              mplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

              DEPLOYMENTS IN ERROR:
                Deployment "jboss.web.deployment:war=/struts2" is in error due to the followin
              g reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-6.0
              .0.Final/server/default/tmp/vfs/automount87f09858f49d8cde/struts2.war-52e0aadea4
              b9ac06/ deployment failed

                      at org.rhq.plugins.jbossas5.util.DeploymentUtils.deployArchive(Deploymen
              tUtils.java:146) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]
                      at org.rhq.plugins.jbossas5.deploy.AbstractDeployer.deploy(AbstractDeplo
              yer.java:119) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]
                      at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.crea
              teContentBasedResource(CreateChildResourceFacetDelegate.java:124) [jopr-jboss-as
              -5-plugin-3.0.0.jar:3.0.0]
                      at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.crea
              teResource(CreateChildResourceFacetDelegate.java:56) [jopr-jboss-as-5-plugin-3.0
              .0.jar:3.0.0]
                      at org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(Ap
              plicationServerComponent.java:304) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_0
              3]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
              java:39) [:1.6.0_03]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
              sorImpl.java:25) [:1.6.0_03]
                      at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_03]
                      at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread
              .call(ResourceContainer.java:525) [:3.0.0]
                      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [:
              1.6.0_03]
                      at java.util.concurrent.FutureTask.run(FutureTask.java:138) [:1.6.0_03]
                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
              utor.java:885) [:1.6.0_03]
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
              .java:907) [:1.6.0_03]
                      at java.lang.Thread.run(Thread.java:619) [:1.6.0_03]

              18:55:34,763 WARN  [org.rhq.core.pc.inventory.CreateResourceRunner] Throwable wa
              s found in creation report for request [1]: java.lang.Exception: Failed to start
              deployment [vfs:///C:/jboss-6.0.0.Final/server/default/deploy/struts2.war] duri
              ng deployment of 'struts2.war' - cause: java.lang.RuntimeException:org.jboss.dep
              loyers.client.spi.IncompleteDeploymentException: Summary of incomplete deploymen
              ts (SEE PREVIOUS ERRORS FOR DETAILS):

              DEPLOYMENTS IN ERROR:
                Deployment "jboss.web.deployment:war=/struts2" is in error due to the followin
              g reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-6.0
              .0.Final/server/default/tmp/vfs/automount87f09858f49d8cde/struts2.war-52e0aadea4
              b9ac06/ deployment failed
              -> org.jboss.deployers.client.spi.IncompleteDeploymentException:Summary of inco
              mplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

              DEPLOYMENTS IN ERROR:
                Deployment "jboss.web.deployment:war=/struts2" is in error due to the followin
              g reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-6.0
              .0.Final/server/default/tmp/vfs/automount87f09858f49d8cde/struts2.war-52e0aadea4
              b9ac06/ deployment failed
              - Enable DEBUG logging to see the stack trace.
              18:55:34,763 INFO  [org.rhq.core.pc.inventory.CreateResourceRunner] Sending crea
              te response to server: CreateResourceResponse[RequestId=1, Status=Failure]

              • 4. Re: problem on war deployment
                jaikiran pai Master

                Vijay Kumar wrote:

                 

                i checked, could not able to catch the log which comes on command-prompt.

                 

                please suggest me!

                 

                Regards,

                Vijay

                http://community.jboss.org/message/200575#200575

                • 5. Re: problem on war deployment
                  Vijay Kumar Newbie

                  sorry Jaikiran, i do not understand.