]
Simeon Pinder moved JBPAPP-8233 to AS7-4116:
--------------------------------------------
Project: Application Server 7 (was: JBoss Enterprise Application Platform)
Key: AS7-4116 (was: JBPAPP-8233)
Workflow: GIT Pull Request workflow (was: jira)
Affects Version/s: (was: EAP 6.0.0 ER 1)
Component/s: (was: Other)
Security: (was: Public)
Fix Version/s: (was: TBD EAP 6)
Docs QE Status: (was: NEW)
removal of unrequested json snippet '"server-groups"
=> undefined' postpended to operation responses via cli
------------------------------------------------------------------------------------------------------------
Key: AS7-4116
URL:
https://issues.jboss.org/browse/AS7-4116
Project: Application Server 7
Issue Type: Enhancement
Reporter: Simeon Pinder
Assignee: Fernando Nasser
Priority: Minor
Labels: rhq
When submitting operations to as7 via CLI sometimes and extra ["server-groups"
=> undefined] string is post-pended to the response. The result is still valid JSON it
appears, but the results are potentially confusing to external json integrators.
To reproduce:
- run AS7 via domain.sh to run HostController.
- login
- submit the following operation:
/host=master/core-service=platform-mbean/type=threading/:read-resource(recursive=true,proxies=false,include-runtime=true,include-defaults=true)
- Look at the result returned:
{
"outcome" => "success",
"result" => {
"all-thread-ids" => [
2173L,
2172L,
2171L,
51L,
50L,
49L,
48L,
45L,
44L,
43L,
42L,
41L,
40L,
39L,
38L,
37L,
36L,
35L,
34L,
33L,
32L,
31L,
30L,
29L,
28L,
27L,
26L,
25L,
24L,
23L,
22L,
21L,
19L,
18L,
17L,
16L,
15L,
14L,
13L,
12L,
11L,
8L,
4L,
3L,
2L,
1L
],
"thread-contention-monitoring-supported" => true,
"thread-cpu-time-supported" => true,
"current-thread-cpu-time-supported" => true,
"object-monitor-usage-supported" => true,
"synchronizer-usage-supported" => true,
"thread-contention-monitoring-enabled" => false,
"thread-cpu-time-enabled" => true,
"thread-count" => 46,
"peak-thread-count" => 49,
"total-started-thread-count" => 2168L,
"daemon-thread-count" => 6,
"current-thread-cpu-time" => 0L,
"current-thread-user-time" => 0L
},
"server-groups" => undefined
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: