[jboss-jira] [JBoss JIRA] (WFLY-9832) the endpoint configuration w/o parameters is not persisted in the configuration

Alexey Loubyansky (JIRA) issues at jboss.org
Thu Feb 15 04:22:00 EST 2018


     [ https://issues.jboss.org/browse/WFLY-9832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Loubyansky updated WFLY-9832:
------------------------------------
    Description: 
This looks like a regression. Creating a server config from scratch by executing operations I see that the endpoint configuration has disappeared from the config although the add operation is executed. In fact I noticed that I can execute the add operations as many times as I want w/o an error. The config file is re-written after every add but the endpoint element is not added.


{code:java}
[standalone at localhost:9990 /] /subsystem=remoting/configuration=endpoint:add
{"outcome" => "success"}
[standalone at localhost:9990 /] /subsystem=remoting/configuration=endpoint:add
{"outcome" => "success"}
[standalone at localhost:9990 /] /subsystem=remoting/configuration=endpoint:add
{"outcome" => "success"}
[standalone at localhost:9990 /] /subsystem=remoting/configuration=endpoint:add
{"outcome" => "success"}
[standalone at localhost:9990 /] /subsystem=remoting/configuration=endpoint:add
{"outcome" => "success"}
[standalone at localhost:9990 /] /subsystem=remoting/configuration=endpoint:add
{"outcome" => "success"}
{code}

{code:java}
        <subsystem xmlns="urn:jboss:domain:remoting:4.0">
            <http-connector name="http-remoting-connector" connector-ref="default" security-realm="ApplicationRealm"/>
        </subsystem>
{code}

Note, that if I add a worker as a param, it will persist the endpoint config.

  was:
This looks like a regression. Creating a server config from scratch by executing operations I see that the endpoint configuration has disappeared from the config although the operation adding is executed. In fact I noticed that I can execute the add operations as many times as I want w/o an error. The config file is re-written after every add but the endpoint element is not added.


{code:java}
[standalone at localhost:9990 /] /subsystem=remoting/configuration=endpoint:add
{"outcome" => "success"}
[standalone at localhost:9990 /] /subsystem=remoting/configuration=endpoint:add
{"outcome" => "success"}
[standalone at localhost:9990 /] /subsystem=remoting/configuration=endpoint:add
{"outcome" => "success"}
[standalone at localhost:9990 /] /subsystem=remoting/configuration=endpoint:add
{"outcome" => "success"}
[standalone at localhost:9990 /] /subsystem=remoting/configuration=endpoint:add
{"outcome" => "success"}
[standalone at localhost:9990 /] /subsystem=remoting/configuration=endpoint:add
{"outcome" => "success"}
{code}

{code:java}
        <subsystem xmlns="urn:jboss:domain:remoting:4.0">
            <http-connector name="http-remoting-connector" connector-ref="default" security-realm="ApplicationRealm"/>
        </subsystem>
{code}

Note, that if I add a worker as a param, it will persist the endpoint config.



> the endpoint configuration w/o parameters is not persisted in the configuration
> -------------------------------------------------------------------------------
>
>                 Key: WFLY-9832
>                 URL: https://issues.jboss.org/browse/WFLY-9832
>             Project: WildFly
>          Issue Type: Bug
>          Components: Remoting
>            Reporter: Alexey Loubyansky
>            Assignee: David Lloyd
>
> This looks like a regression. Creating a server config from scratch by executing operations I see that the endpoint configuration has disappeared from the config although the add operation is executed. In fact I noticed that I can execute the add operations as many times as I want w/o an error. The config file is re-written after every add but the endpoint element is not added.
> {code:java}
> [standalone at localhost:9990 /] /subsystem=remoting/configuration=endpoint:add
> {"outcome" => "success"}
> [standalone at localhost:9990 /] /subsystem=remoting/configuration=endpoint:add
> {"outcome" => "success"}
> [standalone at localhost:9990 /] /subsystem=remoting/configuration=endpoint:add
> {"outcome" => "success"}
> [standalone at localhost:9990 /] /subsystem=remoting/configuration=endpoint:add
> {"outcome" => "success"}
> [standalone at localhost:9990 /] /subsystem=remoting/configuration=endpoint:add
> {"outcome" => "success"}
> [standalone at localhost:9990 /] /subsystem=remoting/configuration=endpoint:add
> {"outcome" => "success"}
> {code}
> {code:java}
>         <subsystem xmlns="urn:jboss:domain:remoting:4.0">
>             <http-connector name="http-remoting-connector" connector-ref="default" security-realm="ApplicationRealm"/>
>         </subsystem>
> {code}
> Note, that if I add a worker as a param, it will persist the endpoint config.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list