2 Replies Latest reply on Aug 16, 2012 2:17 PM by thomas.diesler

    Osgi Plugin startup order

    kowshikns

      I have a problem in starting the OSGi plugins at the startup.

       

      My setup:

       

      PluginA

      PluginB

      Plugin C

      Plugin D

       

      Plugin A - Independent

      Plugin B is depenent on Plugin A

      Plugin C is Independent

      Plugin D is dependent on Plugin B and Plugin C

       

      I deploy this is in the same order .

       

       

      Plugin B registers some services which Plugin D is listening to

       

      After I restart the server. Plugin D is started before Plugin B. Plugins are created using Eclipse. Jboss version used is jboss-as-7.1.1.Final.

       

      Note: Running the server in domain mode and HA Profile. Note sometime it starts in same order. This is not consistent

       

       

       

       

      Thanks in Advance