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