Convert JAR to bundle in ServiceMix

Sometimes we need to add a new bundle in Servicemix being a Jar. Performing the conversion and installing in OSGI may not be very easy however this tutorial will help you.

Execute the command:

./bin/servicemix

In Ubunto :

osgi:install -s wrap:file:////"jar_location Ex: /lib/ojdbc6-13.jar"

In Windows:

osgi:install -s wrap:file:"jar location Ex: D:/lib/ojdbc6-13.jar"

Execute shutdown command, choose yes option.

Now your Jar will be avaliable :)