You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Xasima <xa...@gmail.com> on 2010/06/22 18:35:25 UTC

Re: camel 2.1 with geronimo 2.2 (activemq 3.5)

It was claimed that some help from geronimo team had been needed to resolve
this configuration problem. Does any of you know the status of the problem
and if it is successfully resolved?

On Thu, Jan 21, 2010 at 12:17 PM, Charles Moulliard <cm...@gmail.com>wrote:

> I have made a test in Geronimo with camel-core, camel-spring jars added in
> the folder lib but I got the same error as Ulise.
>
> 007 ERROR [GBeanInstanceState] Error while starting; GBean is now in the
> FAILED state:
>
>
> abstractName="org.apache.geronimo.configs/activemq-broker/2.2/car?ServiceModule=org.apache.geronimo.configs/activemq-broker/2.2/car,j2eeType=JMSServer,name=DefaultActiveMQBroker"
> org.springframework.beans.factory.BeanDefinitionStoreException:
> >> Unrecognized xbean namespace mapping:
> http://camel.apache.org/schema/spring
>
> I think that there is a missing dependency or a bad config in the CAR
> activemq-broker/2.2/car component located here
>
>
> geronimo-jetty7-javaee5-2.2\repository\org\apache\geronimo\configs\activemq-broker\2.2\activemq-broker-2.2.car\META-INF
>
> Help from Geronimo team is required to address this point.
>
> Regards,
>
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog : http://cmoulliard.blogspot.com
> twitter : http://twitter.com/cmoulliard
> Linkedlin : http://www.linkedin.com/in/charlesmoulliard
>
> Apache Camel Group :
> http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
>
>
> On Wed, Jan 20, 2010 at 9:35 PM, ulise <ul...@googlemail.com> wrote:
>
> >
> > Hi Claus,
> >
> > well, it´s somewhat unclear to me how to configure a kind of a
> > listening-service based on camel in geronimo. I´m a bit JBoss-minded. ;-)
> > I thing, I have to create a car? Can I use a jmx-mbean? That's why I was
> > glad to find the posibillity using the ActiveMQ Spring config. OK, I´ll
> > look
> > for another way.
> >
> > Here are my activemq.xml fragments.
> >
> >
> > <beans
> >  xmlns="http://www.springframework.org/schema/beans"
> >  xmlns:amq="http://activemq.apache.org/schema/core"
> >  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >  xsi:schemaLocation="http://www.springframework.org/schema/beans
> > http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
> >  http://activemq.apache.org/schema/core
> > http://activemq.apache.org/schema/core/activemq-core.xsd
> >   http://camel.apache.org/schema/spring
> > http://camel.apache.org/schema/spring/camel-spring.xsd">
> >
> >    <!-- Allows us to use system properties as variables in this
> > configuration file-->
> >    <bean
> >
> class="org.apache.geronimo.activemq.GeronimoPropertyPlaceholderConfigurer">
> >         <property name="locations">
> > .........
> >
> > other stuff
> >
> > .........
> >         <camelContext id="camel" xmlns="
> > http://camel.apache.org/schema/spring">
> >        <route>
> >            <from uri="activemq:example.A"/>
> >            <to uri="activemq:example.B"/>
> >        </route>
> >    </camelContext>
> > .....
> > </beans>
> >
> > Cheers and thanks,
> > Uli
> >
> >
> >
> > Claus Ibsen-2 wrote:
> > >
> > > Try without AMQ at first.
> > >
> > > And can you post the top of the XML file, the stuff with all those
> > > namespace and whatnot.
> > >
> > >
> > > On Wed, Jan 20, 2010 at 5:28 PM, ulise <ul...@googlemail.com> wrote:
> > >>
> > >> Hi
> > >> I tried to run camel in a freshly downloaded
> > >> geronimo-tomcat6-javaee5-2.2.
> > >> I simply uncommented the
> > >>
> > >>        <camelContext id="camel"
> > >> xmlns="http://camel.apache.org/schema/spring">
> > >>        <route>
> > >>            <from uri="activemq:example.A"/>
> > >>            <to uri="activemq:example.B"/>
> > >>        </route>
> > >>    </camelContext>
> > >>
> > >> part in the activemx.xml and changed all the URLs as told in
> > >>
> > >> http://camel.apache.org/exception-beandefinitionstoreexception.html
> > >>
> > >> but I still get this  exception
> > >>
> > >> 007 ERROR [GBeanInstanceState] Error while starting; GBean is now in
> the
> > >> FAILED state:
> > >>
> >
> abstractName="org.apache.geronimo.configs/activemq-broker/2.2/car?ServiceModule=org.apache.geronimo.configs/activemq-broker/2.2/car,j2eeType=JMSServer,na
> > >> me=DefaultActiveMQBroker"
> > >> org.springframework.beans.factory.BeanDefinitionStoreException:
> > >> Unrecognized
> > >> xbean namespace mapping: http://camel.apache.org/schema/spring
> > >>
> > >> Do I have install some more jars, plugins? Are there any? Is there a
> > >> tutorial of running camel with geronimo (as a kind of service)
> > >>
> > >> Many thanks for any help,
> > >>
> > >> Uli
> > >> --
> > >> View this message in context:
> > >>
> >
> http://old.nabble.com/camel-2.1-with-geronimo-2.2-%28activemq-3.5%29-tp27244553p27244553.html
> > >> Sent from the Camel - Users mailing list archive at Nabble.com.
> > >>
> > >>
> > >
> > >
> > >
> > > --
> > > Claus Ibsen
> > > Apache Camel Committer
> > >
> > > Author of Camel in Action: http://www.manning.com/ibsen/
> > > Open Source Integration: http://fusesource.com
> > > Blog: http://davsclaus.blogspot.com/
> > > Twitter: http://twitter.com/davsclaus
> > >
> > >
> >
> > --
> > View this message in context:
> >
> http://old.nabble.com/camel-2.1-with-geronimo-2.2-%28activemq-3.5%29-tp27244553p27248191.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
> >
> >
>



-- 
Best regards,
    ~ Xasima ~