I am trying to deploy a bundle to JBoss 7.0.0.Final and Glassfish 3.1.1. Everything was working fine when I deployed a jar containing a BundleActivator within an EJB deployable object. I then altered my app code to validate the capability of the target container before attempting certain deployable types, and noticed that the JBoss selection was now saying no to EJB and Bundle types. I went to debug and found that the capability was the 4.2 version. There is actually a capability class for 7x.