Bug 1024331

Summary: Storage node does not start in console mode on windows
Product: [JBoss] JBoss Operations Network Reporter: Sunil Kondkar <skondkar>
Component: InstallerAssignee: Thomas Segismont <tsegismo>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.2CC: jshaughn, tsegismo
Target Milestone: ER05   
Target Release: JON 3.2.0   
Hardware: x86_64   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1012435    
Attachments:
Description Flags
Screenshot_error none

Description Sunil Kondkar 2013-10-29 12:22:14 UTC
Description of problem:

Installed JBoss ON ER4 on windows with 'rhqctl.bat install', started services with 'rhqctl.bat start'. stopped the storage node service using 'rhqctl.bat --storage'. When tried to start the storage node using console mode, it shows below error in console:

ERROR [org.rhq.server.control.RHQControl] CreateProcees error 2, The system cannot find the file specified.

Please refer the screenshot.

Version-Release number of selected component (if applicable):

JBoss ON version: 3.2.0.ER4 Build Number: e413566:057b211
Windows: Windows 2008 server

java -version

java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java Hotspot(TM) 64 Bit Server VM (build 20.0-b11, mixed mode)

How reproducible:

Always

Steps to Reproduce:

1. Install JBoss ON ER4 on windows with:
  rhqctl.bat install
  rhqctl.bat start
2. Stop the storage node service
  rhqctl.bat stop --storage
3. Try to start the storage node in console mode with:
  rhqctl.bat console --storage

Actual results:

The storage node does not start in console mode and shows an error when tried on Windows.

Expected results:

The storage node should start in console mode on windows.

( Doc: https://docs.jboss.org/author/display/RHQ/Running+the+RHQ+Storage+Node#RunningtheRHQStorageNode-RunninginaWindowsConsole )

Additional info:

Comment 1 Sunil Kondkar 2013-10-29 12:23:42 UTC
Created attachment 817065 [details]
Screenshot_error

Comment 2 Thomas Segismont 2013-10-31 21:18:32 UTC
Fixed in release/jon3.2.x

commit 53bd701be867ebbec684a46c5bf2466ae89550a8
Author: Thomas Segismont <tsegismo>
Date:   Thu Oct 31 22:14:34 2013 +0100

Cherry picked from master 5d4cbc7
    
CommandLine object was incorrectly created

Comment 3 Simeon Pinder 2013-11-07 02:17:45 UTC
Moving to ON_QA for test with new brew build.

Comment 4 Sunil Kondkar 2013-11-08 14:18:55 UTC
Verified on Version : 3.2.0.ER5 Build Number : 2cb2bc9:225c796

The command rhqctl.bat console --storage works and no error is displayed.