123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <?xml version='1.0' encoding='UTF-8'?>
- <host name="master" xmlns="urn:jboss:domain:1.4">
- <management>
- <security-realms>
- <security-realm name="ManagementRealm">
- <authentication>
- <local default-user="$local" />
- <properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/>
- </authentication>
- </security-realm>
- <security-realm name="ApplicationRealm">
- <authentication>
- <local default-user="$local" allowed-users="*" />
- <properties path="application-users.properties" relative-to="jboss.domain.config.dir" />
- </authentication>
- <authorization>
- <properties path="application-roles.properties" relative-to="jboss.domain.config.dir"/>
- </authorization>
- </security-realm>
- </security-realms>
- <management-interfaces>
- <native-interface security-realm="ManagementRealm">
- <socket interface="management" port="${jboss.management.native.port:9999}"/>
- </native-interface>
- <http-interface security-realm="ManagementRealm">
- <socket interface="management" port="${jboss.management.http.port:9990}"/>
- </http-interface>
- </management-interfaces>
- </management>
- <domain-controller>
- <local/>
- <!-- Alternative remote domain controller configuration with a host and port -->
- <!-- <remote host="${jboss.domain.master.address}" port="${jboss.domain.master.port:9999}" security-realm="ManagementRealm"/> -->
- </domain-controller>
- <interfaces>
- <interface name="management">
- <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
- </interface>
- <interface name="public">
- <inet-address value="${jboss.bind.address:127.0.0.1}"/>
- </interface>
- <interface name="unsecure">
- <!-- Used for IIOP sockets in the standard configuration.
- To secure JacORB you need to setup SSL -->
- <inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
- </interface>
- </interfaces>
- <jvms>
- <jvm name="default">
- <heap size="64m" max-size="256m"/>
- <permgen size="256m" max-size="256m"/>
- <jvm-options>
- <option value="-server"/>
- </jvm-options>
- </jvm>
- </jvms>
- <servers>
- <server name="server-one" group="main-server-group">
- <!-- Remote JPDA debugging for a specific server
- <jvm name="default">
- <jvm-options>
- <option value="-agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"/>
- </jvm-options>
- </jvm>
- -->
- </server>
- <server name="server-two" group="main-server-group" auto-start="true">
- <!-- server-two avoids port conflicts by incrementing the ports in
- the default socket-group declared in the server-group -->
- <socket-bindings port-offset="150"/>
- </server>
- <server name="server-three" group="other-server-group" auto-start="false">
- <!-- server-three avoids port conflicts by incrementing the ports in
- the default socket-group declared in the server-group -->
- <socket-bindings port-offset="250"/>
- </server>
- </servers>
- </host>
|