1 Reply Latest reply on Jul 5, 2013 3:48 AM by kalyana

    EAR file with OSGi Bundles

    kalyana

      HI

       

      When I deployed the EAR file which  includes 3 OSGi Bundles  Activator Bundle, JPA Bundle, Domain Bundle in JBOSS 7.1.1 it says EAR deployed successfully but the Activator Bundle is is not invoked. Also I am not able to get the Database connectivity working. But when I deploy those 3 osgi bundles separately Activator bundle is working fine and the bundle is invoked. But the JPA bundle failed saying NullPointerException.

       

      I need to figure out

       

      (a) Why the JPA bundle failed individually.

      (b) Why EAR file not invoking the Activator Bundle even though it deployed successfully

       

      Let me know if I missing out anything here. I am attaching the below.

       

           sources as ZIP file,

           standalone.xml

           Error Message for JPA Bundle,

           EAR File

           Bundles folder which I have under JBOSS_HOME location

       

      Any help is appreciated.

       

      Thanks

      Kalyana

        • 1. Re: EAR file with OSGi Bundles
          kalyana

          Any help??

           

          Looks like we can bundle multiple OSGi bundles into EAR. If I deploy them individually they are working fine. But as a single unit tinto EAR it is not working. How can I bundle 3 bundles b1, b2, b3 into one OSGi bundle to deploy as one in JBoss 7...

           

          Thanks