The problem is not in service but rather in run.bat
The reason why it is observed when running as service is because the
service mode uses system PATH environment variable
(which probably ends wit backslash)
The fix is easy. Inside run.bat change:
REM Add bin/native to the PATH if present
if exist "%JBOSS_HOME%\bin\native" set PATH=%JBOSS_HOME%\bin\native;%PATH%
To:
REM Add bin/native to the PATH if present
if exist "%JBOSS_HOME%\bin\native" set
PATH=%JBOSS_HOME%\bin\native;%PATH%;%JBOSS_HOME%\bin
Regards,
Mladen
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213743#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...