Bug 803783 - [as7] shutdown, restart, and reload operations do not work on AS7 Server types
Summary: [as7] shutdown, restart, and reload operations do not work on AS7 Server types
Keywords:
Status: CLOSED DUPLICATE of bug 804102
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHQ 4.4.0
Assignee: Heiko W. Rupp
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: as7-plugin
TreeView+ depends on / blocked
 
Reported: 2012-03-15 16:10 UTC by Ian Springer
Modified: 2013-08-06 00:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
AS 7.1.1.Final
Last Closed: 2012-03-26 15:15:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Ian Springer 2012-03-15 16:10:36 UTC
---shutdown---
For a Standalone Server, shutdown returns the following error:

<Operation <Operation{operation='shutdown', address=Address{path: }, additionalProperties={}}> returned <"JBAS010850: No handler for operation shutdown at address []","rolled-back":true}>, rolled-back=false>

For a Domain Server, shutdown does not fail with this error, but it does not appear to actually shutdown the server.

---restart---
For a Standalone Server, restart fails with the same error, because under the covers it calls the shutdown operation.

---reload---
For a Standalone Server, reload returns the following error:

<Operation <Operation{operation='reload', address=Address{path: }, additionalProperties={}}> returned <"JBAS010850: No handler for operation reload at address []","rolled-back":true}>, rolled-back=false>

---start---
Due to the design of my integration tests, I am unable to test the start operation until the shutdown operation is fixed, so I am not sure whether the start operation is working on either Server type.

Comment 2 Heiko W. Rupp 2012-03-16 10:44:11 UTC
comment #1 was bogus and for a different BZ

Comment 3 Heiko W. Rupp 2012-03-16 12:39:13 UTC

-- domain --

- shutdown works, but sometimes the server returns 'strange results' -- See also https://issues.jboss.org/browse/AS7-4192


-- standalone
- reload always works for me
- shutdown and start (and re-start) also work


For restart commit 7228af6170578 adds a larger (dynamic) wait time between shutdown and start to make sure the server is no longer responding to management requests before starting again.

Comment 4 Heiko W. Rupp 2012-03-16 12:39:37 UTC
Ian can you check if that helps you?

Comment 5 Mike Foley 2012-03-19 15:34:47 UTC
per BZ triage (crouch, loleary, mfoley)

Comment 6 Heiko W. Rupp 2012-03-19 16:28:18 UTC
finally pushed as 7228af6170578 to master

Comment 7 Heiko W. Rupp 2012-03-26 15:15:17 UTC
Closing - further work is done in Bug 804102

*** This bug has been marked as a duplicate of bug 804102 ***


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