-
1. Re: Jboss Bundle start order and Bundle start issues
thomas.diesler Apr 15, 2013 10:31 AM (in response to joshna_r)JBoss makes a best effort approach when resolving/starting an OSGi bundle. As part of the deployment process we attempt to resolve the bundle, if that works we also start the bundle, if that fails we roll back the deployment.
If a bundle deployment cannot get resolved, which is perfectly fine, we defer resolution until we have an external trigger (i.e. an explicit management operation)
On restart, user bundles should get resolved together up until the target start level. Have a look at the debug log.
To have control over start ordering, you can work with start levels or make you bundles capabilities in the configuration. By doing the latter, they become part of the subsystem configuration and start order is completely defined and happens before any user bundle deployment can come in.
-
2. Re: Jboss Bundle start order and Bundle start issues
joshna_r Apr 15, 2013 5:20 PM (in response to thomas.diesler)Thanks for your reply . I am planning to script the bunde startup using jboss-cli.
Adding them as capabilities sound interesting , i will give that a try in my free time