wildfly 31 domain config examples

126 views
Skip to first unread message

Balint B

unread,
Mar 19, 2024, 9:55:57 AM3/19/24
to WildFly
Hi,
can somone show me wildfly 31 domain config examples? For example there are one domain controller an two host controller with one instance running on a host group. How looks domain.xml and host.xml on domain and host controller?
Thank you!
Balint

Emmanuel Hugonnet

unread,
Mar 20, 2024, 6:47:01 AM3/20/24
to Balint B, WildFly
I think you have examples of a domain configuration in the domain configuration folder.
Also you may want to take a look at the domain test  suite which provides a few configurations for testing.
Emmanuel
> --
> You received this message because you are subscribed to the Google Groups "WildFly" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/wildfly/6ffef3b2-77e0-4b3c-b1f5-d9b8c1bcefb0n%40googlegroups.com
> <https://groups.google.com/d/msgid/wildfly/6ffef3b2-77e0-4b3c-b1f5-d9b8c1bcefb0n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Balint B

unread,
Mar 25, 2024, 9:52:08 AM3/25/24
to Emmanuel Hugonnet, WildFly
Hi Emmanuel,
thank you for your reply. Yes, there are example files in wildfly/domain/configuration directory (domain.xml, host.xml). But the Admin Guide is incomplete, and I don't know how to modify config files to get a domain or a host controller. That's why I asked for help from someone to send me example configurations that work correctly.
Regards: Balint

Emmanuel Hugonnet

unread,
Mar 27, 2024, 3:26:40 AM3/27/24
to Balint B, WildFly
The provided ones work correctly:
the host.xml is the Host Controller configuration
the domain.xml is the Domain Controller configuration.
There are also a host-primary and host-secondary if you want to try more hosts configuration.
Also one of the way to edit those configuration is not to edit the XML but use the jboss-cli with either the embedded server in domain mode
or connecting to your Domain Controller.
Could you be more explicit as to what you are trying to achieve ? Maybe we could then enrich the documentation to cover those missing parts.
Emmanuel

Le 25/03/2024 à 14:51, Balint B a écrit :
> Hi Emmanuel,
> thank you for your reply. Yes, there are example files in wildfly/domain/configuration directory (domain.xml, host.xml). But the Admin
> Guide is incomplete, and I don't know how to modify config files to get a domain or a host controller. That's why I asked for help from
> someone to send me example configurations that work correctly.
> Regards: Balint
>
> Emmanuel Hugonnet <ehug...@redhat.com> ezt írta (időpont: 2024. márc. 20., Sze, 11:46):
>
> I think you have examples of a domain configuration in the domain configuration folder.
> Also you may want to take a look at the domain test  suite which provides a few configurations for testing.
> Emmanuel
>
> Le 19/03/2024 à 13:33, Balint B a écrit :
> > Hi,
> > can somone show me wildfly 31 domain config examples? For example there are one domain controller an two host controller with one
> instance
> > running on a host group. How looks domain.xml and host.xml on domain and host controller?
> > Thank you!
> > Balint
> > --
> > You received this message because you are subscribed to the Google Groups "WildFly" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com
> <mailto:wildfly%2Bunsu...@googlegroups.com>.
> <https://groups.google.com/d/msgid/wildfly/6ffef3b2-77e0-4b3c-b1f5-d9b8c1bcefb0n%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>

Emmanuel Hugonnet

unread,
Mar 27, 2024, 3:26:46 AM3/27/24
to Balint B, WildFly
The provided ones work correctly:
the host.xml is the Host Controller configuration
the domain.xml is the Domain Controller configuration.
There are also a host-primary and host-secondary if you want to try more hosts configuration.
Also one of the way to edit those configuration is not to edit the XML but use the jboss-cli with either the embedded server in domain mode
or connecting to your Domain Controller.
Could you be more explicit as to what you are trying to achieve ? Maybe we could then enrich the documentation to cover those missing parts.
Emmanuel

Le 25/03/2024 à 14:51, Balint B a écrit :
> Hi Emmanuel,
> thank you for your reply. Yes, there are example files in wildfly/domain/configuration directory (domain.xml, host.xml). But the Admin
> Guide is incomplete, and I don't know how to modify config files to get a domain or a host controller. That's why I asked for help from
> someone to send me example configurations that work correctly.
> Regards: Balint
>
> Emmanuel Hugonnet <ehug...@redhat.com> ezt írta (időpont: 2024. márc. 20., Sze, 11:46):
>
> I think you have examples of a domain configuration in the domain configuration folder.
> Also you may want to take a look at the domain test  suite which provides a few configurations for testing.
> Emmanuel
>
> Le 19/03/2024 à 13:33, Balint B a écrit :
> > Hi,
> > can somone show me wildfly 31 domain config examples? For example there are one domain controller an two host controller with one
> instance
> > running on a host group. How looks domain.xml and host.xml on domain and host controller?
> > Thank you!
> > Balint
> > --
> > You received this message because you are subscribed to the Google Groups "WildFly" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com
> <mailto:wildfly%2Bunsu...@googlegroups.com>.
> <https://groups.google.com/d/msgid/wildfly/6ffef3b2-77e0-4b3c-b1f5-d9b8c1bcefb0n%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>

Balint B

unread,
Apr 3, 2024, 8:55:38 AM4/3/24
to Emmanuel Hugonnet, WildFly
 Hi Emmanuel,
I am trying to achieve for example a test configuration, which in HAL console under Runtime menu is: 
image.png
How to modify domain.xml in domain controller and host.xml in host controllers. Thank you for helping me.
Regards: Balint
Reply all
Reply to author
Forward
0 new messages