0 Replies Latest reply on Jul 9, 2013 4:27 AM by harry009

    OSGI bundles are not starting if failed earlier

    harry009

      OSGI bundles are not starting in Jboss 7 if it has failed earlier with error message in logs saying - " Defer FIRST_MODULE_USE for beach-bundle-development-1.0.0-SNAPSHOT.jar making it NEVER" .

       

      Following are the steps to reproduce -

       

       

      • deployed an OSGi bundle on Jboss 7
      • it was failing because of missing configuration in standalone.xml
      • I used CLI script and corrected the configuration
      • I have restarted the server
      • Server logs saying that OSGI bundle is installed but not started .

       

       

      Server logs -

       

      10:02:45,540 INFO  [org.jboss.osgi.framework] (MSC service thread 1-2) JBOSGI011001: Bundle installed: beach-bundle-development:1.0.0.SNAPSHOT

      10:02:46,314 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015970: Defer FIRST_MODULE_USE for beach-bundle-development-1.0.0-SNAPSHOT.jar making it NEVER