+++ This bug was initially created as a clone of Bug #1050044 +++ Description of problem: When configuring JBoss EAP 6.2 to run as a service on MS Windows the EAP_HOME/modules/system/layers/base/native/sbin/service.bat has two lines where double quotes are needed around %JBOSS_HOME% in case JBoss is installed under "Program Files (x86)" The two lines before are: 315 set LOGPATH=%JBOSS_HOME%\domain\log 319 set LOGPATH=%JBOSS_HOME%\standalone\log After the mods should be: 315 set LOGPATH="%JBOSS_HOME%"\domain\log 319 set LOGPATH="%JBOSS_HOME%"\standalone\log Version-Release number of selected component (if applicable): EAP 6.2.0 How reproducible: Running the service installation command as documented on page 24 of installation guide as follows: service.bat install /host master /loglevel INFO Will return an error saying that domain\log was unexpected and standalone\log was unexpected Steps to Reproduce: 1. Install EAP under Program Files (x86) 2. set JBOSS_HOME to C:\Program Files (x86)\EAP-6.2.0\jboss-eap-6.2 3. cd EAP_HOME\modules\system\layers\base 4. service.bat install /host master /loglevel INFO Actual results: service.bat fails with error Expected results: JBoss correctly installed as a service Additional info: There was a similar bug filed for the 6.1 installation in MS Windows
For 6.3.x CP stream tracking purposes.