This documentation is for WSO2 Carbon version 4.1.0. View documentation for the latest release.

Unknown macro: {next_previous_link3}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Users need to apply different external JAR files to the existing Carbon server to enhance or introduce new features to the Carbon application. OSGi bundles are used to implement WSO2 Carbon. As a result, if needed 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. The user has to manually insert all the corresponding entries in these components to the bundles.info file at the following location,

$CARBON_HOME/repository/components/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info 

Use the following directories to drop external libraries to the Carbon Server: 

DirectoryDescription
$CARBON_HOME/repository/components/dropins

OSGi bundles which needs to be applied.

$CARBON_HOME/repository/components/lib

Dropped JAR files that will be converted to OSGi bundles at startup and copied to the dropins directory.

$CARBON_HOME/repository/components/extensions

Dropped 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.


  • No labels