{ "head-comment" => "Example domain model", "namespaces" => { "" => "urn:jboss:domain:1.0", "xsi" => "http://www.w3.org/2001/XMLSchema-instance" }, "schema-locations" => { "urn:jboss:domain:1.0" => "jboss_7_0.xsd" "urn:jboss:domain:web:1.0" => "jboss-web.xsd" } "extension" => { "org.jboss.as.connector" => { "module" => "org.jboss.as.connector" } "org.jboss.as.jmx" => { "head-comment" => "We want JMX support!" "module" => "org.jboss.as.jmx" } } "profile" => { "osgi" => { "subsystem" => { "osgi" => { "namespaces" => { "" => "urn:jboss:domain:osgi:1.0" }, "property" => { "org.jboss.osgi.system.modules" => [ "org.apache.log4j" ], "org.osgi.framework.system.packages.extra" => [ "org.apache.log4j;version=1.2", "org.jboss.logging;version=3.0", "org.jboss.osgi.deployment.deployer;version=1.0" ] }, "module" => { "org.osgi.compendium" => { "identifier" => "org.osgi.compendium" }, "org.jboss.osgi.common" => { "identifier" => "org.jboss.osgi.common", "start" => "true" } } } } }, "example" => { "tail-comment" => "DO NOT ADD OTHER SUBSYSTEMS!", "include" => { "osgi" => { "head-comment" => "Profile 'example' builds on 'osgi'", "profile" => "osgi" } }, "subsystem" => { "web" => { "namespaces" => { "" => "urn:jboss:domain:osgi:1.0" }, "connector" => { "http" => { "name" => "http", "scheme" => "http", "socket-binding" => "http" } }, "virtual-server" => { "localhost" => { "name" => "localhost", "alias" => { "example.com" => { "head-comment" => "Servers running this profile host the 'example.com' domain", "name" = "example.com" } } } } } } } } } "interface" => { "loopback" => { "name" => "loopback", "inet-address" => "127.0.0.1" }, "external" => { "name" => "external", "any-ipv4-address" => "true" }, "private" => { "head-comment" = "The IP address of the 'private' interface is specified in host.xml", "name" => "private" } }, "socket-binding-group" => { "standard-sockets" => { "default-interface" => "external", "http" => { "name" => "http", "port" => "8080" }, "https" => { "name" => "https",, "interface" => "private", "port" => "8447" } } }, "server-group" => { "main" => { "name" => "main", "profile" => "example", "socket-binding-group" => "standard-sockets", "jvm" => { "name" => "default", "heap" => { "size" => "64m", "max-size" => "512m" } } } } "host" => { "hostA" => { "head-comment" => "Example domain model", "namespaces" => { "" => "urn:jboss:domain:1.0", "xsi" => "http://www.w3.org/2001/XMLSchema-instance" }, "schema-locations" => { "urn:jboss:domain:1.0" => "jboss_7_0.xsd" "urn:jboss:domain:web:1.0" => "jboss-web.xsd" }, "name" => "hostA", "management" => { "interface" => "public", "port" => "9999" }, "domain-controller" => { "local" => "true" }, "server" => { "server-one" => { "name" = "server-one" "group" => "main" }, "server-two" => { "head-comment" => "Please don't enable server-two without talking to Brian" "name" = "server-two", "group" => "main", "socket-binding-group" => { "ref" => "standard-sockets", "port-offset" => "150" } "start" => "false" } } } } "server" => { "server-one" => { "name" => "server-one", "host" => "hostA", "server-group" => "main", "profile" => "example", "extension" => { "org.jboss.as.connector" => { "module" => "org.jboss.as.connector" }, "org.jboss.as.jmx" => { "module" => "org.jboss.as.jmx" } } "subsystem" => { "osgi" => { "namespaces" => { "" => "urn:jboss:domain:osgi:1.0" }, "property" => { "org.jboss.osgi.system.modules" => [ "org.apache.log4j" ], "org.osgi.framework.system.packages.extra" => [ "org.apache.log4j;version=1.2", "org.jboss.logging;version=3.0", "org.jboss.osgi.deployment.deployer;version=1.0" ] }, "module" => { "org.osgi.compendium" => { "identifier" => "org.osgi.compendium" }, "org.jboss.osgi.common" => { "identifier" => "org.jboss.osgi.common", "start" => "true" } } }, "web" => { "namespaces" => { "" => "urn:jboss:domain:osgi:1.0" }, "connector" => { "http" => { "name" => "http", "scheme" => "http", "socket-binding" => "http" } }, "virtual-server" => { "localhost" => { "name" => "localhost", "alias" => { "example.com" => { "name" = "example.com" } } } } } }, "interface" => { "loopback" => { "name" => "loopback", "inet-address" => "127.0.0.1" }, "external" => { "name" => "external", "any-ipv4-address" => "true" }, "private" => { "name" => "private" "inet-address" => "192.168.100.1" } } } } }