Convert JAR to bundle in ServiceMix
1 min readFeb 27, 2020
Sometimes we need to add a new bundle inside ServiceMix being a Jar. Performing the conversion and installing in OSGI may not be easy however this tutorial will help you.
Run the following commands:
./bin/servicemix
Ubuntu :
osgi:install -s wrap:file:////"jar_location Ex: /lib/ojdbc6-13.jar"
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 available
Originally published at https://kevinmmartins.github.io.