Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 1 | <?xml version='1.0' encoding='UTF-8'?> |
| 2 | |
| 3 | <server xmlns="urn:jboss:domain:4.2"> |
| 4 | |
| 5 | <extensions> |
| 6 | <extension module="org.jboss.as.clustering.infinispan"/> |
| 7 | <extension module="org.jboss.as.clustering.jgroups"/> |
| 8 | <extension module="org.jboss.as.connector"/> |
| 9 | <extension module="org.jboss.as.deployment-scanner"/> |
| 10 | <extension module="org.jboss.as.ee"/> |
| 11 | <extension module="org.jboss.as.ejb3"/> |
| 12 | <extension module="org.jboss.as.jaxrs"/> |
| 13 | <extension module="org.jboss.as.jdr"/> |
| 14 | <extension module="org.jboss.as.jmx"/> |
| 15 | <extension module="org.jboss.as.jpa"/> |
| 16 | <extension module="org.jboss.as.jsf"/> |
| 17 | <extension module="org.jboss.as.jsr77"/> |
| 18 | <extension module="org.jboss.as.logging"/> |
| 19 | <extension module="org.jboss.as.mail"/> |
| 20 | <extension module="org.jboss.as.modcluster"/> |
| 21 | <extension module="org.jboss.as.naming"/> |
| 22 | <extension module="org.jboss.as.pojo"/> |
| 23 | <extension module="org.jboss.as.remoting"/> |
| 24 | <extension module="org.jboss.as.sar"/> |
| 25 | <extension module="org.jboss.as.security"/> |
| 26 | <extension module="org.jboss.as.transactions"/> |
| 27 | <extension module="org.jboss.as.webservices"/> |
| 28 | <extension module="org.jboss.as.weld"/> |
| 29 | <extension module="org.wildfly.extension.batch.jberet"/> |
| 30 | <extension module="org.wildfly.extension.bean-validation"/> |
| 31 | <extension module="org.wildfly.extension.clustering.singleton"/> |
| 32 | <extension module="org.wildfly.extension.io"/> |
| 33 | <extension module="org.wildfly.extension.messaging-activemq"/> |
| 34 | <extension module="org.wildfly.extension.request-controller"/> |
| 35 | <extension module="org.wildfly.extension.security.manager"/> |
| 36 | <extension module="org.wildfly.extension.undertow"/> |
| 37 | <extension module="org.wildfly.iiop-openjdk"/> |
| 38 | </extensions> |
| 39 | |
| 40 | |
| 41 | <management> |
| 42 | <security-realms> |
| 43 | <security-realm name="ManagementRealm"> |
| 44 | <authentication> |
| 45 | <local default-user="$local" skip-group-loading="true"/> |
| 46 | <properties path="mgmt-users.properties" relative-to="jboss.server.config.dir"/> |
| 47 | </authentication> |
| 48 | <authorization map-groups-to-roles="false"> |
| 49 | <properties path="mgmt-groups.properties" relative-to="jboss.server.config.dir"/> |
| 50 | </authorization> |
| 51 | </security-realm> |
| 52 | <security-realm name="ApplicationRealm"> |
| 53 | <server-identities> |
| 54 | <ssl> |
| 55 | <keystore path="application.keystore" relative-to="jboss.server.config.dir" keystore-password="password" alias="server" key-password="password" generate-self-signed-certificate-host="localhost"/> |
| 56 | </ssl> |
| 57 | </server-identities> |
| 58 | <authentication> |
| 59 | <local default-user="$local" allowed-users="*" skip-group-loading="true"/> |
| 60 | <properties path="application-users.properties" relative-to="jboss.server.config.dir"/> |
| 61 | </authentication> |
| 62 | <authorization> |
| 63 | <properties path="application-roles.properties" relative-to="jboss.server.config.dir"/> |
| 64 | </authorization> |
| 65 | </security-realm> |
| 66 | </security-realms> |
| 67 | <audit-log> |
| 68 | <formatters> |
| 69 | <json-formatter name="json-formatter"/> |
| 70 | </formatters> |
| 71 | <handlers> |
| 72 | <file-handler name="file" formatter="json-formatter" path="audit-log.log" relative-to="jboss.server.data.dir"/> |
| 73 | </handlers> |
| 74 | <logger log-boot="true" log-read-only="false" enabled="false"> |
| 75 | <handlers> |
| 76 | <handler name="file"/> |
| 77 | </handlers> |
| 78 | </logger> |
| 79 | </audit-log> |
| 80 | <management-interfaces> |
| 81 | <http-interface security-realm="ManagementRealm" http-upgrade-enabled="true"> |
| 82 | <socket-binding http="management-http"/> |
| 83 | </http-interface> |
| 84 | </management-interfaces> |
| 85 | <access-control provider="simple"> |
| 86 | <role-mapping> |
| 87 | <role name="SuperUser"> |
| 88 | <include> |
| 89 | <user name="$local"/> |
| 90 | </include> |
| 91 | </role> |
| 92 | </role-mapping> |
| 93 | </access-control> |
| 94 | </management> |
| 95 | |
| 96 | <profile> |
| 97 | <subsystem xmlns="urn:jboss:domain:logging:3.0"> |
| 98 | <console-handler name="CONSOLE"> |
| 99 | <level name="INFO"/> |
| 100 | <formatter> |
| 101 | <named-formatter name="COLOR-PATTERN"/> |
| 102 | </formatter> |
| 103 | </console-handler> |
| 104 | <periodic-rotating-file-handler name="FILE" autoflush="true"> |
| 105 | <formatter> |
| 106 | <named-formatter name="PATTERN"/> |
| 107 | </formatter> |
| 108 | <file relative-to="jboss.server.log.dir" path="server.log"/> |
| 109 | <suffix value=".yyyy-MM-dd"/> |
| 110 | <append value="true"/> |
| 111 | </periodic-rotating-file-handler> |
| 112 | <logger category="com.arjuna"> |
| 113 | <level name="WARN"/> |
| 114 | </logger> |
| 115 | <logger category="org.jboss.as.config"> |
| 116 | <level name="DEBUG"/> |
| 117 | </logger> |
| 118 | <logger category="sun.rmi"> |
| 119 | <level name="WARN"/> |
| 120 | </logger> |
| 121 | <root-logger> |
| 122 | <level name="INFO"/> |
| 123 | <handlers> |
| 124 | <handler name="CONSOLE"/> |
| 125 | <handler name="FILE"/> |
| 126 | </handlers> |
| 127 | </root-logger> |
| 128 | <formatter name="PATTERN"> |
| 129 | <pattern-formatter pattern="%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n"/> |
| 130 | </formatter> |
| 131 | <formatter name="COLOR-PATTERN"> |
| 132 | <pattern-formatter pattern="%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n"/> |
| 133 | </formatter> |
| 134 | </subsystem> |
| 135 | <subsystem xmlns="urn:jboss:domain:batch-jberet:1.0"> |
| 136 | <default-job-repository name="in-memory"/> |
| 137 | <default-thread-pool name="batch"/> |
| 138 | <job-repository name="in-memory"> |
| 139 | <in-memory/> |
| 140 | </job-repository> |
| 141 | <thread-pool name="batch"> |
| 142 | <max-threads count="10"/> |
| 143 | <keepalive-time time="30" unit="seconds"/> |
| 144 | </thread-pool> |
| 145 | </subsystem> |
| 146 | <subsystem xmlns="urn:jboss:domain:bean-validation:1.0"/> |
| 147 | <subsystem xmlns="urn:jboss:domain:datasources:4.0"> |
| 148 | <datasources> |
| 149 | <datasource jndi-name="java:jboss/datasources/mso-requests" pool-name="mso-requests" enabled="true" use-ccm="true"> |
| 150 | <connection-url>jdbc:mariadb://{{ .Release.Name }}-mariadb:3306/mso_requests?autoReconnect=true&connectTimeout=60000&socketTimeout=60000</connection-url> |
| 151 | <driver>mariadb</driver> |
| 152 | <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation> |
| 153 | <pool> |
| 154 | <min-pool-size>10</min-pool-size> |
| 155 | <max-pool-size>100</max-pool-size> |
| 156 | <prefill>true</prefill> |
| 157 | <use-strict-min>false</use-strict-min> |
| 158 | <flush-strategy>FailingConnectionOnly</flush-strategy> |
| 159 | </pool> |
| 160 | <security> |
| 161 | <user-name>mso</user-name> |
| 162 | <password>mso123</password> |
| 163 | </security> |
| 164 | <validation> |
| 165 | <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLValidConnectionChecker"/> |
| 166 | <validate-on-match>false</validate-on-match> |
| 167 | <background-validation>true</background-validation> |
| 168 | <background-validation-millis>20000</background-validation-millis> |
| 169 | <use-fast-fail>true</use-fast-fail> |
| 170 | <exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLExceptionSorter"/> |
| 171 | </validation> |
| 172 | <timeout> |
| 173 | <idle-timeout-minutes>15</idle-timeout-minutes> |
| 174 | <query-timeout>30</query-timeout> |
| 175 | <allocation-retry>1</allocation-retry> |
| 176 | <allocation-retry-wait-millis>3000</allocation-retry-wait-millis> |
| 177 | </timeout> |
| 178 | </datasource> |
| 179 | <datasource jndi-name="java:jboss/datasources/mso-catalog" pool-name="mso-catalog" enabled="true" use-ccm="true"> |
| 180 | <connection-url>jdbc:mariadb://{{ .Release.Name }}-mariadb:3306/mso_catalog?autoReconnect=true&connectTimeout=60000&socketTimeout=60000</connection-url> |
| 181 | <driver>mariadb</driver> |
| 182 | <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation> |
| 183 | <pool> |
| 184 | <min-pool-size>10</min-pool-size> |
| 185 | <max-pool-size>100</max-pool-size> |
| 186 | <prefill>true</prefill> |
| 187 | <use-strict-min>false</use-strict-min> |
| 188 | <flush-strategy>FailingConnectionOnly</flush-strategy> |
| 189 | </pool> |
| 190 | <security> |
| 191 | <user-name>catalog</user-name> |
| 192 | <password>catalog123</password> |
| 193 | </security> |
| 194 | <validation> |
| 195 | <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLValidConnectionChecker"/> |
| 196 | <validate-on-match>false</validate-on-match> |
| 197 | <background-validation>true</background-validation> |
| 198 | <background-validation-millis>20000</background-validation-millis> |
| 199 | <use-fast-fail>true</use-fast-fail> |
| 200 | <exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLExceptionSorter"/> |
| 201 | </validation> |
| 202 | <timeout> |
| 203 | <idle-timeout-minutes>15</idle-timeout-minutes> |
| 204 | <query-timeout>30</query-timeout> |
| 205 | <allocation-retry>1</allocation-retry> |
| 206 | <allocation-retry-wait-millis>3000</allocation-retry-wait-millis> |
| 207 | </timeout> |
| 208 | </datasource> |
| 209 | <datasource jta="true" jndi-name="java:jboss/datasources/ProcessEngine" pool-name="ProcessEngine" enabled="true" use-java-context="true" use-ccm="true"> |
| 210 | <connection-url>jdbc:mariadb://{{ .Release.Name }}-mariadb:3306/camundabpmn?autoReconnect=true&connectTimeout=60000&socketTimeout=60000</connection-url> |
| 211 | <driver>mariadb</driver> |
| 212 | <new-connection-sql>set autocommit=1</new-connection-sql> |
| 213 | <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation> |
| 214 | <pool> |
| 215 | <min-pool-size>10</min-pool-size> |
| 216 | <max-pool-size>100</max-pool-size> |
| 217 | <prefill>true</prefill> |
| 218 | <use-strict-min>false</use-strict-min> |
| 219 | <flush-strategy>FailingConnectionOnly</flush-strategy> |
| 220 | </pool> |
| 221 | <security> |
| 222 | <user-name>camunda</user-name> |
| 223 | <password>camunda123</password> |
| 224 | </security> |
| 225 | <validation> |
| 226 | <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLValidConnectionChecker"/> |
| 227 | <exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLExceptionSorter"/> |
| 228 | </validation> |
| 229 | <statement> |
| 230 | <prepared-statement-cache-size>32</prepared-statement-cache-size> |
| 231 | <share-prepared-statements>true</share-prepared-statements> |
| 232 | </statement> |
| 233 | </datasource> |
| 234 | <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true"> |
| 235 | <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE</connection-url> |
| 236 | <driver>h2</driver> |
| 237 | <security> |
| 238 | <user-name>sa</user-name> |
| 239 | <password>sa</password> |
| 240 | </security> |
| 241 | </datasource> |
| 242 | <drivers> |
| 243 | <driver name="h2" module="com.h2database.h2"> |
| 244 | <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class> |
| 245 | </driver> |
| 246 | <driver name="mariadb" module="mariadb"> |
| 247 | <xa-datasource-class>org.mariadb.jdbc.MySQLDataSource</xa-datasource-class> |
| 248 | </driver> |
| 249 | </drivers> |
| 250 | </datasources> |
| 251 | </subsystem> |
| 252 | <subsystem xmlns="urn:jboss:domain:deployment-scanner:2.0"> |
| 253 | <deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000" runtime-failure-causes-rollback="${jboss.deployment.scanner.rollback.on.failure:false}"/> |
| 254 | </subsystem> |
| 255 | <subsystem xmlns="urn:jboss:domain:ee:4.0"> |
| 256 | <spec-descriptor-property-replacement>false</spec-descriptor-property-replacement> |
| 257 | <concurrent> |
| 258 | <context-services> |
| 259 | <context-service name="default" jndi-name="java:jboss/ee/concurrency/context/default" use-transaction-setup-provider="true"/> |
| 260 | </context-services> |
| 261 | <managed-thread-factories> |
| 262 | <managed-thread-factory name="default" jndi-name="java:jboss/ee/concurrency/factory/default" context-service="default"/> |
| 263 | </managed-thread-factories> |
| 264 | <managed-executor-services> |
| 265 | <managed-executor-service name="default" jndi-name="java:jboss/ee/concurrency/executor/default" context-service="default" hung-task-threshold="60000" keepalive-time="5000"/> |
| 266 | </managed-executor-services> |
| 267 | <managed-scheduled-executor-services> |
| 268 | <managed-scheduled-executor-service name="default" jndi-name="java:jboss/ee/concurrency/scheduler/default" context-service="default" hung-task-threshold="60000" keepalive-time="3000"/> |
| 269 | </managed-scheduled-executor-services> |
| 270 | </concurrent> |
| 271 | <default-bindings context-service="java:jboss/ee/concurrency/context/default" datasource="java:jboss/datasources/ExampleDS" jms-connection-factory="java:jboss/DefaultJMSConnectionFactory" managed-executor-service="java:jboss/ee/concurrency/executor/default" managed-scheduled-executor-service="java:jboss/ee/concurrency/scheduler/default" managed-thread-factory="java:jboss/ee/concurrency/factory/default"/> |
| 272 | </subsystem> |
| 273 | <subsystem xmlns="urn:jboss:domain:ejb3:4.0"> |
| 274 | <session-bean> |
| 275 | <stateless> |
| 276 | <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/> |
| 277 | </stateless> |
| 278 | <stateful default-access-timeout="5000" cache-ref="distributable" passivation-disabled-cache-ref="simple"/> |
| 279 | <singleton default-access-timeout="5000"/> |
| 280 | </session-bean> |
| 281 | <mdb> |
| 282 | <resource-adapter-ref resource-adapter-name="${ejb.resource-adapter-name:activemq-ra.rar}"/> |
| 283 | <bean-instance-pool-ref pool-name="mdb-strict-max-pool"/> |
| 284 | </mdb> |
| 285 | <pools> |
| 286 | <bean-instance-pools> |
| 287 | <strict-max-pool name="slsb-strict-max-pool" derive-size="from-worker-pools" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/> |
| 288 | <strict-max-pool name="mdb-strict-max-pool" derive-size="from-cpu-count" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/> |
| 289 | </bean-instance-pools> |
| 290 | </pools> |
| 291 | <caches> |
| 292 | <cache name="simple"/> |
| 293 | <cache name="distributable" passivation-store-ref="infinispan" aliases="passivating clustered"/> |
| 294 | </caches> |
| 295 | <passivation-stores> |
| 296 | <passivation-store name="infinispan" cache-container="ejb" max-size="10000"/> |
| 297 | </passivation-stores> |
| 298 | <async thread-pool-name="default"/> |
| 299 | <timer-service thread-pool-name="default" default-data-store="default-file-store"> |
| 300 | <data-stores> |
| 301 | <file-data-store name="default-file-store" path="timer-service-data" relative-to="jboss.server.data.dir"/> |
| 302 | </data-stores> |
| 303 | </timer-service> |
| 304 | <remote connector-ref="http-remoting-connector" thread-pool-name="default"/> |
| 305 | <thread-pools> |
| 306 | <thread-pool name="default"> |
| 307 | <max-threads count="10"/> |
| 308 | <keepalive-time time="100" unit="milliseconds"/> |
| 309 | </thread-pool> |
| 310 | </thread-pools> |
| 311 | <iiop enable-by-default="false" use-qualified-name="false"/> |
| 312 | <default-security-domain value="other"/> |
| 313 | <default-missing-method-permissions-deny-access value="true"/> |
| 314 | <log-system-exceptions value="true"/> |
| 315 | </subsystem> |
| 316 | <subsystem xmlns="urn:jboss:domain:io:1.1"> |
| 317 | <worker name="default"/> |
| 318 | <buffer-pool name="default"/> |
| 319 | </subsystem> |
| 320 | <subsystem xmlns="urn:jboss:domain:infinispan:4.0"> |
| 321 | <cache-container name="server" aliases="singleton cluster" default-cache="default" module="org.wildfly.clustering.server"> |
| 322 | <transport lock-timeout="60000"/> |
| 323 | <replicated-cache name="default" mode="SYNC"> |
| 324 | <transaction mode="BATCH"/> |
| 325 | </replicated-cache> |
| 326 | </cache-container> |
| 327 | <cache-container name="web" default-cache="dist" module="org.wildfly.clustering.web.infinispan"> |
| 328 | <transport lock-timeout="60000"/> |
| 329 | <distributed-cache name="dist" mode="ASYNC" l1-lifespan="0" owners="2"> |
| 330 | <locking isolation="REPEATABLE_READ"/> |
| 331 | <transaction mode="BATCH"/> |
| 332 | <file-store/> |
| 333 | </distributed-cache> |
| 334 | <distributed-cache name="concurrent" mode="SYNC" l1-lifespan="0" owners="2"> |
| 335 | <file-store/> |
| 336 | </distributed-cache> |
| 337 | </cache-container> |
| 338 | <cache-container name="ejb" aliases="sfsb" default-cache="dist" module="org.wildfly.clustering.ejb.infinispan"> |
| 339 | <transport lock-timeout="60000"/> |
| 340 | <distributed-cache name="dist" mode="ASYNC" l1-lifespan="0" owners="2"> |
| 341 | <locking isolation="REPEATABLE_READ"/> |
| 342 | <transaction mode="BATCH"/> |
| 343 | <file-store/> |
| 344 | </distributed-cache> |
| 345 | </cache-container> |
| 346 | <cache-container name="hibernate" default-cache="local-query" module="org.hibernate.infinispan"> |
| 347 | <transport lock-timeout="60000"/> |
| 348 | <local-cache name="local-query"> |
| 349 | <eviction strategy="LRU" max-entries="10000"/> |
| 350 | <expiration max-idle="100000"/> |
| 351 | </local-cache> |
| 352 | <invalidation-cache name="entity" mode="SYNC"> |
| 353 | <transaction mode="NON_XA"/> |
| 354 | <eviction strategy="LRU" max-entries="10000"/> |
| 355 | <expiration max-idle="100000"/> |
| 356 | </invalidation-cache> |
| 357 | <replicated-cache name="timestamps" mode="ASYNC"/> |
| 358 | </cache-container> |
| 359 | </subsystem> |
| 360 | <subsystem xmlns="urn:jboss:domain:iiop-openjdk:1.0"> |
| 361 | <orb socket-binding="iiop" ssl-socket-binding="iiop-ssl"/> |
| 362 | <initializers security="identity" transactions="spec"/> |
| 363 | </subsystem> |
| 364 | <subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/> |
| 365 | <subsystem xmlns="urn:jboss:domain:jca:4.0"> |
| 366 | <archive-validation enabled="true" fail-on-error="true" fail-on-warn="false"/> |
| 367 | <bean-validation enabled="true"/> |
| 368 | <default-workmanager> |
| 369 | <short-running-threads> |
| 370 | <core-threads count="50"/> |
| 371 | <queue-length count="50"/> |
| 372 | <max-threads count="50"/> |
| 373 | <keepalive-time time="10" unit="seconds"/> |
| 374 | </short-running-threads> |
| 375 | <long-running-threads> |
| 376 | <core-threads count="50"/> |
| 377 | <queue-length count="50"/> |
| 378 | <max-threads count="50"/> |
| 379 | <keepalive-time time="10" unit="seconds"/> |
| 380 | </long-running-threads> |
| 381 | </default-workmanager> |
| 382 | <cached-connection-manager/> |
| 383 | </subsystem> |
| 384 | <subsystem xmlns="urn:jboss:domain:jdr:1.0"/> |
| 385 | <subsystem xmlns="urn:jboss:domain:jgroups:4.0"> |
| 386 | <channels default="ee"> |
| 387 | <channel name="ee" stack="udp"/> |
| 388 | </channels> |
| 389 | <stacks> |
| 390 | <stack name="udp"> |
| 391 | <transport type="UDP" socket-binding="jgroups-udp"/> |
| 392 | <protocol type="PING"/> |
| 393 | <protocol type="MERGE3"/> |
| 394 | <protocol type="FD_SOCK" socket-binding="jgroups-udp-fd"/> |
| 395 | <protocol type="FD_ALL"/> |
| 396 | <protocol type="VERIFY_SUSPECT"/> |
| 397 | <protocol type="pbcast.NAKACK2"/> |
| 398 | <protocol type="UNICAST3"/> |
| 399 | <protocol type="pbcast.STABLE"/> |
| 400 | <protocol type="pbcast.GMS"/> |
| 401 | <protocol type="UFC"/> |
| 402 | <protocol type="MFC"/> |
| 403 | <protocol type="FRAG2"/> |
| 404 | </stack> |
| 405 | <stack name="tcp"> |
| 406 | <transport type="TCP" socket-binding="jgroups-tcp"/> |
| 407 | <protocol type="MPING" socket-binding="jgroups-mping"/> |
| 408 | <protocol type="MERGE3"/> |
| 409 | <protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/> |
| 410 | <protocol type="FD"/> |
| 411 | <protocol type="VERIFY_SUSPECT"/> |
| 412 | <protocol type="pbcast.NAKACK2"/> |
| 413 | <protocol type="UNICAST3"/> |
| 414 | <protocol type="pbcast.STABLE"/> |
| 415 | <protocol type="pbcast.GMS"/> |
| 416 | <protocol type="MFC"/> |
| 417 | <protocol type="FRAG2"/> |
| 418 | </stack> |
| 419 | </stacks> |
| 420 | </subsystem> |
| 421 | <subsystem xmlns="urn:jboss:domain:jmx:1.3"> |
| 422 | <expose-resolved-model/> |
| 423 | <expose-expression-model/> |
| 424 | <remoting-connector/> |
| 425 | </subsystem> |
| 426 | <subsystem xmlns="urn:jboss:domain:jpa:1.1"> |
| 427 | <jpa default-datasource="" default-extended-persistence-inheritance="DEEP"/> |
| 428 | </subsystem> |
| 429 | <subsystem xmlns="urn:jboss:domain:jsf:1.0"/> |
| 430 | <subsystem xmlns="urn:jboss:domain:jsr77:1.0"/> |
| 431 | <subsystem xmlns="urn:jboss:domain:mail:2.0"> |
| 432 | <mail-session name="default" jndi-name="java:jboss/mail/Default"> |
| 433 | <smtp-server outbound-socket-binding-ref="mail-smtp"/> |
| 434 | </mail-session> |
| 435 | </subsystem> |
| 436 | <subsystem xmlns="urn:jboss:domain:messaging-activemq:1.0"> |
| 437 | <server name="default"> |
| 438 | <cluster password="${jboss.messaging.cluster.password:CHANGE ME!!}"/> |
| 439 | <security-setting name="#"> |
| 440 | <role name="guest" send="true" consume="true" create-non-durable-queue="true" delete-non-durable-queue="true"/> |
| 441 | </security-setting> |
| 442 | <address-setting name="#" dead-letter-address="jms.queue.DLQ" expiry-address="jms.queue.ExpiryQueue" max-size-bytes="10485760" page-size-bytes="2097152" message-counter-history-day-limit="10" redistribution-delay="1000"/> |
| 443 | <http-connector name="http-connector" socket-binding="http" endpoint="http-acceptor"/> |
| 444 | <http-connector name="http-connector-throughput" socket-binding="http" endpoint="http-acceptor-throughput"> |
| 445 | <param name="batch-delay" value="50"/> |
| 446 | </http-connector> |
| 447 | <in-vm-connector name="in-vm" server-id="0"/> |
| 448 | <http-acceptor name="http-acceptor" http-listener="default"/> |
| 449 | <http-acceptor name="http-acceptor-throughput" http-listener="default"> |
| 450 | <param name="batch-delay" value="50"/> |
| 451 | <param name="direct-deliver" value="false"/> |
| 452 | </http-acceptor> |
| 453 | <in-vm-acceptor name="in-vm" server-id="0"/> |
| 454 | <broadcast-group name="bg-group1" jgroups-channel="activemq-cluster" connectors="http-connector"/> |
| 455 | <discovery-group name="dg-group1" jgroups-channel="activemq-cluster"/> |
| 456 | <cluster-connection name="my-cluster" address="jms" connector-name="http-connector" discovery-group="dg-group1"/> |
| 457 | <jms-queue name="ExpiryQueue" entries="java:/jms/queue/ExpiryQueue"/> |
| 458 | <jms-queue name="DLQ" entries="java:/jms/queue/DLQ"/> |
| 459 | <connection-factory name="InVmConnectionFactory" entries="java:/ConnectionFactory" connectors="in-vm"/> |
| 460 | <connection-factory name="RemoteConnectionFactory" entries="java:jboss/exported/jms/RemoteConnectionFactory" connectors="http-connector" ha="true" block-on-acknowledge="true" reconnect-attempts="-1"/> |
| 461 | <pooled-connection-factory name="activemq-ra" entries="java:/JmsXA java:jboss/DefaultJMSConnectionFactory" connectors="in-vm" transaction="xa"/> |
| 462 | </server> |
| 463 | </subsystem> |
| 464 | <subsystem xmlns="urn:jboss:domain:modcluster:2.0"> |
| 465 | <mod-cluster-config advertise-socket="modcluster" connector="ajp"> |
| 466 | <dynamic-load-provider> |
| 467 | <load-metric type="cpu"/> |
| 468 | </dynamic-load-provider> |
| 469 | </mod-cluster-config> |
| 470 | </subsystem> |
| 471 | <subsystem xmlns="urn:jboss:domain:naming:2.0"> |
| 472 | <remote-naming/> |
| 473 | </subsystem> |
| 474 | <subsystem xmlns="urn:jboss:domain:pojo:1.0"/> |
| 475 | <subsystem xmlns="urn:jboss:domain:remoting:3.0"> |
| 476 | <endpoint/> |
| 477 | <http-connector name="http-remoting-connector" connector-ref="default" security-realm="ApplicationRealm"/> |
| 478 | </subsystem> |
| 479 | <subsystem xmlns="urn:jboss:domain:resource-adapters:4.0"/> |
| 480 | <subsystem xmlns="urn:jboss:domain:request-controller:1.0"/> |
| 481 | <subsystem xmlns="urn:jboss:domain:sar:1.0"/> |
| 482 | <subsystem xmlns="urn:jboss:domain:security-manager:1.0"> |
| 483 | <deployment-permissions> |
| 484 | <maximum-set> |
| 485 | <permission class="java.security.AllPermission"/> |
| 486 | </maximum-set> |
| 487 | </deployment-permissions> |
| 488 | </subsystem> |
| 489 | <subsystem xmlns="urn:jboss:domain:security:1.2"> |
| 490 | <security-domains> |
| 491 | <security-domain name="other" cache-type="default"> |
| 492 | <authentication> |
| 493 | <login-module code="Remoting" flag="optional"> |
| 494 | <module-option name="password-stacking" value="useFirstPass"/> |
| 495 | </login-module> |
| 496 | <login-module code="RealmDirect" flag="required"> |
| 497 | <module-option name="password-stacking" value="useFirstPass"/> |
| 498 | </login-module> |
| 499 | </authentication> |
| 500 | </security-domain> |
| 501 | <security-domain name="jboss-web-policy" cache-type="default"> |
| 502 | <authorization> |
| 503 | <policy-module code="Delegating" flag="required"/> |
| 504 | </authorization> |
| 505 | </security-domain> |
| 506 | <security-domain name="jboss-ejb-policy" cache-type="default"> |
| 507 | <authorization> |
| 508 | <policy-module code="Delegating" flag="required"/> |
| 509 | </authorization> |
| 510 | </security-domain> |
| 511 | <security-domain name="jaspitest" cache-type="default"> |
| 512 | <authentication-jaspi> |
| 513 | <login-module-stack name="dummy"> |
| 514 | <login-module code="Dummy" flag="optional"/> |
| 515 | </login-module-stack> |
| 516 | <auth-module code="Dummy"/> |
| 517 | </authentication-jaspi> |
| 518 | </security-domain> |
| 519 | </security-domains> |
| 520 | </subsystem> |
| 521 | <subsystem xmlns="urn:jboss:domain:singleton:1.0"> |
| 522 | <singleton-policies default="default"> |
| 523 | <singleton-policy name="default" cache-container="server"> |
| 524 | <simple-election-policy/> |
| 525 | </singleton-policy> |
| 526 | </singleton-policies> |
| 527 | </subsystem> |
| 528 | <subsystem xmlns="urn:jboss:domain:transactions:3.0"> |
| 529 | <core-environment> |
| 530 | <process-id> |
| 531 | <uuid/> |
| 532 | </process-id> |
| 533 | </core-environment> |
| 534 | <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/> |
| 535 | </subsystem> |
| 536 | <subsystem xmlns="urn:jboss:domain:undertow:3.1"> |
| 537 | <buffer-cache name="default"/> |
| 538 | <server name="default-server"> |
| 539 | <ajp-listener name="ajp" socket-binding="ajp"/> |
| 540 | <http-listener name="default" socket-binding="http" enable-http2="true"/> |
| 541 | <https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true"/> |
| 542 | <host name="default-host" alias="localhost"> |
| 543 | <location name="/" handler="welcome-content"/> |
| 544 | <filter-ref name="server-header"/> |
| 545 | <filter-ref name="x-powered-by-header"/> |
| 546 | </host> |
| 547 | </server> |
| 548 | <servlet-container name="default"> |
| 549 | <jsp-config/> |
| 550 | <websockets/> |
| 551 | </servlet-container> |
| 552 | <handlers> |
| 553 | <file name="welcome-content" path="${jboss.home.dir}/welcome-content"/> |
| 554 | </handlers> |
| 555 | <filters> |
| 556 | <response-header name="server-header" header-name="Server" header-value="WildFly/10"/> |
| 557 | <response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1"/> |
| 558 | </filters> |
| 559 | </subsystem> |
| 560 | <subsystem xmlns="urn:jboss:domain:webservices:2.0"> |
| 561 | <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host> |
| 562 | <endpoint-config name="Standard-Endpoint-Config"/> |
| 563 | <endpoint-config name="Recording-Endpoint-Config"> |
| 564 | <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM"> |
| 565 | <handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/> |
| 566 | </pre-handler-chain> |
| 567 | </endpoint-config> |
| 568 | <client-config name="Standard-Client-Config"/> |
| 569 | </subsystem> |
| 570 | <subsystem xmlns="urn:jboss:domain:weld:3.0"/> |
| 571 | </profile> |
| 572 | |
| 573 | <interfaces> |
| 574 | <interface name="management"> |
| 575 | <inet-address value="${jboss.bind.address.management:127.0.0.1}"/> |
| 576 | </interface> |
| 577 | <interface name="public"> |
| 578 | <inet-address value="${jboss.bind.address:127.0.0.1}"/> |
| 579 | </interface> |
| 580 | <interface name="private"> |
| 581 | <inet-address value="${jboss.bind.address.private:127.0.0.1}"/> |
| 582 | </interface> |
| 583 | <interface name="unsecure"> |
| 584 | <inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/> |
| 585 | </interface> |
| 586 | </interfaces> |
| 587 | |
| 588 | <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}"> |
| 589 | <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/> |
| 590 | <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9993}"/> |
| 591 | <socket-binding name="ajp" port="${jboss.ajp.port:8009}"/> |
| 592 | <socket-binding name="http" port="${jboss.http.port:8080}"/> |
| 593 | <socket-binding name="https" port="${jboss.https.port:8443}"/> |
| 594 | <socket-binding name="iiop" interface="unsecure" port="3528"/> |
| 595 | <socket-binding name="iiop-ssl" interface="unsecure" port="3529"/> |
| 596 | <socket-binding name="jgroups-mping" interface="private" port="0" multicast-address="${jboss.default.multicast.address:230.0.0.4}" multicast-port="45700"/> |
| 597 | <socket-binding name="jgroups-tcp" interface="private" port="7600"/> |
| 598 | <socket-binding name="jgroups-tcp-fd" interface="private" port="57600"/> |
| 599 | <socket-binding name="jgroups-udp" interface="private" port="55200" multicast-address="${jboss.default.multicast.address:230.0.0.4}" multicast-port="45688"/> |
| 600 | <socket-binding name="jgroups-udp-fd" interface="private" port="54200"/> |
| 601 | <socket-binding name="modcluster" port="0" multicast-address="224.0.1.105" multicast-port="23364"/> |
| 602 | <socket-binding name="txn-recovery-environment" port="4712"/> |
| 603 | <socket-binding name="txn-status-manager" port="4713"/> |
| 604 | <outbound-socket-binding name="mail-smtp"> |
| 605 | <remote-destination host="localhost" port="25"/> |
| 606 | </outbound-socket-binding> |
| 607 | </socket-binding-group> |
| 608 | |
| 609 | </server> |