I had the same problem, so I went
after comments in org.jboss.Main.systemExit about Alexandria and downloaded
mentioned NT Service Installer from
http://www.alexandriasc.com/software/JavaService/download.html
I copied JavaService.exe to
%JBOSS_HOME%\bin\jboss.exe and prepared scrip
%JBOSS_HOME%\bin\InstallJBoss.bat (attached,
along with %JBOSS_HOME%\bin\UnInstallJBoss.bat) based on
%JBOSS_HOME%\bin\run.bat which works for me (I have not tried if it works for
jboss installation in directory containing whitespaces in its name). So, if you
just need some way to run it as NT Service, try this, in my case shutdown via
Services panel works correctly (I run it under Windows XP).
|
ntservice.zip
Description: Zip compressed data