[jboss-jira] [JBoss JIRA] (WFCORE-3580) /host=xxx:add is required now after embedding the host controller
Ken Wills (JIRA)
issues at jboss.org
Wed Feb 7 10:32:00 EST 2018
[ https://issues.jboss.org/browse/WFCORE-3580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13530076#comment-13530076 ]
Ken Wills commented on WFCORE-3580:
-----------------------------------
It is worth noting that omitting the empty-host etc parameters and providing a non-empty host.xml should boot the host and call /add using the default host name. Since these parameters are new, and not present in any released version, I'm not quite sure this is a change in behavour.
> /host=xxx:add is required now after embedding the host controller
> -----------------------------------------------------------------
>
> Key: WFCORE-3580
> URL: https://issues.jboss.org/browse/WFCORE-3580
> Project: WildFly Core
> Issue Type: Bug
> Components: Server
> Affects Versions: 4.0.0.Alpha9
> Reporter: Alexey Loubyansky
> Assignee: Jason Greene
>
> This is just to report a change in behavior. This is not a critical issue for what I personally am doing.
> The issue is that I used to have a script that would generate a domain.xml configuration (let's say for the core distribution) that would start like this
> {code:java}
> embed-host-controller --empty-host-config --remove-existing-host-config --empty-domain-config --remove-existing-domain-config --host-config=pm-tmp-host.xml --domain-config=domain.xml
> /interface=public:add(inet-address=${jboss.bind.address:127.0.0.1})
> /interface=management:add(inet-address=${jboss.bind.address.management:127.0.0.1})
> ...
> {code}
> A script like this will fail now because we need to explicitly add a host before executing any management operation. E.g.
> {code:java}
> embed-host-controller --empty-host-config --remove-existing-host-config --empty-domain-config --remove-existing-domain-config --host-config=pm-tmp-host.xml --domain-config=domain.xml
> /host=tmp:add
> /interface=public:add(inet-address=${jboss.bind.address:127.0.0.1})
> /interface=management:add(inet-address=${jboss.bind.address.management:127.0.0.1})
> ...
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list