4 Replies Latest reply on Oct 29, 2010 12:05 PM by holzig

    JBoss6M5: Cannot find such a public constructor: org.jboss.web.deployers.WebModule

    holzig Newbie

      Hi Folks,

       

      I'm trying to get deploy an .ear with two ejb modules and one webmodule built with maven.

      When I deploy it on a jboss-6.0.0.20100911-M5 on my stationary PC (WinXP) everything runs just fine. But when i try to deploy the same project on the same JBoss Version on my notebook (Win7) i get the exception "javax.management.ReflectionException: Cannot find such a public  constructor: org.jboss.web.deployers.WebModule". I tried to download and install a fresh copy of the JBoss without any success. A Google search was not very useful either.

      So maybe some could give a hint where i could try next. Folowing the complete Stacktrace printed to the JBoss console

       

      {code}12:22:18,030 ERROR  [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error  installing to Instantiated: name=jboss.web.deployment:war=/mytest-webapp

        state=Described mode=Manual requiredState=Configured:  javax.management.NotCompliantMBeanException: Error in constructor for  org.jboss.web.deployers.WebModule java

      x.management.ReflectionException: Cannot find such a public constructor:  org.jboss.web.deployers.WebModule

               at  org.jboss.system.ServiceCreator.installPlainMBean(ServiceCreator.java:228)  [:6.0.0.20100911-M5 (Build SVNTag:JBoss_6.0.0.20100911-M5 date:  20100922)]

               at  org.jboss.system.ServiceCreator.install(ServiceCreator.java:133)  [:6.0.0.20100911-M5 (Build SVNTag:JBoss_6.0.0.20100911-M5 date:  20100922)]

               at  org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:73)  [:2.2.0.Alpha10]

               at  org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:46)  [:2.2.0.Alpha10]

               at  org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301)  [:2.2.0.Alpha10]

               at  org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.system.ServiceController.doChange(ServiceController.java:671)  [:6.0.0.20100911-M5 (Build SVNTag:JBoss_6.0.0.20100911-M5 date:  20100922)]

               at  org.jboss.system.ServiceController.install(ServiceController.java:257)  [:6.0.0.20100911-M5 (Build SVNTag:JBoss_6.0.0.20100911-M5 date:  20100922)]

               at  org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:93)  [:6.0.0.20100911-M5]

               at  org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:49)  [:6.0.0.20100911-M5]

               at  org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)  [:2.2.0.Alpha7]

               at  org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)  [:2.2.0.Alpha7]

               at  org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)  [:2.2.0.Alpha7]

               at  org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832)  [:2.2.0.Alpha7]

               at  org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550)  [:2.2.0.Alpha7]

               at  org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571)  [:2.2.0.Alpha7]

               at  org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603)  [:2.2.0.Alpha7]

               at  org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491)  [:2.2.0.Alpha7]

               at  org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654)  [jboss-dependency.jar:2.2.0.Alpha10]

               at  org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983)  [:2.2.0.Alpha7]

               at  org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076)  [:2.2.0.Alpha7]

               at  org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679)  [:2.2.0.Alpha7]

               at  org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106)  [:6.0.0.20100911-M5]

               at  org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:130)  [:0.1.0.Alpha1]

               at  org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.deploy(HDScanner.java:240)  [:0.1.0.Alpha1]

               at  org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.complete(HDScanner.java:192)  [:0.1.0.Alpha1]

               at  org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(TwoPCActionWrapper.java:59)  [:0.1.0.Alpha1]

               at  org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.complete(AbstractTwoPhaseModificationAction.java:74)  [:0.1.0.Alpha1]

               at  org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModificationAction.java:94)  [:0.1.0.Alpha1]

               at  org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87)  [:0.1.0.Alpha1]

               at  org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234)  [:0.1.0.Alpha1]

               at  org.jboss.profileservice.management.AbstractActionController.performWrite(AbstractActionController.java:213)  [:0.1.0.Alpha1]

               at  org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:150)  [:0.1.0.Alpha1]

               at  org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:135)  [:0.1.0.Alpha1]

               at  org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanner.java:146)  [:0.1.0.Alpha1]

               at  org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner.java:90)  [:0.1.0.Alpha1]

               at  java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)  [:1.6.0_21]

               at  java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)  [:1.6.0_21]

               at  java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)  [:1.6.0_21]

               at  java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)  [:1.6.0_21]

               at  java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)  [:1.6.0_21]

               at  java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)  [:1.6.0_21]

               at  java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)  [:1.6.0_21]

               at  java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)  [:1.6.0_21]

               at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]{code}

       

       

      Greetings

      Christian