activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-4042) Rest MessageServlet on osgi failes to start
Date Tue, 11 Sep 2012 12:55:07 GMT

    [ https://issues.apache.org/jira/browse/AMQ-4042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452975#comment-13452975
] 

Claus Ibsen commented on AMQ-4042:
----------------------------------

Please dont open a JIRA ticket with this. This is not an ActiveMQ issue. 

Its your usage of OSGi. OSGi is complex to master and get working. From the stack-trace it
seems you need to have camel-core installed as bundle, to get the CamelContext class.

I am closing this ticket, as its *not* an ActiveMQ problem.
                
> Rest MessageServlet on osgi failes to start
> -------------------------------------------
>
>                 Key: AMQ-4042
>                 URL: https://issues.apache.org/jira/browse/AMQ-4042
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.6.0
>         Environment: Windows 7, Virgo
>            Reporter: jacob hameiri
>              Labels: rest, web
>             Fix For: 5.7.0
>
>
> 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 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message