Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 11th, 2012  |  syntax: None  |  size: 2.74 KB  |  hits: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to stop JBOSS AS7 redirecting the http administration console to the domain
  2. <interfaces>
  3.     <interface name="management">
  4.         <!-- Declare a specific IP address for this management interface -->
  5.         <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
  6.     </interface>
  7.     <interface name="public">
  8.         <inet-address value="${jboss.bind.address:127.0.0.1}"/>
  9.     </interface>
  10.     <interface name="unsecure">
  11.         <inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
  12.     </interface>
  13. </interfaces>
  14.  
  15. <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
  16.     <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>
  17.     <!-- Declare a specific port for the management-native interface -->
  18.     <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>
  19.     <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9443}"/>
  20.        
  21. <management>
  22.     <security-realms>
  23.         <security-realm name="ManagementRealm">
  24.             <authentication>
  25.                 <properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/>
  26.             </authentication>
  27.         </security-realm>
  28.         <security-realm name="ApplicationRealm">
  29.             <authentication>
  30.                 <properties path="application-users.properties" relative-to="jboss.domain.config.dir" />
  31.             </authentication>
  32.         </security-realm>
  33.     </security-realms>
  34.     <management-interfaces>
  35.         <native-interface security-realm="ManagementRealm">
  36.             <socket interface="management" port="${jboss.management.native.port:9999}"/>
  37.         </native-interface>
  38.         <http-interface security-realm="ManagementRealm">
  39.             <socket interface="management" port="${jboss.management.http.port:9990}"/>
  40.         </http-interface>
  41.     </management-interfaces>
  42. </management>
  43.  
  44. <domain-controller>
  45.    <local/>
  46.    <!-- Alternative remote domain controller configuration with a host and port -->
  47.    <!-- <remote host="${jboss.domain.master.address}" port="${jboss.domain.master.port:9999}" security-realm="ManagementRealm"/> -->
  48. </domain-controller>
  49.  
  50. <interfaces>
  51.     <interface name="management">
  52.         <inet-address value="${jboss.bind.address:127.0.0.1}"/>
  53.     </interface>
  54.     <interface name="public">
  55.        <inet-address value="${jboss.bind.address:127.0.0.1}"/>
  56.     </interface>
  57.     <interface name="unsecure">
  58.         <!-- Used for IIOP sockets in the standard configuration.
  59.              To secure JacORB you need to setup SSL -->
  60.         <inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
  61.     </interface>
  62. </interfaces>