[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Starting JBoss as a Service on Windows XP has an issue

mladen.turk@jboss.com do-not-reply at jboss.com
Fri Feb 27 08:51:46 EST 2009


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#4213743

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213743



More information about the jboss-user mailing list