Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-4042

Rest MessageServlet on osgi failes to start

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.7.0
    • Component/s: None
    • Labels:
    • Environment:

      Windows 7, Virgo

      Description

      This execption is thrown on servlet load:

      SEVERE: StandardWrapper.Throwable
      java.lang.NoClassDefFoundError: org/apache/camel/CamelContext
      at org.apache.activemq.web.MessageServletSupport.init(MessageServletSupport.java:95)
      at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1228)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1147)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1043)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957)
      at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284)
      at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5279)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      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:662)
      Caused by: org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException: org.apache.camel.CamelContext in KernelBundleClassLoader: [bundle=org.springframework.web.servlet_3.0.5.RELEASE]
      at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:138)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      ... 12 more
      Caused by: java.lang.ClassNotFoundException: org.apache.camel.CamelContext
      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
      at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:134)
      ... 13 more

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              jacobs jacob hameiri
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: