gatein/gatein-portal — pull request #112 by mstruk (2012-08-24 17:57:28+00:00)
Title: GTNPORTAL-2449 Can not start AS7 when run script outside bin 

Run scripts fixed to allow referencing of JBOSS_HOME in standalone.conf.

You can now run a startup script (standalone.sh / standalone.bat) from anywhere (regardless of current working dir).

If there is a JBOSS_HOME environment variable set, that points to AS7 instance different from the one which the startup script belongs to, then a hard-to-miss warning message is displayed.