Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Modify the webapp-classloading-environments.xmlfile with the following entries.

    Code Block
    languagehtml/xml
    <ExclusiveEnvironments> 
       <ExclusiveEnvironment> 
          <Name>Spring</Name> 
          <Classpath>${carbon.home}/lib/runtimes/spring/*.jar;${carbon.home}/lib/runtimes/spring/</Classpath> 
       </ExclusiveEnvironment> 
    </ExclusiveEnvironments>
  2. Next, create and copy of the related Spring dependencies in the <PRODUCT_HOME>/lib/runtimes/spring directory.
  3. Add the following entries to the webapp-classloading.xml file of each web application, to use them in the Spring runtime environment defined above.

    Code Block
    languagehtml/xml
    <Classloading xmlns="http://wso2.org/projects/as/classloading">
       <Environments>CXF<Environments>Spring,Carbon</Environments>
    </Classloading>

     

...