Add a comment


Avatar: Karsten Lehmann

Re: DOTS and automatic startup of bundles

I'm pretty sure that DOTS can run plugins at server startup without any XPage requests involved.

What David was probably talking about is the HTTP server's OSGi framework, which is running separately from the DOTS OSGi framework and is part of the standard Domino server install (in contrast to DOTS).

For the HTTP OSGi framework, there is no way to launch plugins at HTTP task startup at the moment.
The only way here is to use the following extension point:

< extension point="com.ibm.commons.Extension" >
         < service type="
com.ibm.designer.runtime.extensions.RuntimeInitializationEvent" class=
"com.acme.test.MyInitializationClass" / >
< /extension >

which launches a plugin when the first XPage is requested.
As a workaround for the missing extension point for task startup, you could create a Java agent configured to run at server startup and use e.g. the Apache HTTP client to request an XPage programmatically. That works, but is not really a great solution.

I asked David to add the extension point to 8.5.3, but it's already too late and he assured me he would add it to the next Domino release.

Re: DOTS and automatic startup of bundles

HTML : b, strong, i, em, blockquote, br, p, pre, a href="", ul, ol, li, sub, sup
OpenID Login
E-mail address
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).