use JBOSS_HOME variable instead of configuration in code