Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-72

Executing mq-client jar fails with NoClassDefFoundError on org.apache.commons.LogFactory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.1
    • 7.0.1
    • None
    • None

    Description

      I did an install from http://repo.fusesource.com/nexus/content/groups/ea/org/fusesource/mq/fuse-mq/7.0.1.fuse-068/fuse-mq-7.0.1.fuse-068.tar.gz and tried to run the example specified in the readme.txt I got the following error:java -jar lib/mq-client.jar producer
      Using destination: queue://TEST, on broker: failover://tcp://localhost:61616
      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
      at org.fusesource.mq.ActiveMQService.<clinit>(ActiveMQService.java:29)
      at org.fusesource.mq.Main.execute(Main.java:90)
      at org.fusesource.mq.Main.main(Main.java:82)
      Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
      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:306)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      ... 3 more

      Attachments

        Activity

          People

            gtully@redhat.com Gary Tully
            kearls@redhat.com Kevin Earls (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: