Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1A4BA1040D for ; Sat, 21 Sep 2013 09:02:55 +0000 (UTC) Received: (qmail 95981 invoked by uid 500); 21 Sep 2013 09:02:53 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 95832 invoked by uid 500); 21 Sep 2013 09:02:52 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 95756 invoked by uid 99); 21 Sep 2013 09:02:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Sep 2013 09:02:51 +0000 Date: Sat, 21 Sep 2013 09:02:51 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (AMQ-4727) Unable to add camel routes to activemq running in a karaf container MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-4727?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 reassigned AMQ-4727: ----------------------------------------- Assignee: Jean-Baptiste Onofr=C3=A9 =20 > Unable to add camel routes to activemq running in a karaf container > ------------------------------------------------------------------- > > Key: AMQ-4727 > URL: https://issues.apache.org/jira/browse/AMQ-4727 > Project: ActiveMQ > Issue Type: Bug > Components: activemq-camel > Affects Versions: 5.8.0 > Environment: jboss-amq-6.0 on Red Hat Enterprise Linux Server rel= ease 6.4 (Santiago) > Reporter: Noel O'Connor > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: 5.9.0 > > > gtully: noconnor: there is a pax exam test on apache trunk that validates= the karaf features - see the xml https://github.com/apache/activemq/blob/t= runk/activemq-karaf-itest/src/test/resources/org/apache/activemq/karaf/ites= t/activemq-nd-camel.xml > [07:35am] gtully: in 6.0 u can try the same - just embed a context > [07:36am] gtully: so modify etc/activemq.xml > [07:36am] noconnor: gtully: thanks, trying it now > [07:44am] noconnor: gtully: same issue again, "bundle context must be spe= cified" > [07:49am] gtully: noconnor: i see the same thing with the test on trunk= =E2=80=A6 need to investigate that a bit=E2=80=A6can u raise an amq issue > [07:51am] gtully: noconnor: on trunk that can be reproduced with mvn test= -Dtest=3DActiveMQBrokerNdCamelFeatureTest in the activemq-karaf-itest modu= le > Exception on start: org.springframework.beans.factory.BeanCreationExcepti= on: Error creating bean with name 'activemq' defined in file [/opt/jboss-am= q/jboss-a-mq-6.0.0.redhat-024 > /etc/activemq.xml]: Initialization of bean failed; nested exception is or= g.springframework.beans.factory.BeanCreationException: Error creating bean = with name 'camel': Invocation > of init method failed; nested exception is java.lang.IllegalArgumentExcep= tion: BundleContext must be specified > org.springframework.beans.factory.BeanCreationException: Error creating b= ean with name 'activemq' defined in file [/opt/jboss-amq/jboss-a-mq-6.0.0.r= edhat-024/etc/activemq.xml]: I > nitialization of bean failed; nested exception is org.springframework.bea= ns.factory.BeanCreationException: Error creating bean with name 'camel': In= vocation of init method failed > ; nested exception is java.lang.IllegalArgumentException: BundleContext m= ust be specified > Also I had to add the activemq-camel feature to org.apache.karaf.features= .cfg to get the namespaces resolved -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira