PageRenderTime 56ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 1ms

/jboss-as-7.1.1.Final/testsuite/integration/basic/src/test/resources/legacy-configs/domain/7-0-2-preview.xml

#
XML | 879 lines | 742 code | 40 blank | 97 comment | 0 complexity | e3a276862723ad2a1e20ada1b72f367e MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
  1. <!--
  2. ~ JBoss, Home of Professional Open Source.
  3. ~ Copyright 2010, Red Hat, Inc., and individual contributors
  4. ~ as indicated by the @author tags. See the copyright.txt file in the
  5. ~ distribution for a full listing of individual contributors.
  6. ~
  7. ~ This is free software; you can redistribute it and/or modify it
  8. ~ under the terms of the GNU Lesser General Public License as
  9. ~ published by the Free Software Foundation; either version 2.1 of
  10. ~ the License, or (at your option) any later version.
  11. ~
  12. ~ This software is distributed in the hope that it will be useful,
  13. ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. ~ Lesser General Public License for more details.
  16. ~
  17. ~ You should have received a copy of the GNU Lesser General Public
  18. ~ License along with this software; if not, write to the Free
  19. ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  20. ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  21. -->
  22. <domain xmlns="urn:jboss:domain:1.0">
  23. <extensions>
  24. <extension module="org.jboss.as.clustering.infinispan"/>
  25. <extension module="org.jboss.as.clustering.jgroups"/>
  26. <extension module="org.jboss.as.connector"/>
  27. <extension module="org.jboss.as.ee"/>
  28. <extension module="org.jboss.as.ejb3"/>
  29. <extension module="org.jboss.as.jacorb"/>
  30. <extension module="org.jboss.as.jaxrs"/>
  31. <extension module="org.jboss.as.jmx"/>
  32. <extension module="org.jboss.as.jpa"/>
  33. <extension module="org.jboss.as.logging"/>
  34. <extension module="org.jboss.as.messaging"/>
  35. <extension module="org.jboss.as.modcluster"/>
  36. <extension module="org.jboss.as.naming"/>
  37. <extension module="org.jboss.as.osgi"/>
  38. <extension module="org.jboss.as.remoting"/>
  39. <extension module="org.jboss.as.sar"/>
  40. <extension module="org.jboss.as.security"/>
  41. <extension module="org.jboss.as.threads"/>
  42. <extension module="org.jboss.as.transactions"/>
  43. <extension module="org.jboss.as.web"/>
  44. <extension module="org.jboss.as.webservices" />
  45. <extension module="org.jboss.as.weld"/>
  46. </extensions>
  47. <system-properties>
  48. <!-- IPv4 is not required, but setting this helps avoid unintended use of IPv6 -->
  49. <property name="java.net.preferIPv4Stack" value="true"/>
  50. </system-properties>
  51. <profiles>
  52. <profile name="default">
  53. <subsystem xmlns="urn:jboss:domain:logging:1.1">
  54. <console-handler name="CONSOLE">
  55. <level name="INFO"/>
  56. <formatter>
  57. <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
  58. </formatter>
  59. </console-handler>
  60. <periodic-rotating-file-handler name="FILE">
  61. <level name="INFO"/>
  62. <formatter>
  63. <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
  64. </formatter>
  65. <file relative-to="jboss.server.log.dir" path="server.log"/>
  66. <suffix value=".yyyy-MM-dd"/>
  67. </periodic-rotating-file-handler>
  68. <logger category="com.arjuna">
  69. <level name="WARN"/>
  70. </logger>
  71. <logger category="org.apache.tomcat.util.modeler">
  72. <level name="WARN"/>
  73. </logger>
  74. <logger category="sun.rmi">
  75. <level name="WARN"/>
  76. </logger>
  77. <logger category="jacorb">
  78. <level name="WARN"/>
  79. </logger>
  80. <!-- set jacorb.config to ERROR to avoid the "jacorb.properties not found" messages during startup -->
  81. <logger category="jacorb.config">
  82. <level name="ERROR"/>
  83. </logger>
  84. <root-logger>
  85. <level name="INFO"/>
  86. <handlers>
  87. <handler name="CONSOLE"/>
  88. <handler name="FILE"/>
  89. </handlers>
  90. </root-logger>
  91. </subsystem>
  92. <subsystem xmlns="urn:jboss:domain:datasources:1.0">
  93. <datasources>
  94. <datasource jndi-name="java:jboss/datasources/ExampleDS" enabled="true" use-java-context="true" pool-name="H2DS">
  95. <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>
  96. <driver>h2</driver>
  97. <pool></pool>
  98. <security>
  99. <user-name>sa</user-name>
  100. <password>sa</password>
  101. </security>
  102. </datasource>
  103. <drivers>
  104. <driver name="h2" module="com.h2database.h2">
  105. <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
  106. </driver>
  107. </drivers>
  108. </datasources>
  109. </subsystem>
  110. <subsystem xmlns="urn:jboss:domain:ee:1.0"/>
  111. <subsystem xmlns="urn:jboss:domain:ejb3:1.1" >
  112. <timer-service>
  113. <thread-pool core-threads="1" max-threads="4" />
  114. <data-store path="timer-service-data" relative-to="jboss.server.data.dir" />
  115. </timer-service>
  116. <!-- EJB3 pools -->
  117. <pools>
  118. <bean-instance-pools>
  119. <strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5"
  120. instance-acquisition-timeout-unit="MINUTES"/>
  121. <strict-max-pool name="mdb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5"
  122. instance-acquisition-timeout-unit="MINUTES"/>
  123. </bean-instance-pools>
  124. </pools>
  125. <!-- Default MDB configurations -->
  126. <mdb>
  127. <resource-adapter-ref resource-adapter-name="hornetq-ra"/>
  128. <bean-instance-pool-ref pool-name="mdb-strict-max-pool"/>
  129. </mdb>
  130. <!-- Session bean configurations -->
  131. <session-bean>
  132. <stateless>
  133. <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>
  134. </stateless>
  135. </session-bean>
  136. </subsystem>
  137. <subsystem xmlns="urn:jboss:domain:infinispan:1.0" default-cache-container="hibernate">
  138. <cache-container name="hibernate" default-cache="local-query">
  139. <local-cache name="entity">
  140. <eviction strategy="LRU" max-entries="10000"/>
  141. <expiration max-idle="100000"/>
  142. </local-cache>
  143. <local-cache name="local-query">
  144. <eviction strategy="LRU" max-entries="10000"/>
  145. <expiration max-idle="100000"/>
  146. </local-cache>
  147. <local-cache name="timestamps">
  148. <eviction strategy="NONE"/>
  149. </local-cache>
  150. </cache-container>
  151. </subsystem>
  152. <subsystem xmlns="urn:jboss:domain:jacorb:1.0">
  153. <orb name="JBoss" print-version="off" giop-minor-version="2">
  154. <connection max-managed-buf-size="24" outbuf-cache-timeout="-1"/>
  155. <naming root-context="JBoss/Naming/root" export-corbaloc="on"/>
  156. </orb>
  157. <poa monitoring="off" queue-wait="off">
  158. <request-processors pool-size="2" max-threads="8"/>
  159. </poa>
  160. <interop sun="on" chunk-custom-rmi-valuetypes="on" strict-check-on-tc-creation="off"/>
  161. </subsystem>
  162. <subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>
  163. <subsystem xmlns="urn:jboss:domain:jca:1.0">
  164. <archive-validation enabled="true"/>
  165. <bean-validation enabled="true"/>
  166. <default-workmanager>
  167. <short-running-threads blocking="true">
  168. <core-threads count="10" per-cpu="20"/>
  169. <queue-length count="10" per-cpu="20"/>
  170. <max-threads count="10" per-cpu="20"/>
  171. <keepalive-time time="10" unit="seconds"/>
  172. </short-running-threads>
  173. <long-running-threads blocking="true">
  174. <core-threads count="10" per-cpu="20"/>
  175. <queue-length count="10" per-cpu="20"/>
  176. <max-threads count="10" per-cpu="20"/>
  177. <keepalive-time time="10" unit="seconds"/>
  178. </long-running-threads>
  179. </default-workmanager>
  180. </subsystem>
  181. <subsystem xmlns="urn:jboss:domain:jmx:1.0">
  182. <jmx-connector registry-binding="jmx-connector-registry" server-binding="jmx-connector-server" />
  183. </subsystem>
  184. <subsystem xmlns="urn:jboss:domain:jpa:1.0">
  185. <jpa default-datasource=""/>
  186. </subsystem>
  187. <subsystem xmlns="urn:jboss:domain:messaging:1.0">
  188. <!-- Default journal file size is 10Mb, reduced here to 100k for faster first boot -->
  189. <journal-file-size>102400</journal-file-size>
  190. <journal-min-files>2</journal-min-files>
  191. <journal-type>NIO</journal-type>
  192. <!-- disable messaging persistence -->
  193. <persistence-enabled>false</persistence-enabled>
  194. <connectors>
  195. <netty-connector name="netty" socket-binding="messaging"/>
  196. <netty-connector name="netty-throughput" socket-binding="messaging-throughput">
  197. <param key="batch-delay" value="50"/>
  198. </netty-connector>
  199. <in-vm-connector name="in-vm" server-id="0"/>
  200. </connectors>
  201. <acceptors>
  202. <netty-acceptor name="netty" socket-binding="messaging"/>
  203. <netty-acceptor name="netty-throughput" socket-binding="messaging-throughput">
  204. <param key="batch-delay" value="50"/>
  205. <param key="direct-deliver" value="false"/>
  206. </netty-acceptor>
  207. <in-vm-acceptor name="in-vm" server-id="0"/>
  208. </acceptors>
  209. <security-settings>
  210. <security-setting match="#">
  211. <permission type="createNonDurableQueue" roles="guest"/>
  212. <permission type="deleteNonDurableQueue" roles="guest"/>
  213. <permission type="consume" roles="guest"/>
  214. <permission type="send" roles="guest"/>
  215. </security-setting>
  216. </security-settings>
  217. <address-settings>
  218. <!--default for catch all-->
  219. <address-setting match="#">
  220. <dead-letter-address>jms.queue.DLQ</dead-letter-address>
  221. <expiry-address>jms.queue.ExpiryQueue</expiry-address>
  222. <redelivery-delay>0</redelivery-delay>
  223. <max-size-bytes>10485760</max-size-bytes>
  224. <message-counter-history-day-limit>10</message-counter-history-day-limit>
  225. <address-full-policy>BLOCK</address-full-policy>
  226. </address-setting>
  227. </address-settings>
  228. <!--JMS Stuff-->
  229. <jms-connection-factories>
  230. <connection-factory name="InVmConnectionFactory">
  231. <connectors>
  232. <connector-ref connector-name="in-vm"/>
  233. </connectors>
  234. <entries>
  235. <entry name="java:/ConnectionFactory"/>
  236. </entries>
  237. </connection-factory>
  238. <connection-factory name="RemoteConnectionFactory">
  239. <connectors>
  240. <connector-ref connector-name="netty"/>
  241. </connectors>
  242. <entries>
  243. <entry name="RemoteConnectionFactory"/>
  244. </entries>
  245. </connection-factory>
  246. <pooled-connection-factory name="hornetq-ra">
  247. <transaction mode="xa"/>
  248. <connectors>
  249. <connector-ref connector-name="in-vm"/>
  250. </connectors>
  251. <entries>
  252. <entry name="java:/JmsXA"/>
  253. </entries>
  254. </pooled-connection-factory>
  255. </jms-connection-factories>
  256. <jms-destinations>
  257. <jms-queue name="testQueue">
  258. <entry name="queue/test"/>
  259. </jms-queue>
  260. <jms-topic name="testTopic">
  261. <entry name="topic/test"/>
  262. </jms-topic>
  263. </jms-destinations>
  264. </subsystem>
  265. <subsystem xmlns="urn:jboss:domain:naming:1.0"/>
  266. <subsystem xmlns="urn:jboss:domain:osgi:1.0" activation="lazy">
  267. <configuration pid="org.apache.felix.webconsole.internal.servlet.OsgiManager">
  268. <property name="manager.root">jboss-osgi</property>
  269. </configuration>
  270. <properties>
  271. <!--
  272. A comma seperated list of module identifiers. Each system module
  273. is added as a dependency to the OSGi framework module. The packages
  274. from these system modules can be made visible as framework system packages.
  275. http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Constants.html#FRAMEWORK_SYSTEMPACKAGES_EXTRA
  276. -->
  277. <property name="org.jboss.osgi.system.modules">
  278. org.apache.commons.logging,
  279. org.apache.log4j,
  280. org.jboss.as.osgi,
  281. org.slf4j,
  282. </property>
  283. <!--
  284. Framework environment property identifying extra packages which the system bundle
  285. must export from the current execution environment
  286. -->
  287. <property name="org.osgi.framework.system.packages.extra">
  288. org.apache.commons.logging;version=1.1.1,
  289. org.apache.log4j;version=1.2,
  290. org.jboss.as.osgi.service;version=7.0,
  291. org.jboss.osgi.deployment.interceptor;version=1.0,
  292. org.jboss.osgi.spi.capability;version=1.0,
  293. org.jboss.osgi.spi.util;version=1.0,
  294. org.jboss.osgi.testing;version=1.0,
  295. org.jboss.osgi.vfs;version=1.0,
  296. org.slf4j;version=1.5.10,
  297. </property>
  298. <!-- Specifies the beginning start level of the framework -->
  299. <property name="org.osgi.framework.startlevel.beginning">1</property>
  300. </properties>
  301. <modules>
  302. <!-- modules registered with the OSGi layer on startup -->
  303. <module identifier="javaee.api"/>
  304. <module identifier="org.jboss.logging"/>
  305. <!-- bundles installed on startup -->
  306. <module identifier="org.apache.aries.util"/>
  307. <module identifier="org.jboss.osgi.webconsole"/>
  308. <module identifier="org.osgi.compendium"/>
  309. <!-- bundles started in startlevel 1 -->
  310. <module identifier="org.apache.felix.log" startlevel="1"/>
  311. <module identifier="org.jboss.osgi.logging" startlevel="1"/>
  312. <module identifier="org.apache.felix.configadmin" startlevel="1"/>
  313. <module identifier="org.jboss.as.osgi.configadmin" startlevel="1"/>
  314. <!-- bundles started in startlevel 2 -->
  315. <module identifier="org.apache.aries.jmx" startlevel="2"/>
  316. <module identifier="org.apache.felix.eventadmin" startlevel="2"/>
  317. <module identifier="org.apache.felix.metatype" startlevel="2"/>
  318. <module identifier="org.apache.felix.webconsole" startlevel="2"/>
  319. <module identifier="org.jboss.osgi.jmx" startlevel="2"/>
  320. <module identifier="org.jboss.osgi.http" startlevel="2"/>
  321. <!-- bundles started in startlevel 3 -->
  322. <module identifier="org.jboss.osgi.blueprint" startlevel="3"/>
  323. <module identifier="org.jboss.osgi.webapp" startlevel="3"/>
  324. <module identifier="org.jboss.osgi.xerces" startlevel="3"/>
  325. </modules>
  326. </subsystem>
  327. <subsystem xmlns="urn:jboss:domain:remoting:1.0"/>
  328. <subsystem xmlns="urn:jboss:domain:resource-adapters:1.0"/>
  329. <subsystem xmlns="urn:jboss:domain:sar:1.0"/>
  330. <subsystem xmlns="urn:jboss:domain:security:1.0">
  331. <security-domains>
  332. <security-domain name="other">
  333. <authentication>
  334. <login-module code="UsersRoles" flag="required"/>
  335. </authentication>
  336. </security-domain>
  337. </security-domains>
  338. </subsystem>
  339. <subsystem xmlns="urn:jboss:domain:threads:1.0"/>
  340. <subsystem xmlns="urn:jboss:domain:transactions:1.0">
  341. <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
  342. <core-environment>
  343. <process-id>
  344. <uuid />
  345. </process-id>
  346. </core-environment>
  347. <coordinator-environment default-timeout="300"/>
  348. </subsystem>
  349. <subsystem xmlns="urn:jboss:domain:web:1.0" default-virtual-server="default-host">
  350. <connector name="http" scheme="http" protocol="HTTP/1.1" socket-binding="http"/>
  351. <virtual-server name="default-host" enable-welcome-root="true">
  352. <alias name="localhost" />
  353. <alias name="example.com" />
  354. </virtual-server>
  355. </subsystem>
  356. <subsystem xmlns="urn:jboss:domain:webservices:1.0">
  357. <modify-wsdl-address>true</modify-wsdl-address>
  358. <wsdl-host>localhost</wsdl-host>
  359. <!--
  360. <wsdl-port>8080</wsdl-port>
  361. <wsdl-secure-port>8443</wsdl-secure-port>
  362. -->
  363. <endpoint-config xmlns:ws="urn:jboss:jbossws-jaxws-config:4.0">
  364. <ws:config-name>Standard-Endpoint-Config</ws:config-name>
  365. </endpoint-config>
  366. <endpoint-config xmlns:ws="urn:jboss:jbossws-jaxws-config:4.0">
  367. <ws:config-name>Recording-Endpoint-Config</ws:config-name>
  368. <ws:pre-handler-chains>
  369. <handler-chain xmlns="http://java.sun.com/xml/ns/javaee">
  370. <protocol-bindings>##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM</protocol-bindings>
  371. <handler>
  372. <handler-name>RecordingHandler</handler-name>
  373. <handler-class>org.jboss.ws.common.invocation.RecordingServerHandler</handler-class>
  374. </handler>
  375. </handler-chain>
  376. </ws:pre-handler-chains>
  377. </endpoint-config>
  378. </subsystem>
  379. <subsystem xmlns="urn:jboss:domain:weld:1.0"/>
  380. </profile>
  381. <profile name="ha">
  382. <subsystem xmlns="urn:jboss:domain:logging:1.1">
  383. <console-handler name="CONSOLE">
  384. <level name="INFO"/>
  385. <formatter>
  386. <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
  387. </formatter>
  388. </console-handler>
  389. <periodic-rotating-file-handler name="FILE">
  390. <level name="INFO"/>
  391. <formatter>
  392. <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
  393. </formatter>
  394. <file relative-to="jboss.server.log.dir" path="server.log"/>
  395. <suffix value=".yyyy-MM-dd"/>
  396. </periodic-rotating-file-handler>
  397. <logger category="com.arjuna">
  398. <level name="WARN"/>
  399. </logger>
  400. <logger category="org.apache.tomcat.util.modeler">
  401. <level name="WARN"/>
  402. </logger>
  403. <logger category="sun.rmi">
  404. <level name="WARN"/>
  405. </logger>
  406. <logger category="jacorb">
  407. <level name="WARN"/>
  408. </logger>
  409. <!-- set jacorb.config to ERROR to avoid the "jacorb.properties not found" messages during startup -->
  410. <logger category="jacorb.config">
  411. <level name="ERROR"/>
  412. </logger>
  413. <root-logger>
  414. <level name="INFO"/>
  415. <handlers>
  416. <handler name="CONSOLE"/>
  417. <handler name="FILE"/>
  418. </handlers>
  419. </root-logger>
  420. </subsystem>
  421. <subsystem xmlns="urn:jboss:domain:datasources:1.0">
  422. <datasources>
  423. <datasource jndi-name="java:jboss/datasources/ExampleDS" enabled="true" use-java-context="true" pool-name="H2DS">
  424. <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>
  425. <driver>h2</driver>
  426. <pool></pool>
  427. <security>
  428. <user-name>sa</user-name>
  429. <password>sa</password>
  430. </security>
  431. </datasource>
  432. <drivers>
  433. <driver name="h2" module="com.h2database.h2">
  434. <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
  435. </driver>
  436. </drivers>
  437. </datasources>
  438. </subsystem>
  439. <subsystem xmlns="urn:jboss:domain:ee:1.0"/>
  440. <subsystem xmlns="urn:jboss:domain:ejb3:1.1" >
  441. <timer-service>
  442. <thread-pool core-threads="1" />
  443. <data-store path="timer-service-data" relative-to="jboss.server.data.dir" />
  444. </timer-service>
  445. <!-- EJB3 pools -->
  446. <pools>
  447. <bean-instance-pools>
  448. <strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5"
  449. instance-acquisition-timeout-unit="MINUTES"/>
  450. <strict-max-pool name="mdb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5"
  451. instance-acquisition-timeout-unit="MINUTES"/>
  452. </bean-instance-pools>
  453. </pools>
  454. <!-- Default MDB configurations -->
  455. <mdb>
  456. <resource-adapter-ref resource-adapter-name="hornetq-ra"/>
  457. <bean-instance-pool-ref pool-name="mdb-strict-max-pool"/>
  458. </mdb>
  459. <!-- Session bean configurations -->
  460. <session-bean>
  461. <stateless>
  462. <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>
  463. </stateless>
  464. </session-bean>
  465. </subsystem>
  466. <subsystem xmlns="urn:jboss:domain:infinispan:1.0" default-cache-container="cluster">
  467. <cache-container name="cluster" default-cache="default">
  468. <alias>ha-partition</alias>
  469. <replicated-cache name="default" mode="SYNC" batching="true">
  470. <locking isolation="REPEATABLE_READ"/>
  471. </replicated-cache>
  472. </cache-container>
  473. <cache-container name="web" default-cache="repl">
  474. <alias>standard-session-cache</alias>
  475. <replicated-cache name="repl" mode="ASYNC" batching="true">
  476. <locking isolation="REPEATABLE_READ"/>
  477. <file-store/>
  478. </replicated-cache>
  479. <distributed-cache name="dist" mode="ASYNC" batching="true">
  480. <locking isolation="REPEATABLE_READ"/>
  481. <file-store/>
  482. </distributed-cache>
  483. </cache-container>
  484. <cache-container name="sfsb" default-cache="repl">
  485. <alias>sfsb-cache</alias>
  486. <alias>jboss.cache:service=EJB3SFSBClusteredCache</alias>
  487. <replicated-cache name="repl" mode="ASYNC" batching="true">
  488. <locking isolation="REPEATABLE_READ"/>
  489. <eviction strategy="LRU" max-entries="10000"/>
  490. <file-store/>
  491. </replicated-cache>
  492. </cache-container>
  493. <cache-container name="hibernate" default-cache="local-query">
  494. <invalidation-cache name="entity" mode="SYNC">
  495. <eviction strategy="LRU" max-entries="10000"/>
  496. <expiration max-idle="100000"/>
  497. </invalidation-cache>
  498. <local-cache name="local-query">
  499. <eviction strategy="LRU" max-entries="10000"/>
  500. <expiration max-idle="100000"/>
  501. </local-cache>
  502. <replicated-cache name="timestamps" mode="ASYNC">
  503. <eviction strategy="NONE"/>
  504. </replicated-cache>
  505. </cache-container>
  506. </subsystem>
  507. <subsystem xmlns="urn:jboss:domain:jacorb:1.0">
  508. <orb name="JBoss" print-version="off" giop-minor-version="2">
  509. <connection max-managed-buf-size="24" outbuf-cache-timeout="-1"/>
  510. <naming root-context="JBoss/Naming/root" export-corbaloc="on"/>
  511. </orb>
  512. <poa monitoring="off" queue-wait="off">
  513. <request-processors pool-size="2" max-threads="8"/>
  514. </poa>
  515. <interop sun="on" chunk-custom-rmi-valuetypes="on" strict-check-on-tc-creation="off"/>
  516. </subsystem>
  517. <subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>
  518. <subsystem xmlns="urn:jboss:domain:jca:1.0">
  519. <archive-validation enabled="true"/>
  520. <bean-validation enabled="true"/>
  521. <default-workmanager>
  522. <short-running-threads blocking="true">
  523. <core-threads count="10" per-cpu="20"/>
  524. <queue-length count="10" per-cpu="20"/>
  525. <max-threads count="10" per-cpu="20"/>
  526. <keepalive-time time="10" unit="seconds"/>
  527. </short-running-threads>
  528. <long-running-threads blocking="true">
  529. <core-threads count="10" per-cpu="20"/>
  530. <queue-length count="10" per-cpu="20"/>
  531. <max-threads count="10" per-cpu="20"/>
  532. <keepalive-time time="10" unit="seconds"/>
  533. </long-running-threads>
  534. </default-workmanager>
  535. </subsystem>
  536. <subsystem xmlns="urn:jboss:domain:jgroups:1.0" default-stack="udp">
  537. <stack name="udp">
  538. <transport type="UDP" socket-binding="jgroups-udp" diagnostics-socket-binding="jgroups-diagnostics"/>
  539. <protocol type="PING"/>
  540. <protocol type="MERGE2"/>
  541. <protocol type="FD_SOCK" socket-binding="jgroups-udp-fd"/>
  542. <protocol type="FD"/>
  543. <protocol type="VERIFY_SUSPECT"/>
  544. <protocol type="BARRIER"/>
  545. <protocol type="pbcast.NAKACK"/>
  546. <protocol type="UNICAST"/>
  547. <protocol type="pbcast.STABLE"/>
  548. <!-- Not valid in 7.1
  549. <protocol type="VIEW_SYNC"/>
  550. -->
  551. <protocol type="pbcast.GMS"/>
  552. <protocol type="UFC"/>
  553. <protocol type="MFC"/>
  554. <protocol type="FRAG2"/>
  555. <!-- Not valid in 7.1
  556. <protocol type="pbcast.STREAMING_STATE_TRANSFER"/>
  557. -->
  558. <protocol type="pbcast.STATE_TRANSFER"/>
  559. <protocol type="pbcast.FLUSH"/>
  560. </stack>
  561. <stack name="tcp">
  562. <transport type="TCP" socket-binding="jgroups-tcp" diagnostics-socket-binding="jgroups-diagnostics"/>
  563. <protocol type="MPING" socket-binding="jgroups-mping"/>
  564. <protocol type="MERGE2"/>
  565. <protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/>
  566. <protocol type="FD"/>
  567. <protocol type="VERIFY_SUSPECT"/>
  568. <protocol type="BARRIER"/>
  569. <protocol type="pbcast.NAKACK"/>
  570. <protocol type="UNICAST"/>
  571. <protocol type="pbcast.STABLE"/>
  572. <!-- Not valid in 7.1
  573. <protocol type="VIEW_SYNC"/>
  574. -->
  575. <protocol type="pbcast.GMS"/>
  576. <protocol type="UFC"/>
  577. <protocol type="MFC"/>
  578. <protocol type="FRAG2"/>
  579. <!-- Not valid in 7.1
  580. <protocol type="pbcast.STREAMING_STATE_TRANSFER"/>
  581. -->
  582. <protocol type="pbcast.STATE_TRANSFER"/>
  583. <protocol type="pbcast.FLUSH"/>
  584. </stack>
  585. </subsystem>
  586. <subsystem xmlns="urn:jboss:domain:jmx:1.0">
  587. <jmx-connector registry-binding="jmx-connector-registry" server-binding="jmx-connector-server" />
  588. </subsystem>
  589. <subsystem xmlns="urn:jboss:domain:jpa:1.0">
  590. <jpa default-datasource=""/>
  591. </subsystem>
  592. <subsystem xmlns="urn:jboss:domain:messaging:1.0">
  593. <!-- Default journal file size is 10Mb, reduced here to 100k for faster first boot -->
  594. <journal-file-size>102400</journal-file-size>
  595. <journal-min-files>2</journal-min-files>
  596. <journal-type>NIO</journal-type>
  597. <!-- disable messaging persistence -->
  598. <persistence-enabled>false</persistence-enabled>
  599. <connectors>
  600. <netty-connector name="netty" socket-binding="messaging"/>
  601. <netty-connector name="netty-throughput" socket-binding="messaging-throughput">
  602. <param key="batch-delay" value="50"/>
  603. </netty-connector>
  604. <in-vm-connector name="in-vm" server-id="0"/>
  605. </connectors>
  606. <acceptors>
  607. <netty-acceptor name="netty" socket-binding="messaging"/>
  608. <netty-acceptor name="netty-throughput" socket-binding="messaging-throughput">
  609. <param key="batch-delay" value="50"/>
  610. <param key="direct-deliver" value="false"/>
  611. </netty-acceptor>
  612. <in-vm-acceptor name="in-vm" server-id="0"/>
  613. </acceptors>
  614. <security-settings>
  615. <security-setting match="#">
  616. <permission type="createNonDurableQueue" roles="guest"/>
  617. <permission type="deleteNonDurableQueue" roles="guest"/>
  618. <permission type="consume" roles="guest"/>
  619. <permission type="send" roles="guest"/>
  620. </security-setting>
  621. </security-settings>
  622. <address-settings>
  623. <!--default for catch all-->
  624. <address-setting match="#">
  625. <dead-letter-address>jms.queue.DLQ</dead-letter-address>
  626. <expiry-address>jms.queue.ExpiryQueue</expiry-address>
  627. <redelivery-delay>0</redelivery-delay>
  628. <max-size-bytes>10485760</max-size-bytes>
  629. <message-counter-history-day-limit>10</message-counter-history-day-limit>
  630. <address-full-policy>BLOCK</address-full-policy>
  631. </address-setting>
  632. </address-settings>
  633. <!--JMS Stuff-->
  634. <jms-connection-factories>
  635. <connection-factory name="InVmConnectionFactory">
  636. <connectors>
  637. <connector-ref connector-name="in-vm"/>
  638. </connectors>
  639. <entries>
  640. <entry name="java:/ConnectionFactory"/>
  641. </entries>
  642. </connection-factory>
  643. <connection-factory name="RemoteConnectionFactory">
  644. <connectors>
  645. <connector-ref connector-name="netty"/>
  646. </connectors>
  647. <entries>
  648. <entry name="RemoteConnectionFactory"/>
  649. </entries>
  650. </connection-factory>
  651. <pooled-connection-factory name="hornetq-ra">
  652. <transaction mode="xa"/>
  653. <connectors>
  654. <connector-ref connector-name="in-vm"/>
  655. </connectors>
  656. <entries>
  657. <entry name="java:/JmsXA"/>
  658. </entries>
  659. </pooled-connection-factory>
  660. </jms-connection-factories>
  661. <jms-destinations>
  662. <jms-queue name="testQueue">
  663. <entry name="queue/test"/>
  664. </jms-queue>
  665. <jms-topic name="testTopic">
  666. <entry name="topic/test"/>
  667. </jms-topic>
  668. </jms-destinations>
  669. </subsystem>
  670. <subsystem xmlns="urn:jboss:domain:modcluster:1.0">
  671. <mod-cluster-config advertise-socket="modcluster"/>
  672. </subsystem>
  673. <subsystem xmlns="urn:jboss:domain:naming:1.0"/>
  674. <subsystem xmlns="urn:jboss:domain:osgi:1.0" activation="lazy">
  675. <configuration pid="org.apache.felix.webconsole.internal.servlet.OsgiManager">
  676. <property name="manager.root">jboss-osgi</property>
  677. </configuration>
  678. <properties>
  679. <!--
  680. A comma seperated list of module identifiers. Each system module
  681. is added as a dependency to the OSGi framework module. The packages
  682. from these system modules can be made visible as framework system packages.
  683. http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Constants.html#FRAMEWORK_SYSTEMPACKAGES_EXTRA
  684. -->
  685. <property name="org.jboss.osgi.system.modules">
  686. org.apache.commons.logging,
  687. org.apache.log4j,
  688. org.jboss.as.osgi,
  689. org.slf4j,
  690. </property>
  691. <!--
  692. Framework environment property identifying extra packages which the system bundle
  693. must export from the current execution environment
  694. -->
  695. <property name="org.osgi.framework.system.packages.extra">
  696. org.apache.commons.logging;version=1.1.1,
  697. org.apache.log4j;version=1.2,
  698. org.jboss.as.osgi.service;version=7.0,
  699. org.jboss.osgi.deployment.interceptor;version=1.0,
  700. org.jboss.osgi.spi.capability;version=1.0,
  701. org.jboss.osgi.spi.util;version=1.0,
  702. org.jboss.osgi.testing;version=1.0,
  703. org.jboss.osgi.vfs;version=1.0,
  704. org.slf4j;version=1.5.10,
  705. </property>
  706. <!-- Specifies the beginning start level of the framework -->
  707. <property name="org.osgi.framework.startlevel.beginning">1</property>
  708. </properties>
  709. <modules>
  710. <!-- modules registered with the OSGi layer on startup -->
  711. <module identifier="javaee.api"/>
  712. <module identifier="org.jboss.logging"/>
  713. <!-- bundles installed on startup -->
  714. <module identifier="org.apache.aries.util"/>
  715. <module identifier="org.jboss.osgi.webconsole"/>
  716. <module identifier="org.osgi.compendium"/>
  717. <!-- bundles started in startlevel 1 -->
  718. <module identifier="org.apache.felix.log" startlevel="1"/>
  719. <module identifier="org.jboss.osgi.logging" startlevel="1"/>
  720. <module identifier="org.apache.felix.configadmin" startlevel="1"/>
  721. <module identifier="org.jboss.as.osgi.configadmin" startlevel="1"/>
  722. <!-- bundles started in startlevel 2 -->
  723. <module identifier="org.apache.aries.jmx" startlevel="2"/>
  724. <module identifier="org.apache.felix.eventadmin" startlevel="2"/>
  725. <module identifier="org.apache.felix.metatype" startlevel="2"/>
  726. <module identifier="org.apache.felix.webconsole" startlevel="2"/>
  727. <module identifier="org.jboss.osgi.jmx" startlevel="2"/>
  728. <module identifier="org.jboss.osgi.http" startlevel="2"/>
  729. <!-- bundles started in startlevel 3 -->
  730. <module identifier="org.jboss.osgi.blueprint" startlevel="3"/>
  731. <module identifier="org.jboss.osgi.webapp" startlevel="3"/>
  732. <module identifier="org.jboss.osgi.xerces" startlevel="3"/>
  733. </modules>
  734. </subsystem>
  735. <subsystem xmlns="urn:jboss:domain:remoting:1.0"/>
  736. <subsystem xmlns="urn:jboss:domain:resource-adapters:1.0"/>
  737. <subsystem xmlns="urn:jboss:domain:sar:1.0"/>
  738. <subsystem xmlns="urn:jboss:domain:security:1.0">
  739. <security-domains>
  740. <security-domain name="other">
  741. <authentication>
  742. <login-module code="UsersRoles" flag="required"/>
  743. </authentication>
  744. </security-domain>
  745. </security-domains>
  746. </subsystem>
  747. <subsystem xmlns="urn:jboss:domain:threads:1.0"/>
  748. <subsystem xmlns="urn:jboss:domain:transactions:1.0">
  749. <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
  750. <core-environment>
  751. <process-id>
  752. <uuid />
  753. </process-id>
  754. </core-environment>
  755. <coordinator-environment default-timeout="300"/>
  756. </subsystem>
  757. <subsystem xmlns="urn:jboss:domain:web:1.0" default-virtual-server="default-host">
  758. <connector name="http" scheme="http" protocol="HTTP/1.1" socket-binding="http"/>
  759. <virtual-server name="default-host" enable-welcome-root="true">
  760. <alias name="localhost" />
  761. <alias name="example.com" />
  762. </virtual-server>
  763. </subsystem>
  764. <subsystem xmlns="urn:jboss:domain:webservices:1.0">
  765. <modify-wsdl-address>true</modify-wsdl-address>
  766. <wsdl-host>localhost</wsdl-host>
  767. <!--
  768. <wsdl-port>8080</wsdl-port>
  769. <wsdl-secure-port>8443</wsdl-secure-port>
  770. -->
  771. </subsystem>
  772. <subsystem xmlns="urn:jboss:domain:weld:1.0"/>
  773. </profile>
  774. </profiles>
  775. <!--
  776. Named interfaces that can be referenced elsewhere in the configuration. The configuration
  777. for how to associate these logical names with an actual network interface can either
  778. be specified here or can be declared on a per-host basis in the equivalent element in host.xml.
  779. These default configurations require the binding specification to be done in host.xml.
  780. -->
  781. <interfaces>
  782. <interface name="management"/>
  783. <interface name="public"/>
  784. </interfaces>
  785. <socket-binding-groups>
  786. <socket-binding-group name="standard-sockets" default-interface="public">
  787. <socket-binding name="http" port="8080"/>
  788. <socket-binding name="https" port="8443"/>
  789. <socket-binding name="jacorb" port="3528"/>
  790. <socket-binding name="jacorb-ssl" port="3529"/>
  791. <socket-binding name="jmx-connector-registry" interface="management" port="1090"/>
  792. <socket-binding name="jmx-connector-server" interface="management" port="1091"/>
  793. <socket-binding name="jndi" port="1099"/>
  794. <socket-binding name="messaging" port="5445" />
  795. <socket-binding name="messaging-throughput" port="5455"/>
  796. <socket-binding name="osgi-http" interface="management" port="8090"/>
  797. <socket-binding name="remoting" port="4447"/>
  798. <socket-binding name="txn-recovery-environment" port="4712"/>
  799. <socket-binding name="txn-status-manager" port="4713"/>
  800. </socket-binding-group>
  801. <socket-binding-group name="ha-sockets" default-interface="public">
  802. <socket-binding name="http" port="8080"/>
  803. <socket-binding name="https" port="8443"/>
  804. <socket-binding name="jacorb" port="3528"/>
  805. <socket-binding name="jacorb-ssl" port="3529"/>
  806. <socket-binding name="jgroups-diagnostics" port="0" multicast-address="224.0.75.75" multicast-port="7500"/>
  807. <socket-binding name="jgroups-mping" port="0" multicast-address="230.0.0.4" multicast-port="45700"/>
  808. <socket-binding name="jgroups-tcp" port="7600"/>
  809. <socket-binding name="jgroups-tcp-fd" port="57600"/>
  810. <socket-binding name="jgroups-udp" port="55200" multicast-address="230.0.0.4" multicast-port="45688"/>
  811. <socket-binding name="jgroups-udp-fd" port="54200"/>
  812. <socket-binding name="jmx-connector-registry" interface="management" port="1090"/>
  813. <socket-binding name="jmx-connector-server" interface="management" port="1091"/>
  814. <socket-binding name="jndi" port="1099"/>
  815. <socket-binding name="messaging" port="5445" />
  816. <socket-binding name="messaging-throughput" port="5455"/>
  817. <socket-binding name="modcluster" port="0" multicast-address="224.0.1.105" multicast-port="23364"/>
  818. <socket-binding name="osgi-http" interface="management" port="8090"/>
  819. <socket-binding name="remoting" port="4447"/>
  820. <socket-binding name="txn-recovery-environment" port="4712"/>
  821. <socket-binding name="txn-status-manager" port="4713"/>
  822. </socket-binding-group>
  823. </socket-binding-groups>
  824. <server-groups>
  825. <server-group name="main-server-group" profile="default">
  826. <jvm name="default">
  827. <heap size="64m" max-size="512m"/>
  828. </jvm>
  829. <socket-binding-group ref="standard-sockets"/>
  830. </server-group>
  831. <server-group name="other-server-group" profile="ha">
  832. <jvm name="default">
  833. <heap size="64m" max-size="512m"/>
  834. </jvm>
  835. <socket-binding-group ref="standard-sockets"/>
  836. </server-group>
  837. </server-groups>
  838. </domain>