Bug 1024331 - Storage node does not start in console mode on windows
Summary: Storage node does not start in console mode on windows
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Installer
Version: JON 3.2
Hardware: x86_64
OS: Windows
unspecified
medium
Target Milestone: ER05
: JON 3.2.0
Assignee: Thomas Segismont
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 1012435
TreeView+ depends on / blocked
 
Reported: 2013-10-29 12:22 UTC by Sunil Kondkar
Modified: 2014-01-02 20:39 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
Screenshot_error (3.77 KB, image/png)
2013-10-29 12:23 UTC, Sunil Kondkar
no flags Details

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.


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