Disclaimer :
“This is beta software from IBM and does not represent a commitment, promise or legal obligation by IBM to deliver, in a future release of Notes/Domino or Lotus Notes Traveler, any material, code or functionality described/shown in this presentation.”
————————-
I should repeat the disclaimer on this one as it’s not in the release notes yet so there is no guarantee this will make it into the final released version of Domino 8.5.3 but from what I’ve been told the feature has tested very well.
To make the deployment of OSGi plugins like the Extension Library from OpenNTF easier a couple of updates have been made to the UpdateSite template and a new notes.ini variable has been added to Domino 8.5.3.
Firstly the UpdateSite has a new ‘Sign’ button that will allow you to sign all the documents in the UpdateSite. So if your going to be deploying ExtLib using this method you would create a new UpdateSite database based on the template and then import the UpdateSite from the ExtLib and then sign it. Only updates that have been signed can be deployed using this new method. Lets say we created our updateSite to be called AdminExtLib.nsf
Next you need to add in a new notes.ini variable on the Domino server called OSGI_HTTP_DYNAMIC_BUNDLES and point it to the UpdateSite database. In this case our new notes.ini variable would read OSGI_HTTP_DYNAMIC_BUNDLES=admin/extlib.nsf
Once this is done all you will need to do is issue a ‘Restart Task HTTP’ and when the HTTP task restarts it will tell the OSGI loader to read in the plugins from the database.
if your UpdateSite database isn’t at the correct version then you’ll see an error message during http startup stating that the view $vwOSGiLoader is missing.
If everything has gone successfully then you will see a message saying ‘NSF Based Plugins are being installed in the OSGI runtime’.
One of the nice things about this is that when newer versions of the plugin become available all you need to do is import them into your UpdateSite NSF and then restart the HTTP task.
Another thing that you will notice is that the plugins stay in the NSF and don’t get extracted out to the workspaceapplicationsplugins folder so if you have deployed older versions of ExtLib you can now get rid of all those old files and have a cleaner deployment.
And this isn’t just for ExtLib. You’ll be able to deploy any OSGi plugins to your Domino server this way. if you have heard of GBS Transformer then you may know that they have their own set of XPages Extensions that are deployed via OSGi plugins so they could be deployed using this method.
Fingers crossed that this feature does make it into the Domino 8.5.3 final code. It’s going to be great for admin and developers alike.
You must be logged in to post a comment.