PageRenderTime 116ms CodeModel.GetById 14ms RepoModel.GetById 7ms app.codeStats 0ms

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

#
XML | 278 lines | 231 code | 10 blank | 37 comment | 0 complexity | cf1aa35ceb1c98da5f7a811d2cebca64 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
  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.0">
  23. <extensions>
  24. <extension module="org.jboss.as.clustering.infinispan"/>
  25. <extension module="org.jboss.as.connector"/>
  26. <extension module="org.jboss.as.deployment-scanner"/>
  27. <extension module="org.jboss.as.ee"/>
  28. <extension module="org.jboss.as.ejb3"/>
  29. <extension module="org.jboss.as.jaxrs"/>
  30. <extension module="org.jboss.as.jmx"/>
  31. <extension module="org.jboss.as.jpa"/>
  32. <extension module="org.jboss.as.logging"/>
  33. <extension module="org.jboss.as.naming"/>
  34. <extension module="org.jboss.as.osgi"/>
  35. <extension module="org.jboss.as.remoting"/>
  36. <extension module="org.jboss.as.sar"/>
  37. <extension module="org.jboss.as.security"/>
  38. <extension module="org.jboss.as.threads"/>
  39. <extension module="org.jboss.as.transactions"/>
  40. <extension module="org.jboss.as.web" />
  41. <extension module="org.jboss.as.weld" />
  42. </extensions>
  43. <management>
  44. <security-realms>
  45. <security-realm name="PropertiesMgmtSecurityRealm">
  46. <authentication>
  47. <properties path="mgmt-users.properties" relative-to="jboss.server.config.dir" />
  48. </authentication>
  49. </security-realm>
  50. </security-realms>
  51. <management-interfaces>
  52. <native-interface interface="management" port="9999" />
  53. <http-interface interface="management" port="9990"/>
  54. </management-interfaces>
  55. </management>
  56. <profile>
  57. <subsystem xmlns="urn:jboss:domain:logging:1.0">
  58. <console-handler name="CONSOLE">
  59. <level name="INFO"/>
  60. <formatter>
  61. <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
  62. </formatter>
  63. </console-handler>
  64. <periodic-rotating-file-handler name="FILE">
  65. <level name="INFO"/>
  66. <formatter>
  67. <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
  68. </formatter>
  69. <file relative-to="jboss.server.log.dir" path="server.log"/>
  70. <suffix value=".yyyy-MM-dd"/>
  71. </periodic-rotating-file-handler>
  72. <logger category="com.arjuna">
  73. <level name="WARN"/>
  74. </logger>
  75. <logger category="org.apache.tomcat.util.modeler">
  76. <level name="WARN"/>
  77. </logger>
  78. <logger category="sun.rmi">
  79. <level name="WARN"/>
  80. </logger>
  81. <root-logger>
  82. <level name="INFO"/>
  83. <handlers>
  84. <handler name="CONSOLE"/>
  85. <handler name="FILE"/>
  86. </handlers>
  87. </root-logger>
  88. </subsystem>
  89. <subsystem xmlns="urn:jboss:domain:datasources:1.0">
  90. <datasources>
  91. <datasource jndi-name="java:jboss/datasources/ExampleDS" enabled="true" use-java-context="true" pool-name="H2DS">
  92. <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>
  93. <driver>h2</driver>
  94. <pool></pool>
  95. <security>
  96. <user-name>sa</user-name>
  97. <password>sa</password>
  98. </security>
  99. <validation></validation>
  100. <timeout></timeout>
  101. <statement></statement>
  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:deployment-scanner:1.0">
  111. <deployment-scanner scan-interval="5000" relative-to="jboss.server.base.dir" path="deployments" />
  112. </subsystem>
  113. <subsystem xmlns="urn:jboss:domain:ee:1.0" />
  114. <subsystem xmlns="urn:jboss:domain:ejb3:1.0" />
  115. <subsystem xmlns="urn:jboss:domain:infinispan:1.0" default-cache-container="hibernate">
  116. <cache-container name="hibernate" default-cache="local-query">
  117. <local-cache name="entity">
  118. <eviction strategy="LRU" max-entries="10000"/>
  119. <expiration max-idle="100000"/>
  120. </local-cache>
  121. <local-cache name="local-query">
  122. <eviction strategy="LRU" max-entries="10000"/>
  123. <expiration max-idle="100000"/>
  124. </local-cache>
  125. <local-cache name="timestamps">
  126. <eviction strategy="NONE"/>
  127. </local-cache>
  128. </cache-container>
  129. </subsystem>
  130. <subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>
  131. <subsystem xmlns="urn:jboss:domain:jca:1.0">
  132. <archive-validation enabled="false" />
  133. <bean-validation enabled="false" />
  134. <default-workmanager>
  135. <short-running-threads blocking="true">
  136. <core-threads count="10" per-cpu="20"/>
  137. <queue-length count="10" per-cpu="20"/>
  138. <max-threads count="10" per-cpu="20"/>
  139. <keepalive-time time="10" unit="seconds"/>
  140. </short-running-threads>
  141. <long-running-threads blocking="true">
  142. <core-threads count="10" per-cpu="20"/>
  143. <queue-length count="10" per-cpu="20"/>
  144. <max-threads count="10" per-cpu="20"/>
  145. <keepalive-time time="10" unit="seconds"/>
  146. </long-running-threads>
  147. </default-workmanager>
  148. </subsystem>
  149. <subsystem xmlns="urn:jboss:domain:jmx:1.0">
  150. <jmx-connector registry-binding="jmx-connector-registry" server-binding="jmx-connector-server" />
  151. </subsystem>
  152. <subsystem xmlns="urn:jboss:domain:jpa:1.0">
  153. <jpa default-datasource=""/>
  154. </subsystem>
  155. <subsystem xmlns="urn:jboss:domain:naming:1.0" />
  156. <subsystem xmlns="urn:jboss:domain:osgi:1.0" activation="lazy">
  157. <configuration pid="org.apache.felix.webconsole.internal.servlet.OsgiManager">
  158. <property name="manager.root">jboss-osgi</property>
  159. </configuration>
  160. <properties>
  161. <!--
  162. A comma seperated list of module identifiers. Each system module
  163. is added as a dependency to the OSGi framework module. The packages
  164. from these system modules can be made visible as framework system packages.
  165. http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Constants.html#FRAMEWORK_SYSTEMPACKAGES_EXTRA
  166. -->
  167. <property name="org.jboss.osgi.system.modules">
  168. org.apache.commons.logging,
  169. org.apache.log4j,
  170. org.jboss.as.osgi,
  171. org.slf4j,
  172. </property>
  173. <!--
  174. Framework environment property identifying extra packages which the system bundle
  175. must export from the current execution environment
  176. -->
  177. <property name="org.osgi.framework.system.packages.extra">
  178. org.apache.commons.logging;version=1.1.1,
  179. org.apache.log4j;version=1.2,
  180. org.jboss.as.osgi.service;version=7.0,
  181. org.jboss.osgi.deployment.interceptor;version=1.0,
  182. org.jboss.osgi.spi.capability;version=1.0,
  183. org.jboss.osgi.spi.util;version=1.0,
  184. org.jboss.osgi.testing;version=1.0,
  185. org.jboss.osgi.vfs;version=1.0,
  186. org.slf4j;version=1.5.10,
  187. </property>
  188. <!-- Specifies the beginning start level of the framework -->
  189. <property name="org.osgi.framework.startlevel.beginning">1</property>
  190. </properties>
  191. <modules>
  192. <!-- modules registered with the OSGi layer on startup -->
  193. <module identifier="javaee.api"/>
  194. <module identifier="org.jboss.logging"/>
  195. <!-- bundles installed on startup -->
  196. <module identifier="org.apache.aries.util"/>
  197. <module identifier="org.jboss.osgi.webconsole"/>
  198. <module identifier="org.osgi.compendium"/>
  199. <!-- bundles started in startlevel 1 -->
  200. <module identifier="org.apache.felix.log" startlevel="1"/>
  201. <module identifier="org.jboss.osgi.logging" startlevel="1"/>
  202. <module identifier="org.apache.felix.configadmin" startlevel="1"/>
  203. <module identifier="org.jboss.as.osgi.configadmin" startlevel="1"/>
  204. <!-- bundles started in startlevel 2 -->
  205. <module identifier="org.apache.aries.jmx" startlevel="2"/>
  206. <module identifier="org.apache.felix.eventadmin" startlevel="2"/>
  207. <module identifier="org.apache.felix.metatype" startlevel="2"/>
  208. <module identifier="org.apache.felix.scr" startlevel="2"/>
  209. <module identifier="org.apache.felix.webconsole" startlevel="2"/>
  210. <module identifier="org.jboss.osgi.jmx" startlevel="2"/>
  211. <module identifier="org.jboss.osgi.http" startlevel="2"/>
  212. <!-- bundles started in startlevel 3 -->
  213. <module identifier="org.jboss.osgi.blueprint" startlevel="3"/>
  214. <module identifier="org.jboss.osgi.webapp" startlevel="3"/>
  215. <module identifier="org.jboss.osgi.xerces" startlevel="3"/>
  216. </modules>
  217. </subsystem>
  218. <subsystem xmlns="urn:jboss:domain:remoting:1.0"/>
  219. <subsystem xmlns="urn:jboss:domain:resource-adapters:1.0" />
  220. <subsystem xmlns="urn:jboss:domain:sar:1.0"/>
  221. <subsystem xmlns="urn:jboss:domain:security:1.0">
  222. <security-domains>
  223. <security-domain name="other" cache-type="default">
  224. <authentication>
  225. <login-module code="UsersRoles" flag="required"/>
  226. </authentication>
  227. </security-domain>
  228. </security-domains>
  229. </subsystem>
  230. <subsystem xmlns="urn:jboss:domain:threads:1.0"/>
  231. <subsystem xmlns="urn:jboss:domain:transactions:1.0">
  232. <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
  233. <core-environment>
  234. <process-id>
  235. <uuid />
  236. </process-id>
  237. </core-environment>
  238. <coordinator-environment default-timeout="300"/>
  239. </subsystem>
  240. <subsystem xmlns="urn:jboss:domain:web:1.0" default-virtual-server="default-host">
  241. <connector name="http" scheme="http" protocol="HTTP/1.1" socket-binding="http"/>
  242. <virtual-server name="default-host" enable-welcome-root="true">
  243. <alias name="localhost" />
  244. <alias name="example.com" />
  245. </virtual-server>
  246. </subsystem>
  247. <subsystem xmlns="urn:jboss:domain:weld:1.0" />
  248. </profile>
  249. <interfaces>
  250. <interface name="management">
  251. <inet-address value="127.0.0.1"/>
  252. </interface>
  253. <interface name="public">
  254. <inet-address value="127.0.0.1"/>
  255. </interface>
  256. </interfaces>
  257. <socket-binding-group name="standard-sockets" default-interface="public">
  258. <socket-binding name="http" port="8080"/>
  259. <socket-binding name="https" port="8443"/>
  260. <socket-binding name="jmx-connector-registry" port="1090"/>
  261. <socket-binding name="jmx-connector-server" port="1091"/>
  262. <socket-binding name="jndi" port="1099"/>
  263. <socket-binding name="osgi-http" port="8090"/>
  264. <socket-binding name="remoting" port="4447"/>
  265. <socket-binding name="txn-recovery-environment" port="4712"/>
  266. <socket-binding name="txn-status-manager" port="4713"/>
  267. </socket-binding-group>
  268. </server>