glassfish 0.2.0-universal-java
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYRIGHT +18 -0
- data/LICENSE.txt +263 -0
- data/README +27 -0
- data/bin/asadmin +13 -0
- data/bin/asadmin.bat +9 -0
- data/bin/glassfish_rails +46 -0
- data/bin/startserv +11 -0
- data/bin/startserv.bat +9 -0
- data/bin/stopserv +13 -0
- data/bin/stopserv.bat +9 -0
- data/config/asadminenv.conf +6 -0
- data/config/asenv.bat +28 -0
- data/config/asenv.conf +27 -0
- data/config/glassfish.container +4 -0
- data/domains/domain1/config/admin-keyfile +1 -0
- data/domains/domain1/config/cacerts.jks +0 -0
- data/domains/domain1/config/default-web.xml +906 -0
- data/domains/domain1/config/domain-passwords +0 -0
- data/domains/domain1/config/domain.xml +210 -0
- data/domains/domain1/config/domain.xml_ORIG +207 -0
- data/domains/domain1/config/keyfile +6 -0
- data/domains/domain1/config/keystore.jks +0 -0
- data/domains/domain1/config/logging.properties +82 -0
- data/domains/domain1/config/login.conf +21 -0
- data/domains/domain1/config/server.policy +160 -0
- data/domains/domain1/config/sun-acc.xml +40 -0
- data/domains/domain1/config/wss-server-config-1.0.xml +86 -0
- data/domains/domain1/config/wss-server-config-2.0.xml +94 -0
- data/domains/domain1/docroot/favicon.gif +0 -0
- data/domains/domain1/docroot/index.html +46 -0
- data/domains/domain1/master-password +0 -0
- data/lib/appclient/appclientlogin.conf +10 -0
- data/lib/appclient/client.policy +79 -0
- data/lib/appclient/wss-client-config-1.0.xml +84 -0
- data/lib/appclient/wss-client-config-2.0.xml +96 -0
- data/lib/package-appclient.xml +185 -0
- data/lib/processLauncher.properties +25 -0
- data/lib/processLauncher.xml +189 -0
- data/lib/registration/servicetag-registry.xml +18 -0
- data/lib/templates/cacerts.jks +0 -0
- data/lib/templates/default-web.xml +932 -0
- data/lib/templates/domain.xml +210 -0
- data/lib/templates/domain.xml.xsl +100 -0
- data/lib/templates/keyfile +6 -0
- data/lib/templates/logging.properties +82 -0
- data/lib/templates/login.conf +21 -0
- data/lib/templates/profile.properties +37 -0
- data/lib/templates/server.policy +155 -0
- data/modules/admin-cli-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/auto-depends-0.2.1.jar +0 -0
- data/modules/cli-framework-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/common-util-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/config-0.2.1.jar +0 -0
- data/modules/config-api-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/gf-jruby-connector-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/glassfish-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/glassfish-api-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/glassfish.rb +10 -0
- data/modules/grizzly-jruby-module-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/grizzly-module-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/hk2-0.2.1.jar +0 -0
- data/modules/hk2-core-0.2.1.jar +0 -0
- data/modules/internal-api-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/junit-4.3.1.jar +0 -0
- data/modules/kernel-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/launcher-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/osgi-adapter-0.2.1.jar +0 -0
- data/modules/stax-api-1.0-2.jar +0 -0
- data/modules/tiger-types-osgi-0.2.1.jar +0 -0
- data/modules/universal-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/wstx-asl-3.2.3.jar +0 -0
- metadata +143 -0
Binary file
|
@@ -0,0 +1,210 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.
|
4
|
+
Use is subject to license terms.
|
5
|
+
-->
|
6
|
+
<!-- Generated from default-domain.xml.template -->
|
7
|
+
<!-- Avoid manual edits of this file. Run "asadmin verify-domain-xml" otherwise.-->
|
8
|
+
|
9
|
+
<domain application-root="${com.sun.aas.instanceRoot}/applications" log-root="${com.sun.aas.instanceRoot}/logs">
|
10
|
+
<applications>
|
11
|
+
<web-module name="adminapp" context-root="/web1" location="${com.sun.aas.installRoot}/lib/install/applications/adminapp/adminapp_war" object-type="system-admin" enabled="true" directory-deployed="true" availability-enabled="false">
|
12
|
+
<!-- System Web Module - DO NOT DELETE! -->
|
13
|
+
</web-module>
|
14
|
+
<web-module name="admingui" context-root="" location="${com.sun.aas.installRoot}/lib/install/applications/admingui/adminGUI_war" object-type="system-admin" enabled="true" directory-deployed="true" availability-enabled="false">
|
15
|
+
<!-- System Web Module - DO NOT DELETE! -->
|
16
|
+
</web-module>
|
17
|
+
<web-module name="WSTXServices" context-root="/__wstx-services" location="${com.sun.aas.installRoot}/lib/install/applications/wstx-services" object-type="system-all" enabled="true" directory-deployed="true" availability-enabled="false"/>
|
18
|
+
<lifecycle-module class-name="com.sun.jbi.framework.sun.SunASJBIBootstrap" classpath="${com.sun.aas.installRoot}/jbi/lib/jbi_framework.jar" enabled="true" is-failure-fatal="false" name="JBIFramework" object-type="system-all">
|
19
|
+
<description>"JBI Framework LifecycleModule"</description>
|
20
|
+
<property name="com.sun.jbi.home" value="${com.sun.aas.installRoot}/jbi"/>
|
21
|
+
<property name="com.sun.jbi.defaultLogLevel" value="INFO"/>
|
22
|
+
</lifecycle-module>
|
23
|
+
<lifecycle-module class-name="com.sun.xml.ws.transport.tcp.server.glassfish.WSTCPLifeCycleModule" classpath="${com.sun.aas.installRoot}/lib/webservices-rt.jar" enabled="true" is-failure-fatal="false" object-type="system-all" name="WSTCPConnectorLCModule"/>
|
24
|
+
</applications>
|
25
|
+
<resources>
|
26
|
+
<jdbc-resource jndi-name="jdbc/__TimerPool" pool-name="__TimerPool" object-type="system-admin" enabled="false"/>
|
27
|
+
<jdbc-resource jndi-name="jdbc/__CallFlowPool" pool-name="__CallFlowPool" object-type="system-all" enabled="false"/>
|
28
|
+
<jdbc-resource jndi-name="jdbc/__default" pool-name="DerbyPool" object-type="user" enabled="false"/>
|
29
|
+
|
30
|
+
<jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" max-pool-size="32" max-wait-time-in-millis="60000" res-type="javax.sql.XADataSource" name="__CallFlowPool" pool-resize-quantity="2" steady-pool-size="8" non-transactional-connections="false" allow-non-component-callers="false" validate-atmost-once-period-in-seconds="0" connection-leak-timeout-in-seconds="0" connection-leak-reclaim="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" statement-timeout-in-seconds="-1" lazy-connection-enlistment="false" lazy-connection-association="false" associate-with-thread="false" match-connections="false" max-connection-usage-count="0" wrap-jdbc-objects="false">
|
31
|
+
<property name="databaseName" value="${com.sun.aas.instanceRoot}/lib/databases/sun-callflow"/>
|
32
|
+
<property name="connectionAttributes" value=";create=true"/>
|
33
|
+
</jdbc-connection-pool>
|
34
|
+
|
35
|
+
<jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" max-pool-size="32" max-wait-time-in-millis="60000" res-type="javax.sql.XADataSource" name="__TimerPool" pool-resize-quantity="2" steady-pool-size="8" non-transactional-connections="false" allow-non-component-callers="false" validate-atmost-once-period-in-seconds="0" connection-leak-timeout-in-seconds="0" connection-leak-reclaim="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" statement-timeout-in-seconds="-1" lazy-connection-enlistment="false" lazy-connection-association="false" associate-with-thread="false" match-connections="false" max-connection-usage-count="0" wrap-jdbc-objects="false">
|
36
|
+
<property name="databaseName" value="${com.sun.aas.instanceRoot}/lib/databases/ejbtimer"/>
|
37
|
+
</jdbc-connection-pool>
|
38
|
+
<jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.ClientDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" max-pool-size="32" max-wait-time-in-millis="60000" name="DerbyPool" pool-resize-quantity="2" res-type="javax.sql.DataSource" steady-pool-size="8" non-transactional-connections="false" allow-non-component-callers="false" validate-atmost-once-period-in-seconds="0" connection-leak-timeout-in-seconds="0" connection-leak-reclaim="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" statement-timeout-in-seconds="-1" lazy-connection-enlistment="false" lazy-connection-association="false" associate-with-thread="false" match-connections="false" max-connection-usage-count="0" wrap-jdbc-objects="false">
|
39
|
+
<property name="PortNumber" value="1527"/>
|
40
|
+
<property name="Password" value="APP"/>
|
41
|
+
<property name="User" value="APP"/>
|
42
|
+
<property name="serverName" value="localhost"/>
|
43
|
+
<property name="DatabaseName" value="sun-appserv-samples"/>
|
44
|
+
<property name="connectionAttributes" value=";create=true"/>
|
45
|
+
</jdbc-connection-pool>
|
46
|
+
</resources>
|
47
|
+
<servers>
|
48
|
+
<server name="server" config-ref="server-config" lb-weight="100">
|
49
|
+
<application-ref enabled="true" ref="adminapp" virtual-servers="__asadmin" lb-enabled="false" disable-timeout-in-minutes="30"/>
|
50
|
+
<application-ref enabled="true" ref="admingui" virtual-servers="__asadmin" lb-enabled="false" disable-timeout-in-minutes="30"/>
|
51
|
+
<application-ref enabled="true" ref="JBIFramework" lb-enabled="false" disable-timeout-in-minutes="30"/>
|
52
|
+
<application-ref enabled="true" ref="WSTXServices" lb-enabled="false" disable-timeout-in-minutes="30"/>
|
53
|
+
<application-ref enabled="true" ref="WSTCPConnectorLCModule" lb-enabled="false" disable-timeout-in-minutes="30"/>
|
54
|
+
<resource-ref enabled="false" ref="jdbc/__TimerPool"/>
|
55
|
+
<resource-ref enabled="false" ref="jdbc/__CallFlowPool"/>
|
56
|
+
<resource-ref enabled="false" ref="jdbc/__default"/>
|
57
|
+
</server>
|
58
|
+
</servers>
|
59
|
+
<configs>
|
60
|
+
<config name="server-config" dynamic-reconfiguration-enabled="true">
|
61
|
+
<http-service>
|
62
|
+
<access-log format="%client.name% %auth-user-name% %datetime% %request% %status% %response.length%" rotation-enabled="true" rotation-interval-in-minutes="15" rotation-policy="time" rotation-suffix="yyyy-MM-dd"/>
|
63
|
+
<http-listener id="http-listener-1" address="0.0.0.0" port="3000" acceptor-threads="1" security-enabled="false" default-virtual-server="server" server-name="" xpowered-by="true" enabled="true" family="inet" blocking-enabled="false">
|
64
|
+
<property name="proxiedProtocols" value="ws/tcp"/>
|
65
|
+
</http-listener>
|
66
|
+
<http-listener id="http-listener-2" address="0.0.0.0" port="3131" acceptor-threads="1" security-enabled="true" default-virtual-server="server" server-name="" xpowered-by="true" enabled="false" family="inet" blocking-enabled="false"/>
|
67
|
+
<http-listener id="admin-listener" address="0.0.0.0" port="3838" acceptor-threads="1" security-enabled="false" default-virtual-server="__asadmin" server-name="" xpowered-by="true" enabled="false" family="inet" blocking-enabled="false"/>
|
68
|
+
<virtual-server id="server" http-listeners="http-listener-1,http-listener-2" hosts="${com.sun.aas.hostName}" state="on" log-file="${com.sun.aas.instanceRoot}/logs/server.log">
|
69
|
+
<property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
|
70
|
+
<property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
|
71
|
+
<property name="sso-enabled" value="false"/>
|
72
|
+
</virtual-server>
|
73
|
+
<virtual-server id="__asadmin" http-listeners="admin-listener" hosts="${com.sun.aas.hostName}" state="on" log-file="${com.sun.aas.instanceRoot}/logs/server.log">
|
74
|
+
<property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
|
75
|
+
<property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
|
76
|
+
<property name="sso-enabled" value="false"/>
|
77
|
+
</virtual-server>
|
78
|
+
<request-processing header-buffer-length-in-bytes="8192" initial-thread-count="2" request-timeout-in-seconds="30" thread-count="20" thread-increment="1"/>
|
79
|
+
<keep-alive max-connections="250" thread-count="1" timeout-in-seconds="30"/>
|
80
|
+
<connection-pool max-pending-count="4096" queue-size-in-bytes="4096" receive-buffer-size-in-bytes="4096" send-buffer-size-in-bytes="8192"/>
|
81
|
+
<http-protocol default-response-type="text/plain; charset=iso-8859-1" dns-lookup-enabled="false" forced-response-type="text/plain; charset=iso-8859-1" ssl-enabled="true" version="HTTP/1.1"/>
|
82
|
+
<http-file-cache globally-enabled="false" file-caching-enabled="false" max-age-in-seconds="30" medium-file-size-limit-in-bytes="537600" medium-file-space-in-bytes="10485760" small-file-size-limit-in-bytes="2048" small-file-space-in-bytes="1048576" max-files-count="1024" file-transmission-enabled="false" hash-init-size="0"/>
|
83
|
+
<property name="accessLoggingEnabled" value="false"/>
|
84
|
+
</http-service>
|
85
|
+
<iiop-service client-authentication-required="false">
|
86
|
+
<orb use-thread-pool-ids="thread-pool-1" message-fragment-size="1024" max-connections="1024"/>
|
87
|
+
|
88
|
+
<iiop-listener id="orb-listener-1" address="0.0.0.0" port="3700" enabled="true" security-enabled="false"/>
|
89
|
+
<iiop-listener id="SSL" address="0.0.0.0" port="3820" security-enabled="true" enabled="true">
|
90
|
+
<ssl cert-nickname="s1as" client-auth-enabled="false" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
|
91
|
+
</iiop-listener>
|
92
|
+
<iiop-listener id="SSL_MUTUALAUTH" address="0.0.0.0" port="3920" security-enabled="true" enabled="true">
|
93
|
+
<ssl cert-nickname="s1as" client-auth-enabled="true" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
|
94
|
+
</iiop-listener>
|
95
|
+
</iiop-service>
|
96
|
+
<admin-service system-jmx-connector-name="system" type="das-and-server">
|
97
|
+
<!-- The JSR 160 "system-jmx-connector" -->
|
98
|
+
<jmx-connector accept-all="false" address="0.0.0.0" auth-realm-name="admin-realm" enabled="true" name="system" port="8686" protocol="rmi_jrmp" security-enabled="false"/>
|
99
|
+
<!-- The JSR 160 "system-jmx-connector" -->
|
100
|
+
<das-config dynamic-reload-enabled="true" dynamic-reload-poll-interval-in-seconds="2" autodeploy-enabled="true" autodeploy-polling-interval-in-seconds="2" autodeploy-dir="${com.sun.aas.instanceRoot}/autodeploy" autodeploy-verifier-enabled="false" autodeploy-jsp-precompilation-enabled="false" deploy-xml-validation="full" admin-session-timeout-in-minutes="60"/>
|
101
|
+
|
102
|
+
<property name="adminConsoleContextRoot" value="/admin"/>
|
103
|
+
<property name="adminConsoleDownloadLocation" value="http://localhost:18080/admingui.war"/>
|
104
|
+
|
105
|
+
</admin-service>
|
106
|
+
<web-container>
|
107
|
+
<session-config>
|
108
|
+
<session-manager>
|
109
|
+
<manager-properties/>
|
110
|
+
<store-properties/>
|
111
|
+
</session-manager>
|
112
|
+
<session-properties/>
|
113
|
+
</session-config>
|
114
|
+
</web-container>
|
115
|
+
<ejb-container steady-pool-size="0" pool-resize-quantity="8" max-pool-size="32" cache-resize-quantity="32" max-cache-size="512" pool-idle-timeout-in-seconds="600" cache-idle-timeout-in-seconds="600" removal-timeout-in-seconds="5400" victim-selection-policy="nru" commit-option="B" session-store="${com.sun.aas.instanceRoot}/session-store">
|
116
|
+
<ejb-timer-service minimum-delivery-interval-in-millis="7000" max-redeliveries="1" redelivery-interval-internal-in-millis="5000"/>
|
117
|
+
</ejb-container>
|
118
|
+
<mdb-container steady-pool-size="0" pool-resize-quantity="8" max-pool-size="32" idle-timeout-in-seconds="600"/>
|
119
|
+
<jms-service init-timeout-in-seconds="60" type="EMBEDDED" default-jms-host="default_JMS_host" reconnect-interval-in-seconds="5" reconnect-attempts="3" reconnect-enabled="true" addresslist-behavior="random" addresslist-iterations="3">
|
120
|
+
<jms-host name="default_JMS_host" host="laturbie.sfbay.sun.com" port="7676" admin-user-name="admin" admin-password="admin"/>
|
121
|
+
</jms-service>
|
122
|
+
<log-service file="${com.sun.aas.instanceRoot}/logs/server.log" use-system-logging="false" log-to-console="false" alarms="false" log-rotation-limit-in-bytes="2000000" log-rotation-timelimit-in-minutes="0" retain-error-statistics-for-hours="5">
|
123
|
+
<module-log-levels root="INFO" server="INFO" ejb-container="INFO" cmp-container="INFO" mdb-container="INFO" web-container="INFO" classloader="INFO" configuration="INFO" naming="INFO" security="INFO" admin="INFO" jts="INFO" jta="INFO" deployment="INFO" verifier="INFO" jaxr="INFO" jaxrpc="INFO" saaj="INFO" corba="INFO" javamail="INFO" jms="INFO" connector="INFO" jdo="INFO" cmp="INFO" util="INFO" resource-adapter="INFO" synchronization="INFO" node-agent="INFO" self-management="INFO" group-management-service="INFO" management-event="INFO"/>
|
124
|
+
</log-service>
|
125
|
+
<security-service default-realm="file" audit-enabled="false" jacc="default" audit-modules="default" anonymous-role="AttributeDeprecated" activate-default-principal-to-role-mapping="false">
|
126
|
+
<!-- All administrative users use this realm by default. -->
|
127
|
+
<auth-realm name="admin-realm" classname="com.sun.enterprise.security.auth.realm.file.FileRealm">
|
128
|
+
<property name="file" value="${com.sun.aas.instanceRoot}/config/admin-keyfile"/>
|
129
|
+
<property name="jaas-context" value="fileRealm"/>
|
130
|
+
</auth-realm>
|
131
|
+
<!-- All administrative users use this realm by default. -->
|
132
|
+
<auth-realm name="file" classname="com.sun.enterprise.security.auth.realm.file.FileRealm">
|
133
|
+
<property name="file" value="${com.sun.aas.instanceRoot}/config/keyfile"/>
|
134
|
+
<property name="jaas-context" value="fileRealm"/>
|
135
|
+
</auth-realm>
|
136
|
+
<auth-realm name="certificate" classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm">
|
137
|
+
</auth-realm>
|
138
|
+
<jacc-provider name="default" policy-provider="com.sun.enterprise.security.provider.PolicyWrapper" policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl">
|
139
|
+
<property name="repository" value="${com.sun.aas.instanceRoot}/generated/policy"/>
|
140
|
+
</jacc-provider>
|
141
|
+
<audit-module name="default" classname="com.sun.enterprise.security.Audit">
|
142
|
+
<property name="auditOn" value="false"/>
|
143
|
+
</audit-module>
|
144
|
+
<message-security-config auth-layer="SOAP">
|
145
|
+
<!-- turned off by default -->
|
146
|
+
<provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="XWS_ClientProvider" provider-type="client">
|
147
|
+
<request-policy auth-source="content"/>
|
148
|
+
<response-policy auth-source="content"/>
|
149
|
+
<property name="encryption.key.alias" value="s1as"/>
|
150
|
+
<property name="signature.key.alias" value="s1as"/>
|
151
|
+
<property name="dynamic.username.password" value="false"/>
|
152
|
+
<property name="debug" value="false"/>
|
153
|
+
</provider-config>
|
154
|
+
<provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="ClientProvider" provider-type="client">
|
155
|
+
<request-policy auth-source="content"/>
|
156
|
+
<response-policy auth-source="content"/>
|
157
|
+
<property name="encryption.key.alias" value="s1as"/>
|
158
|
+
<property name="signature.key.alias" value="s1as"/>
|
159
|
+
<property name="dynamic.username.password" value="false"/>
|
160
|
+
<property name="debug" value="false"/>
|
161
|
+
<property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"/>
|
162
|
+
</provider-config>
|
163
|
+
<provider-config class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-id="XWS_ServerProvider" provider-type="server">
|
164
|
+
<request-policy auth-source="content"/>
|
165
|
+
<response-policy auth-source="content"/>
|
166
|
+
<property name="encryption.key.alias" value="s1as"/>
|
167
|
+
<property name="signature.key.alias" value="s1as"/>
|
168
|
+
<property name="debug" value="false"/>
|
169
|
+
</provider-config>
|
170
|
+
<provider-config class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-id="ServerProvider" provider-type="server">
|
171
|
+
<request-policy auth-source="content"/>
|
172
|
+
<response-policy auth-source="content"/>
|
173
|
+
<property name="encryption.key.alias" value="s1as"/>
|
174
|
+
<property name="signature.key.alias" value="s1as"/>
|
175
|
+
<property name="debug" value="false"/>
|
176
|
+
<property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"/>
|
177
|
+
</provider-config>
|
178
|
+
</message-security-config>
|
179
|
+
</security-service>
|
180
|
+
<transaction-service automatic-recovery="false" timeout-in-seconds="0" tx-log-dir="${com.sun.aas.instanceRoot}/logs" heuristic-decision="rollback" keypoint-interval="2048" retry-timeout-in-seconds="600"/>
|
181
|
+
<monitoring-service>
|
182
|
+
<module-monitoring-levels thread-pool="OFF" orb="OFF" ejb-container="OFF" web-container="OFF" transaction-service="OFF" http-service="OFF" jdbc-connection-pool="OFF" connector-connection-pool="OFF" connector-service="OFF" jms-service="OFF" jvm="OFF"/>
|
183
|
+
</monitoring-service>
|
184
|
+
<diagnostic-service compute-checksum="true" verify-config="true" capture-install-log="true" capture-system-info="true" capture-hadb-info="true" capture-app-dd="true" min-log-level="INFO" max-log-entries="500"/>
|
185
|
+
<java-config java-home="${com.sun.aas.javaRoot}" debug-enabled="false" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009" rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g" javac-options="-g" system-classpath="${com.sun.aas.installRoot}/lib/appserv-launch.jar" classpath-suffix="" env-classpath-ignored="true">
|
186
|
+
<!-- various required jvm-options -->
|
187
|
+
<jvm-options>-client</jvm-options>
|
188
|
+
<jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
|
189
|
+
<jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
|
190
|
+
<jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
|
191
|
+
<jvm-options>-Dsun.rmi.dgc.server.gcInterval=3600000</jvm-options>
|
192
|
+
<jvm-options>-Dsun.rmi.dgc.client.gcInterval=3600000</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>-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>
|
197
|
+
<jvm-options>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options>
|
198
|
+
<jvm-options>-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory</jvm-options>
|
199
|
+
<jvm-options>-XX:NewRatio=2</jvm-options>
|
200
|
+
</java-config>
|
201
|
+
<thread-pools>
|
202
|
+
<thread-pool thread-pool-id="thread-pool-1" min-thread-pool-size="0" max-thread-pool-size="200" idle-thread-timeout-in-seconds="120" num-work-queues="1"/>
|
203
|
+
|
204
|
+
</thread-pools>
|
205
|
+
<management-rules enabled="true">
|
206
|
+
</management-rules>
|
207
|
+
</config> <!-- config model with name "server-config" ends -->
|
208
|
+
</configs>
|
209
|
+
<property name="administrative.domain.name" value="domain1"/>
|
210
|
+
</domain>
|
@@ -0,0 +1,207 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.
|
4
|
+
Use is subject to license terms.
|
5
|
+
-->
|
6
|
+
<!-- Generated from default-domain.xml.template -->
|
7
|
+
<!-- Avoid manual edits of this file. Run "asadmin verify-domain-xml" otherwise.-->
|
8
|
+
|
9
|
+
<domain application-root="${com.sun.aas.instanceRoot}/applications" log-root="${com.sun.aas.instanceRoot}/logs">
|
10
|
+
<system-applications/>
|
11
|
+
<applications>
|
12
|
+
<web-module name="adminapp" context-root="/web1" location="${com.sun.aas.installRoot}/lib/install/applications/adminapp/adminapp_war" object-type="system-admin" enabled="true" directory-deployed="true" availability-enabled="false">
|
13
|
+
<!-- System Web Module - DO NOT DELETE! -->
|
14
|
+
</web-module>
|
15
|
+
<web-module name="WSTXServices" context-root="/__wstx-services" location="${com.sun.aas.installRoot}/lib/install/applications/wstx-services" object-type="system-all" enabled="true" directory-deployed="true" availability-enabled="false"/>
|
16
|
+
<lifecycle-module class-name="com.sun.jbi.framework.sun.SunASJBIBootstrap" classpath="${com.sun.aas.installRoot}/jbi/lib/jbi_framework.jar" enabled="true" is-failure-fatal="false" name="JBIFramework" object-type="system-all">
|
17
|
+
<description>"JBI Framework LifecycleModule"</description>
|
18
|
+
<property name="com.sun.jbi.home" value="${com.sun.aas.installRoot}/jbi"/>
|
19
|
+
<property name="com.sun.jbi.defaultLogLevel" value="INFO"/>
|
20
|
+
</lifecycle-module>
|
21
|
+
<lifecycle-module class-name="com.sun.xml.ws.transport.tcp.server.glassfish.WSTCPLifeCycleModule" classpath="${com.sun.aas.installRoot}/lib/webservices-rt.jar" enabled="true" is-failure-fatal="false" object-type="system-all" name="WSTCPConnectorLCModule"/>
|
22
|
+
</applications>
|
23
|
+
<resources>
|
24
|
+
<jdbc-resource jndi-name="jdbc/__TimerPool" pool-name="__TimerPool" object-type="system-admin" enabled="true"/>
|
25
|
+
<jdbc-resource jndi-name="jdbc/__CallFlowPool" pool-name="__CallFlowPool" object-type="system-all" enabled="true"/>
|
26
|
+
<jdbc-resource jndi-name="jdbc/__default" pool-name="DerbyPool" object-type="user" enabled="true"/>
|
27
|
+
|
28
|
+
<jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" max-pool-size="32" max-wait-time-in-millis="60000" res-type="javax.sql.XADataSource" name="__CallFlowPool" pool-resize-quantity="2" steady-pool-size="8" non-transactional-connections="false" allow-non-component-callers="false" validate-atmost-once-period-in-seconds="0" connection-leak-timeout-in-seconds="0" connection-leak-reclaim="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" statement-timeout-in-seconds="-1" lazy-connection-enlistment="false" lazy-connection-association="false" associate-with-thread="false" match-connections="false" max-connection-usage-count="0" wrap-jdbc-objects="false">
|
29
|
+
<property name="databaseName" value="${com.sun.aas.instanceRoot}/lib/databases/sun-callflow"/>
|
30
|
+
<property name="connectionAttributes" value=";create=true"/>
|
31
|
+
</jdbc-connection-pool>
|
32
|
+
|
33
|
+
<jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" max-pool-size="32" max-wait-time-in-millis="60000" res-type="javax.sql.XADataSource" name="__TimerPool" pool-resize-quantity="2" steady-pool-size="8" non-transactional-connections="false" allow-non-component-callers="false" validate-atmost-once-period-in-seconds="0" connection-leak-timeout-in-seconds="0" connection-leak-reclaim="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" statement-timeout-in-seconds="-1" lazy-connection-enlistment="false" lazy-connection-association="false" associate-with-thread="false" match-connections="false" max-connection-usage-count="0" wrap-jdbc-objects="false">
|
34
|
+
<property name="databaseName" value="${com.sun.aas.instanceRoot}/lib/databases/ejbtimer"/>
|
35
|
+
</jdbc-connection-pool>
|
36
|
+
<jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.ClientDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" max-pool-size="32" max-wait-time-in-millis="60000" name="DerbyPool" pool-resize-quantity="2" res-type="javax.sql.DataSource" steady-pool-size="8" non-transactional-connections="false" allow-non-component-callers="false" validate-atmost-once-period-in-seconds="0" connection-leak-timeout-in-seconds="0" connection-leak-reclaim="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" statement-timeout-in-seconds="-1" lazy-connection-enlistment="false" lazy-connection-association="false" associate-with-thread="false" match-connections="false" max-connection-usage-count="0" wrap-jdbc-objects="false">
|
37
|
+
<property name="PortNumber" value="1527"/>
|
38
|
+
<property name="Password" value="APP"/>
|
39
|
+
<property name="User" value="APP"/>
|
40
|
+
<property name="serverName" value="localhost"/>
|
41
|
+
<property name="DatabaseName" value="sun-appserv-samples"/>
|
42
|
+
<property name="connectionAttributes" value=";create=true"/>
|
43
|
+
</jdbc-connection-pool>
|
44
|
+
</resources>
|
45
|
+
<servers>
|
46
|
+
<server name="server" config-ref="server-config" lb-weight="100">
|
47
|
+
<application-ref enabled="true" ref="adminapp" virtual-servers="__asadmin" lb-enabled="false" disable-timeout-in-minutes="30"/>
|
48
|
+
<application-ref enabled="true" ref="JBIFramework" lb-enabled="false" disable-timeout-in-minutes="30"/>
|
49
|
+
<application-ref enabled="true" ref="WSTXServices" lb-enabled="false" disable-timeout-in-minutes="30"/>
|
50
|
+
<application-ref enabled="true" ref="WSTCPConnectorLCModule" lb-enabled="false" disable-timeout-in-minutes="30"/>
|
51
|
+
<resource-ref enabled="true" ref="jdbc/__TimerPool"/>
|
52
|
+
<resource-ref enabled="true" ref="jdbc/__CallFlowPool"/>
|
53
|
+
<resource-ref enabled="true" ref="jdbc/__default"/>
|
54
|
+
</server>
|
55
|
+
</servers>
|
56
|
+
<configs>
|
57
|
+
<config name="server-config" dynamic-reconfiguration-enabled="true">
|
58
|
+
<http-service>
|
59
|
+
<access-log format="%client.name% %auth-user-name% %datetime% %request% %status% %response.length%" rotation-enabled="true" rotation-interval-in-minutes="15" rotation-policy="time" rotation-suffix="yyyy-MM-dd"/>
|
60
|
+
<http-listener id="http-listener-1" address="0.0.0.0" port="8080" acceptor-threads="1" security-enabled="false" default-virtual-server="server" server-name="" xpowered-by="true" enabled="true" family="inet" blocking-enabled="false">
|
61
|
+
<property name="proxiedProtocols" value="ws/tcp"/>
|
62
|
+
</http-listener>
|
63
|
+
<http-listener id="http-listener-2" address="0.0.0.0" port="8181" acceptor-threads="1" security-enabled="false" default-virtual-server="server" server-name="" xpowered-by="true" enabled="false" family="inet" blocking-enabled="false"/>
|
64
|
+
<http-listener id="admin-listener" address="0.0.0.0" port="4848" acceptor-threads="1" security-enabled="false" default-virtual-server="__asadmin" server-name="" xpowered-by="true" enabled="true" family="inet" blocking-enabled="false"/>
|
65
|
+
<virtual-server id="server" http-listeners="http-listener-1,http-listener-2" hosts="${com.sun.aas.hostName}" state="on" log-file="${com.sun.aas.instanceRoot}/logs/server.log">
|
66
|
+
<property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
|
67
|
+
<property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
|
68
|
+
<property name="sso-enabled" value="false"/>
|
69
|
+
</virtual-server>
|
70
|
+
<virtual-server id="__asadmin" http-listeners="admin-listener" hosts="${com.sun.aas.hostName}" state="on" log-file="${com.sun.aas.instanceRoot}/logs/server.log">
|
71
|
+
<property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
|
72
|
+
<property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
|
73
|
+
<property name="sso-enabled" value="false"/>
|
74
|
+
</virtual-server>
|
75
|
+
<request-processing header-buffer-length-in-bytes="8192" initial-thread-count="2" request-timeout-in-seconds="30" thread-count="20" thread-increment="1"/>
|
76
|
+
<keep-alive max-connections="250" thread-count="1" timeout-in-seconds="30"/>
|
77
|
+
<connection-pool max-pending-count="4096" queue-size-in-bytes="4096" receive-buffer-size-in-bytes="4096" send-buffer-size-in-bytes="8192"/>
|
78
|
+
<http-protocol default-response-type="text/plain; charset=iso-8859-1" dns-lookup-enabled="false" forced-response-type="text/plain; charset=iso-8859-1" ssl-enabled="true" version="HTTP/1.1"/>
|
79
|
+
<http-file-cache globally-enabled="false" file-caching-enabled="false" max-age-in-seconds="30" medium-file-size-limit-in-bytes="537600" medium-file-space-in-bytes="10485760" small-file-size-limit-in-bytes="2048" small-file-space-in-bytes="1048576" max-files-count="1024" file-transmission-enabled="false" hash-init-size="0"/>
|
80
|
+
<property name="accessLoggingEnabled" value="false"/>
|
81
|
+
</http-service>
|
82
|
+
<iiop-service client-authentication-required="false">
|
83
|
+
<orb use-thread-pool-ids="thread-pool-1" message-fragment-size="1024" max-connections="1024"/>
|
84
|
+
|
85
|
+
<iiop-listener id="orb-listener-1" address="0.0.0.0" port="3700" enabled="true" security-enabled="false"/>
|
86
|
+
<iiop-listener id="SSL" address="0.0.0.0" port="3820" security-enabled="true" enabled="true">
|
87
|
+
<ssl cert-nickname="s1as" client-auth-enabled="false" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
|
88
|
+
</iiop-listener>
|
89
|
+
<iiop-listener id="SSL_MUTUALAUTH" address="0.0.0.0" port="3920" security-enabled="true" enabled="true">
|
90
|
+
<ssl cert-nickname="s1as" client-auth-enabled="true" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
|
91
|
+
</iiop-listener>
|
92
|
+
</iiop-service>
|
93
|
+
<admin-service system-jmx-connector-name="system" type="das-and-server">
|
94
|
+
<!-- The JSR 160 "system-jmx-connector" -->
|
95
|
+
<jmx-connector accept-all="false" address="0.0.0.0" auth-realm-name="admin-realm" enabled="true" name="system" port="8686" protocol="rmi_jrmp" security-enabled="false"/>
|
96
|
+
<!-- The JSR 160 "system-jmx-connector" -->
|
97
|
+
<das-config dynamic-reload-enabled="true" dynamic-reload-poll-interval-in-seconds="2" autodeploy-enabled="true" autodeploy-polling-interval-in-seconds="2" autodeploy-dir="${com.sun.aas.instanceRoot}/autodeploy" autodeploy-verifier-enabled="false" autodeploy-jsp-precompilation-enabled="false" deploy-xml-validation="full" admin-session-timeout-in-minutes="60"/>
|
98
|
+
<property name="adminConsoleContextRoot" value="/admin"/>
|
99
|
+
<property name="adminConsoleDownloadLocation" value="http://download.java.net/glassfish/v3-tp2/admingui/gfv3-preview2-final-admingui.war"/>
|
100
|
+
<!-- change this to reflect the correct final download location -->
|
101
|
+
<property name="adminConsoleFolder" value="${com.sun.aas.installRoot}/lib/install/applications"/>
|
102
|
+
</admin-service>
|
103
|
+
<web-container>
|
104
|
+
<session-config>
|
105
|
+
<session-manager>
|
106
|
+
<manager-properties/>
|
107
|
+
<store-properties/>
|
108
|
+
</session-manager>
|
109
|
+
<session-properties/>
|
110
|
+
</session-config>
|
111
|
+
</web-container>
|
112
|
+
<ejb-container steady-pool-size="0" pool-resize-quantity="8" max-pool-size="32" cache-resize-quantity="32" max-cache-size="512" pool-idle-timeout-in-seconds="600" cache-idle-timeout-in-seconds="600" removal-timeout-in-seconds="5400" victim-selection-policy="nru" commit-option="B" session-store="${com.sun.aas.instanceRoot}/session-store">
|
113
|
+
<ejb-timer-service minimum-delivery-interval-in-millis="7000" max-redeliveries="1" redelivery-interval-internal-in-millis="5000"/>
|
114
|
+
</ejb-container>
|
115
|
+
<mdb-container steady-pool-size="0" pool-resize-quantity="8" max-pool-size="32" idle-timeout-in-seconds="600"/>
|
116
|
+
<jms-service init-timeout-in-seconds="60" type="EMBEDDED" default-jms-host="default_JMS_host" reconnect-interval-in-seconds="5" reconnect-attempts="3" reconnect-enabled="true" addresslist-behavior="random" addresslist-iterations="3">
|
117
|
+
<jms-host name="default_JMS_host" host="laturbie.sfbay.sun.com" port="7676" admin-user-name="admin" admin-password="admin"/>
|
118
|
+
</jms-service>
|
119
|
+
<log-service file="${com.sun.aas.instanceRoot}/logs/server.log" use-system-logging="false" log-to-console="false" alarms="false" log-rotation-limit-in-bytes="2000000" log-rotation-timelimit-in-minutes="0" retain-error-statistics-for-hours="5">
|
120
|
+
<module-log-levels root="INFO" server="INFO" ejb-container="INFO" cmp-container="INFO" mdb-container="INFO" web-container="INFO" classloader="INFO" configuration="INFO" naming="INFO" security="INFO" admin="INFO" jts="INFO" jta="INFO" deployment="INFO" verifier="INFO" jaxr="INFO" jaxrpc="INFO" saaj="INFO" corba="INFO" javamail="INFO" jms="INFO" connector="INFO" jdo="INFO" cmp="INFO" util="INFO" resource-adapter="INFO" synchronization="INFO" node-agent="INFO" self-management="INFO" group-management-service="INFO" management-event="INFO"/>
|
121
|
+
</log-service>
|
122
|
+
<security-service default-realm="file" audit-enabled="false" jacc="default" audit-modules="default" anonymous-role="AttributeDeprecated" activate-default-principal-to-role-mapping="false">
|
123
|
+
<!-- All administrative users use this realm by default. -->
|
124
|
+
<auth-realm name="admin-realm" classname="com.sun.enterprise.security.auth.realm.file.FileRealm">
|
125
|
+
<property name="file" value="${com.sun.aas.instanceRoot}/config/admin-keyfile"/>
|
126
|
+
<property name="jaas-context" value="fileRealm"/>
|
127
|
+
</auth-realm>
|
128
|
+
<!-- All administrative users use this realm by default. -->
|
129
|
+
<auth-realm name="file" classname="com.sun.enterprise.security.auth.realm.file.FileRealm">
|
130
|
+
<property name="file" value="${com.sun.aas.instanceRoot}/config/keyfile"/>
|
131
|
+
<property name="jaas-context" value="fileRealm"/>
|
132
|
+
</auth-realm>
|
133
|
+
<auth-realm name="certificate" classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm">
|
134
|
+
</auth-realm>
|
135
|
+
<jacc-provider name="default" policy-provider="com.sun.enterprise.security.provider.PolicyWrapper" policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl">
|
136
|
+
<property name="repository" value="${com.sun.aas.instanceRoot}/generated/policy"/>
|
137
|
+
</jacc-provider>
|
138
|
+
<audit-module name="default" classname="com.sun.enterprise.security.Audit">
|
139
|
+
<property name="auditOn" value="false"/>
|
140
|
+
</audit-module>
|
141
|
+
<message-security-config auth-layer="SOAP">
|
142
|
+
<!-- turned off by default -->
|
143
|
+
<provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="XWS_ClientProvider" provider-type="client">
|
144
|
+
<request-policy auth-source="content"/>
|
145
|
+
<response-policy auth-source="content"/>
|
146
|
+
<property name="encryption.key.alias" value="s1as"/>
|
147
|
+
<property name="signature.key.alias" value="s1as"/>
|
148
|
+
<property name="dynamic.username.password" value="false"/>
|
149
|
+
<property name="debug" value="false"/>
|
150
|
+
</provider-config>
|
151
|
+
<provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="ClientProvider" provider-type="client">
|
152
|
+
<request-policy auth-source="content"/>
|
153
|
+
<response-policy auth-source="content"/>
|
154
|
+
<property name="encryption.key.alias" value="s1as"/>
|
155
|
+
<property name="signature.key.alias" value="s1as"/>
|
156
|
+
<property name="dynamic.username.password" value="false"/>
|
157
|
+
<property name="debug" value="false"/>
|
158
|
+
<property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"/>
|
159
|
+
</provider-config>
|
160
|
+
<provider-config class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-id="XWS_ServerProvider" provider-type="server">
|
161
|
+
<request-policy auth-source="content"/>
|
162
|
+
<response-policy auth-source="content"/>
|
163
|
+
<property name="encryption.key.alias" value="s1as"/>
|
164
|
+
<property name="signature.key.alias" value="s1as"/>
|
165
|
+
<property name="debug" value="false"/>
|
166
|
+
</provider-config>
|
167
|
+
<provider-config class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-id="ServerProvider" provider-type="server">
|
168
|
+
<request-policy auth-source="content"/>
|
169
|
+
<response-policy auth-source="content"/>
|
170
|
+
<property name="encryption.key.alias" value="s1as"/>
|
171
|
+
<property name="signature.key.alias" value="s1as"/>
|
172
|
+
<property name="debug" value="false"/>
|
173
|
+
<property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"/>
|
174
|
+
</provider-config>
|
175
|
+
</message-security-config>
|
176
|
+
</security-service>
|
177
|
+
<transaction-service automatic-recovery="false" timeout-in-seconds="0" tx-log-dir="${com.sun.aas.instanceRoot}/logs" heuristic-decision="rollback" keypoint-interval="2048" retry-timeout-in-seconds="600"/>
|
178
|
+
<monitoring-service>
|
179
|
+
<module-monitoring-levels thread-pool="OFF" orb="OFF" ejb-container="OFF" web-container="OFF" transaction-service="OFF" http-service="OFF" jdbc-connection-pool="OFF" connector-connection-pool="OFF" connector-service="OFF" jms-service="OFF" jvm="OFF"/>
|
180
|
+
</monitoring-service>
|
181
|
+
<diagnostic-service compute-checksum="true" verify-config="true" capture-install-log="true" capture-system-info="true" capture-hadb-info="true" capture-app-dd="true" min-log-level="INFO" max-log-entries="500"/>
|
182
|
+
<java-config java-home="${com.sun.aas.javaRoot}" debug-enabled="false" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009" rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g" javac-options="-g" system-classpath="" classpath-suffix="" env-classpath-ignored="true">
|
183
|
+
<!-- various required jvm-options -->
|
184
|
+
<jvm-options>-client</jvm-options>
|
185
|
+
<jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
|
186
|
+
<jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
|
187
|
+
<jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
|
188
|
+
<jvm-options>-Dsun.rmi.dgc.server.gcInterval=3600000</jvm-options>
|
189
|
+
<jvm-options>-Dsun.rmi.dgc.client.gcInterval=3600000</jvm-options>
|
190
|
+
<jvm-options>-Xmx512m</jvm-options>
|
191
|
+
<jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
|
192
|
+
<jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
|
193
|
+
<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>
|
194
|
+
<jvm-options>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options>
|
195
|
+
<jvm-options>-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory</jvm-options>
|
196
|
+
<jvm-options>-XX:NewRatio=2</jvm-options>
|
197
|
+
</java-config>
|
198
|
+
<thread-pools>
|
199
|
+
<thread-pool thread-pool-id="thread-pool-1" min-thread-pool-size="0" max-thread-pool-size="200" idle-thread-timeout-in-seconds="120" num-work-queues="1"/>
|
200
|
+
|
201
|
+
</thread-pools>
|
202
|
+
<management-rules enabled="true">
|
203
|
+
</management-rules>
|
204
|
+
</config> <!-- config model with name "server-config" ends -->
|
205
|
+
</configs>
|
206
|
+
<property name="administrative.domain.name" value="domain1"/>
|
207
|
+
</domain>
|
Binary file
|
@@ -0,0 +1,82 @@
|
|
1
|
+
############################################################
|
2
|
+
# Default Logging Configuration File
|
3
|
+
#
|
4
|
+
# You can use a different file by specifying a filename
|
5
|
+
# with the java.util.logging.config.file system property.
|
6
|
+
# For example java -Djava.util.logging.config.file=myfile
|
7
|
+
############################################################
|
8
|
+
|
9
|
+
############################################################
|
10
|
+
# Global properties
|
11
|
+
############################################################
|
12
|
+
|
13
|
+
# "handlers" specifies a comma separated list of log Handler
|
14
|
+
# classes. These handlers will be installed during VM startup.
|
15
|
+
# Note that these classes must be on the system classpath.
|
16
|
+
# By default we only configure a ConsoleHandler, which will only
|
17
|
+
# show messages at the INFO and above levels.
|
18
|
+
|
19
|
+
# In glassfish, it is not a good idea to add handlers this way
|
20
|
+
# as it requires the handler to be on the system classpath.
|
21
|
+
# A better approach is to define an HK2 component wich implements
|
22
|
+
# the Hanlder contract :
|
23
|
+
#
|
24
|
+
# @Service(name="console")
|
25
|
+
# @ContractProvided(Handler.class)
|
26
|
+
# public class MyConsoleHandler implements Handler {
|
27
|
+
# // implementation of Handler interface
|
28
|
+
# }
|
29
|
+
|
30
|
+
handlers= java.util.logging.ConsoleHandler
|
31
|
+
|
32
|
+
# To also add the FileHandler, use the following line instead.
|
33
|
+
#handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
|
34
|
+
|
35
|
+
# Default global logging level.
|
36
|
+
# This specifies which kinds of events are logged across
|
37
|
+
# all loggers. For any given facility this global level
|
38
|
+
# can be overriden by a facility specific level
|
39
|
+
# Note that the ConsoleHandler also has a separate level
|
40
|
+
# setting to limit messages printed to the console.
|
41
|
+
.level= INFO
|
42
|
+
|
43
|
+
############################################################
|
44
|
+
# Handler specific properties.
|
45
|
+
# Describes specific configuration info for Handlers.
|
46
|
+
############################################################
|
47
|
+
|
48
|
+
# this is the default hanlder for Glassfish, it writes to a log file
|
49
|
+
# The handler is not registered through the handlers property above
|
50
|
+
# because the implementation is not on the system class path.
|
51
|
+
# GlassFish will register this handler automtically as it is
|
52
|
+
# and HK2 component like described above.
|
53
|
+
# rotates the file based on time or size.
|
54
|
+
com.sun.enterprise.server.logging.FileandSyslogHandler.file=logs/server.log
|
55
|
+
# rotation time in minutes (takes precedence on size if defined),
|
56
|
+
# 0 for no rotation based on time
|
57
|
+
com.sun.enterprise.server.logging.FileandSyslogHandler.rotationTimelimitInMinutes=0
|
58
|
+
# rotation limit in bytes, 0 means no rotation, 500000 is the minimum
|
59
|
+
com.sun.enterprise.server.logging.FileandSyslogHandler.rotationLimitInBytes=0
|
60
|
+
# formatter used to format the log records in the server log file
|
61
|
+
com.sun.enterprise.server.logging.FileandSyslogHandler.formatter=com.sun.enterprise.server.logging.UniformLogFormatter
|
62
|
+
|
63
|
+
|
64
|
+
# default file output is in user's home directory.
|
65
|
+
java.util.logging.FileHandler.pattern = %h/java%u.log
|
66
|
+
java.util.logging.FileHandler.limit = 50000
|
67
|
+
java.util.logging.FileHandler.count = 1
|
68
|
+
java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter
|
69
|
+
|
70
|
+
# Limit the message that are printed on the console to INFO and above.
|
71
|
+
java.util.logging.ConsoleHandler.level = INFO
|
72
|
+
java.util.logging.ConsoleHandler.formatter = com.sun.enterprise.server.logging.UniformLogFormatter
|
73
|
+
|
74
|
+
|
75
|
+
############################################################
|
76
|
+
# Facility specific properties.
|
77
|
+
# Provides extra control for each logger.
|
78
|
+
############################################################
|
79
|
+
|
80
|
+
# For example, set the com.xyz.foo logger to only log SEVERE
|
81
|
+
# messages:
|
82
|
+
com.xyz.foo.level = SEVERE
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/* Copyright 2004 Sun Microsystems, Inc. All rights reserved. */
|
2
|
+
/* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */
|
3
|
+
|
4
|
+
fileRealm {
|
5
|
+
com.sun.enterprise.security.auth.login.FileLoginModule required;
|
6
|
+
};
|
7
|
+
|
8
|
+
ldapRealm {
|
9
|
+
com.sun.enterprise.security.auth.login.LDAPLoginModule required;
|
10
|
+
};
|
11
|
+
|
12
|
+
solarisRealm {
|
13
|
+
com.sun.enterprise.security.auth.login.SolarisLoginModule required;
|
14
|
+
};
|
15
|
+
|
16
|
+
jdbcRealm {
|
17
|
+
com.sun.enterprise.security.auth.login.JDBCLoginModule required;
|
18
|
+
};
|
19
|
+
jdbcDigestRealm {
|
20
|
+
com.sun.enterprise.security.auth.login.JDBCDigestLoginModule required;
|
21
|
+
};
|