Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A5B619512 for ; Tue, 11 Sep 2012 12:27:02 +0000 (UTC) Received: (qmail 29179 invoked by uid 500); 11 Sep 2012 12:27:02 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 28537 invoked by uid 500); 11 Sep 2012 12:27:01 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 28522 invoked by uid 99); 11 Sep 2012 12:27:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 12:27:01 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chubrilo@gmail.com designates 209.85.215.43 as permitted sender) Received: from [209.85.215.43] (HELO mail-lpp01m010-f43.google.com) (209.85.215.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 12:26:56 +0000 Received: by lagm14 with SMTP id m14so269163lag.2 for ; Tue, 11 Sep 2012 05:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=vcizTAFg1F4hCu9YrqthqKm3JBPPGLXKcEEUOhOb3dw=; b=u8hfZOaulC/CdwBJtg4bfzOwjc6AN+wU0QKsvMykRQXu/0XvMTAHz9GHCSxUmNqU8y pK3qL8MDu4b99Sr9aNajJCZDOkSicpGIx4n/0CJZTGN/mRis2ixoK6wXdcDRpxg/Gzen ITECDPiXFqXL9UEw9jfBCM2lsa7WGvXGZhiwQvSgkGgT8b3WAGJCnZ/DmTA/LcxJGGIs kb5k5RNx2/mJeLPNOmZRuptPnLXo1jdWfBxWEjD5KhJGFg9w3oIvivafnCH7EzP2whFZ ngNPJ3L61utZ9aez3jLDBejYFnaCMnr1XO+llilZemevojA2p+3JBoJEi8ieD5jM99/x 5wQw== MIME-Version: 1.0 Received: by 10.112.25.99 with SMTP id b3mr6158026lbg.114.1347366395223; Tue, 11 Sep 2012 05:26:35 -0700 (PDT) Sender: chubrilo@gmail.com Received: by 10.114.75.73 with HTTP; Tue, 11 Sep 2012 05:26:35 -0700 (PDT) In-Reply-To: <1347353294813-4656305.post@n4.nabble.com> References: <1347353294813-4656305.post@n4.nabble.com> Date: Tue, 11 Sep 2012 14:26:35 +0200 X-Google-Sender-Auth: JTVpb3t8hdoTZj7oVDLtn7cfHI0 Message-ID: Subject: Re: activemq rest in an osgi environment From: Dejan Bosanac To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org 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 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.