glassfish 0.1.1-universal-java-1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYRIGHT +33 -0
- data/LICENSE.txt +263 -0
- data/README +12 -0
- data/bin/asadmin +7 -0
- data/bin/asadmin.bat +8 -0
- data/bin/glassfish_rails +40 -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 +3 -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 +208 -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 +18 -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 +87 -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/dtds/application-client_1_2.dtd +292 -0
- data/lib/dtds/application-client_1_3.dtd +506 -0
- data/lib/dtds/application_1_2.dtd +197 -0
- data/lib/dtds/application_1_3.dtd +312 -0
- data/lib/dtds/connector_1_0.dtd +561 -0
- data/lib/dtds/ejb-jar_1_1.dtd +894 -0
- data/lib/dtds/ejb-jar_2_0.dtd +1671 -0
- data/lib/dtds/sun-application-client-container_1_0.dtd +123 -0
- data/lib/dtds/sun-application-client-container_1_1.dtd +264 -0
- data/lib/dtds/sun-application-client-container_1_2.dtd +267 -0
- data/lib/dtds/sun-application-client_1_3-0.dtd +57 -0
- data/lib/dtds/sun-application-client_1_4-0.dtd +182 -0
- data/lib/dtds/sun-application-client_1_4-1.dtd +431 -0
- data/lib/dtds/sun-application-client_5_0-0.dtd +495 -0
- data/lib/dtds/sun-application_1_3-0.dtd +30 -0
- data/lib/dtds/sun-application_1_4-0.dtd +44 -0
- data/lib/dtds/sun-application_5_0-0.dtd +51 -0
- data/lib/dtds/sun-cmp-mapping_1_0.dtd +100 -0
- data/lib/dtds/sun-cmp-mapping_1_1.dtd +99 -0
- data/lib/dtds/sun-cmp-mapping_1_2.dtd +106 -0
- data/lib/dtds/sun-connector_1_0-0.dtd +66 -0
- data/lib/dtds/sun-connector_1_5-0.dtd +62 -0
- data/lib/dtds/sun-domain_1_0.dtd +2007 -0
- data/lib/dtds/sun-domain_1_1.dtd +3080 -0
- data/lib/dtds/sun-domain_1_2.dtd +3697 -0
- data/lib/dtds/sun-domain_1_3.dtd +3867 -0
- data/lib/dtds/sun-ejb-jar_2_0-0.dtd +449 -0
- data/lib/dtds/sun-ejb-jar_2_0-1.dtd +454 -0
- data/lib/dtds/sun-ejb-jar_2_1-0.dtd +756 -0
- data/lib/dtds/sun-ejb-jar_2_1-1.dtd +1085 -0
- data/lib/dtds/sun-ejb-jar_3_0-0.dtd +1113 -0
- data/lib/dtds/sun-loadbalancer_1_0.dtd +156 -0
- data/lib/dtds/sun-loadbalancer_1_1.dtd +172 -0
- data/lib/dtds/sun-resources_1_0.dtd +650 -0
- data/lib/dtds/sun-resources_1_1.dtd +650 -0
- data/lib/dtds/sun-resources_1_2.dtd +662 -0
- data/lib/dtds/sun-resources_1_3.dtd +732 -0
- data/lib/dtds/sun-server_1_0.dtd +1056 -0
- data/lib/dtds/sun-web-app_2_3-0.dtd +230 -0
- data/lib/dtds/sun-web-app_2_3-1.dtd +230 -0
- data/lib/dtds/sun-web-app_2_4-0.dtd +466 -0
- data/lib/dtds/sun-web-app_2_4-1.dtd +742 -0
- data/lib/dtds/sun-web-app_2_5-0.dtd +789 -0
- data/lib/dtds/web-app_2_2.dtd +639 -0
- data/lib/dtds/web-app_2_3.dtd +1063 -0
- data/lib/dtds/web-jsptaglibrary_1_1.dtd +265 -0
- data/lib/dtds/web-jsptaglibrary_1_2.dtd +468 -0
- data/lib/package-appclient.xml +185 -0
- data/lib/processLauncher.properties +25 -0
- data/lib/processLauncher.xml +189 -0
- data/lib/schemas/XMLSchema.dtd +402 -0
- data/lib/schemas/application-client_1_4.xsd +267 -0
- data/lib/schemas/application-client_5.xsd +304 -0
- data/lib/schemas/application_1_4.xsd +315 -0
- data/lib/schemas/application_5.xsd +336 -0
- data/lib/schemas/connector_1_5.xsd +1036 -0
- data/lib/schemas/datatypes.dtd +203 -0
- data/lib/schemas/ejb-jar_2_1.xsd +2208 -0
- data/lib/schemas/ejb-jar_3_0.xsd +2706 -0
- data/lib/schemas/j2ee_1_4.xsd +1608 -0
- data/lib/schemas/j2ee_jaxrpc_mapping_1_1.xsd +886 -0
- data/lib/schemas/j2ee_web_services_1_1.xsd +491 -0
- data/lib/schemas/j2ee_web_services_client_1_1.xsd +345 -0
- data/lib/schemas/javaee_5.xsd +2096 -0
- data/lib/schemas/javaee_web_services_1_2.xsd +747 -0
- data/lib/schemas/javaee_web_services_client_1_2.xsd +578 -0
- data/lib/schemas/jax-rpc-ri-config.xsd +416 -0
- data/lib/schemas/jsp_2_0.xsd +308 -0
- data/lib/schemas/jsp_2_1.xsd +343 -0
- data/lib/schemas/orm_1_0.xsd +1516 -0
- data/lib/schemas/persistence_1_0.xsd +260 -0
- data/lib/schemas/web-app_2_4.xsd +1234 -0
- data/lib/schemas/web-app_2_5.xsd +1271 -0
- data/lib/schemas/web-jsptaglibrary_2_0.xsd +1010 -0
- data/lib/schemas/web-jsptaglibrary_2_1.xsd +1144 -0
- data/lib/schemas/xml.xsd +82 -0
- data/modules/admin-cli-10.0-SNAPSHOT.jar +0 -0
- data/modules/auto-depends-0.2-SNAPSHOT.jar +0 -0
- data/modules/cli-framework-10.0-SNAPSHOT.jar +0 -0
- data/modules/common-ee-util-10.0-SNAPSHOT.jar +0 -0
- data/modules/common-util-10.0-SNAPSHOT.jar +0 -0
- data/modules/config-0.2-SNAPSHOT.jar +0 -0
- data/modules/config-api-10.0-SNAPSHOT.jar +0 -0
- data/modules/gf-jruby-connector-10.0-SNAPSHOT.jar +0 -0
- data/modules/glassfish-10.0-SNAPSHOT.jar +0 -0
- data/modules/glassfish-api-10.0-SNAPSHOT.jar +0 -0
- data/modules/glassfish.rb +10 -0
- data/modules/grizzly-framework-1.7.1.jar +0 -0
- data/modules/grizzly-http-1.7.1.jar +0 -0
- data/modules/grizzly-http-utils-1.7.1.jar +0 -0
- data/modules/grizzly-jruby-1.7.0.jar +0 -0
- data/modules/grizzly-jruby-module-1.7.0.jar +0 -0
- data/modules/grizzly-module-1.7.1.jar +0 -0
- data/modules/grizzly-portunif-1.7.1.jar +0 -0
- data/modules/grizzly-rcm-1.7.1.jar +0 -0
- data/modules/hk2-0.2-SNAPSHOT.jar +0 -0
- data/modules/hk2-core-0.2-SNAPSHOT.jar +0 -0
- data/modules/junit-4.3.1.jar +0 -0
- data/modules/kernel-10.0-SNAPSHOT.jar +0 -0
- data/modules/persistence-api-1.0b.jar +0 -0
- data/modules/servlet-api-2.5.jar +0 -0
- data/modules/sjsxp-1.0.jar +0 -0
- data/modules/stax-api-1.0-2.jar +0 -0
- data/modules/tiger-types-1.0.jar +0 -0
- metadata +206 -0
Binary file
|
@@ -0,0 +1,208 @@
|
|
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="true"/>
|
27
|
+
<jdbc-resource jndi-name="jdbc/__CallFlowPool" pool-name="__CallFlowPool" object-type="system-all" enabled="true"/>
|
28
|
+
<jdbc-resource jndi-name="jdbc/__default" pool-name="DerbyPool" object-type="user" enabled="true"/>
|
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="true" ref="jdbc/__TimerPool"/>
|
55
|
+
<resource-ref enabled="true" ref="jdbc/__CallFlowPool"/>
|
56
|
+
<resource-ref enabled="true" 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="true" 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="true" 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
|
+
</admin-service>
|
102
|
+
<web-container>
|
103
|
+
<session-config>
|
104
|
+
<session-manager>
|
105
|
+
<manager-properties/>
|
106
|
+
<store-properties/>
|
107
|
+
</session-manager>
|
108
|
+
<session-properties/>
|
109
|
+
</session-config>
|
110
|
+
</web-container>
|
111
|
+
<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">
|
112
|
+
<ejb-timer-service minimum-delivery-interval-in-millis="7000" max-redeliveries="1" redelivery-interval-internal-in-millis="5000"/>
|
113
|
+
</ejb-container>
|
114
|
+
<mdb-container steady-pool-size="0" pool-resize-quantity="8" max-pool-size="32" idle-timeout-in-seconds="600"/>
|
115
|
+
<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">
|
116
|
+
<jms-host name="default_JMS_host" host="laturbie.sfbay.sun.com" port="7676" admin-user-name="admin" admin-password="admin"/>
|
117
|
+
</jms-service>
|
118
|
+
<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">
|
119
|
+
<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"/>
|
120
|
+
</log-service>
|
121
|
+
<security-service default-realm="file" audit-enabled="false" jacc="default" audit-modules="default" anonymous-role="AttributeDeprecated" activate-default-principal-to-role-mapping="false">
|
122
|
+
<!-- All administrative users use this realm by default. -->
|
123
|
+
<auth-realm name="admin-realm" classname="com.sun.enterprise.security.auth.realm.file.FileRealm">
|
124
|
+
<property name="file" value="${com.sun.aas.instanceRoot}/config/admin-keyfile"/>
|
125
|
+
<property name="jaas-context" value="fileRealm"/>
|
126
|
+
</auth-realm>
|
127
|
+
<!-- All administrative users use this realm by default. -->
|
128
|
+
<auth-realm name="file" classname="com.sun.enterprise.security.auth.realm.file.FileRealm">
|
129
|
+
<property name="file" value="${com.sun.aas.instanceRoot}/config/keyfile"/>
|
130
|
+
<property name="jaas-context" value="fileRealm"/>
|
131
|
+
</auth-realm>
|
132
|
+
<auth-realm name="certificate" classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm">
|
133
|
+
</auth-realm>
|
134
|
+
<jacc-provider name="default" policy-provider="com.sun.enterprise.security.provider.PolicyWrapper" policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl">
|
135
|
+
<property name="repository" value="${com.sun.aas.instanceRoot}/generated/policy"/>
|
136
|
+
</jacc-provider>
|
137
|
+
<audit-module name="default" classname="com.sun.enterprise.security.Audit">
|
138
|
+
<property name="auditOn" value="false"/>
|
139
|
+
</audit-module>
|
140
|
+
<message-security-config auth-layer="SOAP">
|
141
|
+
<!-- turned off by default -->
|
142
|
+
<provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="XWS_ClientProvider" provider-type="client">
|
143
|
+
<request-policy auth-source="content"/>
|
144
|
+
<response-policy auth-source="content"/>
|
145
|
+
<property name="encryption.key.alias" value="s1as"/>
|
146
|
+
<property name="signature.key.alias" value="s1as"/>
|
147
|
+
<property name="dynamic.username.password" value="false"/>
|
148
|
+
<property name="debug" value="false"/>
|
149
|
+
</provider-config>
|
150
|
+
<provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="ClientProvider" provider-type="client">
|
151
|
+
<request-policy auth-source="content"/>
|
152
|
+
<response-policy auth-source="content"/>
|
153
|
+
<property name="encryption.key.alias" value="s1as"/>
|
154
|
+
<property name="signature.key.alias" value="s1as"/>
|
155
|
+
<property name="dynamic.username.password" value="false"/>
|
156
|
+
<property name="debug" value="false"/>
|
157
|
+
<property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"/>
|
158
|
+
</provider-config>
|
159
|
+
<provider-config class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-id="XWS_ServerProvider" provider-type="server">
|
160
|
+
<request-policy auth-source="content"/>
|
161
|
+
<response-policy auth-source="content"/>
|
162
|
+
<property name="encryption.key.alias" value="s1as"/>
|
163
|
+
<property name="signature.key.alias" value="s1as"/>
|
164
|
+
<property name="debug" value="false"/>
|
165
|
+
</provider-config>
|
166
|
+
<provider-config class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-id="ServerProvider" provider-type="server">
|
167
|
+
<request-policy auth-source="content"/>
|
168
|
+
<response-policy auth-source="content"/>
|
169
|
+
<property name="encryption.key.alias" value="s1as"/>
|
170
|
+
<property name="signature.key.alias" value="s1as"/>
|
171
|
+
<property name="debug" value="false"/>
|
172
|
+
<property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"/>
|
173
|
+
</provider-config>
|
174
|
+
</message-security-config>
|
175
|
+
</security-service>
|
176
|
+
<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"/>
|
177
|
+
<monitoring-service>
|
178
|
+
<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"/>
|
179
|
+
</monitoring-service>
|
180
|
+
<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"/>
|
181
|
+
<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">
|
182
|
+
<!-- various required jvm-options -->
|
183
|
+
<jvm-options>-client</jvm-options>
|
184
|
+
<jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
|
185
|
+
<jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
|
186
|
+
<jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
|
187
|
+
<jvm-options>-Dsun.rmi.dgc.server.gcInterval=3600000</jvm-options>
|
188
|
+
<jvm-options>-Dsun.rmi.dgc.client.gcInterval=3600000</jvm-options>
|
189
|
+
<jvm-options>-Xmx512m</jvm-options>
|
190
|
+
<jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
|
191
|
+
<jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
|
192
|
+
<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>
|
193
|
+
<jvm-options>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options>
|
194
|
+
<jvm-options>-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory</jvm-options>
|
195
|
+
<jvm-options>-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar</jvm-options>
|
196
|
+
<jvm-options>-Dcom.sun.enterprise.taglisteners=jsf-impl.jar</jvm-options>
|
197
|
+
<jvm-options>-XX:NewRatio=2</jvm-options>
|
198
|
+
</java-config>
|
199
|
+
<thread-pools>
|
200
|
+
<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"/>
|
201
|
+
|
202
|
+
</thread-pools>
|
203
|
+
<management-rules enabled="true">
|
204
|
+
</management-rules>
|
205
|
+
</config> <!-- config model with name "server-config" ends -->
|
206
|
+
</configs>
|
207
|
+
<property name="administrative.domain.name" value="domain1"/>
|
208
|
+
</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,18 @@
|
|
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
|
+
};
|
@@ -0,0 +1,160 @@
|
|
1
|
+
//
|
2
|
+
// The contents of this file are subject to the terms
|
3
|
+
// of the Common Development and Distribution License
|
4
|
+
// (the "License"). You may not use this file except
|
5
|
+
// in compliance with the License.
|
6
|
+
//
|
7
|
+
// You can obtain a copy of the license at
|
8
|
+
// glassfish/bootstrap/legal/CDDLv1.0.txt or
|
9
|
+
// https://glassfish.dev.java.net/public/CDDLv1.0.html.
|
10
|
+
// See the License for the specific language governing
|
11
|
+
// permissions and limitations under the License.
|
12
|
+
//
|
13
|
+
// When distributing Covered Code, include this CDDL
|
14
|
+
// HEADER in each file and include the License file at
|
15
|
+
// glassfish/bootstrap/legal/CDDLv1.0.txt. If applicable,
|
16
|
+
// add the following below this CDDL HEADER, with the
|
17
|
+
// fields enclosed by brackets "[]" replaced with your
|
18
|
+
// own identifying information: Portions Copyright [yyyy]
|
19
|
+
// [name of copyright owner]
|
20
|
+
//
|
21
|
+
|
22
|
+
/* Copyright 2004 Sun Microsystems, Inc. All rights reserved. */
|
23
|
+
/* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */
|
24
|
+
|
25
|
+
// Core server classes get all permissions by default
|
26
|
+
grant codeBase "file:${com.sun.aas.installRoot}/lib/-" {
|
27
|
+
permission java.security.AllPermission;
|
28
|
+
};
|
29
|
+
|
30
|
+
// jdmk classes get all permissions by default
|
31
|
+
grant codeBase "file:${com.sun.aas.jdmkHome}/lib/-" {
|
32
|
+
permission java.security.AllPermission;
|
33
|
+
};
|
34
|
+
|
35
|
+
// mfwk_instrum_tk.jar get all permissions by default
|
36
|
+
grant codeBase "file:${com.sun.aas.mfwkHome}/lib/mfwk_instrum_tk.jar" {
|
37
|
+
permission java.security.AllPermission;
|
38
|
+
};
|
39
|
+
|
40
|
+
// lockhart classes get all permissions by default
|
41
|
+
grant codeBase "file:${com.sun.aas.webconsoleLib}/cc.jar" {
|
42
|
+
permission java.security.AllPermission;
|
43
|
+
};
|
44
|
+
|
45
|
+
// jato classes get all permissions by default
|
46
|
+
grant codeBase "file:${com.sun.aas.jatoRoot}/jato.jar" {
|
47
|
+
permission java.security.AllPermission;
|
48
|
+
};
|
49
|
+
|
50
|
+
// JBI get all permissions by default
|
51
|
+
grant codeBase "file:${com.sun.aas.installRoot}/jbi/-" {
|
52
|
+
permission java.security.AllPermission;
|
53
|
+
};
|
54
|
+
|
55
|
+
// JBI instances get all permissions by default
|
56
|
+
grant codeBase "file:${com.sun.aas.instanceRoot}/jbi/-" {
|
57
|
+
permission java.security.AllPermission;
|
58
|
+
};
|
59
|
+
|
60
|
+
// Composite applications get all permissions by default
|
61
|
+
grant codeBase "file:${com.sun.aas.instanceRoot}/applications/composite-applications/-" {
|
62
|
+
permission java.security.AllPermission;
|
63
|
+
};
|
64
|
+
|
65
|
+
// iMQ classes get all permissions by default
|
66
|
+
grant codeBase "file:${com.sun.aas.imqLib}/-" {
|
67
|
+
permission java.security.AllPermission;
|
68
|
+
};
|
69
|
+
|
70
|
+
// ANT classes get all permissions by default
|
71
|
+
grant codeBase "file:${com.sun.aas.antLib}/-" {
|
72
|
+
permission java.security.AllPermission;
|
73
|
+
};
|
74
|
+
|
75
|
+
// Derby driver classes get all permissions by default
|
76
|
+
grant codeBase "file:${com.sun.aas.derbyRoot}/lib/-" {
|
77
|
+
permission java.security.AllPermission;
|
78
|
+
};
|
79
|
+
|
80
|
+
// Pointbase embedded server classes get all permissions by default
|
81
|
+
grant codeBase "file:${com.sun.aas.pointbaseRoot}/lib/-" {
|
82
|
+
permission java.security.AllPermission;
|
83
|
+
};
|
84
|
+
|
85
|
+
// Web Services classes get all permissions by default
|
86
|
+
grant codeBase "file:${com.sun.aas.webServicesLib}/-" {
|
87
|
+
permission java.security.AllPermission;
|
88
|
+
};
|
89
|
+
|
90
|
+
// permissions for avkit classes
|
91
|
+
grant codeBase "file:${j2ee.appverification.home}/lib/-" {
|
92
|
+
permission java.security.AllPermission;
|
93
|
+
};
|
94
|
+
|
95
|
+
// permissions for HADB jar file(s)
|
96
|
+
grant codeBase "file:${com.sun.aas.hadbRoot}/lib/-" {
|
97
|
+
permission java.security.AllPermission;
|
98
|
+
};
|
99
|
+
|
100
|
+
// permission for JDK's tools.jar to enable webservice annotation processing
|
101
|
+
// at runtime by wsgen tool:
|
102
|
+
// permission java.lang.RuntimePermission "createClassLoader";
|
103
|
+
//
|
104
|
+
// permission for JDK's tools.jar to sign JARs at runtime for
|
105
|
+
// Java Web Start support:
|
106
|
+
// permissions java.security.AllPermission;
|
107
|
+
// on the advice of the JDK tools folks. Should be refined later.
|
108
|
+
grant codeBase "file:${com.sun.aas.javaRoot}/lib/tools.jar" {
|
109
|
+
permission java.security.AllPermission;
|
110
|
+
};
|
111
|
+
|
112
|
+
//Loading MBeans from anywhere, to take care of side effects of 6235678.
|
113
|
+
grant {
|
114
|
+
permission javax.management.MBeanTrustPermission "register" ;
|
115
|
+
};
|
116
|
+
//Loading MBeans from anywhere, to take care of side effects of 6235678.
|
117
|
+
|
118
|
+
|
119
|
+
// Basic set of required permissions granted to all remaining code
|
120
|
+
grant {
|
121
|
+
//Workaround for bugs #6484935, 6513799
|
122
|
+
permission java.lang.RuntimePermission "getProtectionDomain";
|
123
|
+
permission com.sun.corba.ee.impl.presentation.rmi.DynamicAccessPermission "access";
|
124
|
+
permission java.util.PropertyPermission "*", "read,write";
|
125
|
+
|
126
|
+
permission java.lang.RuntimePermission "loadLibrary.*";
|
127
|
+
permission java.lang.RuntimePermission "queuePrintJob";
|
128
|
+
permission java.net.SocketPermission "*", "connect";
|
129
|
+
permission java.io.FilePermission "<<ALL FILES>>", "read,write";
|
130
|
+
|
131
|
+
// work-around for pointbase bug 4864405
|
132
|
+
permission java.io.FilePermission "${com.sun.aas.instanceRoot}${/}lib${/}databases${/}-", "delete";
|
133
|
+
permission java.io.FilePermission "${java.io.tmpdir}${/}-", "delete";
|
134
|
+
|
135
|
+
permission java.util.PropertyPermission "*", "read";
|
136
|
+
|
137
|
+
permission java.lang.RuntimePermission "modifyThreadGroup";
|
138
|
+
permission java.lang.RuntimePermission "getClassLoader";
|
139
|
+
permission java.lang.RuntimePermission "setContextClassLoader";
|
140
|
+
permission javax.management.MBeanPermission "[com.sun.messaging.jms.*:*]", "*";
|
141
|
+
};
|
142
|
+
|
143
|
+
|
144
|
+
// Following grant block is only required by Connectors. If Connectors
|
145
|
+
// are not in use the recommendation is to remove this grant.
|
146
|
+
grant {
|
147
|
+
permission javax.security.auth.PrivateCredentialPermission "javax.resource.spi.security.PasswordCredential * \"*\"","read";
|
148
|
+
};
|
149
|
+
|
150
|
+
// Following grant block is only required for Reflection. If Reflection
|
151
|
+
// is not in use the recommendation is to remove this section.
|
152
|
+
grant {
|
153
|
+
permission java.lang.RuntimePermission "accessDeclaredMembers";
|
154
|
+
};
|
155
|
+
|
156
|
+
// Permissions to invoke CORBA objects in server
|
157
|
+
grant {
|
158
|
+
permission com.sun.enterprise.security.CORBAObjectPermission "*", "*";
|
159
|
+
};
|
160
|
+
|