6 Replies Latest reply on Mar 25, 2011 7:08 AM by mlog

    How to deploy quick start samples?

    mlog

      Hi.

      I am just trying to find out what JBoss ESB is. I've read Getting Started Guide and try to follow it step by step. So I have successfully installed AS (5.1.0.GA) and ESB (4.9) but I've encountered problems while deploying Hello world sample. There are the error messages:

       

      DEPLOYMENTS MISSING DEPENDENCIES:

        Deployment "jboss.esb.vfszip:/usr/share/jboss-5.1.0.GA/server/default/deploy/Quickstart_helloworld.esb/" is missing the following dependencies:

          Dependency "<UNKNOWN jboss.esb.vfszip:/usr/share/jboss-5.1.0.GA/server/default/deploy/Quickstart_helloworld.esb/>" (should be in state "PreInstall", but is actually in state "** UNRESOLVED Demands 'org.hornetq:module=JMS,name="quickstart_helloworld_Request_gw",type=Queue' **")

          Dependency "<UNKNOWN jboss.esb.vfszip:/usr/share/jboss-5.1.0.GA/server/default/deploy/Quickstart_helloworld.esb/>" (should be in state "PreInstall", but is actually in state "** UNRESOLVED Demands 'org.hornetq:module=JMS,name="quickstart_helloworld_Request_esb",type=Queue' **")

       

      DEPLOYMENTS IN ERROR:

        Deployment "<UNKNOWN jboss.esb.vfszip:/usr/share/jboss-5.1.0.GA/server/default/deploy/Quickstart_helloworld.esb/>" is in error due to the following reason(s): ** UNRESOLVED Demands 'org.hornetq:module=JMS,name="quickstart_helloworld_Request_esb",type=Queue' **, ** UNRESOLVED Demands 'org.hornetq:module=JMS,name="quickstart_helloworld_Request_gw",type=Queue' **

       

      I think that it is because ESB uses HornetQ as JMS provider but AS does not have it. Is it true? Anyway, I've installed HornetQ (2.1.1.Final) as described in HornetQ Quickstart Guide and now I can't install ESB to default-with-hournetq server instance.

       

      BUILD FAILED
      /usr/share/jbossesb-4.9/install/build.xml:140: Could not determine JMS provider

       

      So, my question is how to install ESB to AS and deploy quick start samples? If more information is needed, please point me to it.

      Thanks, Mikhail.

        • 1. How to deploy quick start samples?
          joe_boy12

          why dont you just install jboss-soa-p-5 and try quick starts

          • 2. How to deploy quick start samples?
            tcunning
            • 3. How to deploy quick start samples?
              mlog

              Thank you for your advice but I'm looking for a free solution.

              • 4. How to deploy quick start samples?
                mlog

                Thank you very mach, it works. But now I have one more question. The sample works as expected, but after deploying I’ve seen a few error messages:

                 

                15:43:43,859 ERROR [RuntimeDiscoveryExecutor] Error in runtime discovery

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

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

                        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                        ... 26 more

                15:43:44,574 ERROR [RuntimeDiscoveryExecutor] Error in runtime discovery

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

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

                        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                        ... 26 more

                15:46:41,610 INFO  [EsbDeployment] Starting ESB Deployment 'Quickstart_helloworld.esb'

                 

                It isn't normal, is it? What's wrong and what I have do with it?

                • 5. How to deploy quick start samples?
                  tcunning

                  Check out this thread - there's steps to solving it posted :

                   

                  http://community.jboss.org/thread/145880

                  1 of 1 people found this helpful
                  • 6. How to deploy quick start samples?
                    mlog

                    Thank you very mach Tom, your help was very useful!