You should be able to run them both on the same box without making any changes to the start scripts. Changes to the JBOSS_HOME environment variable made by the scripts are local to the processes those scripts are running in and any child processes those processes fork.
ok. Perfect. Thanks for your message.