Convert JAR to bundle in ServiceMix

Kevin Martins
1 min readFeb 27, 2020

--

ServiceMix logo

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.

--

--

Kevin Martins
Kevin Martins

Written by Kevin Martins

A telecommunications engineer who likes to write codes. https://kevinmmartins.github.io/

No responses yet