glassfish 0.2.0-universal-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. data/COPYRIGHT +18 -0
  2. data/LICENSE.txt +263 -0
  3. data/README +27 -0
  4. data/bin/asadmin +13 -0
  5. data/bin/asadmin.bat +9 -0
  6. data/bin/glassfish_rails +46 -0
  7. data/bin/startserv +11 -0
  8. data/bin/startserv.bat +9 -0
  9. data/bin/stopserv +13 -0
  10. data/bin/stopserv.bat +9 -0
  11. data/config/asadminenv.conf +6 -0
  12. data/config/asenv.bat +28 -0
  13. data/config/asenv.conf +27 -0
  14. data/config/glassfish.container +4 -0
  15. data/domains/domain1/config/admin-keyfile +1 -0
  16. data/domains/domain1/config/cacerts.jks +0 -0
  17. data/domains/domain1/config/default-web.xml +906 -0
  18. data/domains/domain1/config/domain-passwords +0 -0
  19. data/domains/domain1/config/domain.xml +210 -0
  20. data/domains/domain1/config/domain.xml_ORIG +207 -0
  21. data/domains/domain1/config/keyfile +6 -0
  22. data/domains/domain1/config/keystore.jks +0 -0
  23. data/domains/domain1/config/logging.properties +82 -0
  24. data/domains/domain1/config/login.conf +21 -0
  25. data/domains/domain1/config/server.policy +160 -0
  26. data/domains/domain1/config/sun-acc.xml +40 -0
  27. data/domains/domain1/config/wss-server-config-1.0.xml +86 -0
  28. data/domains/domain1/config/wss-server-config-2.0.xml +94 -0
  29. data/domains/domain1/docroot/favicon.gif +0 -0
  30. data/domains/domain1/docroot/index.html +46 -0
  31. data/domains/domain1/master-password +0 -0
  32. data/lib/appclient/appclientlogin.conf +10 -0
  33. data/lib/appclient/client.policy +79 -0
  34. data/lib/appclient/wss-client-config-1.0.xml +84 -0
  35. data/lib/appclient/wss-client-config-2.0.xml +96 -0
  36. data/lib/package-appclient.xml +185 -0
  37. data/lib/processLauncher.properties +25 -0
  38. data/lib/processLauncher.xml +189 -0
  39. data/lib/registration/servicetag-registry.xml +18 -0
  40. data/lib/templates/cacerts.jks +0 -0
  41. data/lib/templates/default-web.xml +932 -0
  42. data/lib/templates/domain.xml +210 -0
  43. data/lib/templates/domain.xml.xsl +100 -0
  44. data/lib/templates/keyfile +6 -0
  45. data/lib/templates/logging.properties +82 -0
  46. data/lib/templates/login.conf +21 -0
  47. data/lib/templates/profile.properties +37 -0
  48. data/lib/templates/server.policy +155 -0
  49. data/modules/admin-cli-10.0-tp-2-SNAPSHOT.jar +0 -0
  50. data/modules/auto-depends-0.2.1.jar +0 -0
  51. data/modules/cli-framework-10.0-tp-2-SNAPSHOT.jar +0 -0
  52. data/modules/common-util-10.0-tp-2-SNAPSHOT.jar +0 -0
  53. data/modules/config-0.2.1.jar +0 -0
  54. data/modules/config-api-10.0-tp-2-SNAPSHOT.jar +0 -0
  55. data/modules/gf-jruby-connector-10.0-tp-2-SNAPSHOT.jar +0 -0
  56. data/modules/glassfish-10.0-tp-2-SNAPSHOT.jar +0 -0
  57. data/modules/glassfish-api-10.0-tp-2-SNAPSHOT.jar +0 -0
  58. data/modules/glassfish.rb +10 -0
  59. data/modules/grizzly-jruby-module-10.0-tp-2-SNAPSHOT.jar +0 -0
  60. data/modules/grizzly-module-10.0-tp-2-SNAPSHOT.jar +0 -0
  61. data/modules/hk2-0.2.1.jar +0 -0
  62. data/modules/hk2-core-0.2.1.jar +0 -0
  63. data/modules/internal-api-10.0-tp-2-SNAPSHOT.jar +0 -0
  64. data/modules/junit-4.3.1.jar +0 -0
  65. data/modules/kernel-10.0-tp-2-SNAPSHOT.jar +0 -0
  66. data/modules/launcher-10.0-tp-2-SNAPSHOT.jar +0 -0
  67. data/modules/osgi-adapter-0.2.1.jar +0 -0
  68. data/modules/stax-api-1.0-2.jar +0 -0
  69. data/modules/tiger-types-osgi-0.2.1.jar +0 -0
  70. data/modules/universal-10.0-tp-2-SNAPSHOT.jar +0 -0
  71. data/modules/wstx-asl-3.2.3.jar +0 -0
  72. metadata +143 -0
@@ -0,0 +1,210 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Copyright 1997-2007 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
+ </lifecycle-module>
20
+ <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"/>
21
+ </applications>
22
+ <resources>
23
+ <jdbc-resource jndi-name="jdbc/__TimerPool" pool-name="__TimerPool" object-type="system-admin" enabled="true"/>
24
+ <jdbc-resource jndi-name="jdbc/__CallFlowPool" pool-name="__CallFlowPool" object-type="system-all" enabled="true"/>
25
+ <jdbc-resource jndi-name="jdbc/__default" pool-name="DerbyPool" object-type="user" enabled="true"/>
26
+
27
+ <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">
28
+ <property name="databaseName" value="${com.sun.aas.instanceRoot}/lib/databases/sun-callflow"/>
29
+ <property name="connectionAttributes" value=";create=true"/>
30
+ </jdbc-connection-pool>
31
+
32
+ <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">
33
+ <property name="databaseName" value="${com.sun.aas.instanceRoot}/lib/databases/ejbtimer"/>
34
+ </jdbc-connection-pool>
35
+ <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">
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
+ </resources>
44
+ <servers>
45
+ <server name="%%%SERVER_ID%%%" config-ref="%%%CONFIG_MODEL_NAME%%%" lb-weight="100">
46
+ <application-ref enabled="true" ref="adminapp" virtual-servers="__asadmin" lb-enabled="false" disable-timeout-in-minutes="30"/>
47
+ <application-ref enabled="true" ref="admingui" 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="%%%CONFIG_MODEL_NAME%%%" 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="%%%HTTP_PORT%%%" 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="%%%HTTP_SSL_PORT%%%" acceptor-threads="1" security-enabled="true" default-virtual-server="server" server-name="" xpowered-by="true" enabled="true" family="inet" blocking-enabled="false">
64
+ <ssl cert-nickname="s1as" ssl3-enabled="false"/>
65
+ </http-listener>
66
+ <http-listener id="admin-listener" address="0.0.0.0" port="%%%ADMIN_PORT%%%" acceptor-threads="1" security-enabled="false" default-virtual-server="__asadmin" server-name="" xpowered-by="true" enabled="true" family="inet" blocking-enabled="false"/>
67
+ <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">
68
+ <property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
69
+ <property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
70
+ <property name="sso-enabled" value="false"/>
71
+ </virtual-server>
72
+ <virtual-server id="__asadmin" http-listeners="admin-listener" hosts="${com.sun.aas.hostName}" state="on" log-file="${com.sun.aas.instanceRoot}/logs/server.log">
73
+ <property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
74
+ <property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
75
+ <property name="sso-enabled" value="false"/>
76
+ </virtual-server>
77
+ <request-processing header-buffer-length-in-bytes="8192" initial-thread-count="2" request-timeout-in-seconds="30" thread-count="5" thread-increment="1"/>
78
+ <keep-alive max-connections="250" thread-count="1" timeout-in-seconds="30"/>
79
+ <connection-pool max-pending-count="4096" queue-size-in-bytes="4096" receive-buffer-size-in-bytes="4096" send-buffer-size-in-bytes="8192"/>
80
+ <http-protocol dns-lookup-enabled="false" version="HTTP/1.1" forced-type="text/html; charset=iso-8859-1" default-type="text/html; charset=iso-8859-1" forced-response-type="AttributeDeprecated" default-response-type="AttributeDeprecated" ssl-enabled="true"/>
81
+ <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"/>
82
+ <property name="accessLoggingEnabled" value="false"/>
83
+ </http-service>
84
+ <iiop-service client-authentication-required="false">
85
+ <orb use-thread-pool-ids="thread-pool-1" message-fragment-size="1024" max-connections="1024"/>
86
+
87
+ <iiop-listener id="orb-listener-1" address="0.0.0.0" port="%%%ORB_LISTENER_PORT%%%" enabled="true" security-enabled="false"/>
88
+ <iiop-listener id="SSL" address="0.0.0.0" port="%%%ORB_SSL_PORT%%%" security-enabled="true" enabled="true">
89
+ <ssl cert-nickname="s1as" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true" client-auth-enabled="false"/>
90
+ </iiop-listener>
91
+ <iiop-listener id="SSL_MUTUALAUTH" address="0.0.0.0" port="%%%ORB_MUTUALAUTH_PORT%%%" security-enabled="true" enabled="true">
92
+ <ssl cert-nickname="s1as" client-auth-enabled="true" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
93
+ </iiop-listener>
94
+ </iiop-service>
95
+ <admin-service system-jmx-connector-name="system" type="das-and-server">
96
+ <!-- The JSR 160 "system-jmx-connector" -->
97
+ <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"/>
98
+ <!-- The JSR 160 "system-jmx-connector" -->
99
+ <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"/>
100
+ <property name="adminConsoleContextRoot" value="/admin"/>
101
+ <property name="adminConsoleDownloadLocation" value="http://download.java.net/glassfish/v3-tp2/admingui/gfv3-preview2-final-admingui.war"/>
102
+ <!-- change this to reflect the correct final download location -->
103
+ <property name="adminConsoleFolder" value="${com.sun.aas.installRoot}/lib/install/applications"/>
104
+ </admin-service>
105
+ <web-container>
106
+ <session-config>
107
+ <session-manager>
108
+ <manager-properties/>
109
+ <store-properties/>
110
+ </session-manager>
111
+ <session-properties/>
112
+ </session-config>
113
+ </web-container>
114
+ <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">
115
+ <ejb-timer-service minimum-delivery-interval-in-millis="7000" max-redeliveries="1" redelivery-interval-internal-in-millis="5000"/>
116
+ </ejb-container>
117
+ <mdb-container steady-pool-size="0" pool-resize-quantity="8" max-pool-size="32" idle-timeout-in-seconds="600"/>
118
+ <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">
119
+ <jms-host name="default_JMS_host" host="%%%HOST_NAME%%%" port="%%%JMS_PROVIDER_PORT%%%" admin-user-name="%%%JMS_PROVIDER_USERID%%%" admin-password="%%%JMS_PROVIDER_PASSWORD%%%"/>
120
+ </jms-service>
121
+ <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">
122
+ <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"/>
123
+ </log-service>
124
+ <security-service default-realm="file" audit-enabled="false" jacc="default" audit-modules="default" anonymous-role="AttributeDeprecated" activate-default-principal-to-role-mapping="false">
125
+ <!-- All administrative users use this realm by default. -->
126
+ <auth-realm name="admin-realm" classname="com.sun.enterprise.security.auth.realm.file.FileRealm">
127
+ <property name="file" value="${com.sun.aas.instanceRoot}/config/admin-keyfile"/>
128
+ <property name="jaas-context" value="fileRealm"/>
129
+ </auth-realm>
130
+ <!-- All administrative users use this realm by default. -->
131
+ <auth-realm name="file" classname="com.sun.enterprise.security.auth.realm.file.FileRealm">
132
+ <property name="file" value="${com.sun.aas.instanceRoot}/config/keyfile"/>
133
+ <property name="jaas-context" value="fileRealm"/>
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="65536" 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
+ <!--
198
+ Use the following jvm-options element to disable the quick startup:
199
+ com.sun.enterprise.server.ss.ASQuickStartup=false
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 "%%%CONFIG_MODEL_NAME%%%" ends -->
208
+ </configs>
209
+ <property name="administrative.domain.name" value="%%%DOMAIN_NAME%%%"/>
210
+ </domain>
@@ -0,0 +1,100 @@
1
+ <?xml version="1.0" encoding="ISO-8859-1"?>
2
+
3
+ <xsl:stylesheet version="1.0"
4
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
5
+ <xsl:output method="xml"
6
+ indent="yes"
7
+ doctype-public="-//Sun Microsystems Inc.//DTD Application Server 9.1 Domain//EN"
8
+ doctype-system="http://www.sun.com/software/appserver/dtds/sun-domain_1_3.dtd">
9
+ </xsl:output>
10
+
11
+ <xsl:template match="/">
12
+ <xsl:apply-templates select="node()|@*"/>
13
+ </xsl:template>
14
+ <xsl:template match="node()|@*">
15
+ <xsl:copy>
16
+ <xsl:apply-templates select="node()|@*"/>
17
+ </xsl:copy>
18
+ </xsl:template>
19
+
20
+ <xsl:template match="http-service">
21
+ <xsl:copy>
22
+ <xsl:apply-templates select="node()|@*"/>
23
+ <xsl:element name="property">
24
+ <xsl:attribute name="name">accessLoggingEnabled</xsl:attribute>
25
+ <xsl:attribute name="value">false</xsl:attribute>
26
+ </xsl:element>
27
+ </xsl:copy>
28
+ </xsl:template>
29
+
30
+ <xsl:template match="http-listener">
31
+ <xsl:copy>
32
+ <xsl:copy-of select="@*"/>
33
+ </xsl:copy>
34
+ </xsl:template>
35
+
36
+ <xsl:template match="http-listener[@security-enabled='false']">
37
+ <xsl:copy>
38
+ <xsl:copy-of select="@*"/>
39
+ <xsl:element name="property">
40
+ <xsl:attribute name="name">proxiedProtocols</xsl:attribute>
41
+ <xsl:attribute name="value">ws/tcp</xsl:attribute>
42
+ </xsl:element>
43
+ </xsl:copy>
44
+ </xsl:template>
45
+
46
+ <xsl:template match="http-listener[@security-enabled='true']">
47
+ <xsl:copy>
48
+ <xsl:copy-of select="@*"/>
49
+ <xsl:element name="ssl">
50
+ <xsl:attribute name="cert-nickname">s1as</xsl:attribute>
51
+ <xsl:attribute name="ssl3-enabled">false</xsl:attribute>
52
+ </xsl:element>
53
+ </xsl:copy>
54
+ </xsl:template>
55
+
56
+
57
+ <xsl:template match="http-listener[@id='admin-listener']">
58
+ <xsl:copy>
59
+ <xsl:copy-of select="@*"/>
60
+ </xsl:copy>
61
+ </xsl:template>
62
+
63
+ <xsl:template match="http-file-cache">
64
+ <xsl:copy>
65
+ <xsl:copy-of select="@*"/>
66
+ <xsl:attribute name="globally-enabled">false</xsl:attribute>
67
+ <xsl:attribute name="file-caching-enabled">false</xsl:attribute>
68
+ </xsl:copy>
69
+ </xsl:template>
70
+
71
+ <xsl:template match="virtual-server">
72
+ <xsl:copy>
73
+ <xsl:apply-templates select="node()|@*"/>
74
+ <xsl:element name="property">
75
+ <xsl:attribute name="name">sso-enabled</xsl:attribute>
76
+ <xsl:attribute name="value">false</xsl:attribute>
77
+ </xsl:element>
78
+ </xsl:copy>
79
+ </xsl:template>
80
+
81
+ <xsl:template match="jmx-connector">
82
+ <xsl:copy>
83
+ <xsl:copy-of select="@*"/>
84
+ <xsl:element name="ssl">
85
+ <xsl:attribute name="cert-nickname">s1as</xsl:attribute>
86
+ </xsl:element>
87
+ </xsl:copy>
88
+ </xsl:template>
89
+
90
+ <xsl:template match="java-config">
91
+ <xsl:copy>
92
+ <xsl:apply-templates select="node()|@*"/>
93
+ <xsl:comment>
94
+ Use the following jvm-options element to disable the quick startup:
95
+ com.sun.enterprise.server.ss.ASQuickStartup=false
96
+ </xsl:comment>
97
+ </xsl:copy>
98
+ </xsl:template>
99
+
100
+ </xsl:stylesheet>
@@ -0,0 +1,6 @@
1
+ #
2
+ # Copyright 2004 Sun Microsystems, Inc. All rights reserved.
3
+ # SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4
+ #
5
+
6
+ # List of users for simple file realm. Empty by default.
@@ -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
+ };
@@ -0,0 +1,37 @@
1
+ #
2
+ # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3
+ #
4
+ # Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
5
+ #
6
+ # The contents of this file are subject to the terms of either the GNU
7
+ # General Public License Version 2 only ("GPL") or the Common Development
8
+ # and Distribution License("CDDL") (collectively, the "License"). You
9
+ # may not use this file except in compliance with the License. You can obtain
10
+ # a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
11
+ # or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+ #
14
+ # When distributing the software, include this License Header Notice in each
15
+ # file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
16
+ # Sun designates this particular file as subject to the "Classpath" exception
17
+ # as provided by Sun in the GPL Version 2 section of the License file that
18
+ # accompanied this code. If applicable, add the following below the License
19
+ # Header, with the fields enclosed by brackets [] replaced by your own
20
+ # identifying information: "Portions Copyrighted [year]
21
+ # [name of copyright owner]"
22
+ #
23
+ # Contributor(s):
24
+ #
25
+ # If you wish your version of this file to be governed by only the CDDL or
26
+ # only the GPL Version 2, indicate your decision by adding "[Contributor]
27
+ # elects to include this software in this distribution under the [CDDL or GPL
28
+ # Version 2] license." If you don't indicate a single choice of license, a
29
+ # recipient has the option to distribute your version of this file under
30
+ # either the CDDL, the GPL Version 2 or to extend the choice of license to
31
+ # its licensees as provided above. However, if you add GPL Version 2 code
32
+ # and therefore, elected the GPL Version 2 license, then the option applies
33
+ # only if the new code is made subject to such option by the copyright
34
+ # holder.
35
+ #
36
+
37
+ domain.xml.style-sheets=domain.xml.xsl
@@ -0,0 +1,155 @@
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
+ // iMQ classes get all permissions by default
61
+ grant codeBase "file:${com.sun.aas.imqLib}/-" {
62
+ permission java.security.AllPermission;
63
+ };
64
+
65
+ // ANT classes get all permissions by default
66
+ grant codeBase "file:${com.sun.aas.antLib}/-" {
67
+ permission java.security.AllPermission;
68
+ };
69
+
70
+ // Derby driver classes get all permissions by default
71
+ grant codeBase "file:${com.sun.aas.derbyRoot}/lib/-" {
72
+ permission java.security.AllPermission;
73
+ };
74
+
75
+ // Pointbase embedded server classes get all permissions by default
76
+ grant codeBase "file:${com.sun.aas.pointbaseRoot}/lib/-" {
77
+ permission java.security.AllPermission;
78
+ };
79
+
80
+ // Web Services classes get all permissions by default
81
+ grant codeBase "file:${com.sun.aas.webServicesLib}/-" {
82
+ permission java.security.AllPermission;
83
+ };
84
+
85
+ // permissions for avkit classes
86
+ grant codeBase "file:${j2ee.appverification.home}/lib/-" {
87
+ permission java.security.AllPermission;
88
+ };
89
+
90
+ // permissions for HADB jar file(s)
91
+ grant codeBase "file:${com.sun.aas.hadbRoot}/lib/-" {
92
+ permission java.security.AllPermission;
93
+ };
94
+
95
+ // permission for JDK's tools.jar to enable webservice annotation processing
96
+ // at runtime by wsgen tool:
97
+ // permission java.lang.RuntimePermission "createClassLoader";
98
+ //
99
+ // permission for JDK's tools.jar to sign JARs at runtime for
100
+ // Java Web Start support:
101
+ // permissions java.security.AllPermission;
102
+ // on the advice of the JDK tools folks. Should be refined later.
103
+ grant codeBase "file:${com.sun.aas.javaRoot}/lib/tools.jar" {
104
+ permission java.security.AllPermission;
105
+ };
106
+
107
+ //Required to register MBeans, fails otherwise
108
+ grant {
109
+ permission javax.management.MBeanTrustPermission "register" ;
110
+ };
111
+ //Required to register MBeans, fails otherwise
112
+
113
+
114
+ // Basic set of required permissions granted to all remaining code
115
+ grant {
116
+ //Workaround for bugs #6484935, 6513799
117
+ permission java.lang.RuntimePermission "getProtectionDomain";
118
+ permission com.sun.corba.ee.impl.presentation.rmi.DynamicAccessPermission "access";
119
+ permission java.util.PropertyPermission "*", "read,write";
120
+
121
+ permission java.lang.RuntimePermission "loadLibrary.*";
122
+ permission java.lang.RuntimePermission "queuePrintJob";
123
+ permission java.net.SocketPermission "*", "connect";
124
+ permission java.io.FilePermission "<<ALL FILES>>", "read,write";
125
+
126
+ // work-around for pointbase bug 4864405
127
+ permission java.io.FilePermission "${com.sun.aas.instanceRoot}${/}lib${/}databases${/}-", "delete";
128
+ permission java.io.FilePermission "${java.io.tmpdir}${/}-", "delete";
129
+
130
+ permission java.util.PropertyPermission "*", "read";
131
+
132
+ permission java.lang.RuntimePermission "modifyThreadGroup";
133
+ permission java.lang.RuntimePermission "getClassLoader";
134
+ permission java.lang.RuntimePermission "setContextClassLoader";
135
+ permission javax.management.MBeanPermission "[com.sun.messaging.jms.*:*]", "*";
136
+ };
137
+
138
+
139
+ // Following grant block is only required by Connectors. If Connectors
140
+ // are not in use the recommendation is to remove this grant.
141
+ grant {
142
+ permission javax.security.auth.PrivateCredentialPermission "javax.resource.spi.security.PasswordCredential * \"*\"","read";
143
+ };
144
+
145
+ // Following grant block is only required for Reflection. If Reflection
146
+ // is not in use the recommendation is to remove this section.
147
+ grant {
148
+ permission java.lang.RuntimePermission "accessDeclaredMembers";
149
+ };
150
+
151
+ // Permissions to invoke CORBA objects in server
152
+ grant {
153
+ permission com.sun.enterprise.security.CORBAObjectPermission "*", "*";
154
+ };
155
+
Binary file
Binary file