3 Replies Latest reply on Jun 2, 2014 3:06 AM by jaikiran pai

    EAR deployment fails if jars contain OSGi headers

    sebp Newbie

      I have an .ear deployment. Inside it I have lots of jars. One of these jars contains entities. My .ear deployment fails if this jar also contains OSGi manifest headers.


      07:47:18,309 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

      JBAS014775:    New missing/unsatisfied dependencies:

            service jboss.module.spec.service."deployment.com.test.genrefdata.demo-6.0.0-SNAPSHOT.ear.GeneticReference_Persistence.jar".main (missing) dependents: ...


      I don't want to use OSGi in my .ear deployment. But I'm also using the library with the entities in other environments where the OSGi manifest headers are needed.

      Can I disable OSGi on JBoss? Or at least for this deployment?


      Btw: I'm using JBoss 7.1.1.