[ https://issues.apache.org/activemq/browse/SM-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39559 ]
Guillaume Nodet commented on SM-983: ------------------------------------ See for the discussion http://www.nabble.com/Shared-Library-References-tf3984351s12049.html especially Terry's comments. > Shared Library Updates Not Reflected In Installed Components > ------------------------------------------------------------ > > Key: SM-983 > URL: https://issues.apache.org/activemq/browse/SM-983 > Project: ServiceMix > Issue Type: Bug > Components: servicemix-core > Affects Versions: 3.1 > Environment: Solaris 10 (64 bit), Java 1.6 > Reporter: Corey Baswell > > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.