Bug 1134808 - [QE] (6.3.z) Configure JBoss EAP 6 as a Service in Microsoft Windows Server - service.bat JBOSS_HOME quotes
Summary: [QE] (6.3.z) Configure JBoss EAP 6 as a Service in Microsoft Windows Server ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Scripts and Commands
Version: 6.3.1
Hardware: Unspecified
OS: Windows
unspecified
medium
Target Milestone: ---
: ---
Assignee: Chao Wang
QA Contact: Petr Kremensky
Russell Dickenson
URL:
Whiteboard:
Depends On: 1050044
Blocks: eap633-payload
TreeView+ depends on / blocked
 
Reported: 2014-08-28 09:39 UTC by Petr Kremensky
Modified: 2014-10-20 13:50 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1050044
Environment:
Last Closed: 2014-10-20 13:50:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Kremensky 2014-08-28 09:39:43 UTC
+++ 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

Comment 1 Petr Kremensky 2014-08-28 09:40:03 UTC
For 6.3.x CP stream tracking purposes.


Note You need to log in before you can comment on or make changes to this bug.