Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 960577

Summary: Executing a reload operation using the http interface results in a communication error
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Emanuel Muckenhuber <emuckenh>
Component: Domain ManagementAssignee: Brian Stansberry <brian.stansberry>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: cdewolf, dandread, kkhan, myarboro, pkremens
Target Milestone: DR1   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
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:

Description Emanuel Muckenhuber 2013-05-07 12:23:11 UTC
Description of problem:

The http socket will get closed before the response of a reload operation can be sent. This is similar to the issues reported against the native mgmt interface and CLI, just this affects the http interface.

Comment 2 Rostislav Svoboda 2013-06-07 09:56:45 UTC
Adding QA_ACK + fixing selected version as 6.2.0 was not released yet ...

Comment 4 Petr Kremensky 2014-07-17 12:16:30 UTC
@Emanuel

Is this still valid issue for EAP 6.3.0+?

I am not getting any error using HTTP management API

curl --digest -L -D - http://localhost:9990/management --header "Content-Type: application/json" -d '{"operation":"reload","name":"","json.pretty":1}' -u admin

however I am not getting any errors even on older EAP releases so I am not sure, whether I am trying to reproduce it correctly and I cannot see [1] upstream fix in 6.3.0.ER10 sources.

If this is the one of issues which let to introduction of reload and shutdown operations (without colon character in front) then I believe we can close this.

[1] - https://github.com/emuckenhuber/wildfly/commit/a748a23d89f1498649a823eda803f8e5cd1b8bdb

Comment 5 Emanuel Muckenhuber 2014-07-17 14:59:34 UTC
Hmm, it seems that this did not get ported to EAP so far. At least i don't see the change in the EAP codebase. So i don't think this is resolved and should be included. It's a race condition, so it might not occur most of the time.

Comment 7 Petr Kremensky 2014-09-19 06:57:17 UTC
The fix is present in EAP 6.4.0.DR1.1 codebase, however as I stated in comment 4 I am unable to reproduce the original issue.

Comment 10 Dimitris Andreadis 2015-02-03 21:03:28 UTC
re-assign Emanuel's assigned bugs to Brian.