| <!-- |
| |
| Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved. |
| |
| This program and the accompanying materials are made available under the |
| terms of the Eclipse Public License v. 2.0, which is available at |
| http://www.eclipse.org/legal/epl-2.0. |
| |
| This Source Code may also be made available under the following Secondary |
| Licenses when the conditions for such availability set forth in the |
| Eclipse Public License v. 2.0 are satisfied: GNU General Public License, |
| version 2 with the GNU Classpath Exception, which is available at |
| https://www.gnu.org/software/classpath/license.html. |
| |
| SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 |
| |
| --> |
| |
| <domain log-root="${com.sun.aas.instanceRoot}/logs" application-root="${com.sun.aas.instanceRoot}/applications" version="10.0"> |
| <system-applications/> |
| <applications/> |
| <resources/> |
| <servers> |
| <server config-ref="server-config" name="server"/> |
| </servers> |
| <configs> |
| <config name="server-config"> |
| <http-service> |
| <access-log rotation-interval-in-minutes="15" rotation-suffix="yyyy-MM-dd" /> |
| <http-listener default-virtual-server="server" server-name="" address="0.0.0.0" port="8080" id="http-listener-1"> |
| </http-listener> |
| <http-listener default-virtual-server="server" enabled="false" security-enabled="true" server-name="" address="0.0.0.0" port="8181" id="http-listener-2"> |
| <ssl ssl3-enabled="false" cert-nickname="s1as" /> |
| </http-listener> |
| <http-listener default-virtual-server="__asadmin" server-name="" address="0.0.0.0" port="4848" id="admin-listener"> |
| </http-listener> |
| <virtual-server id="server" http-listeners="http-listener-1,http-listener-2"> |
| <property value="${com.sun.aas.instanceRoot}/docroot" name="docroot" /> |
| <property value="${com.sun.aas.instanceRoot}/logs/access" name="accesslog" /> |
| <property value="false" name="sso-enabled" /> |
| </virtual-server> |
| <virtual-server id="__asadmin" http-listeners="admin-listener"> |
| <property value="${com.sun.aas.instanceRoot}/docroot" name="docroot" /> |
| <property value="${com.sun.aas.instanceRoot}/logs/access" name="accesslog" /> |
| <property value="false" name="sso-enabled" /> |
| </virtual-server> |
| <request-processing initial-thread-count="2" header-buffer-length-in-bytes="8192" thread-count="20" thread-increment="1" /> |
| <keep-alive max-connections="250" /> |
| <connection-pool /> |
| <http-protocol default-response-type="text/plain; charset=iso-8859-1" forced-response-type="text/plain; charset=iso-8859-1" /> |
| <http-file-cache file-caching-enabled="false" globally-enabled="false" /> |
| <property value="false" name="accessLoggingEnabled" /> |
| </http-service> |
| <admin-service type="das-and-server" system-jmx-connector-name="system"> |
| <jmx-connector auth-realm-name="admin-realm" security-enabled="false" address="0.0.0.0" port="8686" name="system" /> |
| <das-config autodeploy-enabled="true" dynamic-reload-enabled="true" deploy-xml-validation="full" autodeploy-dir="${com.sun.aas.instanceRoot}/autodeploy" /> |
| <property value="/admin" name="adminConsoleContextRoot" /> |
| <property value="${com.sun.aas.installRoot}/lib/install/applications/admingui.war" name="adminConsoleDownloadLocation" /> |
| <property value="${com.sun.aas.installRoot}/.." name="ipsRoot" /> |
| </admin-service> |
| <log-service file="${com.sun.aas.instanceRoot}/logs/server.log" log-rotation-limit-in-bytes="2000000"> |
| <module-log-levels /> |
| </log-service> |
| <security-service> |
| <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="admin-realm"> |
| <property value="${com.sun.aas.instanceRoot}/config/admin-keyfile" name="file" /> |
| <property value="fileRealm" name="jaas-context" /> |
| </auth-realm> |
| <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="file"> |
| <property value="${com.sun.aas.instanceRoot}/config/keyfile" name="file" /> |
| <property value="fileRealm" name="jaas-context" /> |
| </auth-realm> |
| <auth-realm classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm" name="certificate" /> |
| <jacc-provider policy-configuration-factory-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyConfigurationFactory" policy-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyProvider" name="default"> |
| <property value="${com.sun.aas.instanceRoot}/generated/policy" name="repository" /> |
| </jacc-provider> |
| <jacc-provider policy-configuration-factory-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyConfigurationFactory" policy-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyProvider" name="simple" /> |
| <audit-module classname="com.sun.enterprise.security.ee.Audit" name="default"> |
| <property value="false" name="auditOn" /> |
| </audit-module> |
| <message-security-config auth-layer="SOAP"> |
| <provider-config provider-id="XWS_ClientProvider" class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-type="client"> |
| <request-policy auth-source="content" /> |
| <response-policy auth-source="content" /> |
| <property value="s1as" name="encryption.key.alias" /> |
| <property value="s1as" name="signature.key.alias" /> |
| <property value="false" name="dynamic.username.password" /> |
| <property value="false" name="debug" /> |
| </provider-config> |
| <provider-config provider-id="ClientProvider" class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-type="client"> |
| <request-policy auth-source="content" /> |
| <response-policy auth-source="content" /> |
| <property value="s1as" name="encryption.key.alias" /> |
| <property value="s1as" name="signature.key.alias" /> |
| <property value="false" name="dynamic.username.password" /> |
| <property value="false" name="debug" /> |
| <property value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml" name="security.config" /> |
| </provider-config> |
| <provider-config provider-id="XWS_ServerProvider" class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-type="server"> |
| <request-policy auth-source="content" /> |
| <response-policy auth-source="content" /> |
| <property value="s1as" name="encryption.key.alias" /> |
| <property value="s1as" name="signature.key.alias" /> |
| <property value="false" name="debug" /> |
| </provider-config> |
| <provider-config provider-id="ServerProvider" class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-type="server"> |
| <request-policy auth-source="content" /> |
| <response-policy auth-source="content" /> |
| <property value="s1as" name="encryption.key.alias" /> |
| <property value="s1as" name="signature.key.alias" /> |
| <property value="false" name="debug" /> |
| <property value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml" name="security.config" /> |
| </provider-config> |
| </message-security-config> |
| </security-service> |
| <monitoring-service> |
| <module-monitoring-levels /> |
| </monitoring-service> |
| <java-config classpath-suffix="" system-classpath="" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009"> |
| <jvm-options>-XX:MaxPermSize=192m</jvm-options> |
| <jvm-options>-client</jvm-options> |
| <jvm-options>-XX:+UnlockDiagnosticVMOptions</jvm-options> |
| <jvm-options>-XX:+LogVMOutput</jvm-options> |
| <jvm-options>-XX:LogFile=${com.sun.aas.instanceRoot}/logs/jvm.log</jvm-options> |
| <jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options> |
| <jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options> |
| <jvm-options>-Xmx512m</jvm-options> |
| <jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options> |
| <jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options> |
| <jvm-options>-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext${path.separator}${com.sun.aas.derbyRoot}/lib</jvm-options> |
| <jvm-options>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options> |
| <jvm-options>-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory</jvm-options> |
| <jvm-options>-XX:NewRatio=2</jvm-options> |
| </java-config> |
| <thread-pools> |
| <thread-pool thread-pool-id="thread-pool-1" /> |
| </thread-pools> |
| </config> |
| </configs> |
| <property value="domain1" name="administrative.domain.name" /> |
| </domain> |