[jboss-jira] [JBoss JIRA] (WFCORE-3619) the endpoint configuration w/o parameters is not persisted in the configuration
Brian Stansberry (JIRA)
issues at jboss.org
Mon Feb 19 09:57:00 EST 2018
[ https://issues.jboss.org/browse/WFCORE-3619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13535239#comment-13535239 ]
Brian Stansberry commented on WFCORE-3619:
------------------------------------------
Looks like there's a minor persistence issue related to the 'endpoint' attributes resulting from WFCORE-3327. Either we shouldn't include an empty 'endpoint' element in our standard configs are we should persist one regardless of whether any of the attributes in the group that xml element represents are defined. I believe the latter is non-standard behavior so I think the fix is the former.
> the endpoint configuration w/o parameters is not persisted in the configuration
> -------------------------------------------------------------------------------
>
> Key: WFCORE-3619
> URL: https://issues.jboss.org/browse/WFCORE-3619
> Project: WildFly Core
> Issue Type: Bug
> Components: Remoting
> Reporter: Alexey Loubyansky
> Assignee: Brian Stansberry
>
> 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