When using OpenIDM, it's useful to be able to deploy a new bundle without restarting Felix. The obvious way to do so uses the bundles tab of the Felix Admin Web GUI. But it requires to have access to the bundle to deploy from your browser. So, if the bundle is only reachable from the OpenIDM server, the less obvious way to proceed consists in the steps below. In the following example, we use the Spring Web bundle:

  • Navigate to the shell tab
  • Issue the following command:

install file:/tmp/spring-web-3.1.0.RELEASE.jar

You should see such a message, with the assigned bundle ID: "Bundle ID: 103". You can then confirm the bundle is installed and start it with the following commands:

-> find Web
START LEVEL 12
   ID   State         Level  Name
[  16] [Active     ] [   10] Spring Core (3.1.0.RELEASE)
[  37] [Active     ] [   10] Spring ASM (3.1.0.RELEASE)
[  53] [Active     ] [   10] Spring Beans (3.1.0.RELEASE)
[  96] [Active     ] [   10] AOP Alliance API (1.0.0)
[  97] [Active     ] [   10] Spring AOP (3.1.0.RELEASE)
[ 100] [Active     ] [   10] Spring Context (3.1.0.RELEASE)
[ 101] [Active     ] [   10] Spring Expression Language (3.1.0.RELEASE)
[ 103] [Installed  ] [   10] Spring Web (3.1.0.RELEASE)
-> start 103
-> find Web
START LEVEL 12
   ID   State         Level  Name
[  16] [Active     ] [   10] Spring Core (3.1.0.RELEASE)
[  37] [Active     ] [   10] Spring ASM (3.1.0.RELEASE)
[  53] [Active     ] [   10] Spring Beans (3.1.0.RELEASE)
[  96] [Active     ] [   10] AOP Alliance API (1.0.0)
[  97] [Active     ] [   10] Spring AOP (3.1.0.RELEASE)
[ 100] [Active     ] [   10] Spring Context (3.1.0.RELEASE)
[ 101] [Active     ] [   10] Spring Expression Language (3.1.0.RELEASE)
[ 103] [Active     ] [   10] Spring Web (3.1.0.RELEASE)


To (stop and) uninstall the bundle, you can simply issue: uninstall 103