There is nothing in the Java EE specs that says that the root content of an EAR file should be accessible to deployed applications. The fact that it works for you in JBoss 4.x is an implementation accident and I would not expect it to work on any other vendor implementation either.
You need to move your META-INF/jboss-service.xml file into a jar contained in the EAR/lib directory.