host.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <host name="master" xmlns="urn:jboss:domain:1.4">
  3. <management>
  4. <security-realms>
  5. <security-realm name="ManagementRealm">
  6. <authentication>
  7. <local default-user="$local" />
  8. <properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/>
  9. </authentication>
  10. </security-realm>
  11. <security-realm name="ApplicationRealm">
  12. <authentication>
  13. <local default-user="$local" allowed-users="*" />
  14. <properties path="application-users.properties" relative-to="jboss.domain.config.dir" />
  15. </authentication>
  16. <authorization>
  17. <properties path="application-roles.properties" relative-to="jboss.domain.config.dir"/>
  18. </authorization>
  19. </security-realm>
  20. </security-realms>
  21. <management-interfaces>
  22. <native-interface security-realm="ManagementRealm">
  23. <socket interface="management" port="${jboss.management.native.port:9999}"/>
  24. </native-interface>
  25. <http-interface security-realm="ManagementRealm">
  26. <socket interface="management" port="${jboss.management.http.port:9990}"/>
  27. </http-interface>
  28. </management-interfaces>
  29. </management>
  30. <domain-controller>
  31. <local/>
  32. <!-- Alternative remote domain controller configuration with a host and port -->
  33. <!-- <remote host="${jboss.domain.master.address}" port="${jboss.domain.master.port:9999}" security-realm="ManagementRealm"/> -->
  34. </domain-controller>
  35. <interfaces>
  36. <interface name="management">
  37. <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
  38. </interface>
  39. <interface name="public">
  40. <inet-address value="${jboss.bind.address:127.0.0.1}"/>
  41. </interface>
  42. <interface name="unsecure">
  43. <!-- Used for IIOP sockets in the standard configuration.
  44. To secure JacORB you need to setup SSL -->
  45. <inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
  46. </interface>
  47. </interfaces>
  48. <jvms>
  49. <jvm name="default">
  50. <heap size="64m" max-size="256m"/>
  51. <permgen size="256m" max-size="256m"/>
  52. <jvm-options>
  53. <option value="-server"/>
  54. </jvm-options>
  55. </jvm>
  56. </jvms>
  57. <servers>
  58. <server name="server-one" group="main-server-group">
  59. <!-- Remote JPDA debugging for a specific server
  60. <jvm name="default">
  61. <jvm-options>
  62. <option value="-agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"/>
  63. </jvm-options>
  64. </jvm>
  65. -->
  66. </server>
  67. <server name="server-two" group="main-server-group" auto-start="true">
  68. <!-- server-two avoids port conflicts by incrementing the ports in
  69. the default socket-group declared in the server-group -->
  70. <socket-bindings port-offset="150"/>
  71. </server>
  72. <server name="server-three" group="other-server-group" auto-start="false">
  73. <!-- server-three avoids port conflicts by incrementing the ports in
  74. the default socket-group declared in the server-group -->
  75. <socket-bindings port-offset="250"/>
  76. </server>
  77. </servers>
  78. </host>