I've found a way to set explicitly the environment variable JBOSS_HOME for the integration tests. Fix some unit and integration tests after making some changes in the past (use of JEE7Test Component)