7 Replies Latest reply on Jan 4, 2018 6:21 PM by pxa2467

    Problem WAR deploy (jboss-5.1.0.GA)

    matjohn

      Hi, I have follow exception when deploy my application :

      2009-10-02 16:31:18,265 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Configured: name=jboss.j2ee:module="mad.war",service=EjbModule state=Instantiated mode=Manual requiredState=Configured
      java.lang.RuntimeException: Exception setting attribute WebServiceName on mbean jboss.j2ee:service=EjbModule,module="mad.war"
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:170)
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:114)
      at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:58)
      at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:42)
      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:286)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
      at org.jboss.system.ServiceController.install(ServiceController.java:274)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90)
      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:50)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
      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:361)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
      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(Unknown Source)
      Caused by: javax.management.InvalidAttributeValueException: Set attribute has class class javax.management.ObjectName loaded from null that is not assignable to attribute class class javax.management.ObjectName loaded from BaseClassLoader@d99967{vfszip:/D:/projects/jboss-5.1.0.GA/server/default/deploy/mad.war/}
      at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.checkAssignable(ModelMBeanAttributeInterceptor.java:229)
      at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:88)
      at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
      at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:461)
      at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:617)
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:166)
      ... 51 more
      2009-10-02 16:31:26,701 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Real: name=vfszip:/D:/projects/jboss-5.1.0.GA/server/default/deploy/mad.war/ state=PreReal mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.j2ee:service=EjbModule,module="mad.war"
      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:118)
      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:50)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
      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:361)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
      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(Unknown Source)
      Caused by: java.lang.RuntimeException: Exception setting attribute WebServiceName on mbean jboss.j2ee:service=EjbModule,module="mad.war"
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:170)
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:114)
      at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:58)
      at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:42)
      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:286)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
      at org.jboss.system.ServiceController.install(ServiceController.java:274)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90)
      ... 34 more
      Caused by: javax.management.InvalidAttributeValueException: Set attribute has class class javax.management.ObjectName loaded from null that is not assignable to attribute class class javax.management.ObjectName loaded from BaseClassLoader@d99967{vfszip:/D:/projects/jboss-5.1.0.GA/server/default/deploy/mad.war/}
      at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.checkAssignable(ModelMBeanAttributeInterceptor.java:229)
      at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:88)
      at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
      at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:461)
      at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:617)
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:166)
      ... 51 more
      2009-10-02 16:31:26,935 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/testwar
      2009-10-02 16:31:26,998 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:/D:/projects/jboss-5.1.0.GA/server/default/deploy/mad.war/" is in error due to the following reason(s): javax.management.InvalidAttributeValueException: Set attribute has class class javax.management.ObjectName loaded from null that is not assignable to attribute class class javax.management.ObjectName loaded from BaseClassLoader@d99967{vfszip:/D:/projects/jboss-5.1.0.GA/server/default/deploy/mad.war/}

      2009-10-02 16:31:27,014 INFO [org.apache.coyote.http11.Http11Protocol] (main) Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
      2009-10-02 16:31:27,029 INFO [org.apache.coyote.ajp.AjpProtocol] (main) Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      2009-10-02 16:31:27,045 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 1m:17s:540ms

      I use webwork 2.2.4.
      I don't have idea to resolve this, I need help .

      Best regards.

        • 1. Re: Problem WAR deploy (jboss-5.1.0.GA)
          jaikiran

           

          Caused by: javax.management.InvalidAttributeValueException: Set attribute has class class javax.management.ObjectName loaded from null that is not assignable to attribute class class javax.management.ObjectName loaded from BaseClassLoader@d99967{vfszip:/D:/projects/jboss-5.1.0.GA/server/default/deploy/mad.war/}


          Are you packaging any jar files containing javax.management.* classes? If yes remove those jars from your application packaging.


          • 2. Re: Problem WAR deploy (jboss-5.1.0.GA)
            matjohn

            I don't have jar files containing javax.management.* .

            Few minutes ago, I try to deploy same WAR at "jboss-4.2.3.GA" and it work properly !!

            Is it a bug for 5.1.0 version ?

            Thanks for the help.

            • 3. Re: Problem WAR deploy (jboss-5.1.0.GA)
              jaikiran

              Post the output of

              jar -tf mad.war


              I am mainly interested in the jar files packaged in that application.



              • 4. Re: Problem WAR deploy (jboss-5.1.0.GA)
                matjohn

                Ok, ops, I have a wrong build script, wrong presence WEB-INF/lib/jmx-1.0.jar !
                Now, it's ok.
                Thanks for your time.


                "jaikiran" wrote:
                Post the output of

                jar -tf mad.war


                I am mainly interested in the jar files packaged in that application.



                • 5. Re: Problem WAR deploy (jboss-5.1.0.GA)
                  pxa2467

                  Hello All,

                   

                  I get the same error when i try to run jboss 6.0.0 on java 7 . Can some one please help ?

                   

                  15:16:49,482 INFO  [ClientENCInjectionContainer] STARTED CLIENT ENC CONTAINER: qw-client

                  15:16:49,484 INFO  [ClientENCInjectionContainer] STARTED CLIENT ENC CONTAINER: qwthd-client

                  15:16:57,156 ERROR [AbstractKernelController] Error installing to Configured: name=jboss.j2ee:module="qwcore-ejb.jar",service=EjbModule,uid=26729649 state=Instantiated mode=Manual requiredState=Configured

                  java.lang.RuntimeException: Exception setting attribute WebServiceName on mbean jboss.j2ee:service=EjbModule,module="qwcore-ejb.jar",uid=26729649

                  at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:170)

                  at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:114)

                  at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:57)

                  at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:41)

                  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:298)

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

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

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

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

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

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

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

                  at org.jboss.system.ServiceController.install(ServiceController.java:275)

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

                  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:50)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                  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:1633)

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

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

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

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

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

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

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

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

                  at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)

                  at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)

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

                  Caused by: javax.management.InvalidAttributeValueException: Set attribute  has class class javax.management.ObjectName loaded from null that is not assignable to attribute class class javax.management.ObjectName loaded from BaseClassLoader@3d8bc7{vfszip:/C:/opt/isv/jboss-6.0.0.M1/jboss-6.0.0.M1/server/default/deploy/qwthd.ear/}

                  at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.checkAssignable(ModelMBeanAttributeInterceptor.java:229)

                  at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:88)

                  at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76)

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

                  at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:461)

                  at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:617)

                  at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:166)

                  ... 52 more

                  15:16:59,138 INFO  [ClientENCInjectionContainer] STOPPED CLIENT ENC CONTAINER: qw-client

                  15:16:59,142 INFO  [ClientENCInjectionContainer] STOPPED CLIENT ENC CONTAINER: qwthd-client

                  15:16:59,316 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/C:/opt/isv/jboss-6.0.0.M1/jboss-6.0.0.M1/server/default/deploy/qwthd.ear/ state=PreReal mode=Manual requiredState=Real

                  org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.j2ee:service=EjbModule,module="qwcore-ejb.jar",uid=26729649

                  at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)

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

                  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:50)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                  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:1633)

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

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

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

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

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

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

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

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

                  at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)

                  at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)

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

                  Caused by: java.lang.RuntimeException: Exception setting attribute WebServiceName on mbean jboss.j2ee:service=EjbModule,module="qwcore-ejb.jar",uid=26729649

                  at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:170)

                  at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:114)

                  at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:57)

                  at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:41)

                  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:298)

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

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

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

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

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

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

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

                  at org.jboss.system.ServiceController.install(ServiceController.java:275)

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

                  ... 35 more

                  Caused by: javax.management.InvalidAttributeValueException: Set attribute  has class class javax.management.ObjectName loaded from null that is not assignable to attribute class class javax.management.ObjectName loaded from BaseClassLoader@3d8bc7{vfszip:/C:/opt/isv/jboss-6.0.0.M1/jboss-6.0.0.M1/server/default/deploy/qwthd.ear/}

                  at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.checkAssignable(ModelMBeanAttributeInterceptor.java:229)

                  at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:88)

                  at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76)

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

                  at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:461)

                  at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:617)

                  at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:166)

                  ... 52 more

                  15:16:59,365 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey@104c8be[domain=default, server=default, name=default]

                  15:16:59,367 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

                   

                   

                  DEPLOYMENTS IN ERROR:

                    Deployment "vfszip:/C:/opt/isv/jboss-6.0.0.M1/jboss-6.0.0.M1/server/default/deploy/qwthd.ear/" is in error due to the following reason(s): javax.management.InvalidAttributeValueException: Set attribute  has class class javax.management.ObjectName loaded from null that is not assignable to attribute class class javax.management.ObjectName loaded from BaseClassLoader@3d8bc7{vfszip:/C:/opt/isv/jboss-6.0.0.M1/jboss-6.0.0.M1/server/default/deploy/qwthd.ear/}

                   

                   

                  15:16:59,384 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080

                  15:16:59,463 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009

                  15:16:59,469 INFO  [AbstractServer] JBossAS [6.0.0.M1 (build: SVNTag=JBoss_6_0_0_M1 date=200912040958)] Started in 50s:49ms

                  • 6. Re: Problem WAR deploy (jboss-5.1.0.GA)
                    andey

                    You seem to be packaging a jar containing javax.management.* classes within your application packaging. Remove that jar from the application packaging (since it already ships in JBoss 6).

                    I suppose that you pack some JAR files into your application. In this case a class might be loaded from different class-loaders. That will be a different scope and the class is not usable if the reference is referred.

                    Check your application assembling for this.

                     

                    1.Try to remove the parser related jar files (xerces.jar and xml-api.jar) from the ear file if you have bundled anything.

                    2.From the qwthd.ear file remove the unnecessary .jar files which are using older version of ejb.jar file.

                    • 7. Re: Problem WAR deploy (jboss-5.1.0.GA)
                      pxa2467

                      I removed the  ejb.jar file and i'm getting an another error.

                       

                      8:19:47,686 INFO  [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@db2a1[ defaultDomain='null' ]

                      18:19:51,876 ERROR [ProfileDeployAction] Failed to add deployment: qwthd.ear

                      org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(qwthd.ear)

                      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)

                      at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:85)

                      at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1001)

                      at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:437)

                      at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:387)

                      at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:297)

                      at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.addDeployment(MainDeployerAdapter.java:86)

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

                      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:1633)

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

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

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

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

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

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

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

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

                      at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)

                      at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)

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

                      Caused by: java.lang.RuntimeException: Error determining structure: qwthd.ear

                      at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:307)

                      at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73)

                      at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:196)

                      at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:221)

                      at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)

                      ... 21 more

                      Caused by: java.lang.RuntimeException: qwcore-ejb.jar module listed in application.xml does not exist within .ear vfszip:/C:/opt/isv/jboss-6.0.0.M1/jboss-6.0.0.M1/server/default/deploy/qwthd.ear/

                      at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:274)

                      ... 25 more