Greetings,

I have a question regarding shared libraries updates. Lets say I have
component cA that references shared library slA and uses class test.Test
from this shared library. Both JBI pieces have  been installed and cA has
been called and accessed an instance of test.Test from slA.

Now I make changes test.Test (called test.Test') in slA and deploy the
updated shared library (slA') to ServiceMix. When I call cA it still uses
the old version of test.Test because its class loader has already loaded
this class (and cA's classloader still references the old slA's
classloader). What I really want to happen is for cA to now use the updated
version test.Test'. The only way I currently know how to do this is to
re-install cA so that a new class loader (that references slA') is created.

Is there another way to get cA referencing slA' classes? Having to reinstall
all components that reference an updated shared library is a pain for us
when we are trying to hot deploy update a production esb.

Hopefully I explained this well enough. Thanks for any help,

Corey
-- 
View this message in context: 
http://www.nabble.com/Shared-Library-References-tf3984351s12049.html#a11312328
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to