Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Web Applications deployed in the Carbon Server can load classes from two locations.

  • <CARBON_HOME>/lib

 If you want to share the same library between two Web applications, you can copy it into this location.

  • <webapp_name>.war/WEB-INF<PRODUCT_HOME>/lib

Libraries which are only used by a particular .war file can be put into this location.

  • <webapp_name>.war/WEB-INF/lib

Info

Note:

Practice caution when copying libraries to location 1. A conflict with the existing libraries can change the behavior of the server. It is recommended to use location 2 whenever possible.

Info

Note:

Class loading pattern for Web applications is always child-first. You can't change this. Therefore location 2 is always given the highest priority when the same library exists in both locations.

Excerpt
hiddentrue

Description of class loading for web applications.