Created issue => SM-983
gnodet wrote: > > I think the way to solve the problem would be to modify servicemix > so that when a shared library is upgraded, the components that depend > on it are shut down, the library upgraded, and the components started > again. > It should be the standard behavior and I think this is an oversight. > Please raise a JIRA and provide a patch if possible. > > On 6/26/07, cbaswell <[EMAIL PROTECTED]> wrote: >> >> 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. >> >> > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Principal Engineer, IONA > Blog: http://gnodet.blogspot.com/ > > -- View this message in context: http://www.nabble.com/Shared-Library-References-tf3984351s12049.html#a11317052 Sent from the ServiceMix - User mailing list archive at Nabble.com.
