3 Replies Latest reply on Oct 17, 2013 11:55 AM by smohdiqbal

    Exception while configuring ESB 4.10 into JBOSS 5.1.0

    smohdiqbal

      java.lang.NoClassDefFoundError: org/rhq/plugins/jmx/MBeanResourceDiscoveryComponent

        • 1. Re: Exception while configuring ESB 4.10 into JBOSS 5.1.0
          wdfink

          Mohammed, welcome to the forum.

           

          You should provide a bit more informations what you are try to achieve and how the configuration look like. The full logfile might also helpful

          • 2. Re: Exception while configuring ESB 4.10 into JBOSS 5.1.0
            smohdiqbal

            thanks....

            here is the detail

             

            I have purchased a JBOSS ESB Beginner's Guide to start ESB.

             

            I am following the books and I have downloaded the JBOSS AS 5.1.0 and ESB 4.10 on my MAC book pro, 10.7.5

            both the software placed under /Applications.

             

            I have configure the ESB4.10 for deployment as below in deployment.properties   file

             

            cd install

             

            org.jboss.esb.server.home=/opt/jboss-5.1.0.GA

            org.jboss.esb.server.config=all

             

            ant deploy   

             

            then when I start the JBOSS AS

            run.sh -c all

             

            when I login to admin console below error occurs

             

            java.lang.NoClassDefFoundError: org/rhq/plugins/jmx/MBeanResourceDiscoveryComponent

            at java.lang.ClassLoader.defineClass1(Native Method)

                    at java.lang.ClassLoader.defineClass(ClassLoader.java:621)

                    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

                    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

                    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)

                    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

                    at java.security.AccessController.doPrivileged(Native Method)

                    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

                    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

                    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)

                    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

                    at java.lang.Class.forName0(Native Method)

                    at java.lang.Class.forName(Class.java:247)

                    at org.rhq.core.pc.plugin.PluginComponentFactory.instantiateClass(PluginComponentFactory.java:125)

                    at org.rhq.core.pc.plugin.PluginComponentFactory.getDiscoveryComponent(PluginComponentFactory.java:78)

                    at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.discoverForResource(RuntimeDiscoveryExecutor.java:205)

                    at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.runtimeDiscover(RuntimeDiscoveryExecutor.java:134)

                    at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.call(RuntimeDiscoveryExecutor.java:94)

                    at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.call(RuntimeDiscoveryExecutor.java:51)

                    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

                    at java.util.concurrent.FutureTask.run(FutureTask.java:138)

                    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)

                    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)

                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

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

            Caused by: java.lang.ClassNotFoundException: org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent

                    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

                    at java.security.AccessController.doPrivileged(Native Method)

                    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

                    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

                    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)

                    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

                    ... 26 more

            11:05:36,171 ERROR [RuntimeDiscoveryExecutor] Error in runtime discovery

            java.lang.NoClassDefFoundError: org/rhq/plugins/jmx/MBeanResourceD

            • 3. Re: Exception while configuring ESB 4.10 into JBOSS 5.1.0
              smohdiqbal

              thanks....

              here is the detail

               

              I have purchased a JBOSS ESB Beginner's Guide online to start ESB.

               

              I am following the books and I have downloaded the JBOSS AS 5.1.0 and ESB 4.10 on my MAC book pro, 10.7.5

              both the software placed under /Applications.

               

              I have configure the ESB4.10 for deployment as below in deployment.properties   file

               

              cd install

               

              org.jboss.esb.server.home=/opt/jboss-5.1.0.GA

              org.jboss.esb.server.config=all

               

              ant deploy  

               

              then when I start the JBOSS AS

              run.sh -c all

               

              when I login to admin console below error occurs

               

              java.lang.NoClassDefFoundError: org/rhq/plugins/jmx/MBeanResourceDiscoveryComponent

              at java.lang.ClassLoader.defineClass1(Native Method)

                      at java.lang.ClassLoader.defineClass(ClassLoader.java:621)

                      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

                      at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

                      at java.net.URLClassLoader.access$000(URLClassLoader.java:56)

                      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

                      at java.security.AccessController.doPrivileged(Native Method)

                      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

                      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

                      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)

                      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

                      at java.lang.Class.forName0(Native Method)

                      at java.lang.Class.forName(Class.java:247)

                      at org.rhq.core.pc.plugin.PluginComponentFactory.instantiateClass(PluginComponentFactory.java:125)

                      at org.rhq.core.pc.plugin.PluginComponentFactory.getDiscoveryComponent(PluginComponentFactory.java:78)

                      at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.discoverForResource(RuntimeDiscoveryExecutor.java:205)

                      at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.runtimeDiscover(RuntimeDiscoveryExecutor.java:134)

                      at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.call(RuntimeDiscoveryExecutor.java:94)

                      at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.call(RuntimeDiscoveryExecutor.java:51)

                      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

                      at java.util.concurrent.FutureTask.run(FutureTask.java:138)

                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)

                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)

                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

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

              Caused by: java.lang.ClassNotFoundException: org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent

                      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

                      at java.security.AccessController.doPrivileged(Native Method)

                      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

                      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

                      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)

                      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

                      ... 26 more

              11:05:36,171 ERROR [RuntimeDiscoveryExecutor] Error in runtime discovery

              java.lang.NoClassDefFoundError: org/rhq/plugins/jmx/MBeanResourceD