Re: Starting bundle: spring error in camel context

2018-01-08 Thread Jean-Baptiste Onofré
Hi, not yet, I will beginning of this afternoon (busy with Decanter improvements this morning). I keep you posted. Regards JB On 01/08/2018 09:15 AM, GFO wrote: Hi jbonofre, Did you have time to have a look? :) Thanks a lot, GFO -- Sent from:

Re: Starting bundle: spring error in camel context

2018-01-08 Thread GFO
Hi jbonofre, Did you have time to have a look? :) Thanks a lot, GFO -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Starting bundle: spring error in camel context

2018-01-05 Thread Jean-Baptiste Onofré
Fair enough. I complete an improvement on Decanter and check your stuff. Regards JB On 01/05/2018 03:18 PM, GFO wrote: OK, thanks! Just to bounce back to one of your previous messages about using blueprint instead of Spring, I think it'll be difficult. I always make apps with Spring and my

Re: Starting bundle: spring error in camel context

2018-01-05 Thread GFO
OK, thanks! Just to bounce back to one of your previous messages about using blueprint instead of Spring, I think it'll be difficult. I always make apps with Spring and my colleagues as well. I prefer to have something "controlled". More, the app is currently built with Spring so with

Re: Starting bundle: spring error in camel context

2018-01-05 Thread Jean-Baptiste Onofré
Thanks, I will take a look. I keep you posted. Regards JB On 01/05/2018 02:23 PM, GFO wrote: My Karaf version is 4.0.9 (ServiceMix 7.0.1). Here are my headers: https://pastebin.com/JgBQGxCb And here is my pom.xml: https://pastebin.com/7TjxBzxp Thanks GFO -- Sent from:

Re: Starting bundle: spring error in camel context

2018-01-05 Thread GFO
My Karaf version is 4.0.9 (ServiceMix 7.0.1). Here are my headers: https://pastebin.com/JgBQGxCb And here is my pom.xml: https://pastebin.com/7TjxBzxp Thanks GFO -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Starting bundle: spring error in camel context

2018-01-05 Thread Jean-Baptiste Onofré
And what about the Karaf version ? Regards JB On 01/05/2018 11:57 AM, GFO wrote: My camel-spring version is 2.16.5. The camel-spring bundle imports the right Spring version (like my bundle does). I can try to use Spring 4. But, if I remember well, I switched to Spring 3 because of the

Re: Starting bundle: spring error in camel context

2018-01-05 Thread GFO
My camel-spring version is 2.16.5. The camel-spring bundle imports the right Spring version (like my bundle does). I can try to use Spring 4. But, if I remember well, I switched to Spring 3 because of the incompatibility of a bundle with Spring 4. I don't remember which one, I should have noted

Re: Starting bundle: spring error in camel context

2018-01-05 Thread Jean-Baptiste Onofré
Hi, Can you share your pom.xml ? At least output of bundle:headers ? What camel-spring version ? By the way, why not using camel-blueprint ? or at least newer Spring version ? Regards JB On 01/05/2018 11:45 AM, GFO wrote: Hi, My bundle was embedding spring dependencies. Now it embed no

Re: Starting bundle: spring error in camel context

2018-01-05 Thread GFO
Hi, My bundle was embedding spring dependencies. Now it embed no dependency. All its dependencies are wrapped as bundles. I checked what is imported by my bundle with bundle:requirements command. It imports the right Spring version, 3.2.18, via org.apache.servicemix.bundles.spring-beans,

Re: Starting bundle: spring error in camel context

2018-01-04 Thread Jean-Baptiste Onofré
It seems you embed lot of packages in your bundle, which is wrong generally speaking. I would advice to correctly import the packages. Regards JB On 01/04/2018 07:09 PM, GFO wrote: Hi, I think it has been deleted, it was in the message when I previewed it... Here is the pastebin link:

Re: Starting bundle: spring error in camel context

2018-01-04 Thread François Papon
Do you embedded a Spring dependencie in your bundle ? Le 4 janv. 2018 10:09 PM, GFO a écrit : > > Hi, > > I think it has been deleted, it was in the message when I previewed it... > > Here is the pastebin link: https://pastebin.com/LkKDwv89 > > Thanks, > GFO > > > > -- > Sent from:

Re: Starting bundle: spring error in camel context

2018-01-04 Thread GFO
Hi, I think it has been deleted, it was in the message when I previewed it... Here is the pastebin link: https://pastebin.com/LkKDwv89 Thanks, GFO -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Starting bundle: spring error in camel context

2018-01-04 Thread Francois Papon
Hi, You forgot to paste your error stack trace ;) François Le 04/01/2018 à 21:48, GFO a écrit : > Hi, > > I am trying to launch my bundle. > > However, I have the following error: > > > > Here is my camel-context.xml file: https://pastebin.com/CsxSDZsv > > I know this error can come from

Starting bundle: spring error in camel context

2018-01-04 Thread GFO
Hi, I am trying to launch my bundle. However, I have the following error: Here is my camel-context.xml file: https://pastebin.com/CsxSDZsv I know this error can come from namespaces in my file. I tried several things: - remove the version number in XSD spring links - change the version