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

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

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
             Fix For: 2.1.0


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.


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

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang reassigned CAMEL-2182:
-----------------------------------

    Assignee: Willem Jiang

> 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.


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

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-2182.
---------------------------------

    Resolution: Fixed

http://svn.apache.org/viewvc?rev=884000&view=rev

> 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
>            Priority: Minor
>             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.


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

Posted by "Sailaja (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sailaja updated CAMEL-2182:
---------------------------

    Attachment: NewExample.patch

> 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
>             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.


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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55603#action_55603 ] 

Claus Ibsen commented on CAMEL-2182:
------------------------------------

This is not within the timeframe of 2.1 so I will move it to future.

camel-guice is not super needed in SMX at this point in time. Will be later.

> 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: Future
>
>         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.


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

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-2182:
-------------------------------

       Patch Info:   (was: [Patch Available])
         Priority: Minor  (was: Major)
    Fix Version/s:     (was: 2.1.0)
                   Future

> 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
>            Priority: Minor
>             Fix For: Future
>
>         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.


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

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang updated CAMEL-2182:
--------------------------------

    Fix Version/s:     (was: Future)
                   2.1.0

> 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
>            Priority: Minor
>             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.