0 Replies Latest reply on Nov 20, 2014 5:58 AM by megha sahay

    Getting java.lang.ClassNotFoundException: org.jboss.mx.util.MBeanServerLocator while migrating from jboss eap 5.1 to jboss eap 6.2 .

    megha sahay Newbie

      Hi All,

       

      I am getting java.lang.ClassNotFoundException: org.jboss.mx.util.MBeanServerLocator when I am migrating the application from Jboss eap 5.1 to jboss eap 6.2. Please find full stack trace of this error. Any help would be highly appreciated,as i am new to jboss.

       

      Thanks in advance.

       

      16:19:44,567 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/EntityLookupService1]] (ServerService Thread Pool -- 59) JBWEB000289: Servlet EntityLookup threw load() exception: java.lang.ClassNotFoundException: org.jboss.mx.util.MBeanServerLocator from [Module "deployment.EntityLookupService1.war:main" from Service Module Loader]

          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final-redhat-2]

          at com.wu.utils.PropertyReader.registerMBean(PropertyReader.java:145) [FrameWorks.jar:__null__]

          at com.wu.utils.PropertyReader.<init>(PropertyReader.java:62) [FrameWorks.jar:__null__]

          at com.wu.utils.PropertyReader.getInstance(PropertyReader.java:42) [FrameWorks.jar:__null__]

          at com.wu.controller.EntityController.init(EntityController.java:679) [classes:]

          at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]

          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

          at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1100) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

          at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3591) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

          at org.apache.catalina.core.StandardContext.start(StandardContext.java:3798) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

          at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

          at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

          at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]

          at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [rt.jar:1.6.0_20]

          at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) [rt.jar:1.6.0_20]

          at java.util.concurrent.FutureTask.run(Unknown Source) [rt.jar:1.6.0_20]

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_20]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_20]

          at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_20]

          at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

      16:19:44,599 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "EntityLookupService1.war" (runtime-name : "EntityLookupService1.war")

      16:19:44,614 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 3) JBAS014613: Operation ("add") failed - address: ([

          {"subsystem" => "deployment-scanner"},

          {"scanner" => "jbosstoolsscanner1"}

      ]) - failure description: "JBAS014803: Duplicate resource [

          (\"subsystem\" => \"deployment-scanner\"),

          (\"scanner\" => \"jbosstoolsscanner1\")

      ]"

      16:19:44,614 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 4) JBAS014613: Operation ("add") failed - address: ([

          {"subsystem" => "deployment-scanner"},

          {"scanner" => "jbosstoolsscanner1"}

      ]) - failure description: "JBAS014803: Duplicate resource [

          (\"subsystem\" => \"deployment-scanner\"),

          (\"scanner\" => \"jbosstoolsscanner1\")

      ]"

      16:19:44,786 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management

      16:19:44,786 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990

      16:19:44,786 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss EAP 6.2.0.GA (AS 7.3.0.Final-redhat-14) started in 2678ms - Started 329 of 389 services (59 services are passive or on-demand)