aspose file tools*
The moose likes JBoss/WildFly and the fly likes We are migrating our application from JBoss4.0.3 Sp1 to Jboss6.0.0.M3. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "We are migrating our application from JBoss4.0.3 Sp1 to Jboss6.0.0.M3. " Watch "We are migrating our application from JBoss4.0.3 Sp1 to Jboss6.0.0.M3. " New topic
Author

We are migrating our application from JBoss4.0.3 Sp1 to Jboss6.0.0.M3.

Thiyagu Neelamegam
Greenhorn

Joined: Aug 18, 2010
Posts: 2
We are migrating our application from JBoss4.0.3 Sp1 to Jboss6.0.0.M3. While starting the Jboss6.0.0.M3 we are facing the following issue



19:26:53,761 ERROR [WebModule] Could not create JSR-77 WebModule: web.xml: javax.management.InstanceAlreadyExistsException: jboss.management.local:j2eeType=WebModule,J2EEServer=Local,J2EEApplication=null,name=web.xml already registered.

at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:772) [:6.0.0.Beta5]

at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:236) [:6.0.0.Beta5]

at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source) [:1.6.0_19]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_19]

at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_19]

at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.Beta5]

at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.Beta5]

at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) [:6.0.0.Beta5]

at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) [:6.0.0.Beta5]

at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140) [:6.0.0.Beta5]

at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) [:6.0.0.Beta5]

at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.Beta5]

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.Beta5]

at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1443) [:6.0.0.Beta5]

at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_19]

at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1438) [:6.0.0.Beta5]

at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:378) [:6.0.0.Beta5]

at org.jboss.management.j2ee.WebModule.create(WebModule.java:137) [:6.0.0.20100429-M3]

at org.jboss.management.j2ee.deployers.WebModuleJSR77Deployer.deployJsr77(WebModuleJSR77Deployer.java:50) [:6.0.0.20100429-M3]

at org.jboss.management.j2ee.deployers.WebModuleJSR77Deployer.deployJsr77(WebModuleJSR77Deployer.java:38) [:6.0.0.20100429-M3]

at org.jboss.management.j2ee.deployers.AbstractVFSJSR77Deployer.deployJsr77(AbstractVFSJSR77Deployer.java:48) [:6.0.0.20100429-M3]

at org.jboss.management.j2ee.deployers.AbstractJSR77Deployer.deploy(AbstractJSR77Deployer.java:175) [:6.0.0.20100429-M3]

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

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

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

at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1857) [:2.2.0.Alpha4]

at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1575) [:2.2.0.Alpha4]

at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1628) [:2.2.0.Alpha4]

at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1628) [:2.2.0.Alpha4]

at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1516) [:2.2.0.Alpha4]

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

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

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

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

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

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

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

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

at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:2008) [:2.2.0.Alpha4]

at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1101) [:2.2.0.Alpha4]

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

at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) [:6.0.0.20100429-M3]

at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) [:6.0.0.20100429-M3]

at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) [:6.0.0.20100429-M3]

at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403) [:6.0.0.20100429-M3]

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

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

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

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

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

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

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

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

at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308) [:6.0.0.20100429-M3]

at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256) [:6.0.0.20100429-M3]

at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:97) [:6.0.0.20100429-M3]

at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

at java.lang.Thread.run(Thread.java:619) [:1.6.0_19]


Please give some solution for the issue


Thanks
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10105
    
165

Thiyagu,

Welcome to JavaRanch

While posting a question, please use a more meaningful title. Also while posting logs, xml, code, please wrap them in a code block (you can use the code button in this forum editor window) for better formatting.

As for the exception:

19:26:53,761 ERROR [WebModule] Could not create JSR-77 WebModule: web.xml: javax.management.InstanceAlreadyExistsException: jboss.management.local:j2eeType=WebModule,J2EEServer=Local,J2EEApplication=null,name=web.xml already registered.


It looks like you are deploying an application which is already deployed. The name of that application "web.xml" looks suspicious though. Can you provide more details about your application including what it is and how it is packaged?

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: We are migrating our application from JBoss4.0.3 Sp1 to Jboss6.0.0.M3.