Users need to apply different external JAR files to the existing Carbon server in order to introduce new features or to enhance the Carbon application. OSGi bundles are used to implement WSO2 Carbon. As a result, if you need to extend a platform, the OSGi bundles need to be dropped into the Carbon server.
To add external libraries:
The users are allowed to apply JARs to various directories as required. The WSO2 Carbon OSGi repository is available in the <CARBON_HOME>/repository/components
directory . When extracting a Carbon or Carbon-based product, <CARBON_HOME>
is the folder that gets generated.
Use the following directories to drop external libraries to the Carbon Server:
Directory | Description |
---|---|
<CARBON_HOME>/repository/components/dropins | OSGi bundles that need to be applied. |
<CARBON_HOME>/repository/components/lib | JAR files that will be converted to OSGi bundles at startup and copied to the dropins directory. |
<CARBON_HOME>/repository/components/extensions | JAR files that will be converted to OSGi Framework Extension bundles at startup and copied to the dropins directory. |
After adding all the required libraries, restart the server to apply the changes.