Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2019
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 32.36 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <domain application-root="${com.sun.aas.instanceRoot}/applications" version="115" log-root="${com.sun.aas.instanceRoot}/logs">
  3.   <hazelcast-runtime-configuration />
  4.   <security-configurations>
  5.     <authentication-service default="true" name="adminAuth" use-password-credential="true">
  6.       <security-provider provider-name="adminSpc" name="spcrealm" type="LoginModule">
  7.         <login-module-config module-class="com.sun.enterprise.admin.util.AdminLoginModule" control-flag="sufficient" name="adminSpecialLM">
  8.           <property name="config" value="server-config" />
  9.           <property name="auth-realm" value="admin-realm" />
  10.         </login-module-config>
  11.       </security-provider>
  12.       <security-provider provider-name="adminFile" name="filerealm" type="LoginModule">
  13.         <login-module-config module-class="com.sun.enterprise.security.auth.login.FileLoginModule" control-flag="sufficient" name="adminFileLM">
  14.           <property name="config" value="server-config" />
  15.           <property name="auth-realm" value="admin-realm" />
  16.         </login-module-config>
  17.       </security-provider>
  18.     </authentication-service>
  19.     <authorization-service default="true" name="authorizationService">
  20.       <security-provider provider-name="simpleAuthorizationProvider" name="simpleAuthorization" type="Simple">
  21.         <authorization-provider-config name="simpleAuthorizationProviderConfig" support-policy-deploy="false" />
  22.       </security-provider>
  23.     </authorization-service>
  24.   </security-configurations>
  25.   <managed-job-config />
  26.   <system-applications />
  27.   <resources>
  28.     <jdbc-resource pool-name="__TimerPool" object-type="system-all" jndi-name="jdbc/__TimerPool" />
  29.     <jdbc-resource pool-name="DerbyPool" object-type="system-all" jndi-name="jdbc/__derby" />
  30.     <jdbc-resource pool-name="H2Pool" object-type="system-all" jndi-name="jdbc/__default" />
  31.     <jdbc-connection-pool datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource" name="__TimerPool" res-type="javax.sql.XADataSource">
  32.       <property name="databaseName" value="${com.sun.aas.instanceRoot}/lib/databases/ejbtimer" />
  33.       <property name="connectionAttributes" value=";create=true" />
  34.     </jdbc-connection-pool>
  35.     <jdbc-connection-pool is-isolation-level-guaranteed="false" datasource-classname="org.apache.derby.jdbc.ClientDataSource" name="DerbyPool" res-type="javax.sql.DataSource">
  36.       <property name="PortNumber" value="1527" />
  37.       <property name="Password" value="APP" />
  38.       <property name="User" value="APP" />
  39.       <property name="serverName" value="localhost" />
  40.       <property name="DatabaseName" value="sun-appserv-samples" />
  41.       <property name="connectionAttributes" value=";create=true" />
  42.     </jdbc-connection-pool>
  43.     <jdbc-connection-pool is-isolation-level-guaranteed="false" datasource-classname="org.h2.jdbcx.JdbcDataSource" name="H2Pool" res-type="javax.sql.DataSource">
  44.       <property name="URL" value="jdbc:h2:${com.sun.aas.instanceRoot}/lib/databases/embedded_default;AUTO_SERVER=TRUE" />
  45.     </jdbc-connection-pool>
  46.     <managed-executor-service object-type="system-all" jndi-name="concurrent/__defaultManagedExecutorService" />
  47.     <managed-scheduled-executor-service object-type="system-all" jndi-name="concurrent/__defaultManagedScheduledExecutorService" />
  48.   </resources>
  49.   <servers>
  50.     <server config-ref="server-config" name="server">
  51.       <resource-ref ref="jdbc/__TimerPool" />
  52.       <resource-ref ref="jdbc/__default" />
  53.       <resource-ref ref="jdbc/__derby" />
  54.       <resource-ref ref="concurrent/__defaultManagedExecutorService" />
  55.       <resource-ref ref="concurrent/__defaultManagedScheduledExecutorService" />
  56.     </server>
  57.   </servers>
  58.   <nodes>
  59.     <node name="localhost-domain1" install-dir="${com.sun.aas.productRoot}" type="CONFIG" node-host="localhost" />
  60.   </nodes>
  61.   <configs>
  62.     <config name="server-config">
  63.       <system-property name="JMS_PROVIDER_PORT" description="Port Number that JMS Service will listen for remote clients connection." value="7676" />
  64.       <payara-executor-service-configuration />
  65.       <http-service>
  66.         <access-log />
  67.         <virtual-server network-listeners="http-listener-1,http-listener-2" id="server" />
  68.         <virtual-server network-listeners="admin-listener" id="__asadmin" />
  69.       </http-service>
  70.       <iiop-service>
  71.         <orb use-thread-pool-ids="thread-pool-1" />
  72.         <iiop-listener address="0.0.0.0" port="3700" lazy-init="true" id="orb-listener-1" />
  73.         <ssl />
  74.         <iiop-listener address="0.0.0.0" port="3820" id="SSL" security-enabled="true">
  75.           <ssl classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl" cert-nickname="s1as" />
  76.         </iiop-listener>
  77.         <iiop-listener address="0.0.0.0" port="3920" id="SSL_MUTUALAUTH" security-enabled="true">
  78.           <ssl classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl" cert-nickname="s1as" client-auth-enabled="true" />
  79.         </iiop-listener>
  80.       </iiop-service>
  81.       <admin-service system-jmx-connector-name="system" type="das-and-server">
  82.         <jmx-connector address="0.0.0.0" port="8686" name="system" auth-realm-name="admin-realm" security-enabled="false" />
  83.         <property name="adminConsoleContextRoot" value="/admin" />
  84.         <property name="adminConsoleDownloadLocation" value="${com.sun.aas.installRoot}/lib/install/applications/admingui.war" />
  85.         <property name="ipsRoot" value="${com.sun.aas.installRoot}/.." />
  86.         <das-config />
  87.       </admin-service>
  88.       <connector-service />
  89.       <transaction-service tx-log-dir="${com.sun.aas.instanceRoot}/logs" />
  90.       <asadmin-recorder-configuration />
  91.       <request-tracing-service-configuration>
  92.         <log-notifier />
  93.       </request-tracing-service-configuration>
  94.       <notification-service-configuration enabled="true">
  95.         <log-notifier-configuration enabled="true" />
  96.       </notification-service-configuration>
  97.       <hazelcast-config-specific-configuration />
  98.       <monitoring-service-configuration />
  99.       <microprofile-metrics-configuration />
  100.       <stuck-threads-checker />
  101.       <rest-monitoring-configuration />
  102.       <batch-runtime-configuration />
  103.       <health-check-service-configuration>
  104.         <log-notifier />
  105.       </health-check-service-configuration>
  106.       <admin-audit-configuration />
  107.       <microprofile-openapi-configuration />
  108.       <metrics-health-check-configuration />
  109.       <phone-home-runtime-configuration phone-home-id="8580f401-2497-434f-968f-d8a676e1b803" />
  110.       <amx-configuration />
  111.       <microprofile-fault-tolerance-configuration />
  112.       <zendesk-support-configuration />
  113.       <diagnostic-service />
  114.       <security-service>
  115.         <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="admin-realm">
  116.           <property name="file" value="${com.sun.aas.instanceRoot}/config/admin-keyfile" />
  117.           <property name="jaas-context" value="fileRealm" />
  118.         </auth-realm>
  119.         <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="file">
  120.           <property name="file" value="${com.sun.aas.instanceRoot}/config/keyfile" />
  121.           <property name="jaas-context" value="fileRealm" />
  122.         </auth-realm>
  123.         <auth-realm classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm" name="certificate" />
  124.         <jacc-provider policy-provider="com.sun.enterprise.security.provider.PolicyWrapper" name="default" policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl">
  125.           <property name="repository" value="${com.sun.aas.instanceRoot}/generated/policy" />
  126.         </jacc-provider>
  127.         <jacc-provider policy-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyProvider" name="simple" policy-configuration-factory-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyConfigurationFactory" />
  128.         <audit-module classname="com.sun.enterprise.security.ee.Audit" name="default">
  129.           <property name="auditOn" value="false" />
  130.         </audit-module>
  131.         <message-security-config auth-layer="SOAP">
  132.           <provider-config provider-type="client" provider-id="XWS_ClientProvider" class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule">
  133.             <request-policy auth-source="content" />
  134.             <response-policy auth-source="content" />
  135.             <property name="encryption.key.alias" value="s1as" />
  136.             <property name="signature.key.alias" value="s1as" />
  137.             <property name="dynamic.username.password" value="false" />
  138.             <property name="debug" value="false" />
  139.           </provider-config>
  140.           <provider-config provider-type="client" provider-id="ClientProvider" class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule">
  141.             <request-policy auth-source="content" />
  142.             <response-policy auth-source="content" />
  143.             <property name="encryption.key.alias" value="s1as" />
  144.             <property name="signature.key.alias" value="s1as" />
  145.             <property name="dynamic.username.password" value="false" />
  146.             <property name="debug" value="false" />
  147.             <property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml" />
  148.           </provider-config>
  149.           <provider-config provider-type="server" provider-id="XWS_ServerProvider" class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule">
  150.             <request-policy auth-source="content" />
  151.             <response-policy auth-source="content" />
  152.             <property name="encryption.key.alias" value="s1as" />
  153.             <property name="signature.key.alias" value="s1as" />
  154.             <property name="debug" value="false" />
  155.           </provider-config>
  156.           <provider-config provider-type="server" provider-id="ServerProvider" class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule">
  157.             <request-policy auth-source="content" />
  158.             <response-policy auth-source="content" />
  159.             <property name="encryption.key.alias" value="s1as" />
  160.             <property name="signature.key.alias" value="s1as" />
  161.             <property name="debug" value="false" />
  162.             <property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml" />
  163.           </provider-config>
  164.         </message-security-config>
  165.         <message-security-config auth-layer="HttpServlet">
  166.           <provider-config provider-type="server" provider-id="GFConsoleAuthModule" class-name="org.glassfish.admingui.common.security.AdminConsoleAuthModule">
  167.             <request-policy auth-source="sender" />
  168.             <response-policy />
  169.             <property name="loginPage" value="/login.jsf" />
  170.             <property name="loginErrorPage" value="/loginError.jsf" />
  171.           </provider-config>
  172.         </message-security-config>
  173.         <property name="default-digest-algorithm" value="SHA-256" />
  174.       </security-service>
  175.       <java-config classpath-suffix="" debug-options="-agentlib:jdwp=transport=dt_socket,address=9009,server=n,suspend=y" system-classpath="" debug-enabled="false" java-home="C:\Program Files\Java\jdk-11.0.3">
  176.         <jvm-options>-client</jvm-options>
  177.         <jvm-options>[9|]--add-opens=java.base/jdk.internal.loader=ALL-UNNAMED</jvm-options>
  178.         <jvm-options>[9|]--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED</jvm-options>
  179.         <jvm-options>[9|]--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED</jvm-options>
  180.         <jvm-options>[9|]--add-opens=java.base/java.lang=ALL-UNNAMED</jvm-options>
  181.         <jvm-options>[9|]--add-opens=java.base/java.nio=ALL-UNNAMED</jvm-options>
  182.         <jvm-options>[9|]--add-opens=java.base/sun.nio.ch=ALL-UNNAMED</jvm-options>
  183.         <jvm-options>[9|]--add-opens=java.management/sun.management=ALL-UNNAMED</jvm-options>
  184.         <jvm-options>[9|]--add-opens=java.base/sun.net.www.protocol.jrt=ALL-UNNAMED</jvm-options>
  185.         <jvm-options>-Djava.awt.headless=true</jvm-options>
  186.         <jvm-options>-Djdk.corba.allowOutputStreamSubclass=true</jvm-options>
  187.         <jvm-options>-Djavax.xml.accessExternalSchema=all</jvm-options>
  188.         <jvm-options>-Djavax.management.builder.initial=com.sun.enterprise.v3.admin.AppServerMBeanServerBuilder</jvm-options>
  189.         <jvm-options>-XX:+UnlockDiagnosticVMOptions</jvm-options>
  190.         <jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
  191.         <jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
  192.         <jvm-options>-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as</jvm-options>
  193.         <jvm-options>-Xmx512m</jvm-options>
  194.         <jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
  195.         <jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
  196.         <jvm-options>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options>
  197.         <jvm-options>-DANTLR_USE_DIRECT_CLASS_LOADING=true</jvm-options>
  198.         <jvm-options>-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory</jvm-options>
  199.         <jvm-options>-Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall</jvm-options>
  200.         <jvm-options>-Dosgi.shell.telnet.port=6666</jvm-options>
  201.         <jvm-options>-Dosgi.shell.telnet.maxconn=1</jvm-options>
  202.         <jvm-options>-Dosgi.shell.telnet.ip=127.0.0.1</jvm-options>
  203.         <jvm-options>-Dgosh.args=--nointeractive</jvm-options>
  204.         <jvm-options>-Dfelix.fileinstall.dir=${com.sun.aas.installRoot}/modules/autostart/</jvm-options>
  205.         <jvm-options>-Dfelix.fileinstall.poll=5000</jvm-options>
  206.         <jvm-options>-Dfelix.fileinstall.log.level=2</jvm-options>
  207.         <jvm-options>-Dfelix.fileinstall.bundles.new.start=true</jvm-options>
  208.         <jvm-options>-Dfelix.fileinstall.bundles.startTransient=true</jvm-options>
  209.         <jvm-options>-Dfelix.fileinstall.disableConfigSave=false</jvm-options>
  210.         <jvm-options>-XX:NewRatio=2</jvm-options>
  211.         <jvm-options>-Dcom.ctc.wstx.returnNullForDefaultNamespace=true</jvm-options>
  212.         <jvm-options>-Djdk.tls.rejectClientInitiatedRenegotiation=true</jvm-options>
  213.         <jvm-options>-Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false</jvm-options>
  214.         <jvm-options>-Dorg.glassfish.grizzly.DEFAULT_MEMORY_MANAGER=org.glassfish.grizzly.memory.HeapMemoryManager</jvm-options>
  215.         <jvm-options>-Dorg.glassfish.grizzly.nio.DefaultSelectorHandler.force-selector-spin-detection=true</jvm-options>
  216.         <jvm-options>[1.8.0|1.8.0u120]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.6.jar</jvm-options>
  217.         <jvm-options>[1.8.0u121|1.8.0u160]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.7.jar</jvm-options>
  218.         <jvm-options>[1.8.0u161|1.8.0u190]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.jar</jvm-options>
  219.         <jvm-options>[1.8.0u191|1.8.0u500]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar</jvm-options>
  220.         <jvm-options>[9|]-Xbootclasspath/a:${com.sun.aas.installRoot}/lib/grizzly-npn-api.jar</jvm-options>
  221.       </java-config>
  222.       <availability-service>
  223.         <web-container-availability />
  224.         <ejb-container-availability sfsb-store-pool-name="jdbc/hastore" />
  225.       </availability-service>
  226.       <network-config>
  227.         <protocols>
  228.           <protocol name="http-listener-1">
  229.             <http max-connections="250" default-virtual-server="server">
  230.               <file-cache />
  231.             </http>
  232.             <ssl />
  233.           </protocol>
  234.           <protocol name="http-listener-2" security-enabled="true">
  235.             <http max-connections="250" default-virtual-server="server">
  236.               <file-cache />
  237.             </http>
  238.             <ssl classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl" cert-nickname="s1as" />
  239.           </protocol>
  240.           <protocol name="admin-listener">
  241.             <http encoded-slash-enabled="true" max-connections="250" default-virtual-server="__asadmin">
  242.               <file-cache />
  243.             </http>
  244.           </protocol>
  245.         </protocols>
  246.         <network-listeners>
  247.           <network-listener protocol="http-listener-1" port="8080" name="http-listener-1" thread-pool="http-thread-pool" transport="tcp" />
  248.           <network-listener protocol="http-listener-2" port="8181" name="http-listener-2" thread-pool="http-thread-pool" transport="tcp" />
  249.           <network-listener protocol="admin-listener" port="4848" name="admin-listener" thread-pool="admin-thread-pool" transport="tcp" />
  250.         </network-listeners>
  251.         <transports>
  252.           <transport name="tcp" />
  253.         </transports>
  254.       </network-config>
  255.       <thread-pools>
  256.         <thread-pool name="admin-thread-pool" min-thread-pool-size="1" max-queue-size="256" max-thread-pool-size="15" />
  257.         <thread-pool name="http-thread-pool" />
  258.         <thread-pool name="thread-pool-1" max-thread-pool-size="200" />
  259.       </thread-pools>
  260.       <group-management-service>
  261.         <failure-detection />
  262.       </group-management-service>
  263.       <monitoring-service>
  264.         <module-monitoring-levels />
  265.       </monitoring-service>
  266.     </config>
  267.     <config name="default-config">
  268.       <payara-executor-service-configuration />
  269.       <http-service>
  270.         <access-log />
  271.         <virtual-server network-listeners="http-listener-1, http-listener-2" id="server">
  272.           <property name="default-web-xml" value="${com.sun.aas.instanceRoot}/config/default-web.xml" />
  273.         </virtual-server>
  274.         <virtual-server network-listeners="admin-listener" id="__asadmin" />
  275.       </http-service>
  276.       <iiop-service>
  277.         <orb use-thread-pool-ids="thread-pool-1" />
  278.         <iiop-listener address="0.0.0.0" port="${IIOP_LISTENER_PORT}" id="orb-listener-1" />
  279.         <ssl />
  280.         <iiop-listener address="0.0.0.0" port="${IIOP_SSL_LISTENER_PORT}" id="SSL" security-enabled="true">
  281.           <ssl classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl" cert-nickname="s1as" />
  282.         </iiop-listener>
  283.         <iiop-listener address="0.0.0.0" port="${IIOP_SSL_MUTUALAUTH_PORT}" id="SSL_MUTUALAUTH" security-enabled="true">
  284.           <ssl classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl" cert-nickname="s1as" client-auth-enabled="true" />
  285.         </iiop-listener>
  286.       </iiop-service>
  287.       <admin-service system-jmx-connector-name="system">
  288.         <jmx-connector address="0.0.0.0" port="${JMX_SYSTEM_CONNECTOR_PORT}" name="system" auth-realm-name="admin-realm" security-enabled="false" />
  289.         <property name="adminConsoleDownloadLocation" value="${com.sun.aas.installRoot}/lib/install/applications/admingui.war" />
  290.         <das-config />
  291.       </admin-service>
  292.       <web-container>
  293.         <session-config>
  294.           <session-manager>
  295.             <manager-properties />
  296.             <store-properties />
  297.           </session-manager>
  298.           <session-properties />
  299.         </session-config>
  300.       </web-container>
  301.       <ejb-container>
  302.         <ejb-timer-service />
  303.       </ejb-container>
  304.       <mdb-container />
  305.       <jms-service addresslist-behavior="priority" default-jms-host="default_JMS_host" type="EMBEDDED">
  306.         <jms-host port="${JMS_PROVIDER_PORT}" host="localhost" name="default_JMS_host" />
  307.       </jms-service>
  308.       <log-service file="${com.sun.aas.instanceRoot}/logs/server.log" log-rotation-limit-in-bytes="2000000">
  309.         <module-log-levels />
  310.       </log-service>
  311.       <security-service>
  312.         <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="admin-realm">
  313.           <property name="file" value="${com.sun.aas.instanceRoot}/config/admin-keyfile" />
  314.           <property name="jaas-context" value="fileRealm" />
  315.         </auth-realm>
  316.         <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="file">
  317.           <property name="file" value="${com.sun.aas.instanceRoot}/config/keyfile" />
  318.           <property name="jaas-context" value="fileRealm" />
  319.         </auth-realm>
  320.         <auth-realm classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm" name="certificate" />
  321.         <jacc-provider policy-provider="com.sun.enterprise.security.provider.PolicyWrapper" name="default" policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl">
  322.           <property name="repository" value="${com.sun.aas.instanceRoot}/generated/policy" />
  323.         </jacc-provider>
  324.         <jacc-provider policy-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyProvider" name="simple" policy-configuration-factory-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyConfigurationFactory" />
  325.         <audit-module classname="com.sun.enterprise.security.ee.Audit" name="default">
  326.           <property name="auditOn" value="false" />
  327.         </audit-module>
  328.         <message-security-config auth-layer="SOAP">
  329.           <provider-config provider-type="client" provider-id="XWS_ClientProvider" class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule">
  330.             <request-policy auth-source="content" />
  331.             <response-policy auth-source="content" />
  332.             <property name="encryption.key.alias" value="s1as" />
  333.             <property name="signature.key.alias" value="s1as" />
  334.             <property name="dynamic.username.password" value="false" />
  335.             <property name="debug" value="false" />
  336.           </provider-config>
  337.           <provider-config provider-type="client" provider-id="ClientProvider" class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule">
  338.             <request-policy auth-source="content" />
  339.             <response-policy auth-source="content" />
  340.             <property name="encryption.key.alias" value="s1as" />
  341.             <property name="signature.key.alias" value="s1as" />
  342.             <property name="dynamic.username.password" value="false" />
  343.             <property name="debug" value="false" />
  344.             <property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml" />
  345.           </provider-config>
  346.           <provider-config provider-type="server" provider-id="XWS_ServerProvider" class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule">
  347.             <request-policy auth-source="content" />
  348.             <response-policy auth-source="content" />
  349.             <property name="encryption.key.alias" value="s1as" />
  350.             <property name="signature.key.alias" value="s1as" />
  351.             <property name="debug" value="false" />
  352.           </provider-config>
  353.           <provider-config provider-type="server" provider-id="ServerProvider" class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule">
  354.             <request-policy auth-source="content" />
  355.             <response-policy auth-source="content" />
  356.             <property name="encryption.key.alias" value="s1as" />
  357.             <property name="signature.key.alias" value="s1as" />
  358.             <property name="debug" value="false" />
  359.             <property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml" />
  360.           </provider-config>
  361.         </message-security-config>
  362.       </security-service>
  363.       <transaction-service automatic-recovery="true" tx-log-dir="${com.sun.aas.instanceRoot}/logs" />
  364.       <request-tracing-service-configuration>
  365.         <log-notifier />
  366.       </request-tracing-service-configuration>
  367.       <notification-service-configuration enabled="true">
  368.         <log-notifier-configuration enabled="true" />
  369.       </notification-service-configuration>
  370.       <hazelcast-config-specific-configuration />
  371.       <monitoring-service-configuration />
  372.       <microprofile-metrics-configuration />
  373.       <diagnostic-service />
  374.       <java-config classpath-suffix="" debug-options="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=${JAVA_DEBUGGER_PORT}" system-classpath="">
  375.         <jvm-options>-server</jvm-options>
  376.         <jvm-options>[9|]--add-opens=java.base/jdk.internal.loader=ALL-UNNAMED</jvm-options>
  377.         <jvm-options>[9|]--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED</jvm-options>
  378.         <jvm-options>[9|]--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED</jvm-options>
  379.         <jvm-options>[9|]--add-opens=java.base/java.lang=ALL-UNNAMED</jvm-options>
  380.         <jvm-options>[9|]--add-opens=java.base/java.nio=ALL-UNNAMED</jvm-options>
  381.         <jvm-options>[9|]--add-opens=java.base/sun.nio.ch=ALL-UNNAMED</jvm-options>
  382.         <jvm-options>[9|]--add-opens=java.management/sun.management=ALL-UNNAMED</jvm-options>
  383.         <jvm-options>[9|]--add-opens=java.base/sun.net.www.protocol.jrt=ALL-UNNAMED</jvm-options>
  384.         <jvm-options>-Djava.awt.headless=true</jvm-options>
  385.         <jvm-options>-Djdk.corba.allowOutputStreamSubclass=true</jvm-options>
  386.         <jvm-options>-XX:+UnlockDiagnosticVMOptions</jvm-options>
  387.         <jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
  388.         <jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
  389.         <jvm-options>-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as</jvm-options>
  390.         <jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
  391.         <jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
  392.         <jvm-options>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options>
  393.         <jvm-options>-DANTLR_USE_DIRECT_CLASS_LOADING=true</jvm-options>
  394.         <jvm-options>-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory</jvm-options>
  395.         <jvm-options>-XX:NewRatio=2</jvm-options>
  396.         <jvm-options>-Xmx512m</jvm-options>
  397.         <jvm-options>-Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.fileinstall</jvm-options>
  398.         <jvm-options>-Dosgi.shell.telnet.port=${OSGI_SHELL_TELNET_PORT}</jvm-options>
  399.         <jvm-options>-Dosgi.shell.telnet.maxconn=1</jvm-options>
  400.         <jvm-options>-Dosgi.shell.telnet.ip=127.0.0.1</jvm-options>
  401.         <jvm-options>-Dgosh.args=--nointeractive</jvm-options>
  402.         <jvm-options>-Dfelix.fileinstall.dir=${com.sun.aas.installRoot}/modules/autostart/</jvm-options>
  403.         <jvm-options>-Dfelix.fileinstall.poll=5000</jvm-options>
  404.         <jvm-options>-Dfelix.fileinstall.log.level=3</jvm-options>
  405.         <jvm-options>-Dfelix.fileinstall.bundles.new.start=true</jvm-options>
  406.         <jvm-options>-Dfelix.fileinstall.bundles.startTransient=true</jvm-options>
  407.         <jvm-options>-Dfelix.fileinstall.disableConfigSave=false</jvm-options>
  408.         <jvm-options>-Djdk.tls.rejectClientInitiatedRenegotiation=true</jvm-options>
  409.         <jvm-options>-Dorg.jboss.weld.serialization.beanIdentifierIndexOptimization=false</jvm-options>
  410.         <jvm-options>-Dorg.glassfish.grizzly.DEFAULT_MEMORY_MANAGER=org.glassfish.grizzly.memory.HeapMemoryManager</jvm-options>
  411.         <jvm-options>-Dorg.glassfish.grizzly.nio.DefaultSelectorHandler.force-selector-spin-detection=true</jvm-options>
  412.         <jvm-options>[1.8.0|1.8.0u120]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.6.jar</jvm-options>
  413.         <jvm-options>[1.8.0u121|1.8.0u160]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.7.jar</jvm-options>
  414.         <jvm-options>[1.8.0u161|1.8.0u190]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.jar</jvm-options>
  415.         <jvm-options>[1.8.0u191|1.8.0u500]-Xbootclasspath/p:${com.sun.aas.installRoot}/lib/grizzly-npn-bootstrap-1.8.1.jar</jvm-options>
  416.         <jvm-options>[9|]-Xbootclasspath/a:${com.sun.aas.installRoot}/lib/grizzly-npn-api.jar</jvm-options>
  417.       </java-config>
  418.       <availability-service>
  419.         <web-container-availability />
  420.         <ejb-container-availability sfsb-store-pool-name="jdbc/hastore" />
  421.         <jms-availability />
  422.       </availability-service>
  423.       <network-config>
  424.         <protocols>
  425.           <protocol name="http-listener-1">
  426.             <http default-virtual-server="server">
  427.               <file-cache />
  428.             </http>
  429.             <ssl />
  430.           </protocol>
  431.           <protocol name="http-listener-2" security-enabled="true">
  432.             <http default-virtual-server="server">
  433.               <file-cache />
  434.             </http>
  435.             <ssl classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl" cert-nickname="s1as" />
  436.           </protocol>
  437.           <protocol name="admin-listener">
  438.             <http max-connections="250" default-virtual-server="__asadmin">
  439.               <file-cache />
  440.             </http>
  441.           </protocol>
  442.           <protocol name="sec-admin-listener" security-enabled="true">
  443.             <http encoded-slash-enabled="true" default-virtual-server="__asadmin">
  444.               <file-cache />
  445.             </http>
  446.             <ssl classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl" client-auth="want" cert-nickname="glassfish-instance" renegotiate-on-client-auth-want="false" />
  447.           </protocol>
  448.           <protocol name="admin-http-redirect">
  449.             <http-redirect secure="true" />
  450.           </protocol>
  451.           <protocol name="pu-protocol">
  452.             <port-unification>
  453.               <protocol-finder protocol="sec-admin-listener" classname="org.glassfish.grizzly.config.portunif.HttpProtocolFinder" name="http-finder" />
  454.               <protocol-finder protocol="admin-http-redirect" classname="org.glassfish.grizzly.config.portunif.HttpProtocolFinder" name="admin-http-redirect" />
  455.             </port-unification>
  456.           </protocol>
  457.         </protocols>
  458.         <network-listeners>
  459.           <network-listener protocol="http-listener-1" port="${HTTP_LISTENER_PORT}" name="http-listener-1" thread-pool="http-thread-pool" transport="tcp" />
  460.           <network-listener protocol="http-listener-2" port="${HTTP_SSL_LISTENER_PORT}" name="http-listener-2" thread-pool="http-thread-pool" transport="tcp" />
  461.           <network-listener protocol="pu-protocol" port="${ASADMIN_LISTENER_PORT}" name="admin-listener" thread-pool="admin-thread-pool" transport="tcp" />
  462.         </network-listeners>
  463.         <transports>
  464.           <transport name="tcp" />
  465.         </transports>
  466.       </network-config>
  467.       <thread-pools>
  468.         <thread-pool name="http-thread-pool" />
  469.         <thread-pool name="thread-pool-1" min-thread-pool-size="2" max-thread-pool-size="200" />
  470.         <thread-pool name="admin-thread-pool" min-thread-pool-size="1" max-queue-size="256" max-thread-pool-size="15" />
  471.       </thread-pools>
  472.       <group-management-service>
  473.         <failure-detection />
  474.       </group-management-service>
  475.       <system-property name="JMS_PROVIDER_PORT" description="Port Number that JMS Service will listen for remote clients connection." value="27676" />
  476.       <system-property name="ASADMIN_LISTENER_PORT" value="24848" />
  477.       <system-property name="HTTP_LISTENER_PORT" value="28080" />
  478.       <system-property name="HTTP_SSL_LISTENER_PORT" value="28181" />
  479.       <system-property name="IIOP_LISTENER_PORT" value="23700" />
  480.       <system-property name="IIOP_SSL_LISTENER_PORT" value="23820" />
  481.       <system-property name="IIOP_SSL_MUTUALAUTH_PORT" value="23920" />
  482.       <system-property name="JMX_SYSTEM_CONNECTOR_PORT" value="28686" />
  483.       <system-property name="OSGI_SHELL_TELNET_PORT" value="26666" />
  484.       <system-property name="JAVA_DEBUGGER_PORT" value="29009" />
  485.       <monitoring-service>
  486.         <module-monitoring-levels />
  487.       </monitoring-service>
  488.     </config>
  489.   </configs>
  490.   <property name="administrative.domain.name" value="domain1" />
  491.   <secure-admin special-admin-indicator="39acccc4-ba38-4244-a727-c1465a5769f3">
  492.     <secure-admin-principal dn="CN=localhost,OU=Payara,O=Payara Foundation,L=Great Malvern,ST=Worcestershire,C=UK" />
  493.     <secure-admin-principal dn="CN=localhost-instance,OU=Payara,O=Payara Foundation,L=Great Malvern,ST=Worcestershire,C=UK" />
  494.   </secure-admin>
  495.   <deployment-groups />
  496.   <clusters />
  497.   <applications />
  498. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement