[jboss-jira] [JBoss JIRA] (AS7-4491) Structure of the "server-groups" node in a multi-server operation response breaks if multiple hosts use the same server names
Heiko Braun (JIRA)
jira-events at lists.jboss.org
Tue Apr 24 09:20:18 EDT 2012
[ https://issues.jboss.org/browse/AS7-4491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12687113#comment-12687113 ]
Heiko Braun commented on AS7-4491:
----------------------------------
I re-opened this issue because i can see two different response formats on the same operation:
{noformat}
[INFO] staging-one > {
[INFO] "outcome" => "success",
[INFO] "result" => {"step-1" => {
[INFO] "outcome" => "success",
[INFO] "response-headers" => {"operation-requires-restart" => true}
[INFO] }}
[INFO] }
{noformat}
{noformat}
[INFO] server-one > {
[INFO] "outcome" => "success",
[INFO] "result" => {"step-1" => {
[INFO] "outcome" => "success",
[INFO] "response-headers" => {"operation-requires-restart" => true}
[INFO] }},
[INFO] "response-headers" => {"process-state" => "restart-required"}
[INFO] }
{noformat}
it happens when setting the transaction manager attribute "enable-statistics".
> Structure of the "server-groups" node in a multi-server operation response breaks if multiple hosts use the same server names
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: AS7-4491
> URL: https://issues.jboss.org/browse/AS7-4491
> Project: Application Server 7
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 7.1.1.Final
> Reporter: Brian Stansberry
> Assignee: Kabir Khan
> Priority: Critical
> Fix For: 7.1.2.Final-redhat1
>
>
> See "Multi-Server Responses" on https://docs.jboss.org/author/display/AS71/Management+API+reference#ManagementAPIreference-responseformat:
> "server-groups" => {
> "groupA" => {
> "serverA-1" => {
> "host" => "host1",
> "response" => {
> "outcome" => "success",
> "result" => undefined
> }
> },
> "serverA-2" => {
> "host" => "host2",
> "response" => {
> "outcome" => "success",
> "result" => undefined
> }
> }
> },
> ....
> What if on both hosts the server was named "serverA" ? The result for one would replace the result for the other.
> It's important to allow hosts to re-use server names, as this makes it practical to re-use a host.xml across multiple installations; e.g. in single AMI used on many EC2 instances.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list