You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Charles Moulliard <cm...@gmail.com> on 2010/03/25 16:59:52 UTC

spring jars file (lib folder of SMX3, lib folder of the servicemix-camel component, lib folder of SU component)

Hi,

I have discovered when building a small project on SMX3 with camel that
spring jars files exist in several place :

lib folder of SMX3,
lib folder of the servicemix-camel component,
lib folder of SU component

Is it a problem / issue or not ?

Kind 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

Re: spring jars file (lib folder of SMX3, lib folder of the servicemix-camel component, lib folder of SU component)

Posted by Charles Moulliard <cm...@gmail.com>.
So if the classloader find the spring classes in SU (even if the jars exist
in system, component), then it will take these classes ?

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 Thu, Mar 25, 2010 at 5:05 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>wrote:

> It's not a problem by default as the "standard" classloader hierarchy is :
> System -> Component -> SU
>
> But, if your SU use reverse classloader, it can be an issue if the spring
> version are not the same.
>
> Regards
> JB
>
>
> Charles Moulliard wrote:
>
>> Hi,
>>
>> I have discovered when building a small project on SMX3 with camel that
>> spring jars files exist in several place :
>>
>> lib folder of SMX3,
>> lib folder of the servicemix-camel component,
>> lib folder of SU component
>>
>> Is it a problem / issue or not ?
>>
>> Kind 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
>>
>>

Re: spring jars file (lib folder of SMX3, lib folder of the servicemix-camel component, lib folder of SU component)

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
It's not a problem by default as the "standard" classloader hierarchy is :
System -> Component -> SU

But, if your SU use reverse classloader, it can be an issue if the 
spring version are not the same.

Regards
JB

Charles Moulliard wrote:
> Hi,
> 
> I have discovered when building a small project on SMX3 with camel that
> spring jars files exist in several place :
> 
> lib folder of SMX3,
> lib folder of the servicemix-camel component,
> lib folder of SU component
> 
> Is it a problem / issue or not ?
> 
> Kind 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
>