Bug 756456

Summary: Incorrect way of restarting Tomcat runnning as windows service
Product: [Other] RHQ Project Reporter: Libor Zoubek <lzoubek>
Component: PluginsAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.3CC: hrupp, jclere, jshaughn, lkrejci, loleary, theute, tsegismo
Target Milestone: ---Keywords: FutureFeature
Target Release: RHQ 4.11   
Hardware: Unspecified   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-21 10:13:54 UTC Type: ---
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: 625146, 1111666    

Description Libor Zoubek 2011-11-23 16:27:14 UTC
Version-Release number of selected component (if applicable):
RHQ 4.3.0 SNAP

How reproducible: always


Steps to Reproduce:
1. Setup tomcat/EWS on windows
2. Inventory it
3. Restart it using JON UI
  
Actual results:
Tomcat is stopped, but when it is started it is via starting scripts not as a windows service. This means if you have some special configuration (like jmx port like I do) in windows registers, your does not go UP from JON's point of view - since it is started via scripts that contain different config values

Expected results:
 Tomcat's restart is treated like windows service

Comment 1 Thomas Segismont 2013-11-27 15:19:21 UTC
Working on a patch: will probably add a new control method (Windows Service)

Comment 2 Jay Shaughnessy 2014-02-07 22:07:00 UTC
Thomas, did you finish this?

Comment 3 Thomas Segismont 2014-02-07 22:28:04 UTC
Jay, I couldn't. I was about to add what we already have in AS5 plugin IIRC. Actually, it would be nice to be able to test this thing with AS7 too.

I've pushed my initial changes in a bug branch (bug/756456), just in case...

Comment 4 Jean-frederic Clere 2014-03-07 13:53:37 UTC
fixed by https://github.com/rhq-project/rhq/pull/8

Comment 6 Heiko W. Rupp 2014-07-21 10:13:54 UTC
Bulk closing of RHQ 4.11 issues, now that RHQ 4.12 is out.

If you find an issue with those, please open a new BZ, linking to the old one.