not work if you have jndi lookup in your application, because of jboss-common-core.jar needed by jboss cache.