domain.xml 73 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <domain xmlns="urn:jboss:domain:1.4">
  3. <extensions>
  4. <extension module="org.jboss.as.clustering.infinispan"/>
  5. <extension module="org.jboss.as.clustering.jgroups"/>
  6. <extension module="org.jboss.as.cmp"/>
  7. <extension module="org.jboss.as.configadmin"/>
  8. <extension module="org.jboss.as.connector"/>
  9. <extension module="org.jboss.as.ee"/>
  10. <extension module="org.jboss.as.ejb3"/>
  11. <extension module="org.jboss.as.jacorb"/>
  12. <extension module="org.jboss.as.jaxr"/>
  13. <extension module="org.jboss.as.jaxrs"/>
  14. <extension module="org.jboss.as.jdr"/>
  15. <extension module="org.jboss.as.jmx"/>
  16. <extension module="org.jboss.as.jpa"/>
  17. <extension module="org.jboss.as.jsf"/>
  18. <extension module="org.jboss.as.jsr77"/>
  19. <extension module="org.jboss.as.logging"/>
  20. <extension module="org.jboss.as.mail"/>
  21. <extension module="org.jboss.as.messaging"/>
  22. <extension module="org.jboss.as.modcluster"/>
  23. <extension module="org.jboss.as.naming"/>
  24. <extension module="org.jboss.as.pojo"/>
  25. <extension module="org.jboss.as.remoting"/>
  26. <extension module="org.jboss.as.sar"/>
  27. <extension module="org.jboss.as.security"/>
  28. <extension module="org.jboss.as.threads"/>
  29. <extension module="org.jboss.as.transactions"/>
  30. <extension module="org.jboss.as.web"/>
  31. <extension module="org.jboss.as.webservices"/>
  32. <extension module="org.jboss.as.weld"/>
  33. </extensions>
  34. <system-properties>
  35. <!-- IPv4 is not required, but setting this helps avoid unintended use of IPv6 -->
  36. <property name="java.net.preferIPv4Stack" value="true"/>
  37. </system-properties>
  38. <profiles>
  39. <profile name="default">
  40. <subsystem xmlns="urn:jboss:domain:logging:1.2">
  41. <console-handler name="CONSOLE">
  42. <level name="INFO"/>
  43. <formatter>
  44. <pattern-formatter pattern="%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
  45. </formatter>
  46. </console-handler>
  47. <periodic-rotating-file-handler name="FILE" autoflush="true">
  48. <formatter>
  49. <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
  50. </formatter>
  51. <file relative-to="jboss.server.log.dir" path="server.log"/>
  52. <suffix value=".yyyy-MM-dd"/>
  53. <append value="true"/>
  54. </periodic-rotating-file-handler>
  55. <logger category="com.arjuna">
  56. <level name="WARN"/>
  57. </logger>
  58. <logger category="org.apache.tomcat.util.modeler">
  59. <level name="WARN"/>
  60. </logger>
  61. <logger category="org.jboss.as.config">
  62. <level name="DEBUG"/>
  63. </logger>
  64. <logger category="sun.rmi">
  65. <level name="WARN"/>
  66. </logger>
  67. <logger category="jacorb">
  68. <level name="WARN"/>
  69. </logger>
  70. <logger category="jacorb.config">
  71. <level name="ERROR"/>
  72. </logger>
  73. <root-logger>
  74. <level name="INFO"/>
  75. <handlers>
  76. <handler name="CONSOLE"/>
  77. <handler name="FILE"/>
  78. </handlers>
  79. </root-logger>
  80. </subsystem>
  81. <subsystem xmlns="urn:jboss:domain:configadmin:1.0"/>
  82. <subsystem xmlns="urn:jboss:domain:datasources:1.1">
  83. <datasources>
  84. <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
  85. <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>
  86. <driver>h2</driver>
  87. <security>
  88. <user-name>sa</user-name>
  89. <password>sa</password>
  90. </security>
  91. </datasource>
  92. <drivers>
  93. <driver name="h2" module="com.h2database.h2">
  94. <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
  95. </driver>
  96. </drivers>
  97. </datasources>
  98. </subsystem>
  99. <subsystem xmlns="urn:jboss:domain:ee:1.1">
  100. <spec-descriptor-property-replacement>false</spec-descriptor-property-replacement>
  101. <jboss-descriptor-property-replacement>true</jboss-descriptor-property-replacement>
  102. </subsystem>
  103. <subsystem xmlns="urn:jboss:domain:ejb3:1.4">
  104. <session-bean>
  105. <stateless>
  106. <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>
  107. </stateless>
  108. <stateful default-access-timeout="5000" cache-ref="simple"/>
  109. <singleton default-access-timeout="5000"/>
  110. </session-bean>
  111. <pools>
  112. <bean-instance-pools>
  113. <strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
  114. <strict-max-pool name="mdb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
  115. </bean-instance-pools>
  116. </pools>
  117. <caches>
  118. <cache name="simple" aliases="NoPassivationCache"/>
  119. <cache name="passivating" passivation-store-ref="file" aliases="SimpleStatefulCache"/>
  120. </caches>
  121. <passivation-stores>
  122. <file-passivation-store name="file"/>
  123. </passivation-stores>
  124. <async thread-pool-name="default"/>
  125. <timer-service thread-pool-name="default">
  126. <data-store path="timer-service-data" relative-to="jboss.server.data.dir"/>
  127. </timer-service>
  128. <remote connector-ref="remoting-connector" thread-pool-name="default"/>
  129. <thread-pools>
  130. <thread-pool name="default">
  131. <max-threads count="10"/>
  132. <keepalive-time time="100" unit="milliseconds"/>
  133. </thread-pool>
  134. </thread-pools>
  135. <default-security-domain value="other"/>
  136. <default-missing-method-permissions-deny-access value="true"/>
  137. </subsystem>
  138. <subsystem xmlns="urn:jboss:domain:infinispan:1.4">
  139. <cache-container name="web" aliases="standard-session-cache" default-cache="local-web" module="org.jboss.as.clustering.web.infinispan">
  140. <local-cache name="local-web" batching="true">
  141. <file-store passivation="false" purge="false"/>
  142. </local-cache>
  143. </cache-container>
  144. <cache-container name="hibernate" default-cache="local-query" module="org.jboss.as.jpa.hibernate:4">
  145. <local-cache name="entity">
  146. <transaction mode="NON_XA"/>
  147. <eviction strategy="LRU" max-entries="10000"/>
  148. <expiration max-idle="100000"/>
  149. </local-cache>
  150. <local-cache name="local-query">
  151. <transaction mode="NONE"/>
  152. <eviction strategy="LRU" max-entries="10000"/>
  153. <expiration max-idle="100000"/>
  154. </local-cache>
  155. <local-cache name="timestamps">
  156. <transaction mode="NONE"/>
  157. <eviction strategy="NONE"/>
  158. </local-cache>
  159. </cache-container>
  160. </subsystem>
  161. <subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>
  162. <subsystem xmlns="urn:jboss:domain:jca:1.1">
  163. <archive-validation enabled="true" fail-on-error="true" fail-on-warn="false"/>
  164. <bean-validation enabled="true"/>
  165. <default-workmanager>
  166. <short-running-threads>
  167. <core-threads count="50"/>
  168. <queue-length count="50"/>
  169. <max-threads count="50"/>
  170. <keepalive-time time="10" unit="seconds"/>
  171. </short-running-threads>
  172. <long-running-threads>
  173. <core-threads count="50"/>
  174. <queue-length count="50"/>
  175. <max-threads count="50"/>
  176. <keepalive-time time="10" unit="seconds"/>
  177. </long-running-threads>
  178. </default-workmanager>
  179. <cached-connection-manager/>
  180. </subsystem>
  181. <subsystem xmlns="urn:jboss:domain:jdr:1.0"/>
  182. <subsystem xmlns="urn:jboss:domain:jmx:1.2">
  183. <expose-resolved-model/>
  184. <expose-expression-model/>
  185. <!--<remoting-connector use-management-endpoint="false"/>-->
  186. </subsystem>
  187. <subsystem xmlns="urn:jboss:domain:jpa:1.1">
  188. <jpa default-datasource="" default-extended-persistence-inheritance="DEEP"/>
  189. </subsystem>
  190. <subsystem xmlns="urn:jboss:domain:jsf:1.0"/>
  191. <subsystem xmlns="urn:jboss:domain:mail:1.0">
  192. <mail-session jndi-name="java:jboss/mail/Default">
  193. <smtp-server outbound-socket-binding-ref="mail-smtp"/>
  194. </mail-session>
  195. </subsystem>
  196. <subsystem xmlns="urn:jboss:domain:naming:1.2">
  197. <remote-naming/>
  198. </subsystem>
  199. <subsystem xmlns="urn:jboss:domain:pojo:1.0"/>
  200. <subsystem xmlns="urn:jboss:domain:remoting:1.1">
  201. <connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/>
  202. </subsystem>
  203. <subsystem xmlns="urn:jboss:domain:resource-adapters:1.0"/>
  204. <subsystem xmlns="urn:jboss:domain:sar:1.0"/>
  205. <subsystem xmlns="urn:jboss:domain:security:1.2">
  206. <security-domains>
  207. <security-domain name="other" cache-type="default">
  208. <authentication>
  209. <login-module code="Remoting" flag="optional">
  210. <module-option name="password-stacking" value="useFirstPass"/>
  211. </login-module>
  212. <login-module code="RealmDirect" flag="required">
  213. <module-option name="password-stacking" value="useFirstPass"/>
  214. </login-module>
  215. </authentication>
  216. </security-domain>
  217. <security-domain name="jboss-web-policy" cache-type="default">
  218. <authorization>
  219. <policy-module code="Delegating" flag="required"/>
  220. </authorization>
  221. </security-domain>
  222. <security-domain name="jboss-ejb-policy" cache-type="default">
  223. <authorization>
  224. <policy-module code="Delegating" flag="required"/>
  225. </authorization>
  226. </security-domain>
  227. </security-domains>
  228. </subsystem>
  229. <subsystem xmlns="urn:jboss:domain:threads:1.1"/>
  230. <subsystem xmlns="urn:jboss:domain:transactions:1.2">
  231. <core-environment>
  232. <process-id>
  233. <uuid/>
  234. </process-id>
  235. </core-environment>
  236. <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
  237. <coordinator-environment default-timeout="300"/>
  238. </subsystem>
  239. <subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" native="false">
  240. <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
  241. <virtual-server name="default-host" enable-welcome-root="true">
  242. <alias name="localhost"/>
  243. <alias name="example.com"/>
  244. </virtual-server>
  245. </subsystem>
  246. <subsystem xmlns="urn:jboss:domain:webservices:1.2">
  247. <modify-wsdl-address>true</modify-wsdl-address>
  248. <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>
  249. <endpoint-config name="Standard-Endpoint-Config"/>
  250. <endpoint-config name="Recording-Endpoint-Config">
  251. <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">
  252. <handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>
  253. </pre-handler-chain>
  254. </endpoint-config>
  255. <client-config name="Standard-Client-Config"/>
  256. </subsystem>
  257. <subsystem xmlns="urn:jboss:domain:weld:1.0"/>
  258. </profile>
  259. <profile name="ha">
  260. <subsystem xmlns="urn:jboss:domain:logging:1.2">
  261. <console-handler name="CONSOLE">
  262. <level name="INFO"/>
  263. <formatter>
  264. <pattern-formatter pattern="%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
  265. </formatter>
  266. </console-handler>
  267. <periodic-rotating-file-handler name="FILE" autoflush="true">
  268. <formatter>
  269. <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
  270. </formatter>
  271. <file relative-to="jboss.server.log.dir" path="server.log"/>
  272. <suffix value=".yyyy-MM-dd"/>
  273. <append value="true"/>
  274. </periodic-rotating-file-handler>
  275. <logger category="com.arjuna">
  276. <level name="WARN"/>
  277. </logger>
  278. <logger category="org.apache.tomcat.util.modeler">
  279. <level name="WARN"/>
  280. </logger>
  281. <logger category="org.jboss.as.config">
  282. <level name="DEBUG"/>
  283. </logger>
  284. <logger category="sun.rmi">
  285. <level name="WARN"/>
  286. </logger>
  287. <logger category="jacorb">
  288. <level name="WARN"/>
  289. </logger>
  290. <logger category="jacorb.config">
  291. <level name="ERROR"/>
  292. </logger>
  293. <root-logger>
  294. <level name="INFO"/>
  295. <handlers>
  296. <handler name="CONSOLE"/>
  297. <handler name="FILE"/>
  298. </handlers>
  299. </root-logger>
  300. </subsystem>
  301. <subsystem xmlns="urn:jboss:domain:configadmin:1.0"/>
  302. <subsystem xmlns="urn:jboss:domain:datasources:1.1">
  303. <datasources>
  304. <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
  305. <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>
  306. <driver>h2</driver>
  307. <security>
  308. <user-name>sa</user-name>
  309. <password>sa</password>
  310. </security>
  311. </datasource>
  312. <drivers>
  313. <driver name="h2" module="com.h2database.h2">
  314. <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
  315. </driver>
  316. </drivers>
  317. </datasources>
  318. </subsystem>
  319. <subsystem xmlns="urn:jboss:domain:ee:1.1">
  320. <spec-descriptor-property-replacement>false</spec-descriptor-property-replacement>
  321. <jboss-descriptor-property-replacement>true</jboss-descriptor-property-replacement>
  322. </subsystem>
  323. <subsystem xmlns="urn:jboss:domain:ejb3:1.4">
  324. <session-bean>
  325. <stateless>
  326. <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>
  327. </stateless>
  328. <stateful default-access-timeout="5000" cache-ref="simple" clustered-cache-ref="clustered"/>
  329. <singleton default-access-timeout="5000"/>
  330. </session-bean>
  331. <pools>
  332. <bean-instance-pools>
  333. <strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
  334. <strict-max-pool name="mdb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
  335. </bean-instance-pools>
  336. </pools>
  337. <caches>
  338. <cache name="simple" aliases="NoPassivationCache"/>
  339. <cache name="passivating" passivation-store-ref="file" aliases="SimpleStatefulCache"/>
  340. <cache name="clustered" passivation-store-ref="infinispan" aliases="StatefulTreeCache"/>
  341. </caches>
  342. <passivation-stores>
  343. <file-passivation-store name="file"/>
  344. <cluster-passivation-store name="infinispan" cache-container="ejb"/>
  345. </passivation-stores>
  346. <async thread-pool-name="default"/>
  347. <timer-service thread-pool-name="default">
  348. <data-store path="timer-service-data" relative-to="jboss.server.data.dir"/>
  349. </timer-service>
  350. <remote connector-ref="remoting-connector" thread-pool-name="default"/>
  351. <thread-pools>
  352. <thread-pool name="default">
  353. <max-threads count="10"/>
  354. <keepalive-time time="100" unit="milliseconds"/>
  355. </thread-pool>
  356. </thread-pools>
  357. <default-security-domain value="other"/>
  358. <default-missing-method-permissions-deny-access value="true"/>
  359. </subsystem>
  360. <subsystem xmlns="urn:jboss:domain:infinispan:1.4">
  361. <cache-container name="singleton" aliases="cluster ha-partition" default-cache="default">
  362. <transport lock-timeout="60000"/>
  363. <replicated-cache name="default" mode="SYNC" batching="true">
  364. <locking isolation="REPEATABLE_READ"/>
  365. </replicated-cache>
  366. </cache-container>
  367. <cache-container name="web" aliases="standard-session-cache" default-cache="repl" module="org.jboss.as.clustering.web.infinispan">
  368. <transport lock-timeout="60000"/>
  369. <replicated-cache name="repl" mode="ASYNC" batching="true">
  370. <file-store/>
  371. </replicated-cache>
  372. <replicated-cache name="sso" mode="SYNC" batching="true"/>
  373. <distributed-cache name="dist" mode="ASYNC" batching="true" l1-lifespan="0">
  374. <file-store/>
  375. </distributed-cache>
  376. </cache-container>
  377. <cache-container name="ejb" aliases="sfsb sfsb-cache" default-cache="repl" module="org.jboss.as.clustering.ejb3.infinispan">
  378. <transport lock-timeout="60000"/>
  379. <replicated-cache name="repl" mode="ASYNC" batching="true">
  380. <eviction strategy="LRU" max-entries="10000"/>
  381. <file-store/>
  382. </replicated-cache>
  383. <!--
  384. ~ Clustered cache used internally by EJB subsytem for managing the client-mapping(s) of
  385. ~ the socketbinding referenced by the EJB remoting connector
  386. -->
  387. <replicated-cache name="remote-connector-client-mappings" mode="SYNC" batching="true"/>
  388. <distributed-cache name="dist" mode="ASYNC" batching="true" l1-lifespan="0">
  389. <eviction strategy="LRU" max-entries="10000"/>
  390. <file-store/>
  391. </distributed-cache>
  392. </cache-container>
  393. <cache-container name="hibernate" default-cache="local-query" module="org.jboss.as.jpa.hibernate:4">
  394. <transport lock-timeout="60000"/>
  395. <local-cache name="local-query">
  396. <transaction mode="NONE"/>
  397. <eviction strategy="LRU" max-entries="10000"/>
  398. <expiration max-idle="100000"/>
  399. </local-cache>
  400. <invalidation-cache name="entity" mode="SYNC">
  401. <transaction mode="NON_XA"/>
  402. <eviction strategy="LRU" max-entries="10000"/>
  403. <expiration max-idle="100000"/>
  404. </invalidation-cache>
  405. <replicated-cache name="timestamps" mode="ASYNC">
  406. <transaction mode="NONE"/>
  407. <eviction strategy="NONE"/>
  408. </replicated-cache>
  409. </cache-container>
  410. </subsystem>
  411. <subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>
  412. <subsystem xmlns="urn:jboss:domain:jca:1.1">
  413. <archive-validation enabled="true" fail-on-error="true" fail-on-warn="false"/>
  414. <bean-validation enabled="true"/>
  415. <default-workmanager>
  416. <short-running-threads>
  417. <core-threads count="50"/>
  418. <queue-length count="50"/>
  419. <max-threads count="50"/>
  420. <keepalive-time time="10" unit="seconds"/>
  421. </short-running-threads>
  422. <long-running-threads>
  423. <core-threads count="50"/>
  424. <queue-length count="50"/>
  425. <max-threads count="50"/>
  426. <keepalive-time time="10" unit="seconds"/>
  427. </long-running-threads>
  428. </default-workmanager>
  429. <cached-connection-manager/>
  430. </subsystem>
  431. <subsystem xmlns="urn:jboss:domain:jdr:1.0"/>
  432. <subsystem xmlns="urn:jboss:domain:jgroups:1.1" default-stack="udp">
  433. <stack name="udp">
  434. <transport type="UDP" socket-binding="jgroups-udp"/>
  435. <protocol type="PING"/>
  436. <protocol type="MERGE3"/>
  437. <protocol type="FD_SOCK" socket-binding="jgroups-udp-fd"/>
  438. <protocol type="FD"/>
  439. <protocol type="VERIFY_SUSPECT"/>
  440. <protocol type="pbcast.NAKACK2"/>
  441. <protocol type="UNICAST2"/>
  442. <protocol type="pbcast.STABLE"/>
  443. <protocol type="pbcast.GMS"/>
  444. <protocol type="UFC"/>
  445. <protocol type="MFC"/>
  446. <protocol type="FRAG2"/>
  447. <protocol type="RSVP"/>
  448. </stack>
  449. <stack name="tcp">
  450. <transport type="TCP" socket-binding="jgroups-tcp"/>
  451. <protocol type="MPING" socket-binding="jgroups-mping"/>
  452. <protocol type="MERGE2"/>
  453. <protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/>
  454. <protocol type="FD"/>
  455. <protocol type="VERIFY_SUSPECT"/>
  456. <protocol type="pbcast.NAKACK2"/>
  457. <protocol type="UNICAST2"/>
  458. <protocol type="pbcast.STABLE"/>
  459. <protocol type="pbcast.GMS"/>
  460. <protocol type="UFC"/>
  461. <protocol type="MFC"/>
  462. <protocol type="FRAG2"/>
  463. <protocol type="RSVP"/>
  464. </stack>
  465. </subsystem>
  466. <subsystem xmlns="urn:jboss:domain:jmx:1.2">
  467. <expose-resolved-model/>
  468. <expose-expression-model/>
  469. <!--<remoting-connector use-management-endpoint="false"/>-->
  470. </subsystem>
  471. <subsystem xmlns="urn:jboss:domain:jpa:1.1">
  472. <jpa default-datasource="" default-extended-persistence-inheritance="DEEP"/>
  473. </subsystem>
  474. <subsystem xmlns="urn:jboss:domain:jsf:1.0"/>
  475. <subsystem xmlns="urn:jboss:domain:mail:1.0">
  476. <mail-session jndi-name="java:jboss/mail/Default">
  477. <smtp-server outbound-socket-binding-ref="mail-smtp"/>
  478. </mail-session>
  479. </subsystem>
  480. <subsystem xmlns="urn:jboss:domain:modcluster:1.1">
  481. <mod-cluster-config advertise-socket="modcluster" connector="ajp">
  482. <dynamic-load-provider>
  483. <load-metric type="busyness"/>
  484. </dynamic-load-provider>
  485. </mod-cluster-config>
  486. </subsystem>
  487. <subsystem xmlns="urn:jboss:domain:naming:1.2">
  488. <remote-naming/>
  489. </subsystem>
  490. <subsystem xmlns="urn:jboss:domain:pojo:1.0"/>
  491. <subsystem xmlns="urn:jboss:domain:remoting:1.1">
  492. <connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/>
  493. </subsystem>
  494. <subsystem xmlns="urn:jboss:domain:resource-adapters:1.0"/>
  495. <subsystem xmlns="urn:jboss:domain:sar:1.0"/>
  496. <subsystem xmlns="urn:jboss:domain:security:1.2">
  497. <security-domains>
  498. <security-domain name="other" cache-type="default">
  499. <authentication>
  500. <login-module code="Remoting" flag="optional">
  501. <module-option name="password-stacking" value="useFirstPass"/>
  502. </login-module>
  503. <login-module code="RealmDirect" flag="required">
  504. <module-option name="password-stacking" value="useFirstPass"/>
  505. </login-module>
  506. </authentication>
  507. </security-domain>
  508. <security-domain name="jboss-web-policy" cache-type="default">
  509. <authorization>
  510. <policy-module code="Delegating" flag="required"/>
  511. </authorization>
  512. </security-domain>
  513. <security-domain name="jboss-ejb-policy" cache-type="default">
  514. <authorization>
  515. <policy-module code="Delegating" flag="required"/>
  516. </authorization>
  517. </security-domain>
  518. </security-domains>
  519. </subsystem>
  520. <subsystem xmlns="urn:jboss:domain:threads:1.1"/>
  521. <subsystem xmlns="urn:jboss:domain:transactions:1.2">
  522. <core-environment>
  523. <process-id>
  524. <uuid/>
  525. </process-id>
  526. </core-environment>
  527. <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
  528. <coordinator-environment default-timeout="300"/>
  529. </subsystem>
  530. <subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" native="false">
  531. <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
  532. <connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp"/>
  533. <virtual-server name="default-host" enable-welcome-root="true">
  534. <alias name="localhost"/>
  535. <alias name="example.com"/>
  536. </virtual-server>
  537. </subsystem>
  538. <subsystem xmlns="urn:jboss:domain:webservices:1.2">
  539. <modify-wsdl-address>true</modify-wsdl-address>
  540. <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>
  541. <endpoint-config name="Standard-Endpoint-Config"/>
  542. <endpoint-config name="Recording-Endpoint-Config">
  543. <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">
  544. <handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>
  545. </pre-handler-chain>
  546. </endpoint-config>
  547. <client-config name="Standard-Client-Config"/>
  548. </subsystem>
  549. <subsystem xmlns="urn:jboss:domain:weld:1.0"/>
  550. </profile>
  551. <profile name="full">
  552. <subsystem xmlns="urn:jboss:domain:logging:1.2">
  553. <console-handler name="CONSOLE">
  554. <level name="INFO"/>
  555. <formatter>
  556. <pattern-formatter pattern="%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
  557. </formatter>
  558. </console-handler>
  559. <periodic-rotating-file-handler name="FILE" autoflush="true">
  560. <formatter>
  561. <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
  562. </formatter>
  563. <file relative-to="jboss.server.log.dir" path="server.log"/>
  564. <suffix value=".yyyy-MM-dd"/>
  565. <append value="true"/>
  566. </periodic-rotating-file-handler>
  567. <logger category="com.arjuna">
  568. <level name="WARN"/>
  569. </logger>
  570. <logger category="org.apache.tomcat.util.modeler">
  571. <level name="WARN"/>
  572. </logger>
  573. <logger category="org.jboss.as.config">
  574. <level name="DEBUG"/>
  575. </logger>
  576. <logger category="sun.rmi">
  577. <level name="WARN"/>
  578. </logger>
  579. <logger category="jacorb">
  580. <level name="WARN"/>
  581. </logger>
  582. <logger category="jacorb.config">
  583. <level name="ERROR"/>
  584. </logger>
  585. <root-logger>
  586. <level name="INFO"/>
  587. <handlers>
  588. <handler name="CONSOLE"/>
  589. <handler name="FILE"/>
  590. </handlers>
  591. </root-logger>
  592. </subsystem>
  593. <subsystem xmlns="urn:jboss:domain:cmp:1.0"/>
  594. <subsystem xmlns="urn:jboss:domain:configadmin:1.0"/>
  595. <subsystem xmlns="urn:jboss:domain:datasources:1.1">
  596. <datasources>
  597. <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
  598. <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>
  599. <driver>h2</driver>
  600. <security>
  601. <user-name>sa</user-name>
  602. <password>sa</password>
  603. </security>
  604. </datasource>
  605. <drivers>
  606. <driver name="h2" module="com.h2database.h2">
  607. <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
  608. </driver>
  609. </drivers>
  610. </datasources>
  611. </subsystem>
  612. <subsystem xmlns="urn:jboss:domain:ee:1.1">
  613. <spec-descriptor-property-replacement>false</spec-descriptor-property-replacement>
  614. <jboss-descriptor-property-replacement>true</jboss-descriptor-property-replacement>
  615. </subsystem>
  616. <subsystem xmlns="urn:jboss:domain:ejb3:1.4">
  617. <session-bean>
  618. <stateless>
  619. <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>
  620. </stateless>
  621. <stateful default-access-timeout="5000" cache-ref="simple"/>
  622. <singleton default-access-timeout="5000"/>
  623. </session-bean>
  624. <mdb>
  625. <resource-adapter-ref resource-adapter-name="hornetq-ra"/>
  626. <bean-instance-pool-ref pool-name="mdb-strict-max-pool"/>
  627. </mdb>
  628. <pools>
  629. <bean-instance-pools>
  630. <strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
  631. <strict-max-pool name="mdb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
  632. </bean-instance-pools>
  633. </pools>
  634. <caches>
  635. <cache name="simple" aliases="NoPassivationCache"/>
  636. <cache name="passivating" passivation-store-ref="file" aliases="SimpleStatefulCache"/>
  637. </caches>
  638. <passivation-stores>
  639. <file-passivation-store name="file"/>
  640. </passivation-stores>
  641. <async thread-pool-name="default"/>
  642. <timer-service thread-pool-name="default">
  643. <data-store path="timer-service-data" relative-to="jboss.server.data.dir"/>
  644. </timer-service>
  645. <remote connector-ref="remoting-connector" thread-pool-name="default"/>
  646. <thread-pools>
  647. <thread-pool name="default">
  648. <max-threads count="10"/>
  649. <keepalive-time time="100" unit="milliseconds"/>
  650. </thread-pool>
  651. </thread-pools>
  652. <iiop enable-by-default="false" use-qualified-name="false"/>
  653. <default-security-domain value="other"/>
  654. <default-missing-method-permissions-deny-access value="true"/>
  655. </subsystem>
  656. <subsystem xmlns="urn:jboss:domain:infinispan:1.4">
  657. <cache-container name="web" aliases="standard-session-cache" default-cache="local-web" module="org.jboss.as.clustering.web.infinispan">
  658. <local-cache name="local-web" batching="true">
  659. <file-store passivation="false" purge="false"/>
  660. </local-cache>
  661. </cache-container>
  662. <cache-container name="hibernate" default-cache="local-query" module="org.jboss.as.jpa.hibernate:4">
  663. <local-cache name="entity">
  664. <transaction mode="NON_XA"/>
  665. <eviction strategy="LRU" max-entries="10000"/>
  666. <expiration max-idle="100000"/>
  667. </local-cache>
  668. <local-cache name="local-query">
  669. <transaction mode="NONE"/>
  670. <eviction strategy="LRU" max-entries="10000"/>
  671. <expiration max-idle="100000"/>
  672. </local-cache>
  673. <local-cache name="timestamps">
  674. <transaction mode="NONE"/>
  675. <eviction strategy="NONE"/>
  676. </local-cache>
  677. </cache-container>
  678. </subsystem>
  679. <subsystem xmlns="urn:jboss:domain:jacorb:1.3">
  680. <orb socket-binding="jacorb" ssl-socket-binding="jacorb-ssl">
  681. <initializers transactions="spec" security="identity"/>
  682. </orb>
  683. </subsystem>
  684. <subsystem xmlns="urn:jboss:domain:jaxr:1.1">
  685. <connection-factory jndi-name="java:jboss/jaxr/ConnectionFactory"/>
  686. </subsystem>
  687. <subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>
  688. <subsystem xmlns="urn:jboss:domain:jca:1.1">
  689. <archive-validation enabled="true" fail-on-error="true" fail-on-warn="false"/>
  690. <bean-validation enabled="true"/>
  691. <default-workmanager>
  692. <short-running-threads>
  693. <core-threads count="50"/>
  694. <queue-length count="50"/>
  695. <max-threads count="50"/>
  696. <keepalive-time time="10" unit="seconds"/>
  697. </short-running-threads>
  698. <long-running-threads>
  699. <core-threads count="50"/>
  700. <queue-length count="50"/>
  701. <max-threads count="50"/>
  702. <keepalive-time time="10" unit="seconds"/>
  703. </long-running-threads>
  704. </default-workmanager>
  705. <cached-connection-manager/>
  706. </subsystem>
  707. <subsystem xmlns="urn:jboss:domain:jdr:1.0"/>
  708. <subsystem xmlns="urn:jboss:domain:jmx:1.2">
  709. <expose-resolved-model/>
  710. <expose-expression-model/>
  711. <!--<remoting-connector use-management-endpoint="false"/>-->
  712. </subsystem>
  713. <subsystem xmlns="urn:jboss:domain:jpa:1.1">
  714. <jpa default-datasource="" default-extended-persistence-inheritance="DEEP"/>
  715. </subsystem>
  716. <subsystem xmlns="urn:jboss:domain:jsf:1.0"/>
  717. <subsystem xmlns="urn:jboss:domain:jsr77:1.0"/>
  718. <subsystem xmlns="urn:jboss:domain:mail:1.0">
  719. <mail-session jndi-name="java:jboss/mail/Default">
  720. <smtp-server outbound-socket-binding-ref="mail-smtp"/>
  721. </mail-session>
  722. </subsystem>
  723. <subsystem xmlns="urn:jboss:domain:messaging:1.3">
  724. <hornetq-server>
  725. <persistence-enabled>true</persistence-enabled>
  726. <journal-file-size>102400</journal-file-size>
  727. <journal-min-files>2</journal-min-files>
  728. <connectors>
  729. <netty-connector name="netty" socket-binding="messaging"/>
  730. <netty-connector name="netty-throughput" socket-binding="messaging-throughput">
  731. <param key="batch-delay" value="50"/>
  732. </netty-connector>
  733. <in-vm-connector name="in-vm" server-id="0"/>
  734. </connectors>
  735. <acceptors>
  736. <netty-acceptor name="netty" socket-binding="messaging"/>
  737. <netty-acceptor name="netty-throughput" socket-binding="messaging-throughput">
  738. <param key="batch-delay" value="50"/>
  739. <param key="direct-deliver" value="false"/>
  740. </netty-acceptor>
  741. <in-vm-acceptor name="in-vm" server-id="0"/>
  742. </acceptors>
  743. <security-settings>
  744. <security-setting match="#">
  745. <permission type="send" roles="guest"/>
  746. <permission type="consume" roles="guest"/>
  747. <permission type="createNonDurableQueue" roles="guest"/>
  748. <permission type="deleteNonDurableQueue" roles="guest"/>
  749. </security-setting>
  750. </security-settings>
  751. <address-settings>
  752. <!--default for catch all-->
  753. <address-setting match="#">
  754. <dead-letter-address>jms.queue.DLQ</dead-letter-address>
  755. <expiry-address>jms.queue.ExpiryQueue</expiry-address>
  756. <redelivery-delay>0</redelivery-delay>
  757. <max-size-bytes>10485760</max-size-bytes>
  758. <address-full-policy>BLOCK</address-full-policy>
  759. <message-counter-history-day-limit>10</message-counter-history-day-limit>
  760. </address-setting>
  761. </address-settings>
  762. <jms-connection-factories>
  763. <connection-factory name="InVmConnectionFactory">
  764. <connectors>
  765. <connector-ref connector-name="in-vm"/>
  766. </connectors>
  767. <entries>
  768. <entry name="java:/ConnectionFactory"/>
  769. </entries>
  770. </connection-factory>
  771. <connection-factory name="RemoteConnectionFactory">
  772. <connectors>
  773. <connector-ref connector-name="netty"/>
  774. </connectors>
  775. <entries>
  776. <entry name="java:jboss/exported/jms/RemoteConnectionFactory"/>
  777. </entries>
  778. </connection-factory>
  779. <pooled-connection-factory name="hornetq-ra">
  780. <transaction mode="xa"/>
  781. <connectors>
  782. <connector-ref connector-name="in-vm"/>
  783. </connectors>
  784. <entries>
  785. <entry name="java:/JmsXA"/>
  786. </entries>
  787. </pooled-connection-factory>
  788. </jms-connection-factories>
  789. </hornetq-server>
  790. </subsystem>
  791. <subsystem xmlns="urn:jboss:domain:naming:1.2">
  792. <remote-naming/>
  793. </subsystem>
  794. <subsystem xmlns="urn:jboss:domain:pojo:1.0"/>
  795. <subsystem xmlns="urn:jboss:domain:remoting:1.1">
  796. <connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/>
  797. </subsystem>
  798. <subsystem xmlns="urn:jboss:domain:resource-adapters:1.0"/>
  799. <subsystem xmlns="urn:jboss:domain:sar:1.0"/>
  800. <subsystem xmlns="urn:jboss:domain:security:1.2">
  801. <security-domains>
  802. <security-domain name="other" cache-type="default">
  803. <authentication>
  804. <login-module code="Remoting" flag="optional">
  805. <module-option name="password-stacking" value="useFirstPass"/>
  806. </login-module>
  807. <login-module code="RealmDirect" flag="required">
  808. <module-option name="password-stacking" value="useFirstPass"/>
  809. </login-module>
  810. </authentication>
  811. </security-domain>
  812. <security-domain name="jboss-web-policy" cache-type="default">
  813. <authorization>
  814. <policy-module code="Delegating" flag="required"/>
  815. </authorization>
  816. </security-domain>
  817. <security-domain name="jboss-ejb-policy" cache-type="default">
  818. <authorization>
  819. <policy-module code="Delegating" flag="required"/>
  820. </authorization>
  821. </security-domain>
  822. </security-domains>
  823. </subsystem>
  824. <subsystem xmlns="urn:jboss:domain:threads:1.1"/>
  825. <subsystem xmlns="urn:jboss:domain:transactions:1.2">
  826. <core-environment>
  827. <process-id>
  828. <uuid/>
  829. </process-id>
  830. </core-environment>
  831. <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
  832. <coordinator-environment default-timeout="300"/>
  833. </subsystem>
  834. <subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" native="false">
  835. <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
  836. <virtual-server name="default-host" enable-welcome-root="true">
  837. <alias name="localhost"/>
  838. <alias name="example.com"/>
  839. </virtual-server>
  840. </subsystem>
  841. <subsystem xmlns="urn:jboss:domain:webservices:1.2">
  842. <modify-wsdl-address>true</modify-wsdl-address>
  843. <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>
  844. <endpoint-config name="Standard-Endpoint-Config"/>
  845. <endpoint-config name="Recording-Endpoint-Config">
  846. <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">
  847. <handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>
  848. </pre-handler-chain>
  849. </endpoint-config>
  850. <client-config name="Standard-Client-Config"/>
  851. </subsystem>
  852. <subsystem xmlns="urn:jboss:domain:weld:1.0"/>
  853. </profile>
  854. <profile name="full-ha">
  855. <subsystem xmlns="urn:jboss:domain:logging:1.2">
  856. <console-handler name="CONSOLE">
  857. <level name="INFO"/>
  858. <formatter>
  859. <pattern-formatter pattern="%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
  860. </formatter>
  861. </console-handler>
  862. <periodic-rotating-file-handler name="FILE" autoflush="true">
  863. <formatter>
  864. <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
  865. </formatter>
  866. <file relative-to="jboss.server.log.dir" path="server.log"/>
  867. <suffix value=".yyyy-MM-dd"/>
  868. <append value="true"/>
  869. </periodic-rotating-file-handler>
  870. <logger category="com.arjuna">
  871. <level name="WARN"/>
  872. </logger>
  873. <logger category="org.apache.tomcat.util.modeler">
  874. <level name="WARN"/>
  875. </logger>
  876. <logger category="org.jboss.as.config">
  877. <level name="DEBUG"/>
  878. </logger>
  879. <logger category="sun.rmi">
  880. <level name="WARN"/>
  881. </logger>
  882. <logger category="jacorb">
  883. <level name="WARN"/>
  884. </logger>
  885. <logger category="jacorb.config">
  886. <level name="ERROR"/>
  887. </logger>
  888. <root-logger>
  889. <level name="INFO"/>
  890. <handlers>
  891. <handler name="CONSOLE"/>
  892. <handler name="FILE"/>
  893. </handlers>
  894. </root-logger>
  895. </subsystem>
  896. <subsystem xmlns="urn:jboss:domain:cmp:1.0"/>
  897. <subsystem xmlns="urn:jboss:domain:configadmin:1.0"/>
  898. <subsystem xmlns="urn:jboss:domain:datasources:1.1">
  899. <datasources>
  900. <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
  901. <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>
  902. <driver>h2</driver>
  903. <security>
  904. <user-name>sa</user-name>
  905. <password>sa</password>
  906. </security>
  907. </datasource>
  908. <drivers>
  909. <driver name="h2" module="com.h2database.h2">
  910. <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
  911. </driver>
  912. </drivers>
  913. </datasources>
  914. </subsystem>
  915. <subsystem xmlns="urn:jboss:domain:ee:1.1">
  916. <spec-descriptor-property-replacement>false</spec-descriptor-property-replacement>
  917. <jboss-descriptor-property-replacement>true</jboss-descriptor-property-replacement>
  918. </subsystem>
  919. <subsystem xmlns="urn:jboss:domain:ejb3:1.4">
  920. <session-bean>
  921. <stateless>
  922. <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>
  923. </stateless>
  924. <stateful default-access-timeout="5000" cache-ref="simple" clustered-cache-ref="clustered"/>
  925. <singleton default-access-timeout="5000"/>
  926. </session-bean>
  927. <mdb>
  928. <resource-adapter-ref resource-adapter-name="hornetq-ra"/>
  929. <bean-instance-pool-ref pool-name="mdb-strict-max-pool"/>
  930. </mdb>
  931. <pools>
  932. <bean-instance-pools>
  933. <strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
  934. <strict-max-pool name="mdb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
  935. </bean-instance-pools>
  936. </pools>
  937. <caches>
  938. <cache name="simple" aliases="NoPassivationCache"/>
  939. <cache name="passivating" passivation-store-ref="file" aliases="SimpleStatefulCache"/>
  940. <cache name="clustered" passivation-store-ref="infinispan" aliases="StatefulTreeCache"/>
  941. </caches>
  942. <passivation-stores>
  943. <file-passivation-store name="file"/>
  944. <cluster-passivation-store name="infinispan" cache-container="ejb"/>
  945. </passivation-stores>
  946. <async thread-pool-name="default"/>
  947. <timer-service thread-pool-name="default">
  948. <data-store path="timer-service-data" relative-to="jboss.server.data.dir"/>
  949. </timer-service>
  950. <remote connector-ref="remoting-connector" thread-pool-name="default"/>
  951. <thread-pools>
  952. <thread-pool name="default">
  953. <max-threads count="10"/>
  954. <keepalive-time time="100" unit="milliseconds"/>
  955. </thread-pool>
  956. </thread-pools>
  957. <iiop enable-by-default="false" use-qualified-name="false"/>
  958. <default-security-domain value="other"/>
  959. <default-missing-method-permissions-deny-access value="true"/>
  960. </subsystem>
  961. <subsystem xmlns="urn:jboss:domain:infinispan:1.4">
  962. <cache-container name="singleton" aliases="cluster ha-partition" default-cache="default">
  963. <transport lock-timeout="60000"/>
  964. <replicated-cache name="default" mode="SYNC" batching="true">
  965. <locking isolation="REPEATABLE_READ"/>
  966. </replicated-cache>
  967. </cache-container>
  968. <cache-container name="web" aliases="standard-session-cache" default-cache="repl" module="org.jboss.as.clustering.web.infinispan">
  969. <transport lock-timeout="60000"/>
  970. <replicated-cache name="repl" mode="ASYNC" batching="true">
  971. <file-store/>
  972. </replicated-cache>
  973. <replicated-cache name="sso" mode="SYNC" batching="true"/>
  974. <distributed-cache name="dist" mode="ASYNC" batching="true" l1-lifespan="0">
  975. <file-store/>
  976. </distributed-cache>
  977. </cache-container>
  978. <cache-container name="ejb" aliases="sfsb sfsb-cache" default-cache="repl" module="org.jboss.as.clustering.ejb3.infinispan">
  979. <transport lock-timeout="60000"/>
  980. <replicated-cache name="repl" mode="ASYNC" batching="true">
  981. <eviction strategy="LRU" max-entries="10000"/>
  982. <file-store/>
  983. </replicated-cache>
  984. <!--
  985. ~ Clustered cache used internally by EJB subsytem for managing the client-mapping(s) of
  986. ~ the socketbinding referenced by the EJB remoting connector
  987. -->
  988. <replicated-cache name="remote-connector-client-mappings" mode="SYNC" batching="true"/>
  989. <distributed-cache name="dist" mode="ASYNC" batching="true" l1-lifespan="0">
  990. <eviction strategy="LRU" max-entries="10000"/>
  991. <file-store/>
  992. </distributed-cache>
  993. </cache-container>
  994. <cache-container name="hibernate" default-cache="local-query" module="org.jboss.as.jpa.hibernate:4">
  995. <transport lock-timeout="60000"/>
  996. <local-cache name="local-query">
  997. <transaction mode="NONE"/>
  998. <eviction strategy="LRU" max-entries="10000"/>
  999. <expiration max-idle="100000"/>
  1000. </local-cache>
  1001. <invalidation-cache name="entity" mode="SYNC">
  1002. <transaction mode="NON_XA"/>
  1003. <eviction strategy="LRU" max-entries="10000"/>
  1004. <expiration max-idle="100000"/>
  1005. </invalidation-cache>
  1006. <replicated-cache name="timestamps" mode="ASYNC">
  1007. <transaction mode="NONE"/>
  1008. <eviction strategy="NONE"/>
  1009. </replicated-cache>
  1010. </cache-container>
  1011. </subsystem>
  1012. <subsystem xmlns="urn:jboss:domain:jacorb:1.3">
  1013. <orb socket-binding="jacorb" ssl-socket-binding="jacorb-ssl">
  1014. <initializers transactions="spec" security="identity"/>
  1015. </orb>
  1016. </subsystem>
  1017. <subsystem xmlns="urn:jboss:domain:jaxr:1.1">
  1018. <connection-factory jndi-name="java:jboss/jaxr/ConnectionFactory"/>
  1019. </subsystem>
  1020. <subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>
  1021. <subsystem xmlns="urn:jboss:domain:jca:1.1">
  1022. <archive-validation enabled="true" fail-on-error="true" fail-on-warn="false"/>
  1023. <bean-validation enabled="true"/>
  1024. <default-workmanager>
  1025. <short-running-threads>
  1026. <core-threads count="50"/>
  1027. <queue-length count="50"/>
  1028. <max-threads count="50"/>
  1029. <keepalive-time time="10" unit="seconds"/>
  1030. </short-running-threads>
  1031. <long-running-threads>
  1032. <core-threads count="50"/>
  1033. <queue-length count="50"/>
  1034. <max-threads count="50"/>
  1035. <keepalive-time time="10" unit="seconds"/>
  1036. </long-running-threads>
  1037. </default-workmanager>
  1038. <cached-connection-manager/>
  1039. </subsystem>
  1040. <subsystem xmlns="urn:jboss:domain:jdr:1.0"/>
  1041. <subsystem xmlns="urn:jboss:domain:jgroups:1.1" default-stack="udp">
  1042. <stack name="udp">
  1043. <transport type="UDP" socket-binding="jgroups-udp"/>
  1044. <protocol type="PING"/>
  1045. <protocol type="MERGE3"/>
  1046. <protocol type="FD_SOCK" socket-binding="jgroups-udp-fd"/>
  1047. <protocol type="FD"/>
  1048. <protocol type="VERIFY_SUSPECT"/>
  1049. <protocol type="pbcast.NAKACK2"/>
  1050. <protocol type="UNICAST2"/>
  1051. <protocol type="pbcast.STABLE"/>
  1052. <protocol type="pbcast.GMS"/>
  1053. <protocol type="UFC"/>
  1054. <protocol type="MFC"/>
  1055. <protocol type="FRAG2"/>
  1056. <protocol type="RSVP"/>
  1057. </stack>
  1058. <stack name="tcp">
  1059. <transport type="TCP" socket-binding="jgroups-tcp"/>
  1060. <protocol type="MPING" socket-binding="jgroups-mping"/>
  1061. <protocol type="MERGE2"/>
  1062. <protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/>
  1063. <protocol type="FD"/>
  1064. <protocol type="VERIFY_SUSPECT"/>
  1065. <protocol type="pbcast.NAKACK2"/>
  1066. <protocol type="UNICAST2"/>
  1067. <protocol type="pbcast.STABLE"/>
  1068. <protocol type="pbcast.GMS"/>
  1069. <protocol type="UFC"/>
  1070. <protocol type="MFC"/>
  1071. <protocol type="FRAG2"/>
  1072. <protocol type="RSVP"/>
  1073. </stack>
  1074. </subsystem>
  1075. <subsystem xmlns="urn:jboss:domain:jmx:1.2">
  1076. <expose-resolved-model/>
  1077. <expose-expression-model/>
  1078. <!--<remoting-connector use-management-endpoint="false"/>-->
  1079. </subsystem>
  1080. <subsystem xmlns="urn:jboss:domain:jpa:1.1">
  1081. <jpa default-datasource="" default-extended-persistence-inheritance="DEEP"/>
  1082. </subsystem>
  1083. <subsystem xmlns="urn:jboss:domain:jsf:1.0"/>
  1084. <subsystem xmlns="urn:jboss:domain:jsr77:1.0"/>
  1085. <subsystem xmlns="urn:jboss:domain:mail:1.0">
  1086. <mail-session jndi-name="java:jboss/mail/Default">
  1087. <smtp-server outbound-socket-binding-ref="mail-smtp"/>
  1088. </mail-session>
  1089. </subsystem>
  1090. <subsystem xmlns="urn:jboss:domain:messaging:1.3">
  1091. <hornetq-server>
  1092. <cluster-password>${jboss.messaging.cluster.password:CHANGE ME!!}</cluster-password>
  1093. <persistence-enabled>true</persistence-enabled>
  1094. <journal-file-size>102400</journal-file-size>
  1095. <journal-min-files>2</journal-min-files>
  1096. <connectors>
  1097. <netty-connector name="netty" socket-binding="messaging"/>
  1098. <netty-connector name="netty-throughput" socket-binding="messaging-throughput">
  1099. <param key="batch-delay" value="50"/>
  1100. </netty-connector>
  1101. <in-vm-connector name="in-vm" server-id="0"/>
  1102. </connectors>
  1103. <acceptors>
  1104. <netty-acceptor name="netty" socket-binding="messaging"/>
  1105. <netty-acceptor name="netty-throughput" socket-binding="messaging-throughput">
  1106. <param key="batch-delay" value="50"/>
  1107. <param key="direct-deliver" value="false"/>
  1108. </netty-acceptor>
  1109. <in-vm-acceptor name="in-vm" server-id="0"/>
  1110. </acceptors>
  1111. <broadcast-groups>
  1112. <broadcast-group name="bg-group1">
  1113. <socket-binding>messaging-group</socket-binding>
  1114. <broadcast-period>5000</broadcast-period>
  1115. <connector-ref>netty</connector-ref>
  1116. </broadcast-group>
  1117. </broadcast-groups>
  1118. <discovery-groups>
  1119. <discovery-group name="dg-group1">
  1120. <socket-binding>messaging-group</socket-binding>
  1121. <refresh-timeout>10000</refresh-timeout>
  1122. </discovery-group>
  1123. </discovery-groups>
  1124. <cluster-connections>
  1125. <cluster-connection name="my-cluster">
  1126. <address>jms</address>
  1127. <connector-ref>netty</connector-ref>
  1128. <discovery-group-ref discovery-group-name="dg-group1"/>
  1129. </cluster-connection>
  1130. </cluster-connections>
  1131. <security-settings>
  1132. <security-setting match="#">
  1133. <permission type="send" roles="guest"/>
  1134. <permission type="consume" roles="guest"/>
  1135. <permission type="createNonDurableQueue" roles="guest"/>
  1136. <permission type="deleteNonDurableQueue" roles="guest"/>
  1137. </security-setting>
  1138. </security-settings>
  1139. <address-settings>
  1140. <!--default for catch all-->
  1141. <address-setting match="#">
  1142. <dead-letter-address>jms.queue.DLQ</dead-letter-address>
  1143. <expiry-address>jms.queue.ExpiryQueue</expiry-address>
  1144. <redelivery-delay>0</redelivery-delay>
  1145. <redistribution-delay>1000</redistribution-delay>
  1146. <max-size-bytes>10485760</max-size-bytes>
  1147. <address-full-policy>BLOCK</address-full-policy>
  1148. <message-counter-history-day-limit>10</message-counter-history-day-limit>
  1149. </address-setting>
  1150. </address-settings>
  1151. <jms-connection-factories>
  1152. <connection-factory name="InVmConnectionFactory">
  1153. <connectors>
  1154. <connector-ref connector-name="in-vm"/>
  1155. </connectors>
  1156. <entries>
  1157. <entry name="java:/ConnectionFactory"/>
  1158. </entries>
  1159. </connection-factory>
  1160. <connection-factory name="RemoteConnectionFactory">
  1161. <connectors>
  1162. <connector-ref connector-name="netty"/>
  1163. </connectors>
  1164. <entries>
  1165. <entry name="java:jboss/exported/jms/RemoteConnectionFactory"/>
  1166. </entries>
  1167. </connection-factory>
  1168. <pooled-connection-factory name="hornetq-ra">
  1169. <transaction mode="xa"/>
  1170. <connectors>
  1171. <connector-ref connector-name="in-vm"/>
  1172. </connectors>
  1173. <entries>
  1174. <entry name="java:/JmsXA"/>
  1175. </entries>
  1176. </pooled-connection-factory>
  1177. </jms-connection-factories>
  1178. </hornetq-server>
  1179. </subsystem>
  1180. <subsystem xmlns="urn:jboss:domain:modcluster:1.1">
  1181. <mod-cluster-config advertise-socket="modcluster" connector="ajp">
  1182. <dynamic-load-provider>
  1183. <load-metric type="busyness"/>
  1184. </dynamic-load-provider>
  1185. </mod-cluster-config>
  1186. </subsystem>
  1187. <subsystem xmlns="urn:jboss:domain:naming:1.2">
  1188. <remote-naming/>
  1189. </subsystem>
  1190. <subsystem xmlns="urn:jboss:domain:pojo:1.0"/>
  1191. <subsystem xmlns="urn:jboss:domain:remoting:1.1">
  1192. <connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/>
  1193. </subsystem>
  1194. <subsystem xmlns="urn:jboss:domain:resource-adapters:1.0"/>
  1195. <subsystem xmlns="urn:jboss:domain:sar:1.0"/>
  1196. <subsystem xmlns="urn:jboss:domain:security:1.2">
  1197. <security-domains>
  1198. <security-domain name="other" cache-type="default">
  1199. <authentication>
  1200. <login-module code="Remoting" flag="optional">
  1201. <module-option name="password-stacking" value="useFirstPass"/>
  1202. </login-module>
  1203. <login-module code="RealmDirect" flag="required">
  1204. <module-option name="password-stacking" value="useFirstPass"/>
  1205. </login-module>
  1206. </authentication>
  1207. </security-domain>
  1208. <security-domain name="jboss-web-policy" cache-type="default">
  1209. <authorization>
  1210. <policy-module code="Delegating" flag="required"/>
  1211. </authorization>
  1212. </security-domain>
  1213. <security-domain name="jboss-ejb-policy" cache-type="default">
  1214. <authorization>
  1215. <policy-module code="Delegating" flag="required"/>
  1216. </authorization>
  1217. </security-domain>
  1218. </security-domains>
  1219. </subsystem>
  1220. <subsystem xmlns="urn:jboss:domain:threads:1.1"/>
  1221. <subsystem xmlns="urn:jboss:domain:transactions:1.2">
  1222. <core-environment>
  1223. <process-id>
  1224. <uuid/>
  1225. </process-id>
  1226. </core-environment>
  1227. <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
  1228. <coordinator-environment default-timeout="300"/>
  1229. </subsystem>
  1230. <subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" native="false">
  1231. <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
  1232. <connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp"/>
  1233. <virtual-server name="default-host" enable-welcome-root="true">
  1234. <alias name="localhost"/>
  1235. <alias name="example.com"/>
  1236. </virtual-server>
  1237. </subsystem>
  1238. <subsystem xmlns="urn:jboss:domain:webservices:1.2">
  1239. <modify-wsdl-address>true</modify-wsdl-address>
  1240. <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>
  1241. <endpoint-config name="Standard-Endpoint-Config"/>
  1242. <endpoint-config name="Recording-Endpoint-Config">
  1243. <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">
  1244. <handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>
  1245. </pre-handler-chain>
  1246. </endpoint-config>
  1247. <client-config name="Standard-Client-Config"/>
  1248. </subsystem>
  1249. <subsystem xmlns="urn:jboss:domain:weld:1.0"/>
  1250. </profile>
  1251. </profiles>
  1252. <!--
  1253. ~
  1254. ~ Named interfaces that can be referenced elsewhere in the configuration. The configuration
  1255. ~ for how to associate these logical names with an actual network interface can either
  1256. ~ be specified here or can be declared on a per-host basis in the equivalent element in host.xml.
  1257. ~
  1258. ~ These default configurations require the binding specification to be done in host.xml.
  1259. ~
  1260. -->
  1261. <interfaces>
  1262. <interface name="management"/>
  1263. <interface name="public"/>
  1264. <interface name="unsecure"/>
  1265. </interfaces>
  1266. <socket-binding-groups>
  1267. <socket-binding-group name="standard-sockets" default-interface="public">
  1268. <!-- Needed for server groups using the 'default' profile -->
  1269. <socket-binding name="ajp" port="8009"/>
  1270. <socket-binding name="http" port="8080"/>
  1271. <socket-binding name="https" port="8443"/>
  1272. <socket-binding name="remoting" port="4447"/>
  1273. <socket-binding name="txn-recovery-environment" port="4712"/>
  1274. <socket-binding name="txn-status-manager" port="4713"/>
  1275. <outbound-socket-binding name="mail-smtp">
  1276. <remote-destination host="localhost" port="25"/>
  1277. </outbound-socket-binding>
  1278. </socket-binding-group>
  1279. <socket-binding-group name="ha-sockets" default-interface="public">
  1280. <!-- Needed for server groups using the 'ha' profile -->
  1281. <socket-binding name="ajp" port="8009"/>
  1282. <socket-binding name="http" port="8080"/>
  1283. <socket-binding name="https" port="8443"/>
  1284. <socket-binding name="jgroups-mping" port="0" multicast-address="${jboss.default.multicast.address:230.0.0.4}" multicast-port="45700"/>
  1285. <socket-binding name="jgroups-tcp" port="7600"/>
  1286. <socket-binding name="jgroups-tcp-fd" port="57600"/>
  1287. <socket-binding name="jgroups-udp" port="55200" multicast-address="${jboss.default.multicast.address:230.0.0.4}" multicast-port="45688"/>
  1288. <socket-binding name="jgroups-udp-fd" port="54200"/>
  1289. <socket-binding name="modcluster" port="0" multicast-address="224.0.1.105" multicast-port="23364"/>
  1290. <socket-binding name="remoting" port="4447"/>
  1291. <socket-binding name="txn-recovery-environment" port="4712"/>
  1292. <socket-binding name="txn-status-manager" port="4713"/>
  1293. <outbound-socket-binding name="mail-smtp">
  1294. <remote-destination host="localhost" port="25"/>
  1295. </outbound-socket-binding>
  1296. </socket-binding-group>
  1297. <socket-binding-group name="full-sockets" default-interface="public">
  1298. <!-- Needed for server groups using the 'full' profile -->
  1299. <socket-binding name="ajp" port="8009"/>
  1300. <socket-binding name="http" port="8080"/>
  1301. <socket-binding name="https" port="8443"/>
  1302. <socket-binding name="jacorb" interface="unsecure" port="3528"/>
  1303. <socket-binding name="jacorb-ssl" interface="unsecure" port="3529"/>
  1304. <socket-binding name="messaging" port="5445"/>
  1305. <socket-binding name="messaging-group" port="0" multicast-address="${jboss.messaging.group.address:231.7.7.7}" multicast-port="${jboss.messaging.group.port:9876}"/>
  1306. <socket-binding name="messaging-throughput" port="5455"/>
  1307. <socket-binding name="remoting" port="4447"/>
  1308. <socket-binding name="txn-recovery-environment" port="4712"/>
  1309. <socket-binding name="txn-status-manager" port="4713"/>
  1310. <outbound-socket-binding name="mail-smtp">
  1311. <remote-destination host="localhost" port="25"/>
  1312. </outbound-socket-binding>
  1313. </socket-binding-group>
  1314. <socket-binding-group name="full-ha-sockets" default-interface="public">
  1315. <!-- Needed for server groups using the 'full-ha' profile -->
  1316. <socket-binding name="ajp" port="8009"/>
  1317. <socket-binding name="http" port="8080"/>
  1318. <socket-binding name="https" port="8443"/>
  1319. <socket-binding name="jacorb" interface="unsecure" port="3528"/>
  1320. <socket-binding name="jacorb-ssl" interface="unsecure" port="3529"/>
  1321. <socket-binding name="jgroups-mping" port="0" multicast-address="${jboss.default.multicast.address:230.0.0.4}" multicast-port="45700"/>
  1322. <socket-binding name="jgroups-tcp" port="7600"/>
  1323. <socket-binding name="jgroups-tcp-fd" port="57600"/>
  1324. <socket-binding name="jgroups-udp" port="55200" multicast-address="${jboss.default.multicast.address:230.0.0.4}" multicast-port="45688"/>
  1325. <socket-binding name="jgroups-udp-fd" port="54200"/>
  1326. <socket-binding name="messaging" port="5445"/>
  1327. <socket-binding name="messaging-group" port="0" multicast-address="${jboss.messaging.group.address:231.7.7.7}" multicast-port="${jboss.messaging.group.port:9876}"/>
  1328. <socket-binding name="messaging-throughput" port="5455"/>
  1329. <socket-binding name="modcluster" port="0" multicast-address="224.0.1.105" multicast-port="23364"/>
  1330. <socket-binding name="remoting" port="4447"/>
  1331. <socket-binding name="txn-recovery-environment" port="4712"/>
  1332. <socket-binding name="txn-status-manager" port="4713"/>
  1333. <outbound-socket-binding name="mail-smtp">
  1334. <remote-destination host="localhost" port="25"/>
  1335. </outbound-socket-binding>
  1336. </socket-binding-group>
  1337. </socket-binding-groups>
  1338. <server-groups>
  1339. <server-group name="main-server-group" profile="full">
  1340. <jvm name="default">
  1341. <heap size="64m" max-size="512m"/>
  1342. </jvm>
  1343. <socket-binding-group ref="full-sockets"/>
  1344. </server-group>
  1345. <server-group name="other-server-group" profile="full-ha">
  1346. <jvm name="default">
  1347. <heap size="64m" max-size="512m"/>
  1348. </jvm>
  1349. <socket-binding-group ref="full-ha-sockets"/>
  1350. </server-group>
  1351. </server-groups>
  1352. </domain>