0 Replies Latest reply on Oct 3, 2014 6:37 AM by Emily Jiang

    Classloader isolation

    Emily Jiang Newbie

      In weld reference doc, A.2.1 states "

      If you are integrating Weld into an environment that supports deployment of multiple applications, you must enable,

      automatically, or through user configuration, classloader isolation for each CDI application."


      Are there any spi for me to configure this programmatically or a system property to set? In my EE environment, each app is loaded by their own app classloader. I assume the weldbootstrap and deployment for each app should be isolated. However they are getting into each other's space at the moment. I think I need to force the multiple classloader policy in weld. I also looked to read IsolatedStaticSingletonProvider javadoc but not sure how to fit it in the integration. Any pointers will be greatful!