activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: activemq rest in an osgi environment
Date Tue, 11 Sep 2012 12:26:35 GMT
Hi,

we haven't yet osgified the web demo app (containing the rest api).
Can you raise a jira for that?

Regards
-- 
Dejan Bosanac
Senior Software Engineer | FuseSource Corp.
dejanb@fusesource.com | fusesource.com
skype: dejan.bosanac | twitter: @dejanb
blog: http://www.nighttale.net
ActiveMQ in Action: http://www.manning.com/snyder/


On Tue, Sep 11, 2012 at 10:48 AM, JacobS <jacobhameiri@gmail.com> wrote:
> I am trying to use activemq with rest in an osgi environment ( Virgo ), and I
> am getting this exception at load time, any ides why ?
>
> 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
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/activemq-rest-in-an-osgi-environment-tp4656305.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message