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,96 @@
1
+ <!--
2
+ Copyright 2004 Sun Microsystems, Inc. All rights reserved.
3
+ SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4
+ -->
5
+ <!--
6
+ This client side config file pairs with wss-server-config-2.0.xml on the server
7
+ and supports the following UseCases:
8
+ Usecase 2: Encrypted UsernameToken
9
+ Usecase 3: Encrypted UsernameToken and MessageBody
10
+ Usecase 4: Response Encryption Key Learnt from Incoming Message
11
+
12
+ Certificate Alias Information :
13
+ 1. A certificateAlias under the <xwss:Encrypt> element signifies the certificate
14
+ of the recipient of the message.
15
+ 2. A certificateAlias under the <xwss:Sign> element signifies the certificate of the
16
+ sender.
17
+
18
+ NOTE:
19
+
20
+ 1. the certificateAlias has the above meaning for all the Sign and Encrypt elements below
21
+ 2. there are several Sign and Encrypt elements below and similarly several RequireSignature and
22
+ RequireEncryption elements. Which of them would be actually used at runtime will depend on
23
+ the AuthPolicy passed to the module.
24
+
25
+ For Example : if Auth-Source=Sender then only the <xwss:UsernameToken> elements will be used
26
+ and none of the <xwss:Sign> elements will be used.
27
+ If Auth-Source=Content then the <xwss:Sign> element will be used
28
+
29
+ 3. The different variations of <xwss:Encrypt> elements in this configuration file are to accomodate
30
+ default encryption of the UsernameToken.
31
+
32
+ 4. The actual certificate alias to be used for any Signature operation can be modified during AuthModule
33
+ initialization by setting the alias as the value of "signature.key.alias" property in the Module Options Map.
34
+ 5. The actual certificate alias to be used for any Encrypt operation can be modified during AuthModule
35
+ initialization by setting the alias as the value of "encryption.key.alias" property in the Module Options Map.
36
+
37
+ 6. Debug Dumping of Messages can be enabled by setting the "debug" property in the Module Options Map to "true" during
38
+ AuthModule initialization.
39
+ 7. The Actual configuration file to be used by an Authmodule can be changed by setting the property "security.config" in
40
+ the Module Options Map to point to the configuration file location.
41
+ 8. When the "security.config" property is not set during module initialization then a client auth module will use wss-client-config-2.0.xml
42
+ by default.
43
+ 9. When the "security.config" property is not set during module initialization then a server auth module will use wss-server-config-2.0.xml
44
+ by default.
45
+ 10. The property "dynamic.username.password" when set during module initialization to "true" will signal the provider runtime to collect the username and password from the CallbackHandler for each request. When this property is set to "false" or if the property is not set then the username and password for wsse:UsernameToken(s) is collected once during Module Initialization.
46
+
47
+ -->
48
+
49
+ <xwss:SecurityConfiguration xmlns:xwss="http://java.sun.com/xml/ns/xwss/config"
50
+ dumpMessages="false">
51
+ <xwss:Timestamp/>
52
+ <xwss:Encrypt>
53
+ <xwss:X509Token certificateAlias="s1as"/>
54
+ <xwss:KeyEncryptionMethod algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
55
+ </xwss:Encrypt>
56
+ <xwss:Encrypt>
57
+ <xwss:X509Token certificateAlias="s1as"/>
58
+ <xwss:KeyEncryptionMethod algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
59
+ <xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
60
+ </xwss:Encrypt>
61
+ <xwss:Encrypt>
62
+ <xwss:X509Token certificateAlias="s1as"/>
63
+ <xwss:KeyEncryptionMethod algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
64
+ <xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
65
+ <xwss:Target type="qname">SOAP-BODY</xwss:Target>
66
+ </xwss:Encrypt>
67
+ <xwss:Encrypt>
68
+ <xwss:X509Token certificateAlias="s1as"/>
69
+ <xwss:KeyEncryptionMethod algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
70
+ <xwss:Target type="qname">SOAP-BODY</xwss:Target>
71
+ <xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
72
+ </xwss:Encrypt>
73
+ <xwss:Sign>
74
+ <xwss:X509Token certificateAlias="s1as"/>
75
+ </xwss:Sign>
76
+ <xwss:UsernameToken digestPassword="false" useNonce="true"/>
77
+
78
+ <xwss:RequireUsernameToken nonceRequired="true" passwordDigestRequired="false"/>
79
+ <xwss:RequireSignature>
80
+ <xwss:Target type="qname">SOAP-BODY</xwss:Target>
81
+ </xwss:RequireSignature>
82
+ <xwss:RequireEncryption>
83
+ <xwss:Target type="qname">SOAP-BODY</xwss:Target>
84
+ </xwss:RequireEncryption>
85
+ <xwss:RequireEncryption>
86
+ <xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
87
+ </xwss:RequireEncryption>
88
+ <xwss:RequireEncryption>
89
+ <xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
90
+ <xwss:Target type="qname">SOAP-BODY</xwss:Target>
91
+ </xwss:RequireEncryption>
92
+ <xwss:RequireEncryption>
93
+ <xwss:Target type="qname">SOAP-BODY</xwss:Target>
94
+ <xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
95
+ </xwss:RequireEncryption>
96
+ </xwss:SecurityConfiguration>
@@ -0,0 +1,185 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+
3
+ <!--
4
+ The contents of this file are subject to the terms
5
+ of the Common Development and Distribution License
6
+ (the License). You may not use this file except in
7
+ compliance with the License.
8
+
9
+ You can obtain a copy of the license at
10
+ https://glassfish.dev.java.net/public/CDDLv1.0.html or
11
+ glassfish/bootstrap/legal/CDDLv1.0.txt.
12
+ See the License for the specific language governing
13
+ permissions and limitations under the License.
14
+
15
+ When distributing Covered Code, include this CDDL
16
+ Header Notice in each file and include the License file
17
+ at glassfish/bootstrap/legal/CDDLv1.0.txt.
18
+ If applicable, add the following below the CDDL Header,
19
+ with the fields enclosed by brackets [] replaced by
20
+ you own identifying information:
21
+ "Portions Copyrighted [year] [name of copyright owner]"
22
+
23
+ Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24
+ -->
25
+
26
+ <!-- This file is used by the package-appclient script -->
27
+
28
+ <project name="package-appclient" default="all" basedir=".">
29
+
30
+ <property name="install.home" value="${basedir}/.."/>
31
+ <property name="appclientjar" value="${user.dir}/appclient.jar"/>
32
+
33
+ <!-- package-appclient script should override the following properties -->
34
+ <property name="mq.home" value="${install.home}/imq"/>
35
+ <property name="domain.dir" value="${install.home}/domains"/>
36
+
37
+ <target name="all">
38
+
39
+ <echo message="Creating ${appclientjar} ... "/>
40
+
41
+ <condition property="windows">
42
+ <os family="windows" />
43
+ </condition>
44
+ <condition property="unix">
45
+ <os family="unix" />
46
+ </condition>
47
+
48
+ <delete file="${appclientjar}" quiet="true"/>
49
+ <tempfile destdir="${java.io.tmpdir}" prefix="pkgac" property="tmp.dir"/>
50
+
51
+ <!--
52
+ There is a small but non-zero chance that a concurrent user could have
53
+ created the same temp file. If the file exists abort the task.
54
+ -->
55
+ <available file="${tmp.dir}" property="tmp.dir.exists"/>
56
+ <fail if="tmp.dir.exists">Temporary directory ${tmp.dir} already exists - aborting. Please try again.</fail>
57
+
58
+ <delete dir="${tmp.dir}" quiet="true"/>
59
+ <mkdir dir="${tmp.dir}"/>
60
+
61
+ <antcall target="do.copy"/>
62
+
63
+ <zip destfile="${appclientjar}">
64
+ <zipfileset dir="${install.home}"
65
+ prefix="appclient">
66
+ <include name="lib/dtds/*.dtd"/>
67
+ <include name="lib/schemas/*"/>
68
+ <include name="lib/appclient/client.policy"/>
69
+ <include name="lib/appclient/appclientlogin.conf"/>
70
+ <include name="lib/appclient/wss-client-config-2.0.xml"/>
71
+ <include name="lib/endorsed/*.jar"/>
72
+
73
+ <include name="lib/*.jar"/>
74
+ <include name="lib/install/applications/jmsra/imqjmsra.jar"/>
75
+ <exclude name="lib/appserv-assemblytool.jar"/>
76
+ <exclude name="lib/appserv-jstl.jar"/>
77
+ <exclude name="lib/appserv-tags.jar"/>
78
+ <exclude name="lib/commons-launcher.jar"/>
79
+ <exclude name="lib/deployhelp.jar"/>
80
+ <exclude name="lib/j2ee-svc.jar"/>
81
+ <exclude name="lib/jhall.jar"/>
82
+ <exclude name="lib/sun-appserv-ant.jar"/>
83
+ </zipfileset>
84
+ <zipfileset dir="${tmp.dir}"
85
+ prefix="appclient"
86
+ filemode="755">
87
+ <include name="bin/appclient"/>
88
+ </zipfileset>
89
+ <zipfileset dir="${tmp.dir}"
90
+ prefix="appclient">
91
+ <include name="config/asenv.conf"/>
92
+ <include name="config/asenv.bat"/>
93
+ <include name="bin/appclient.bat"/>
94
+ </zipfileset>
95
+
96
+ <zipfileset dir="${install.home}/lib/install/applications/jmsra"
97
+ prefix="appclient/imq/lib">
98
+ <include name="imq.jar"/>
99
+ <include name="imqadmin.jar"/>
100
+ <include name="imqutil.jar"/>
101
+ </zipfileset>
102
+
103
+ <zipfileset dir="${mq.home}"
104
+ prefix="appclient/imq">
105
+ <include name="lib/fscontext.jar"/>
106
+ </zipfileset>
107
+ <zipfileset dir="${domain.dir}/domain1"
108
+ prefix="appclient">
109
+ <include name="config/sun-acc.xml"/>
110
+ </zipfileset>
111
+ <zipfileset dir="${install.home}/lib/install/templates"
112
+ prefix="appclient/config">
113
+ <include name="sun-acc.xml.template"/>
114
+ </zipfileset>
115
+ </zip>
116
+
117
+ <delete dir="${tmp.dir}" quiet="true"/>
118
+
119
+ <echo message="File created: ${appclientjar}"/>
120
+
121
+ </target>
122
+
123
+ <target name="do.copy" depends="do.copy.windows, do.copy.unix"/>
124
+
125
+ <target name="do.copy.windows" if="windows">
126
+ <!-- token-replace asenv.bat and appclient.bat -->
127
+ <copy file="${install.home}/lib/install/templates/asenv.bat.template"
128
+ tofile="${tmp.dir}/config/asenv.bat"/>
129
+ <copy file="${install.home}/lib/install/templates/appclient.bat.template"
130
+ tofile="${tmp.dir}/bin/appclient.bat"/>
131
+ <replace token="%CONFIG_HOME%"
132
+ value="..\config"
133
+ file="${tmp.dir}/bin/appclient.bat"/>
134
+ <replace file="${tmp.dir}/config/asenv.bat">
135
+ <replacefilter token="%ANT_HOME%" value=""/>
136
+ <replacefilter token="%ANT_LIB%" value=""/>
137
+ <replacefilter token="%PERL_HOME%" value=""/>
138
+ <replacefilter token="%POINTBASE_HOME%" value=""/>
139
+ <replacefilter token="%WEBSERVICES_LIB%" value=""/>
140
+ <replacefilter token="%NSS_HOME%" value=""/>
141
+ <replacefilter token="%NSS_BIN_HOME%" value=""/>
142
+ <replacefilter token="%IMQ_LIB%" value="..\imq\lib"/>
143
+ <replacefilter token="%IMQ_BIN%" value="..\imq\bin"/>
144
+ <replacefilter token="%CONFIG_HOME%" value="..\config"/>
145
+ <replacefilter token="%INSTALL_HOME%" value=".."/>
146
+ <replacefilter token="%JAVA_HOME%" value="${java.home}\.."/>
147
+ <replacefilter token="%JHELP_HOME%" value=""/>
148
+ <replacefilter token="%ICU_LIB%" value=""/>
149
+ <replacefilter token="%LOCALE%" value=""/>
150
+ <replacefilter token="%DEF_DOMAINS_PATH%" value=""/>
151
+ <replacefilter token="%ACC_CONFIG%" value="..\config\sun-acc.xml"/>
152
+ </replace>
153
+ </target>
154
+
155
+ <target name="do.copy.unix" if="unix">
156
+ <!-- token-replace asenv.conf and appclient -->
157
+ <copy file="${install.home}/lib/install/templates/asenv.conf.template"
158
+ tofile="${tmp.dir}/config/asenv.conf"/>
159
+ <copy file="${install.home}/lib/install/templates/appclient.template"
160
+ tofile="${tmp.dir}/bin/appclient"/>
161
+ <replace token="%CONFIG_HOME%"
162
+ value="../config"
163
+ file="${tmp.dir}/bin/appclient"/>
164
+ <replace file="${tmp.dir}/config/asenv.conf">
165
+ <replacefilter token="%ANT_HOME%" value=""/>
166
+ <replacefilter token="%ANT_LIB%" value=""/>
167
+ <replacefilter token="%PERL_HOME%" value=""/>
168
+ <replacefilter token="%POINTBASE_HOME%" value=""/>
169
+ <replacefilter token="%WEBSERVICES_LIB%" value=""/>
170
+ <replacefilter token="%NSS_HOME%" value=""/>
171
+ <replacefilter token="%NSS_BIN_HOME%" value=""/>
172
+ <replacefilter token="%IMQ_LIB%" value="${mq.home}/lib"/>
173
+ <replacefilter token="%IMQ_BIN%" value=""/>
174
+ <replacefilter token="%CONFIG_HOME%" value="../config"/>
175
+ <replacefilter token="%INSTALL_HOME%" value=".."/>
176
+ <replacefilter token="%JAVA_HOME%" value="${java.home}/.."/>
177
+ <replacefilter token="%JHELP_HOME%" value=""/>
178
+ <replacefilter token="%ICU_LIB%" value=""/>
179
+ <replacefilter token="%LOCALE%" value=""/>
180
+ <replacefilter token="%DEF_DOMAINS_PATH%" value=""/>
181
+ <replacefilter token="%ACC_CONFIG%" value="../config/sun-acc.xml"/>
182
+ </replace>
183
+ </target>
184
+
185
+ </project>
@@ -0,0 +1,25 @@
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 in
5
+ # compliance with the License.
6
+ #
7
+ # You can obtain a copy of the license at
8
+ # https://glassfish.dev.java.net/public/CDDLv1.0.html or
9
+ # glassfish/bootstrap/legal/CDDLv1.0.txt.
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 Notice in each file and include the License file
15
+ # at glassfish/bootstrap/legal/CDDLv1.0.txt.
16
+ # If applicable, add the following below the CDDL Header,
17
+ # with the fields enclosed by brackets [] replaced by
18
+ # you own identifying information:
19
+ # "Portions Copyrighted [year] [name of copyright owner]"
20
+ #
21
+ # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22
+ #
23
+
24
+ processLauncher.libraries=appserv-rt.jar,appserv-admin.jar
25
+ processLauncher.main.class=com.sun.enterprise.tools.launcher.ProcessLauncher
@@ -0,0 +1,189 @@
1
+ <?xml version="1.0"?>
2
+
3
+ <!--
4
+ The contents of this file are subject to the terms
5
+ of the Common Development and Distribution License
6
+ (the License). You may not use this file except in
7
+ compliance with the License.
8
+
9
+ You can obtain a copy of the license at
10
+ https://glassfish.dev.java.net/public/CDDLv1.0.html or
11
+ glassfish/bootstrap/legal/CDDLv1.0.txt.
12
+ See the License for the specific language governing
13
+ permissions and limitations under the License.
14
+
15
+ When distributing Covered Code, include this CDDL
16
+ Header Notice in each file and include the License file
17
+ at glassfish/bootstrap/legal/CDDLv1.0.txt.
18
+ If applicable, add the following below the CDDL Header,
19
+ with the fields enclosed by brackets [] replaced by
20
+ you own identifying information:
21
+ "Portions Copyrighted [year] [name of copyright owner]"
22
+
23
+ Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24
+ -->
25
+
26
+ <processes xmlns="http://java.sun.com/j2ee/s1as8se/processLauncher"
27
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28
+ xsi:schemaLocation="processLauncher.xsd">
29
+ <process name="s1as8-server">
30
+ <!-- This defined process type is used for all server instances that are executed using information
31
+ extracted from domain.xml. This type uses a large portion of the soon to be depreciated PELaunchFilter's
32
+ methods to perform the tasks that are involved with digesting domaim.xml properly. In fact, many of
33
+ the methods were copied in their entirety. For the methods that couldn't be copied, they were re-coded
34
+ to emulate the functionality. -->
35
+ <!-- settable jvm options are meant to come from domain.xml -->
36
+ <sysproperty key="com.sun.aas.instanceName" value="${com.sun.aas.instanceName}"/>
37
+ <sysproperty key="domain.name" value="${domain.name}"/>
38
+ <sysproperty key="com.sun.aas.domainName" value="${domain.name}"/>
39
+ <sysproperty key="com.sun.aas.clusterName" value="${com.sun.aas.clusterName}"
40
+ if="com.sun.aas.clusterName"/>
41
+ <sysproperty key="com.sun.aas.installRoot" value="${com.sun.aas.installRoot}"/>
42
+ <sysproperty key="com.sun.aas.instanceRoot" value="${com.sun.aas.instanceRoot}"/>
43
+ <sysproperty key="com.sun.aas.configRoot" value="${com.sun.aas.configRoot}"/>
44
+ <sysproperty key="user.classpath" value="${CLASSPATH}" if="CLASSPATH"/>
45
+ <sysproperty key="java.util.logging.manager"
46
+ value="com.sun.enterprise.server.logging.ServerLogManager"/>
47
+ <sysproperty key="com.sun.enterprise.overrideablejavaxpackages"
48
+ value="javax.xml.bind,javax.help,javax.portlet"/>
49
+ <sysproperty key="jmx.invoke.getters" value="true"/>
50
+ <sysproperty key="com.sun.aas.processLauncher" value="SE"/>
51
+ <sysproperty key="com.sun.aas.promptForIdentity" value="true"/>
52
+
53
+ <main_class classname="com.sun.enterprise.server.PEMain" />
54
+ <!-- Can't Remove commons-launcher.jar from the exclude list util can remove pemain dependency -->
55
+ <!--
56
+ * classpath construction hierarchy:
57
+ * (javaConfig.getClasspathPrefix)
58
+ * (processLauncher.Classpath.prefix)
59
+ * (processLauncher.Classpath.j2se1_4_prefix or processLauncher.Classpath.j2se1_5_or_later_prefix)
60
+ * (derivedClasspath based on processLauncher.Classpath excludes and includes)
61
+ * (javaConfig.getServerClasspath)
62
+ * (javaConfig.getClasspathSuffix)
63
+ * (javaConfig.profilerClasspath if enabled)
64
+ * (Environment classpath if enabled)
65
+ -->
66
+ <classpath dir="${com.sun.aas.installRoot}/lib" includes=".*jar$"
67
+ j2se1_4_prefix="${com.sun.aas.installRoot}/lib/appserv-rt.jar${path.separator}${com.sun.aas.javaRoot}/lib/tools.jar"
68
+ j2se1_5_or_later_prefix="${com.sun.aas.javaRoot}/lib/tools.jar${path.separator}${com.sun.aas.installRoot}/lib/appserv-rt.jar"
69
+ excludes="appserv-rt.jar,appserv-assemblytool.jar,appserv-tags.jar,deployhelp.jar,jhall.jar,sun-appserv-ant.jar,appserv-jwsacc.jar,appserv-jwsacc-signed.jar,j2ee.jar" />
70
+ </process>
71
+
72
+ <!-- Default process for AS9.x -->
73
+ <process name="as9-server">
74
+ <!-- This defined process type is used for all server instances that are executed using information
75
+ extracted from domain.xml. This type uses a large portion of the soon to be depreciated PELaunchFilter's
76
+ methods to perform the tasks that are involved with digesting domaim.xml properly. In fact, many of
77
+ the methods were copied in their entirety. For the methods that couldn't be copied, they were re-coded
78
+ to emulate the functionality. -->
79
+ <!-- settable jvm options are meant to come from domain.xml -->
80
+ <sysproperty key="com.sun.aas.instanceName" value="${com.sun.aas.instanceName}"/>
81
+ <sysproperty key="domain.name" value="${domain.name}"/>
82
+ <sysproperty key="com.sun.aas.domainName" value="${domain.name}"/>
83
+ <sysproperty key="com.sun.aas.clusterName" value="${com.sun.aas.clusterName}"
84
+ if="com.sun.aas.clusterName"/>
85
+ <sysproperty key="com.sun.aas.installRoot" value="${com.sun.aas.installRoot}"/>
86
+ <sysproperty key="com.sun.aas.instanceRoot" value="${com.sun.aas.instanceRoot}"/>
87
+ <sysproperty key="com.sun.aas.configRoot" value="${com.sun.aas.configRoot}"/>
88
+ <sysproperty key="user.classpath" value="${CLASSPATH}" if="CLASSPATH"/>
89
+ <sysproperty key="java.util.logging.manager"
90
+ value="com.sun.enterprise.server.logging.ServerLogManager"/>
91
+ <sysproperty key="com.sun.enterprise.overrideablejavaxpackages"
92
+ value="javax.xml.bind,javax.help,javax.portlet"/>
93
+ <sysproperty key="jmx.invoke.getters" value="true"/>
94
+ <sysproperty key="com.sun.aas.processLauncher" value="SE"/>
95
+ <sysproperty key="com.sun.aas.promptForIdentity" value="true"/>
96
+ <sysproperty key="com.sun.updatecenter.home" value="${com.sun.aas.installRoot}/updatecenter"/>
97
+
98
+ <!-- sysproperties for the new classloader hierarchy. used in PELaunch -->
99
+ <sysproperty key="com.sun.aas.classloader.sharedChainJars"
100
+ value="javaee.jar,${com.sun.aas.javaRoot}/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,commons-launcher.jar,${com.sun.aas.imqLib}/jaxm-api.jar,${com.sun.aas.imqLib}/fscontext.jar,${com.sun.aas.imqLib}/imqbroker.jar,${com.sun.aas.imqLib}/imqjmx.jar,${com.sun.aas.imqLib}/imqxm.jar,${com.sun.aas.antLib}/ant.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,jsf-api.jar,jsf-impl.jar,appserv-jstl.jar,appserv-env.jar,jmxremote_optional.jar,${com.sun.aas.jdmkHome}/lib/jdmkrt.jar,commons-logging.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,${com.sun.aas.installRoot}/updatecenter/lib/updatecenter.jar"/>
101
+ <sysproperty key="com.sun.aas.classloader.sharedChainJars.ee" value="appserv-se.jar,appserv-ee.jar,${com.sun.aas.hadbRoot}/lib/dbstate.jar,${com.sun.aas.hadbRoot}/lib/hadbjdbc4.jar,jgroups-all.jar,${com.sun.aas.mfwkHome}/lib/mfwk_instrum_tk.jar"/>
102
+ <sysproperty key="com.sun.aas.classloader.serverClassPath" value="${com.sun.aas.installRoot}/lib/install/applications/jmsra/imqjmsra.jar,${com.sun.aas.imqLib}/jaxm-api.jar,${com.sun.aas.imqLib}/fscontext.jar,${com.sun.aas.imqLib}/imqbroker.jar,${com.sun.aas.imqLib}/imqjmx.jar,${com.sun.aas.antLib}/ant.jar,${com.sun.aas.jdmkHome}/lib/jdmkrt.jar"/>
103
+ <sysproperty key="com.sun.aas.classloader.serverClassPath.ee" value="${com.sun.aas.hadbRoot}/lib/hadbjdbc4.jar,${com.sun.aas.jdmkHome}/lib/jdmkrt.jar,${com.sun.aas.hadbRoot}/lib/dbstate.jar,${com.sun.aas.hadbRoot}/lib/hadbm.jar,${com.sun.aas.hadbRoot}/lib/hadbmgt.jar,${com.sun.aas.mfwkHome}/lib/mfwk_instrum_tk.jar"/>
104
+ <sysproperty key="com.sun.aas.classloader.optionalOverrideableChain" value="webservices-rt.jar,webservices-tools.jar,commons-logging.jar,commons-launcher.jar"/>
105
+ <sysproperty key="com.sun.aas.classloader.optionalOverrideableChain.ee" value=""/>
106
+ <sysproperty key="com.sun.aas.classloader.appserverChainJars" value="admin-cli.jar,admin-cli-ee.jar,dbschema.jar,j2ee-svc.jar"/>
107
+ <sysproperty key="com.sun.aas.classloader.appserverChainJars.ee" value=""/>
108
+
109
+ <main_class classname="com.sun.enterprise.server.PELaunch" />
110
+ <!-- Can't Remove commons-launcher.jar from the exclude list util can remove pemain dependency -->
111
+ <!--
112
+ * classpath construction hierarchy:
113
+ * (javaConfig.getClasspathPrefix)
114
+ * (processLauncher.Classpath.prefix)
115
+ * (processLauncher.Classpath.j2se1_4_prefix or processLauncher.Classpath.j2se1_5_or_later_prefix)
116
+ * (derivedClasspath based on processLauncher.Classpath excludes and includes)
117
+ * (javaConfig.getSystemClasspath)
118
+ * (javaConfig.getClasspathSuffix)
119
+ * (javaConfig.profilerClasspath if enabled)
120
+ * (Environment classpath if enabled)
121
+ -->
122
+ <classpath dir="${com.sun.aas.installRoot}/lib"/>
123
+ </process>
124
+
125
+ <process name="s1as8-nodeagent">
126
+ <!-- This defined process type is specifically created for the Node Agent -->
127
+ <!--
128
+ <sysproperty key="-Xdebug"/>
129
+ <sysproperty key="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=1321"/>
130
+ -->
131
+ <!-- this defaultLogFile property has to be there for the the native launcher to redirect the log
132
+ and it is also used for the nodeagent's log in the launcher before rendezvous, the launcher
133
+ will read domain.xml if it exists and reset this property, if appropriate
134
+ -->
135
+ <sysproperty key="com.sun.aas.defaultLogFile" value="${com.sun.aas.instanceRoot}/logs/server.log"/>
136
+ <sysproperty key="com.sun.aas.instanceName" value="${com.sun.aas.instanceName}"/>
137
+ <sysproperty key="com.sun.aas.instanceRoot" value="${com.sun.aas.instanceRoot}"/>
138
+ <sysproperty key="com.sun.aas.configRoot" value="${com.sun.aas.configRoot}"/>
139
+ <sysproperty key="com.sun.appserv.nss.db" value="${com.sun.aas.instanceRoot}/config"/>
140
+ <sysproperty key="java.security.auth.login.config" value="${com.sun.aas.instanceRoot}/config/login.conf"/>
141
+ <sysproperty key="java.endorsed.dirs" value="${java.endorsed.dirs}"/>
142
+ <sysproperty key="java.util.logging.manager" value="com.sun.enterprise.server.logging.ServerLogManager"/>
143
+ <sysproperty key="jmx.invoke.getters" value="true"/>
144
+ <sysproperty key="com.sun.appserv.admin.pluggable.features"
145
+ value="com.sun.enterprise.ee.admin.pluggable.EEClientPluggableFeatureImpl"/>
146
+ <sysproperty key="com.sun.appserv.pluggable.features"
147
+ value="com.sun.enterprise.ee.server.pluggable.EEPluggableFeatureImpl"/>
148
+ <sysproperty key="com.sun.aas.promptForIdentity" value="true"/>
149
+ <!-- used for security, do not remove -->
150
+ <sysproperty key="com.sun.aas.isNodeAgent" value="true"/>
151
+
152
+ <main_class classname="com.sun.enterprise.ee.nodeagent.NodeAgentMain" />
153
+ <!--
154
+ * classpath construction hierarchy:
155
+ * (processLauncher.Classpath.prefix)
156
+ * (processLauncher.Classpath.j2se1_4_prefix or processLauncher.Classpath.j2se1_5_or_later_prefix)
157
+ * (derivedClasspath based on processLauncher.Classpath excludes and includes)
158
+ -->
159
+ <classpath dir="${com.sun.aas.installRoot}/lib"
160
+ includes="appserv-ee.jar,appserv-se.jar,appserv-admin.jar,appserv-rt.jar,appserv-ext.jar,javaee.jar"/>
161
+ </process>
162
+ <process name="s1as-deploytool">
163
+ <!-- This defined process type is specifically created for the Deployment Tool. -->
164
+ <!--
165
+ <sysproperty key="-Xdebug"/>
166
+ <sysproperty key="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=1321"/>
167
+ -->
168
+ <sysproperty key="com.sun.aas.installRoot" value="${com.sun.aas.installRoot}"/>
169
+ <sysproperty key="java.endorsed.dirs" value="${com.sun.aas.installRoot}/lib/endorsed"/>
170
+ <sysproperty key="com.sun.aas.defaultUserName" value="${com.sun.aas.defaultUserName}"
171
+ if="com.sun.aas.defaultUserName"/>
172
+ <sysproperty key="com.sun.aas.defaultPassword" value="${com.sun.aas.defaultPassword}"
173
+ if="com.sun.aas.defaultPassword"/>
174
+ <sysproperty key="com.sun.aas.defaultLogFile" value="${user.home}/.deploytool/logfile"
175
+ if="user.home"/>
176
+ <sysproperty key="ui.debugMode" value="true" if="com.sun.aas.verboseMode"/>
177
+
178
+ <main_class classname="com.sun.enterprise.tools.deployment.ui.Main" />
179
+ <!--
180
+ * classpath construction hierarchy:
181
+ * (processLauncher.Classpath.prefix)
182
+ * (processLauncher.Classpath.j2se1_4_prefix or processLauncher.Classpath.j2se1_5_or_later_prefix)
183
+ * (derivedClasspath based on processLauncher.Classpath excludes and includes)
184
+ -->
185
+ <classpath dir="${com.sun.aas.installRoot}/lib"
186
+ prefix="${com.sun.aas.javaRoot}/lib/tools.jar${path.separator}${com.sun.aas.jhelpRoot}/jhall.jar"
187
+ includes="appserv-assemblytool.jar,activation.jar,appserv-admin.jar,appserv-cmp.jar,appserv-rt.jar,javaee.jar,jaxrpc-impl.jar,appserv-ext.jar,deployhelp.jar,admin-cli.jar,dom.jar,xercesImpl.jar,xalan.jar,mail.jar"/>
188
+ </process>
189
+ </processes>
@@ -0,0 +1,18 @@
1
+ <registry>
2
+ <service_tag>
3
+ <instance_urn></instance_urn>
4
+ <product_name>Sun GlassFish Enterprise Server</product_name>
5
+ <product_version>v3</product_version>
6
+ <product_urn>urn:uuid:05617256-0677-11dd-8282-080020a9ed93</product_urn>
7
+ <product_parent_urn>urn:uuid:a573278d-43d6-11d9-9607-080020a9ed93</product_parent_urn>
8
+ <product_parent>Sun Java System Application Server</product_parent>
9
+ <product_defined_inst_id></product_defined_inst_id>
10
+ <product_vendor>Sun Microsystems Inc.</product_vendor>
11
+ <platform_arch></platform_arch>
12
+ <container>global</container>
13
+ <source>GlassFish V3</source>
14
+ <status>NOT_TRANSFERRED</status>
15
+ <registration_status>NOT_REGISTERED</registration_status>
16
+ </service_tag>
17
+ <registration_reminder>ASK_FOR_REGISTRATION</registration_reminder>
18
+ </registry>
Binary file