appclient.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <!--
  2. ~ JBoss, Home of Professional Open Source.
  3. ~ Copyright 2011, 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. <server xmlns="urn:jboss:domain:1.4">
  23. <extensions>
  24. <extension module="org.jboss.as.connector"/>
  25. <extension module="org.jboss.as.ee"/>
  26. <extension module="org.jboss.as.ejb3"/>
  27. <extension module="org.jboss.as.jacorb"/>
  28. <extension module="org.jboss.as.jaxr"/>
  29. <extension module="org.jboss.as.jpa"/>
  30. <extension module="org.jboss.as.logging"/>
  31. <extension module="org.jboss.as.naming"/>
  32. <extension module="org.jboss.as.security"/>
  33. <extension module="org.jboss.as.transactions"/>
  34. <extension module="org.jboss.as.webservices"/>
  35. </extensions>
  36. <profile>
  37. <subsystem xmlns="urn:jboss:domain:logging:1.2">
  38. <console-handler name="CONSOLE">
  39. <level name="INFO"/>
  40. <formatter>
  41. <pattern-formatter pattern="%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
  42. </formatter>
  43. </console-handler>
  44. <periodic-rotating-file-handler name="FILE">
  45. <level name="INFO"/>
  46. <formatter>
  47. <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
  48. </formatter>
  49. <file relative-to="jboss.server.log.dir" path="appclient.log"/>
  50. <suffix value=".yyyy-MM-dd"/>
  51. <append value="true"/>
  52. </periodic-rotating-file-handler>
  53. <logger category="com.arjuna">
  54. <level name="WARN"/>
  55. </logger>
  56. <logger category="sun.rmi">
  57. <level name="WARN"/>
  58. </logger>
  59. <logger category="jacorb">
  60. <level name="WARN"/>
  61. </logger>
  62. <!-- set jacorb.config to ERROR to avoid the "jacorb.properties not found" messages during startup -->
  63. <logger category="jacorb.config">
  64. <level name="ERROR"/>
  65. </logger>
  66. <root-logger>
  67. <level name="INFO"/>
  68. <handlers>
  69. <handler name="CONSOLE"/>
  70. <handler name="FILE"/>
  71. </handlers>
  72. </root-logger>
  73. </subsystem>
  74. <subsystem xmlns="urn:jboss:domain:datasources:1.1">
  75. <datasources>
  76. <datasource jndi-name="java:jboss/datasources/ExampleDS" enabled="false" use-java-context="true"
  77. pool-name="java:jboss/datasources/ExampleDS">
  78. <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>
  79. <driver>h2</driver>
  80. <pool></pool>
  81. <security>
  82. <user-name>sa</user-name>
  83. <password>sa</password>
  84. </security>
  85. </datasource>
  86. <drivers>
  87. <driver name="h2" module="com.h2database.h2">
  88. <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
  89. </driver>
  90. </drivers>
  91. </datasources>
  92. </subsystem>
  93. <subsystem xmlns="urn:jboss:domain:ee:1.1">
  94. <spec-descriptor-property-replacement>false</spec-descriptor-property-replacement>
  95. <jboss-descriptor-property-replacement>false</jboss-descriptor-property-replacement>
  96. </subsystem>
  97. <subsystem xmlns="urn:jboss:domain:ejb3:1.2" />
  98. <subsystem xmlns="urn:jboss:domain:jacorb:1.1"/>
  99. <subsystem xmlns="urn:jboss:domain:jpa:1.0">
  100. <jpa default-datasource=""/>
  101. </subsystem>
  102. <subsystem xmlns="urn:jboss:domain:jca:1.1">
  103. <archive-validation enabled="false" />
  104. <bean-validation enabled="true" />
  105. <default-workmanager>
  106. <short-running-threads>
  107. <core-threads count="50"/>
  108. <queue-length count="50"/>
  109. <max-threads count="50"/>
  110. <keepalive-time time="10" unit="seconds"/>
  111. </short-running-threads>
  112. <long-running-threads>
  113. <core-threads count="50"/>
  114. <queue-length count="50"/>
  115. <max-threads count="50"/>
  116. <keepalive-time time="10" unit="seconds"/>
  117. </long-running-threads>
  118. </default-workmanager>
  119. </subsystem>
  120. <subsystem xmlns="urn:jboss:domain:naming:1.0"/>
  121. <subsystem xmlns="urn:jboss:domain:security:1.0">
  122. <security-domains>
  123. <security-domain name="other" cache-type="default">
  124. <authentication>
  125. <login-module code="UsersRoles" flag="required"/>
  126. </authentication>
  127. </security-domain>
  128. <security-domain name="jboss-web-policy" cache-type="default">
  129. <authorization>
  130. <policy-module code="Delegating" flag="required"/>
  131. </authorization>
  132. </security-domain>
  133. <security-domain name="jboss-ejb-policy" cache-type="default">
  134. <authorization>
  135. <policy-module code="Delegating" flag="required"/>
  136. </authorization>
  137. </security-domain>
  138. </security-domains>
  139. </subsystem>
  140. <subsystem xmlns="urn:jboss:domain:jaxr:1.1">
  141. <connection-factory jndi-name="java:jboss/jaxr/ConnectionFactory"/>
  142. </subsystem>
  143. <subsystem xmlns="urn:jboss:domain:transactions:1.2">
  144. <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
  145. <core-environment>
  146. <process-id>
  147. <uuid/>
  148. </process-id>
  149. </core-environment>
  150. <coordinator-environment default-timeout="300"/>
  151. </subsystem>
  152. <subsystem xmlns="urn:jboss:domain:webservices:1.1"/>
  153. </profile>
  154. <interfaces>
  155. <interface name="public">
  156. <inet-address value="${jboss.bind.address:127.0.0.1}"/>
  157. </interface>
  158. </interfaces>
  159. <socket-binding-group name="standard-sockets" default-interface="public">
  160. <socket-binding name="jacorb" port="3628"/>
  161. <socket-binding name="jacorb-ssl" port="3629"/>
  162. <socket-binding name="txn-recovery-environment" port="4712"/>
  163. <socket-binding name="txn-status-manager" port="4713"/>
  164. </socket-binding-group>
  165. </server>