During SU shutdown XBeanServiceUnit destroys Spring application context,
nulls reference to it and nulls classloader. If later SU is started again
then application context is not recreated and start() call is processed
using component class loader. Two problems arise: application context was
closed and there are no more access to beans in it, component class loader
doesn't see jars in lib directory of SU. So shutdown SA operation breaks
everything. The only workaround is to redeploy SA.
Is there any way to fix that? Does this applies to SMX4 too?

For more information please see
https://issues.apache.org/activemq/browse/SMXCOMP-606

-- 
View this message in context: 
http://servicemix.396122.n5.nabble.com/Spring-applicationContext-is-destroyed-during-SU-shutdown-and-not-recreated-during-SU-start-tp3280950p3280950.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to