Modified to use JBOSS_HOME