This content has been marked as final.
Show 2 replies
-
1. Re: BundleContext injection in J2EE servlet broken?
cooperjk Mar 3, 2013 8:28 AM (in response to cooperjk)After putting extra debug printouts in BundleContextBindingService it became apparent that the OSGI stuff was never used at runtime. From that I could deduce that something was wrong with my "fresh build" of 7.2.0 Janus: The OSGI subsystem is by default not enabled and needs to be enabled in the list of subsystems in the build-as maven module. That put me on the wrong foot especially since deploying of bundle jars in an AS without osgi subsystem appears to be working since they end up on the list of deployments and no errors or warnings in the log.
Topic closed (!?).
-
2. Re: BundleContext injection in J2EE servlet broken?
thomas.diesler Mar 12, 2013 6:05 AM (in response to cooperjk)You can start jboss-as-7.2.0.Final with OSGi support like this
[tdiesler@localhost jboss-as-7.2.0.Final]$ bin/standalone.sh -c standalone-osgi.xml