Thanks for that. I did get it working in the end using the following:
JBossService.exe -install JBoss %JAVA_HOME%\jre\bin\jrockit\jvm.dll -Dprogram.name=%JBOSS_HOME%\bin\run.bat -Xms1024m -Xmx1600m -Xmanagement:port=7091,ssl=false,authenticate=false -Djava.endorsed.dirs=%JBOSS_HOME%\lib\endorsed -Djava.class.path="%JAVA_HOME%\lib\tools.jar;%JBOSS_HOME%\bin\run.jar" -start org.jboss.Main -params "-b 0.0.0.0" -stop org.jboss.Main -method systemExit -out %JBOSS_HOME%\log\stdout.log -err %JBOSS_HOME%\log\stderr.log
I did have a problem once the service was started as it kept crashing, but having found the post below and applied the fix it works fine:
http://forums.bea.com/thread.jspa?threadID=600017624
Hope that helps someone,
Neil