You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2009/11/18 13:48:52 UTC

[jira] Commented: (CAMEL-2182) Unable to start camel-example-guice-jms bundle after deploying into servicemix

    [ https://issues.apache.org/activemq/browse/CAMEL-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55542#action_55542 ] 

Willem Jiang commented on CAMEL-2182:
-------------------------------------

I managed to deploy and start camel context successfully in Servicemix,
but I got the NPE when I drop the file into data directory.

After digging the code for a while I found current camel-guice component doesn't support the OSGi, we need to add a new OSGi version Module for it to use. 

> Unable to start camel-example-guice-jms bundle after deploying into servicemix
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-2182
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2182
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: examples
>            Reporter: Sailaja
>            Assignee: Willem Jiang
>             Fix For: 2.1.0
>
>         Attachments: NewExample.patch
>
>
> 1. Installed apache-camel 2.0.0-psc-01-00M2.
> 2. Applied the attached patch on the samples.
> 3. Compile the sample (camel-example-guice-jms) using "mvn compile" command
> 4. Install the camel sample into repository using "mvn install" command
> 5. Started the servicemix server
> 6. Installed below bundles into servicemix
> 	osgi:install wrap:org.apache.activemq/activemq-camel/5.3.1.0M1-fuse
> 	features:install camel-guice
>  	osgi:install wrap:mvn:org.apache.camel/camel-example-guice-jms/2.0.0-psc-01-00M2
> 7. Start the bundles and observed that below exception is shown in the karaf console.
> Exception in org.apache.camel.example.guice.jms.MyActivator.start() of bundle org.apache.camel.camel-example-guice-jms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.