3 Replies Latest reply on May 13, 2011 4:52 AM by Thomas Chang

    ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=jboss.web.deployment:war

    Thomas Chang Apprentice

      Hi,

       

      I have a quite stanger problem.

       

      I use JBoss 5.1.0. I deployed formerly sereral WARs on it and it runs well. The JBoss AS is instelled unter

       

      [code]

      /opt/jboss/ivs/jboss-eap-5.1/jboss-as/server/

      [/code]

       

      and has the name 'myJboss1'. The user to use it is also called 'myJboss1'.

       

       

      Now, according to customer requirment we have to change the Jboss AS and the user name both to myJboss2. So I simply copy the Jboss instance 'myJboss1' and pasted under the same dir as ober, i.e.:

       

      [code]

      /opt/jboss/ivs/jboss-eap-5.1/jboss-as/server/

      [/code]

       

      I also create a new user 'myJboss2' and set the new Jboss AS 'myJboss2' to this user 'myJboss2'.

       

      But as I start the 'myJboss2', I got ERROR and Exceptions as follow, though I've deleted the cache such as /data, /work/ and /tmp.

       

      [code]

      ...

      2011-05-12 10:00:07,053 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/

       

      2011-05-12 10:00:17,264 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=jboss.web.deployment:war=/myApp state=Create mode=Manual requiredState=Installed

       

      org.jboss.deployers.spi.DeploymentException: URL file:/opt/jboss/ivs/jboss-eap-5.1/jboss-as/server/myJboss2/tmp/4snh3-2vcqs3-gnlepry3-1-gnleroee-24/myApp.war/ deployment failed

       

          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:342)

       

          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)

       

          at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

       

          at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

       

          at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

       

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

       

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

       

          at java.lang.reflect.Method.invoke(Method.java:597)

       

          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

       

          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

       

          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

       

          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

       

          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

       

          at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

       

          at $Proxy38.start(Unknown Source)

       

          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

       

          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

       

          at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

       

          at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

       

          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

       

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

       

          at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:297)

       

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

       

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

       

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

       

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

       

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

       

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

       

          at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

       

          at org.jboss.system.ServiceController.start(ServiceController.java:460)

       

          at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

       

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

       

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

       

          at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

       

          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)

       

          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)

       

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)

       

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)

       

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1193)

       

          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)

       

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

       

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

       

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

       

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

       

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

       

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

       

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

       

          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)

       

          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)

       

          at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

       

          at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

       

          at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

       

          at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)

       

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

       

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

       

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

       

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

       

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

       

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)

       

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)

       

          at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)

       

          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)

       

          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)

       

          at org.jboss.Main.boot(Main.java:221)

       

          at org.jboss.Main$1.run(Main.java:556)

       

          at java.lang.Thread.run(Thread.java:662)

       

      2011-05-12 10:00:17,439 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Real: name=vfszip:/opt/jboss/ivs/jboss-eap-5.1/jboss-as/server/myJboss2/deploy/myApp.war/ state=PreReal mode=Manual requiredState=Real

       

      org.jboss.deployers.spi.DeploymentException: URL file:/opt/jboss/ivs/jboss-eap-5.1/jboss-as/server/myJboss2/tmp/4snh3-2vcqs3-gnlepry3-1-gnleroee-24/myApp.war/ deployment failed

       

          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:342)

       

          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)

       

          at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

       

          at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

       

          at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

       

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

       

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

       

          at java.lang.reflect.Method.invoke(Method.java:597)

       

          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

       

          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

       

          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

       

          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

       

          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

       

          at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

       

          at $Proxy38.start(Unknown Source)

       

          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

       

          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

       

          at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

       

          at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

       

          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

       

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

       

          at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:297)

       

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

       

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

       

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

       

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

       

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

       

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

       

          at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

       

          at org.jboss.system.ServiceController.start(ServiceController.java:460)

       

          at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

       

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

       

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

       

          at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

       

          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)

       

          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)

       

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)

       

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)

       

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1193)

       

          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)

       

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

       

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

       

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

       

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

       

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

       

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

       

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

       

          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)

       

          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)

       

          at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

       

          at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

       

          at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

       

          at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)

       

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

       

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

       

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

       

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

       

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

       

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)

       

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)

       

          at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)

       

          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)

       

          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)

       

          at org.jboss.Main.boot(Main.java:221)

       

          at org.jboss.Main$1.run(Main.java:556)

       

          at java.lang.Thread.run(Thread.java:662)

       

      2011-05-12 10:01:18,915 INFO  [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Loading profile: ProfileKey@503f0b70[domain=default, server=default, name=myJboss2]

       

      2011-05-12 10:01:18,922 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

       

      DEPLOYMENTS IN ERROR:

       

        Deployment "vfszip:/opt/jboss/ivs/jboss-eap-5.1/jboss-as/server/myJboss2/deploy/myApp.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/opt/jboss/ivs/jboss-eap-5.1/jboss-as/server/myJboss2/tmp/4snh3-2vcqs3-gnlepry3-1-gnleroee-24/myApp.war/ deployment failed

       

      ...

      [/code]

       

      Has someone idea?

       

      Thomas