[jboss-jira] [JBoss JIRA] (WFCORE-3580) /host=xxx:add is required now after embedding the host controller
Alexey Loubyansky (JIRA)
issues at jboss.org
Wed Feb 7 10:25:00 EST 2018
Alexey Loubyansky created WFCORE-3580:
-----------------------------------------
Summary: /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