glassfish 0.1.1-universal-java-1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. data/COPYRIGHT +33 -0
  2. data/LICENSE.txt +263 -0
  3. data/README +12 -0
  4. data/bin/asadmin +7 -0
  5. data/bin/asadmin.bat +8 -0
  6. data/bin/glassfish_rails +40 -0
  7. data/config/asadminenv.conf +6 -0
  8. data/config/asenv.bat +28 -0
  9. data/config/asenv.conf +27 -0
  10. data/config/glassfish.container +4 -0
  11. data/domains/domain1/config/admin-keyfile +3 -0
  12. data/domains/domain1/config/cacerts.jks +0 -0
  13. data/domains/domain1/config/default-web.xml +906 -0
  14. data/domains/domain1/config/domain-passwords +0 -0
  15. data/domains/domain1/config/domain.xml +208 -0
  16. data/domains/domain1/config/keyfile +6 -0
  17. data/domains/domain1/config/keystore.jks +0 -0
  18. data/domains/domain1/config/logging.properties +82 -0
  19. data/domains/domain1/config/login.conf +18 -0
  20. data/domains/domain1/config/server.policy +160 -0
  21. data/domains/domain1/config/sun-acc.xml +40 -0
  22. data/domains/domain1/config/wss-server-config-1.0.xml +86 -0
  23. data/domains/domain1/config/wss-server-config-2.0.xml +94 -0
  24. data/domains/domain1/docroot/favicon.gif +0 -0
  25. data/domains/domain1/docroot/index.html +87 -0
  26. data/domains/domain1/master-password +0 -0
  27. data/lib/appclient/appclientlogin.conf +10 -0
  28. data/lib/appclient/client.policy +79 -0
  29. data/lib/appclient/wss-client-config-1.0.xml +84 -0
  30. data/lib/appclient/wss-client-config-2.0.xml +96 -0
  31. data/lib/dtds/application-client_1_2.dtd +292 -0
  32. data/lib/dtds/application-client_1_3.dtd +506 -0
  33. data/lib/dtds/application_1_2.dtd +197 -0
  34. data/lib/dtds/application_1_3.dtd +312 -0
  35. data/lib/dtds/connector_1_0.dtd +561 -0
  36. data/lib/dtds/ejb-jar_1_1.dtd +894 -0
  37. data/lib/dtds/ejb-jar_2_0.dtd +1671 -0
  38. data/lib/dtds/sun-application-client-container_1_0.dtd +123 -0
  39. data/lib/dtds/sun-application-client-container_1_1.dtd +264 -0
  40. data/lib/dtds/sun-application-client-container_1_2.dtd +267 -0
  41. data/lib/dtds/sun-application-client_1_3-0.dtd +57 -0
  42. data/lib/dtds/sun-application-client_1_4-0.dtd +182 -0
  43. data/lib/dtds/sun-application-client_1_4-1.dtd +431 -0
  44. data/lib/dtds/sun-application-client_5_0-0.dtd +495 -0
  45. data/lib/dtds/sun-application_1_3-0.dtd +30 -0
  46. data/lib/dtds/sun-application_1_4-0.dtd +44 -0
  47. data/lib/dtds/sun-application_5_0-0.dtd +51 -0
  48. data/lib/dtds/sun-cmp-mapping_1_0.dtd +100 -0
  49. data/lib/dtds/sun-cmp-mapping_1_1.dtd +99 -0
  50. data/lib/dtds/sun-cmp-mapping_1_2.dtd +106 -0
  51. data/lib/dtds/sun-connector_1_0-0.dtd +66 -0
  52. data/lib/dtds/sun-connector_1_5-0.dtd +62 -0
  53. data/lib/dtds/sun-domain_1_0.dtd +2007 -0
  54. data/lib/dtds/sun-domain_1_1.dtd +3080 -0
  55. data/lib/dtds/sun-domain_1_2.dtd +3697 -0
  56. data/lib/dtds/sun-domain_1_3.dtd +3867 -0
  57. data/lib/dtds/sun-ejb-jar_2_0-0.dtd +449 -0
  58. data/lib/dtds/sun-ejb-jar_2_0-1.dtd +454 -0
  59. data/lib/dtds/sun-ejb-jar_2_1-0.dtd +756 -0
  60. data/lib/dtds/sun-ejb-jar_2_1-1.dtd +1085 -0
  61. data/lib/dtds/sun-ejb-jar_3_0-0.dtd +1113 -0
  62. data/lib/dtds/sun-loadbalancer_1_0.dtd +156 -0
  63. data/lib/dtds/sun-loadbalancer_1_1.dtd +172 -0
  64. data/lib/dtds/sun-resources_1_0.dtd +650 -0
  65. data/lib/dtds/sun-resources_1_1.dtd +650 -0
  66. data/lib/dtds/sun-resources_1_2.dtd +662 -0
  67. data/lib/dtds/sun-resources_1_3.dtd +732 -0
  68. data/lib/dtds/sun-server_1_0.dtd +1056 -0
  69. data/lib/dtds/sun-web-app_2_3-0.dtd +230 -0
  70. data/lib/dtds/sun-web-app_2_3-1.dtd +230 -0
  71. data/lib/dtds/sun-web-app_2_4-0.dtd +466 -0
  72. data/lib/dtds/sun-web-app_2_4-1.dtd +742 -0
  73. data/lib/dtds/sun-web-app_2_5-0.dtd +789 -0
  74. data/lib/dtds/web-app_2_2.dtd +639 -0
  75. data/lib/dtds/web-app_2_3.dtd +1063 -0
  76. data/lib/dtds/web-jsptaglibrary_1_1.dtd +265 -0
  77. data/lib/dtds/web-jsptaglibrary_1_2.dtd +468 -0
  78. data/lib/package-appclient.xml +185 -0
  79. data/lib/processLauncher.properties +25 -0
  80. data/lib/processLauncher.xml +189 -0
  81. data/lib/schemas/XMLSchema.dtd +402 -0
  82. data/lib/schemas/application-client_1_4.xsd +267 -0
  83. data/lib/schemas/application-client_5.xsd +304 -0
  84. data/lib/schemas/application_1_4.xsd +315 -0
  85. data/lib/schemas/application_5.xsd +336 -0
  86. data/lib/schemas/connector_1_5.xsd +1036 -0
  87. data/lib/schemas/datatypes.dtd +203 -0
  88. data/lib/schemas/ejb-jar_2_1.xsd +2208 -0
  89. data/lib/schemas/ejb-jar_3_0.xsd +2706 -0
  90. data/lib/schemas/j2ee_1_4.xsd +1608 -0
  91. data/lib/schemas/j2ee_jaxrpc_mapping_1_1.xsd +886 -0
  92. data/lib/schemas/j2ee_web_services_1_1.xsd +491 -0
  93. data/lib/schemas/j2ee_web_services_client_1_1.xsd +345 -0
  94. data/lib/schemas/javaee_5.xsd +2096 -0
  95. data/lib/schemas/javaee_web_services_1_2.xsd +747 -0
  96. data/lib/schemas/javaee_web_services_client_1_2.xsd +578 -0
  97. data/lib/schemas/jax-rpc-ri-config.xsd +416 -0
  98. data/lib/schemas/jsp_2_0.xsd +308 -0
  99. data/lib/schemas/jsp_2_1.xsd +343 -0
  100. data/lib/schemas/orm_1_0.xsd +1516 -0
  101. data/lib/schemas/persistence_1_0.xsd +260 -0
  102. data/lib/schemas/web-app_2_4.xsd +1234 -0
  103. data/lib/schemas/web-app_2_5.xsd +1271 -0
  104. data/lib/schemas/web-jsptaglibrary_2_0.xsd +1010 -0
  105. data/lib/schemas/web-jsptaglibrary_2_1.xsd +1144 -0
  106. data/lib/schemas/xml.xsd +82 -0
  107. data/modules/admin-cli-10.0-SNAPSHOT.jar +0 -0
  108. data/modules/auto-depends-0.2-SNAPSHOT.jar +0 -0
  109. data/modules/cli-framework-10.0-SNAPSHOT.jar +0 -0
  110. data/modules/common-ee-util-10.0-SNAPSHOT.jar +0 -0
  111. data/modules/common-util-10.0-SNAPSHOT.jar +0 -0
  112. data/modules/config-0.2-SNAPSHOT.jar +0 -0
  113. data/modules/config-api-10.0-SNAPSHOT.jar +0 -0
  114. data/modules/gf-jruby-connector-10.0-SNAPSHOT.jar +0 -0
  115. data/modules/glassfish-10.0-SNAPSHOT.jar +0 -0
  116. data/modules/glassfish-api-10.0-SNAPSHOT.jar +0 -0
  117. data/modules/glassfish.rb +10 -0
  118. data/modules/grizzly-framework-1.7.1.jar +0 -0
  119. data/modules/grizzly-http-1.7.1.jar +0 -0
  120. data/modules/grizzly-http-utils-1.7.1.jar +0 -0
  121. data/modules/grizzly-jruby-1.7.0.jar +0 -0
  122. data/modules/grizzly-jruby-module-1.7.0.jar +0 -0
  123. data/modules/grizzly-module-1.7.1.jar +0 -0
  124. data/modules/grizzly-portunif-1.7.1.jar +0 -0
  125. data/modules/grizzly-rcm-1.7.1.jar +0 -0
  126. data/modules/hk2-0.2-SNAPSHOT.jar +0 -0
  127. data/modules/hk2-core-0.2-SNAPSHOT.jar +0 -0
  128. data/modules/junit-4.3.1.jar +0 -0
  129. data/modules/kernel-10.0-SNAPSHOT.jar +0 -0
  130. data/modules/persistence-api-1.0b.jar +0 -0
  131. data/modules/servlet-api-2.5.jar +0 -0
  132. data/modules/sjsxp-1.0.jar +0 -0
  133. data/modules/stax-api-1.0-2.jar +0 -0
  134. data/modules/tiger-types-1.0.jar +0 -0
  135. metadata +206 -0
@@ -0,0 +1,1056 @@
1
+
2
+ <!ENTITY % boolean "(yes | no | on | off | 1 | 0 | true | false)">
3
+ <!ENTITY % severity "(FINEST|FINER|FINE|CONFIG|INFO|WARNING|SEVERE|ALERT|FATAL)">
4
+ <!ENTITY % isolation "(read-uncommitted | read-committed | repeatable-read | serializable)">
5
+
6
+ <!-- J2EE Application Server Configuration
7
+
8
+ Each Application Server instance is a J2EEv1.3 compliant container.
9
+ One server instance is specially designated as the Administration Server.
10
+ User applications cannot be deployed to an Adminsitration Server instance.
11
+
12
+ instance-name name of the server instance.
13
+
14
+ locale If present logging and Administration interface, will use
15
+ the specified locale. Overrides OS locale setting.
16
+
17
+ log-root specifies where the server instance's log files are kept,
18
+ including HTTP access logs, server logs, and transaction
19
+ logs. Default is $INSTANCE_ROOT/logs
20
+
21
+ session-store specifies the directory where passivated beans and
22
+ persisted HTTP sessions are stored on the file system.
23
+ Defaults to $INSTANCE_ROOT/session-store
24
+
25
+ applications-root Directory where deployed application are stored. Defaults
26
+ to $INSTANCE_ROOT/applications
27
+ -->
28
+ <!ELEMENT server (http-service, iiop-service, admin-service?,
29
+ web-container, ejb-container, mdb-container,
30
+ jms-service, log-service, security-service, transaction-service,
31
+ java-config, resources, applications, property*)>
32
+ <!ATTLIST server name CDATA #REQUIRED
33
+ locale CDATA #IMPLIED
34
+ log-root CDATA #IMPLIED
35
+ application-root CDATA #IMPLIED
36
+ session-store CDATA #IMPLIED>
37
+
38
+ <!-- HTTP service configuration -->
39
+ <!ELEMENT http-service ((http-listener | mime | acl | virtual-server-class)*, http-qos?, property*)>
40
+ <!ATTLIST http-service qos-metrics-interval-in-seconds CDATA "30"
41
+ qos-recompute-time-interval-in-millis CDATA "100"
42
+ qos-enabled %boolean; "true">
43
+
44
+ <!-- Configure HTTP listener
45
+
46
+ id Unique identifier for http listener.
47
+
48
+ address IP address of the listen socket. Can be in dotted-pair or IPv6 notation.
49
+ Can also be any for INADDR_ANY. Configuring a listen socket to listen on
50
+ any is required if more than one http-listener is configured to it.
51
+
52
+ port Port number to create the listen socket on. Legal values are 1 - 65535.
53
+ On Unix, creating sockets that listen on ports 1 - 1024 requires
54
+ superuser privileges. Configuring an SSL listen socket to listen on
55
+ port 443 is recommended.
56
+
57
+ security-enabled (optional) Determines whether the http listener runs SSL. You can
58
+ turn SSL2 or SSL3 on or off and set ciphers using an ssl element
59
+ The Security setting in the init.conf file globally enables or disables
60
+ SSL by making certificates available to the server instance. Therefore,
61
+ Security in init.conf must be on or security in server.xml does not work.
62
+
63
+ acceptor-threads (optional) Number of acceptor threads for the listen socket.
64
+ The recommended value is the number of processors in the machine.
65
+
66
+ family (optional) The socket family type. The default is inet. Legal values are
67
+ inet, inet6, and nca. Use the value inet6 for IPv6 listen sockets.
68
+ When using the value of inet6, IPv4 addresses will be prefixed with
69
+ ::ffff: in the log file. Specify nca to make use of the
70
+ Solaris Network Cache and Accelerator.
71
+
72
+ blocking-enabled (optional) Determines whether the http listener socket and the accepted
73
+ socket are put in to blocking mode. Use of blocking mode may improve
74
+ benchmark scores.
75
+
76
+ default-virtual-server The id attribute of the default virtual server for this
77
+ particular connection group.
78
+
79
+ server-name Tells the server what to put in the host name section of any URLs
80
+ it sends to the client. This affects URLs the server automatically generates;
81
+ it doesn't affect the URLs for directories and files stored in the server.
82
+ This name should be the alias name if your server uses an alias.
83
+ If you append a colon and port number, that port will be used in URLs
84
+ the server sends to the client.
85
+ -->
86
+ <!ELEMENT http-listener (ssl?)>
87
+ <!ATTLIST http-listener id CDATA #REQUIRED
88
+ address CDATA #REQUIRED
89
+ port CDATA #REQUIRED
90
+ family CDATA #IMPLIED
91
+ acceptor-threads CDATA "1"
92
+ blocking-enabled %boolean; "false"
93
+ security-enabled %boolean; "false"
94
+ default-virtual-server CDATA #REQUIRED
95
+ server-name CDATA #REQUIRED
96
+ enabled %boolean; "true">
97
+
98
+ <!-- Define SSL processing parameters
99
+
100
+ cert-nickname nickname of the server certificate in the certificate database
101
+ or the PKCS#11 token. In the certificate, the name format is
102
+ tokenname:nickname. Including the tokenname: part of the name
103
+ in this attribute is optional.
104
+
105
+ ssl2-enabled (optional) Determines whether SSL2 is enabled.
106
+
107
+ ssl3-enabled (optional) Determines whether SSL3 is enabled.
108
+
109
+ If both SSL2 and SSL3 are enabled for a virtual server, the server
110
+ tries SSL3 encryption first. If that fails, the server tries SSL2
111
+ encryption.
112
+
113
+ ssl2-ciphers (optional) A comma-separated list of the SSL2 ciphers used, with
114
+ the prefix + to enable or - to disable, for example +rc4. Allowed
115
+ values are rc4, rc4export, rc2, rc2export, idea, des, desede3.
116
+ If no value is specified, all supported ciphers are assumed to
117
+ be enabled.
118
+
119
+ ssl3-tls-ciphers (optional) A comma-separated list of the SSL3 ciphers used, with
120
+ the prefix + to enable or - to disable, for example +rsa_des_sha.
121
+ Allowed SSL3 values are rsa_rc4_128_md5, rsa3des_sha, rsa_des_sha,
122
+ rsa_rc4_40_md5, rsa_rc2_40_md5, rsa_null_md5. Allowed TLS values
123
+ are rsa_des_56_sha, rsa_rc4_56_sha. If no value is specified,
124
+ all supported ciphers are assumed to be enabled.
125
+
126
+ tls-enabled (optional) Determines whether TLS is enabled.
127
+
128
+ tls-rollback-enabled (optional) Determines whether TLS rollback is enabled. TLS
129
+ rollback should be enabled for Microsoft Internet Explorer
130
+ 5.0 and 5.5.
131
+
132
+ client-auth-enabled (optional) Determines whether SSL3 client authentication is
133
+ performed on every request, independent of ACL-based access
134
+ control.
135
+ -->
136
+ <!ELEMENT ssl EMPTY>
137
+ <!ATTLIST ssl cert-nickname CDATA #REQUIRED
138
+ ssl2-enabled %boolean; "false"
139
+ ssl2-ciphers CDATA #IMPLIED
140
+ ssl3-enabled %boolean; "true"
141
+ ssl3-tls-ciphers CDATA #IMPLIED
142
+ tls-enabled %boolean; "true"
143
+ tls-rollback-enabled %boolean; "true"
144
+ client-auth-enabled %boolean; "false">
145
+
146
+ <!-- Defines MIME types.
147
+
148
+ The most common way that the server determines the MIME type of a requested
149
+ resource is by invoking the type-by-extension directive in the ObjectType
150
+ section of the obj.conf file. The type-by-extension function does not work
151
+ if no MIME element has been defined in the SERVER element.
152
+
153
+ id Internal name for the MIME types listing. Used in a virtual-server
154
+ element to define the MIME types used by the virtual server.
155
+ file name of a MIME types file.
156
+ -->
157
+
158
+ <!ELEMENT mime EMPTY>
159
+ <!ATTLIST mime id CDATA #REQUIRED
160
+ file CDATA #REQUIRED>
161
+
162
+ <!-- ACL File references
163
+
164
+ id internal name for the ACL file listing. Used in a Vrtual Server
165
+ element to define the ACL file used by the virtual server.
166
+ file name of the default ACL file
167
+ -->
168
+ <!ELEMENT acl EMPTY>
169
+ <!ATTLIST acl id CDATA #REQUIRED
170
+ file CDATA #REQUIRED>
171
+
172
+ <!-- virtual-server-class provides a way to specify a set of properties that will
173
+ apply to several virtual server instances.
174
+
175
+ id Virtual server class ID. This is a unique ID that allows lookup of a
176
+ specific virtual server class.
177
+
178
+ config-file file name of alternative obj.conf file for class of virtual servers.
179
+ Can be overridden in a virtual-server element.
180
+
181
+ default-object (optional) names the object loaded from an obj.conf file which is
182
+ the default. The default object is expected to have all the name
183
+ translation (NameTrans) directives for the virtual server; any
184
+ server behavior that is configured in the default object affects
185
+ the entire virtual server class. The default value is default.
186
+ If you specify an object that doesn't exist, the server doesn't
187
+ report an error until a client tries to retrieve a document. The
188
+ Server Manager assumes the default to be the object named default.
189
+ Don't deviate from this convention if you use (or plan to use) the
190
+ Server Manager.
191
+ accept-language (optional) If on, the server parses the Accept-Language header
192
+ and sends an appropriate language version based on which language
193
+ the client can accept. You should set this value to on only if the
194
+ server supports multiple languages. The default is off. Can be
195
+ overridden in a virtual-server element.
196
+ -->
197
+ <!ELEMENT virtual-server-class (virtual-server*, http-qos?, property*)>
198
+ <!ATTLIST virtual-server-class id CDATA #REQUIRED
199
+ config-file CDATA #IMPLIED
200
+ default-object CDATA "default"
201
+ accept-language %boolean; "false"
202
+ enabled %boolean; "true">
203
+
204
+ <!-- Configuration of Virtual Server
205
+
206
+ Virtualization in Application Server allows multiple URL domains to be served by
207
+ the same HTTP server process, which is listening on multiple host addresses If
208
+ an application is available at two virtual servers, they still share same physical
209
+ resource pools, such as JDBC connection pools.
210
+
211
+ Sun Application Server allows a list of virtual servers, to be specified
212
+ along with web-module and j2ee-application elements. This establishes an
213
+ association between URL domains, represented by the virtual server and the web
214
+ modules (standalone web modules or web modules inside the ear file)
215
+
216
+ id Virtual server ID. This is a unique ID that allows lookup of a
217
+ specific virtual server. Can also be referred to as the
218
+ variable $id in an obj.conf file. A virtual server ID cannot
219
+ begin with a number.
220
+
221
+ http-listeners (optional) A comma-separated list of http-listener id(s),
222
+ Required only for a Virtual Server that is not the default
223
+ virtual server.
224
+
225
+ default-web-module (optional) stand alone web module associated with this
226
+ virtual server by default.
227
+
228
+ config-file (optional) Typically all virtual server initialization is
229
+ from $INSTANCE_ROOT/config/obj.conf. This can be changed
230
+ using this attribute.
231
+
232
+ hosts A comma-separated list of values allowed in the Host request
233
+ header to select the current virtual server. Each Virtual Server
234
+ that is configured to the same Connection Group must have a
235
+ unique hosts value for that group.
236
+
237
+ mime The id of the mime element used by the virtual server.
238
+
239
+ state (optional) Determines whether a Virtual Server is active
240
+ (on) or inactive (off, disable). The default is on (active).
241
+ When inactive, a Virtual Server does not service requests.
242
+ If a Virtual Server is disabled, only the server administrator
243
+ can turn it on.
244
+
245
+ acls (optional) One or more id attributes of <acl> elements,
246
+ separated by commas. Specifies the ACL file(s) used by the
247
+ virtual server.
248
+
249
+ log-file (optional) Specifies a log file for virtual-server-specific
250
+ log messages. If this is not specified, log messages go to
251
+ $LOG_ROOT/server.log
252
+
253
+ accept-language (optional) If on, the server parses the Accept-Language header
254
+ and sends an appropriate language version based on which language
255
+ the client can accept. You should set this value to on only if
256
+ the server supports multiple languages. The default is picked
257
+ up from the virtual-server-class.
258
+ -->
259
+ <!ELEMENT virtual-server (http-qos?, auth-db*, property*)>
260
+ <!ATTLIST virtual-server id CDATA #REQUIRED
261
+ http-listeners CDATA #IMPLIED
262
+ default-web-module CDATA #IMPLIED
263
+ config-file CDATA #IMPLIED
264
+ default-object CDATA #IMPLIED
265
+ hosts CDATA #REQUIRED
266
+ mime CDATA #REQUIRED
267
+ state (on | off | disabled ) "on"
268
+ acls CDATA #IMPLIED
269
+ accept-language %boolean; #IMPLIED
270
+ log-file CDATA #IMPLIED>
271
+
272
+ <!-- http-qos defines the Quality of Service paramaters on HTTP path.
273
+
274
+ bandwidth-limit (optional) maximum bandwidth limit for the Virtual Server Class,
275
+ or Virtual Server, in bytes per second. Default is No Limit.
276
+ enforce-bandwidth-limit (optional) whether the bandwidth limit should be enforced or not.
277
+ connection-limit (optional) maximum number of concurrent connections for the
278
+ server, virtual-server-class, or virtual-server.
279
+ enforce-connection-limit (optional) whether the connection limit should be enforced or not.
280
+ -->
281
+ <!ELEMENT http-qos EMPTY>
282
+ <!ATTLIST http-qos bandwidth-limit CDATA #IMPLIED
283
+ enforce-bandwidth-limit %boolean; "false"
284
+ connection-limit CDATA #IMPLIED
285
+ enforce-connection-limit %boolean; "false">
286
+
287
+ <!-- auth-db defines the user database used by the virtual server.
288
+
289
+ id user database name in the virtual server's ACL file.
290
+ database user database name in the dbswitch.conf file.
291
+ basedn (optional) Overrides the base DN lookup in the dbswitch.conf file.
292
+ However, the basedn value is still relative to the base DN value from the
293
+ dbswitch.conf entry.
294
+ certmaps (optional) certificate to LDAP entry mappings (defined in certmap.conf)
295
+ to use. If not present, all mappings are used. All lookups based on mappings
296
+ in certmap.conf are relative to the final base DN (distinguished name)
297
+ of the Virtual Server.
298
+ -->
299
+ <!ELEMENT auth-db EMPTY>
300
+ <!ATTLIST auth-db id CDATA #REQUIRED
301
+ database CDATA #REQUIRED
302
+ basedn CDATA #IMPLIED
303
+ certmaps CDATA #IMPLIED>
304
+
305
+ <!-- ORB underlies the EJB container. Requests for EJBs from Application Client
306
+ Container(s) or from another EJB interoperability capable J2EE Container(s)
307
+ are serviced by iiop listener(s). One non-SSL iiop listener can be configured.
308
+ SSL support may require up to two SSL secured IIOP listeners to be configured:
309
+ Server Authentication only, Mutual Authentication only, or both.
310
+
311
+ ssl-client-config element specifies the SSL configuration when the Application
312
+ Server is making outbound IIOP/SSL connections.
313
+
314
+ By default, a server instance will configure non-secure IIOP access.
315
+ Administrator can create and configure IIOP/SSL listener(s).
316
+ -->
317
+ <!ELEMENT iiop-service (orb, ssl-client-config?, iiop-listener*)>
318
+
319
+ <!-- Orb Configuration properties
320
+
321
+ message-fragment-size GIOPv1.2 messages larger than this will get fragmented.
322
+ steady-thread-pool-size minimum number of threads listening for incoming requests.
323
+ max-thread-pool-size maximum number of threads that can listen for requests
324
+ idle-thread-timeout-in-seconds idle threads are removed from pool, after this time
325
+ log-level Can be set to control verbosity of log messages from Orb
326
+ monitoring-enabled Enables statistics collection
327
+ max-connections maximum number of incoming connections, on all listeners
328
+ -->
329
+ <!ELEMENT orb (property*)>
330
+ <!ATTLIST orb message-fragment-size CDATA "1024"
331
+ steady-thread-pool-size CDATA "10"
332
+ max-thread-pool-size CDATA "200"
333
+ idle-thread-timeout-in-seconds CDATA "300"
334
+ max-connections CDATA "1024"
335
+ log-level %severity;#IMPLIED
336
+ monitoring-enabled %boolean; "false">
337
+
338
+ <!-- Client SSL Configuration -->
339
+ <!ELEMENT ssl-client-config (ssl)>
340
+
341
+ <!-- IIOP Listener Configuration.
342
+
343
+ ssl element specifies optional SSL configuration
344
+ id unique identifier for this listener.
345
+ address ip address or hostname (resolvable by DNS)
346
+ port port number
347
+ enabled if false, a configured listener, is disabled
348
+ -->
349
+ <!ELEMENT iiop-listener (ssl?, property*)>
350
+ <!ATTLIST iiop-listener id CDATA #REQUIRED
351
+ address CDATA #REQUIRED
352
+ port CDATA "1072"
353
+ enabled %boolean; "true">
354
+
355
+ <!-- Administration Server is a distinguished server instance.
356
+
357
+ server-instance group of server instances administered by this
358
+ Administration Server.
359
+ log-level controls verbosity of log messages from Administration
360
+ -->
361
+ <!ELEMENT admin-service (server-instance | property)*>
362
+ <!ATTLIST admin-service log-level %severity; #IMPLIED>
363
+
364
+ <!-- Administered Server instance
365
+ name Name of the server instance
366
+ -->
367
+ <!ELEMENT server-instance EMPTY>
368
+ <!ATTLIST server-instance name CDATA #REQUIRED>
369
+
370
+ <!-- J2EE Applications look up resources registered with the
371
+ Application server, using portable JNDI names.
372
+ -->
373
+ <!ELEMENT resources ((custom-resource | external-jndi-resource |
374
+ jdbc-resource | mail-resource | jms-resource |
375
+ persistence-manager-factory-resource |
376
+ jdbc-connection-pool)*)>
377
+
378
+ <!-- Textual description of a configured entity -->
379
+ <!ELEMENT description (#PCDATA)>
380
+
381
+ <!-- custom (or generic) resource managed by a user-written factory class. -->
382
+ <!ELEMENT custom-resource (description?, property*)>
383
+
384
+ <!--
385
+ JNDI name for generic resource, the fully qualified type of the resource
386
+ and whether it is enabled at runtime
387
+ -->
388
+ <!ATTLIST custom-resource jndi-name CDATA #REQUIRED
389
+ res-type CDATA #REQUIRED
390
+ factory-class CDATA #REQUIRED
391
+ enabled %boolean; "true">
392
+
393
+ <!-- resource residing in an external JNDI repository -->
394
+ <!ELEMENT external-jndi-resource (description? , property*)>
395
+ <!ATTLIST external-jndi-resource jndi-name CDATA #REQUIRED
396
+ jndi-lookup-name CDATA #REQUIRED
397
+ res-type CDATA #REQUIRED
398
+ factory-class CDATA #REQUIRED
399
+ enabled %boolean; "true">
400
+
401
+ <!-- JDBC javax.sql.(XA)DataSource resource definition -->
402
+ <!ELEMENT jdbc-resource (description?, property*)>
403
+ <!ATTLIST jdbc-resource jndi-name CDATA #REQUIRED
404
+ pool-name CDATA #REQUIRED
405
+ enabled %boolean; "true">
406
+
407
+ <!--
408
+ jdbc-connection-pool defines configuration used to create and manage
409
+ a pool physical database connections. Pool definition is named, and
410
+ can be referred to by multiple jdbc-resource elements (See <jdbc-resource>).
411
+
412
+ Each named pool definition results in a pool instantiated at server
413
+ start-up. Pool is populated when accessed for the first time. If two
414
+ or more jdbc-resource elements point to the same jdbc-connection-pool
415
+ element, they are using the same pool of connections, at run time.
416
+
417
+ name unique name of the pool definition.
418
+
419
+ datasource-classname Name of the vendor supplied JDBC datasource
420
+ resource manager. An XA or global transactions
421
+ capable datasource class will implement
422
+ javax.sql.XADatasource interface. Non XA or
423
+ Local transactions only datasources will
424
+ implement javax.sql.Datasource interface.
425
+
426
+ res-type DataSource implementation class could implement
427
+ one or both of javax.sql.DataSource, javax.sql.XADataSource
428
+ interfaces. This optional attribute must be specified to
429
+ disambiguate when a Datasource class implements both
430
+ interfaces. An error is produced when this attribute has
431
+ a legal value and the indicated interface is not implemented
432
+ by the datasource class. This attribute has no default value.
433
+
434
+ steady-pool-size minimum and initial number of connections
435
+ maintained in the pool.
436
+
437
+ max-pool-size maximum number of conections that can be created
438
+
439
+ max-wait-time-in-millis amount of time the caller will wait before getting
440
+ a connection timeout. The default is 60 seconds.
441
+ A value of 0 will force caller to wait indefinitely.
442
+
443
+ pool-resize-quantity number of connections to be removed when
444
+ idle-timeout-in-seconds timer expires. Connections
445
+ that have idled for longer than the timeout are
446
+ candidates for removal. When the pool size reaches
447
+ steady-pool-size, the connection removal stops.
448
+
449
+ idle-timeout-in-seconds maximum time in seconds, that a connection can
450
+ remain idle in the pool. After this time, the pool
451
+ implementation can close this connection. Note that
452
+ this does not control connection timeouts enforced
453
+ at the database server side. Adminsitrators are
454
+ advised to keep this timeout shorter than the database
455
+ server side timeout (if such timeouts are configured
456
+ on the specific vendor's database), to prevent
457
+ accumulation of unusable connection in Application Server.
458
+
459
+ transaction-isolation-level Specifies the Transaction Isolation Level on the pooled
460
+ database connections. Optional. Has no default. If left unspecified
461
+ the pool operates with default isolation level provided by the
462
+ JDBC Driver. A desired isolation level can be set using one
463
+ of the standard transaction isolation levels:
464
+ read-uncommitted, read-committed, repeatable-read, serializable
465
+
466
+ Applications that change the Isolation level on a pooled
467
+ connection programmatically, risk polluting the pool and this
468
+ could lead to program errors.
469
+ Also see: is-isolation-level-guaranteed
470
+
471
+ is-isolation-level-guaranteed Applicable only when a particular isolation level is specified
472
+ for transaction-isolation-level. The default value is true.
473
+ This assures that every time a connection is obtained from
474
+ the pool, it is guaranteed to have the isolation set to the
475
+ desired value. This could have some performance impact on
476
+ some JDBC drivers. Can be set to false by that administrator
477
+ when they are certain that the application does not
478
+ change the isolation level before returning the connection.
479
+
480
+ is-connection-validation-required if true, connections are validated (checked to
481
+ find out if they are usable) before giving out to
482
+ the application. The default is false.
483
+
484
+ If is-connection-validation-required is true then connection-validation-type
485
+ specifies the type of validation to be performed. Three types of validation
486
+ are supported:
487
+
488
+ 1) using connection.autoCommit(),
489
+ 2) using connection.getMetaData()
490
+ 3) performing a query on a user specified table (see validation-table-name).
491
+
492
+ The possible values are one of: auto-commit | meta-data | table
493
+
494
+ validation-table-name specifies the table name to be used to perform a query to
495
+ validate a connection. This parameter is mandatory, if connection-validation-type
496
+ set to table. Verification by accessing a user specified table may become necessary
497
+ for connection validation, particularly if database driver caches calls to
498
+ setAutoCommit() and getMetaData().
499
+
500
+ fail-all-connections: indicates if all connections in the pool must be
501
+ closed should a single validation check fail. The
502
+ default is false. One attempt will be made to
503
+ re-establish failed connections.
504
+
505
+ Use of property lists:
506
+
507
+ Most JDBC 2.0 drivers permit use of standard property lists, to specify User, Password
508
+ and other resource configuration. While these are optional properties, according to the
509
+ specification, several of these properties may be necessary for most databases. See
510
+ Section 5.3 of JDBC 2.0 Standard Extension API.
511
+
512
+ Name Value
513
+
514
+ databaseName Name of the Database.
515
+ serverName Database Server name.
516
+ port Port where a Database server is listening for requests.
517
+ networkProtocol Communication Protocol used.
518
+ user default name of the database user with which connections
519
+ will be stablished. Programmatic database authentication
520
+ or default-resource-principal specified in vendor specific
521
+ web and ejb deployment descriptors will take precedence,
522
+ over this default. The details and caveats are described
523
+ in detail in the Administrator's guide.
524
+ password password for default database user
525
+ roleName The initial SQL role name.
526
+ datasourceName used to name an underlying XADataSource, or
527
+ ConnectionPoolDataSource when pooling of connections is done
528
+ description Textual description
529
+
530
+ When one or more of these properties are specified, they are passed as is using set<Name>(<Value>)
531
+ methods to the vendors Datasource class (specified in datasource-classname). User and Password
532
+ properties are used as default principal, if Container Managed authentication is specified and
533
+ a default-resource-principal is not found in application deployment descriptors.
534
+ -->
535
+ <!ELEMENT jdbc-connection-pool (description?, property*)>
536
+ <!ATTLIST jdbc-connection-pool name CDATA #REQUIRED
537
+ datasource-classname CDATA #REQUIRED
538
+ res-type CDATA #IMPLIED
539
+ steady-pool-size CDATA "8"
540
+ max-pool-size CDATA "32"
541
+ max-wait-time-in-millis CDATA "60000"
542
+ pool-resize-quantity CDATA "2"
543
+ idle-timeout-in-seconds CDATA "300"
544
+ transaction-isolation-level %isolation; #IMPLIED
545
+ is-isolation-level-guaranteed %boolean; "true"
546
+ is-connection-validation-required %boolean; "false"
547
+ connection-validation-method (auto-commit |
548
+ meta-data |
549
+ table ) "auto-commit"
550
+ validation-table-name CDATA #IMPLIED
551
+ fail-all-connections %boolean; "false">
552
+
553
+
554
+ <!-- The mail-resource element describes a javax.mail.Session resource -->
555
+ <!ELEMENT mail-resource (description?, property*)>
556
+ <!ATTLIST mail-resource jndi-name CDATA #REQUIRED
557
+ store-protocol CDATA "imap"
558
+ store-protocol-class CDATA "com.sun.mail.imap.IMAPStore"
559
+ transport-protocol CDATA "smtp"
560
+ transport-protocol-class CDATA "com.sun.mail.smtp.SMTPTransport"
561
+ host CDATA #REQUIRED
562
+ user CDATA #REQUIRED
563
+ from CDATA #REQUIRED
564
+ debug %boolean; "false"
565
+ enabled %boolean; "true">
566
+
567
+ <!--
568
+ Persistence Manager runtime configuration.
569
+
570
+ jndi-name JNDI name for this resource
571
+ jdbc-resource-jndi-name: jdbc resource with which database connections are obtained.
572
+ must be the name of one of pre-created jdbc resources.
573
+ factory-class: Class that creates persistence manager instance.
574
+ -->
575
+ <!ELEMENT persistence-manager-factory-resource (description? , property*)>
576
+ <!ATTLIST persistence-manager-factory-resource jndi-name CDATA #REQUIRED
577
+ factory-class CDATA
578
+ "com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl"
579
+ jdbc-resource-jndi-name CDATA #IMPLIED
580
+ enabled %boolean; "true">
581
+
582
+ <!--
583
+ The jms-resource element contains JMS resource definitions for the
584
+ built-in JMS service that is managed by the Application Server.
585
+
586
+ property This is used to list optional JMS vendor specific
587
+ attribute=value pairs for configuring the resource.
588
+
589
+ jndi-name JNDI name.
590
+
591
+ res-type JMS resource type. This can be one of:
592
+ javax.jms.Topic
593
+ javax.jms.Queue
594
+ javax.jms.TopicConnectionFactory
595
+ javax.jms.QueueConnectionFactory
596
+
597
+ enabled Determines whether the resource is enabled (can be used)
598
+ at runtime or not. This attribute is not used currently.
599
+ -->
600
+ <!ELEMENT jms-resource (description?, property*)>
601
+ <!ATTLIST jms-resource jndi-name CDATA #REQUIRED
602
+ res-type CDATA #REQUIRED
603
+ enabled %boolean; "true">
604
+
605
+
606
+ <!--
607
+ The jms-service element specifies information about the bundled/built-in
608
+ JMS service that is managed by Application Server.
609
+
610
+ If the "enabled" attribute is set to "true", the server instance
611
+ will be responsible for starting up and shutting down the JMS service.
612
+ If the "enabled" attribute is set to "false", the server instance
613
+ will not startup nor shutdown the JMS service (either because JMS
614
+ is not used or because it is managed independently of application server).
615
+
616
+ "port" attribute specifies the port number used by the JMS service.
617
+ "admin-username" attribute specifies the admin username.
618
+ "admin-password" attribute specifies the admin password.
619
+
620
+ "init-timeout-in-seconds" specifies the time server instance
621
+ will wait at start up, for its corresponding JMS service instance
622
+ to respond. If there is no response within the specifies timeout
623
+ period, application server startup is aborted.
624
+
625
+ "start-args" specifies the arguments that will be supplied to
626
+ start up the corresponding JMS service instance.
627
+ -->
628
+ <!ELEMENT jms-service (property*)>
629
+ <!ATTLIST jms-service port CDATA "7676"
630
+ admin-user-name CDATA "admin"
631
+ admin-password CDATA "admin"
632
+ init-timeout-in-seconds CDATA "60"
633
+ start-args CDATA #IMPLIED
634
+ log-level %severity;#IMPLIED
635
+ enabled %boolean; "true">
636
+
637
+ <!--
638
+ Configuration of EJB Container. Properties apply to all beans in all deployed applications,
639
+ unless different parameters are specified in Sun Application Server specific deployment
640
+ descriptors. Applicability is indicated in middle column, using the following acronyms:
641
+
642
+ slsb - stateless session bean
643
+ sfsb - stateful session bean
644
+ eb - entity bean (incl. read-only)
645
+
646
+ steady-pool-size slsb,eb number of bean instances normally maintained in pool. When a pool
647
+ is first created, it will be populated with size equal to
648
+ steady-pool-size. When an instance is removed from the pool, it
649
+ is replenished asynchronously, so that the pool size is at
650
+ or above the steady-pool-size. This additions will be in multiples
651
+ of pool-resize-quantity. When a bean is disassociated from a
652
+ method invocation, it is put back in the pool, subject to
653
+ max-pool-size limit. If the max pool size is exceeded the bean
654
+ id destroyed immediately. A pool cleaning thread, executes at
655
+ an interval defined by pool-idle-timeout-in-seconds. This thread
656
+ reduces the pool size to steady-pool-size, in steps defined by
657
+ pool-resize-quantity. If the pool is empty, the required object
658
+ will be created and returned immediately. This prevents threads
659
+ from blocking till the pool is replenished by the background
660
+ thread. steady-pool-size must be greater than 1 and at most equal
661
+ to the max-pool-size.
662
+
663
+ max-pool-size slsb,eb maximum size, a pool can grow to. A value of 0 implies
664
+ an unbounded pool. Unbounded pools eventually shrink to the
665
+ steady-pool-size, in steps defined by pool-resize-quantity.
666
+
667
+ pool-resize-quantity slsb,eb size of bean pool grows (shrinks) in steps specified by
668
+ pool-resize-quantity, subject to max-pool-size (steady-pool-size) limit.
669
+
670
+ Pool is resized when the pool cleaner thread runs. This rate at which
671
+ this thread runs is defined by pool-idle-timeout-in-seconds
672
+
673
+ pool-resize-quantity must be greater 1 and less than max-pool-size.
674
+ pool will never be resized below the steady pool size.
675
+
676
+ pool-idle-timeout-in-seconds slsb,eb defines the rate at which the pool cleaning thread is executed.
677
+ this thread checks if current size is greater than steady pool
678
+ size, it removes pool-resize-quantity elements. If the current
679
+ size is less than steady-pool-size it is increased by
680
+ pool-resize-quantity, with a ceiling of
681
+ min (current-pool-size + pool-resize-quantity, max-pool-size)
682
+ Only objects that have not been accessed for more than
683
+ pool-idle-timeout-in-seconds are candidates for removal.
684
+
685
+ cache-resize-quantity eb,sfsb Cache elements have identity, hence growth is in unit steps
686
+ and created on demand. Shrinking of cache happens
687
+
688
+ when cache-idle-timeout-in-seconds timer expires and a cleaner
689
+ thread passivates beans which have been idle for longer than
690
+ cache-idle-timeout-in-seconds. All idle instances are passivated at once.
691
+ cache-resize-quantity does not apply in this case.
692
+
693
+ when max cache size is reached, an asynchronous task is created
694
+ to bring the size back under the max-cache-size limit. This task
695
+ removes cache-resize-quantity elements, consulting the
696
+ victim-selection-policy.
697
+
698
+ Must be greater than 1 and less than max-cache-size.
699
+
700
+ max-cache-size sfsb,eb specifies the maximum number of instances that can be cached.
701
+ For entity beans, internally two caches are maintained for
702
+ higher concurrency: (i) Ready (R$) (ii) Active in an Incomplete
703
+ Transaction (TX$). The TX$ is populated with instances from R$
704
+ or from the Pool directly. When an instance in TX$ completes the
705
+ transaction, it is placed back in the R$ (or in pool, in case an
706
+ instance with same identity already is in R$). max-cache-size
707
+ only specifies the upper limit for R$. The container computes
708
+ an appropriate size for TX$. For SFSBs, after the
709
+ max-cache-size is reached, beans (as determined by
710
+ the victim-selection-policy) get passivated.
711
+
712
+ cache-idle-timeout-in-seconds sfsb,eb specifies the rate at which the cache cleaner thread is scheduled.
713
+ All idle instances are passivated at once.
714
+
715
+ removal-timeout-in-seconds sfsb Instance is removed from cache or passivation store, if it is
716
+ not accesed within this time. All instances that can be removed,
717
+ will be removed.
718
+
719
+ victim-selection-policy sfsb Victim selection policy when cache needs to shrink. fifo method
720
+ picks victims, oldest instance first. lru algorithm picks least
721
+ recently accessed instances. nru policy tries to pick
722
+ "not recently used" instances and is a pseudo-random selection
723
+ process. Victims are passivated. Entity Bean Victims are selected
724
+ always using fifo discipline. Does not apply to slsb because it
725
+ does not matter, which particular instances are removed.
726
+
727
+
728
+ commit-option eb Entity Beans caching is controlled by this setting. Commit Option
729
+ C implies that no caching is performed in the container.
730
+
731
+
732
+ Above defaults, apply only if they are not specified in vendor specific Bean Deployment Descriptors.
733
+
734
+ log-level Log level verbosity, set for messages that appear from container.
735
+
736
+ monitoring-enabled Enable statistics gathering in EJB container.
737
+ -->
738
+ <!ELEMENT ejb-container (property*)>
739
+ <!ATTLIST ejb-container steady-pool-size CDATA "32"
740
+ pool-resize-quantity CDATA "16"
741
+ max-pool-size CDATA "64"
742
+ cache-resize-quantity CDATA "32"
743
+ max-cache-size CDATA "512"
744
+ pool-idle-timeout-in-seconds CDATA "600"
745
+ cache-idle-timeout-in-seconds CDATA "600"
746
+ removal-timeout-in-seconds CDATA "5400"
747
+ victim-selection-policy (fifo | lru | nru) "nru"
748
+ commit-option (B | C) "B"
749
+ log-level %severity; #IMPLIED
750
+ monitoring-enabled %boolean; "false">
751
+
752
+ <!ELEMENT web-container (property*)>
753
+ <!ATTLIST web-container monitoring-enabled %boolean; "false"
754
+ log-level %severity;#IMPLIED>
755
+
756
+ <!--
757
+ Configuration of MDB Container
758
+
759
+ steady-pool-size minimum and initial number of message driven beans in pool.
760
+ pool-resize-quantity quantum of increase/decrease, when the size of pool grows/shrinks.
761
+ max-pool-size maximum size, pool can grow to.
762
+ idle-timeout-in-seconds idle bean instance in pool becomes a candidate for deletion,
763
+ when this timeout expires.
764
+
765
+ The above pool defaults, apply if they are not specified in the
766
+ Sun Application Server specific Deployment Descriptors.
767
+
768
+ log-level Log level verbosity, set for messages that appear from MDB container.
769
+ monitoring-enabled Enable statistics gathering in MDB container.
770
+ -->
771
+ <!ELEMENT mdb-container (property*)>
772
+ <!ATTLIST mdb-container steady-pool-size CDATA "10"
773
+ pool-resize-quantity CDATA "2"
774
+ max-pool-size CDATA "60"
775
+ idle-timeout-in-seconds CDATA "600"
776
+ log-level %severity;#IMPLIED
777
+ monitoring-enabled %boolean; "false">
778
+
779
+ <!-- Logging Configuration
780
+
781
+ By default, logs would be kept in $INSTANCE_ROOT/logs. This can be changed
782
+ by changing server.log-root attribute. The following log files will be stored
783
+ under the logs directory.
784
+
785
+ access.log keeps default virtual server HTTP access messages.
786
+ server.log keeps log messages from default virtual server.
787
+ Messages from other configured virtual servers
788
+ also go here, unless log-file is explicitly
789
+ specified in the virtual-server element.
790
+
791
+ file attribute can be used to rename or relocate server.log using absolute
792
+ path or relative to logs-root (specified in <server> element)
793
+
794
+ level specifies the system default log verbosity level. Various server
795
+ sub systems can override this level, so as to configure different log
796
+ reporting levels. See log-level attribute under <transaction-service>,
797
+ <admin-service>, <web-container>, <ejb-container>, <mdb-container>
798
+
799
+ log-stdout if true, messages written to stdout will appear in log file.
800
+
801
+ log-stderr if true, messages written to stderr will appear in log file.
802
+
803
+ echo-log-messages-to-stderr if true, all log messages will also appear
804
+ on console, if avaialable
805
+
806
+ create-console if true, console window will be created to show log messages.
807
+
808
+
809
+ log-virtual-server-id if true, log message is also decorated with the
810
+ virtual server instance from which the log message was
811
+ produced. Useful when multiple virtual servers are
812
+ configured and they do not have separate log files.
813
+ It is possible to configure separate log files for each
814
+ virtual server. See <virtual-server> element.
815
+
816
+ use-system-logging if true, will utilize Unix syslog service or Windows
817
+ Event Logging to produce and manage logs.
818
+ -->
819
+
820
+ <!ELEMENT log-service (property*)>
821
+ <!ATTLIST log-service file CDATA #IMPLIED
822
+ level %severity; "INFO"
823
+ log-stdout %boolean; "true"
824
+ log-stderr %boolean; "true"
825
+ echo-log-messages-to-stderr %boolean; "true"
826
+ create-console %boolean; "false"
827
+ log-virtual-server-id %boolean; "false"
828
+ use-system-logging %boolean; "false">
829
+
830
+ <!--
831
+ The security service element defines parameters and configuration
832
+ information needed by the core J2EE security service. Some
833
+ container-specific security configuration elements are in the various
834
+ container configuration elements and not here. SSL configuration is also
835
+ elsewhere. At this time the security service configuration consists of a set of
836
+ authentication realms. A number of top-level attributes are defined as well.
837
+
838
+ default-realm: Specifies which realm (by name) is used by default when no
839
+ realm is specifically requested. The file realm is the common default.
840
+ default-principal: Used as the identity of default security contexts when
841
+ necessary and no principal is provided.
842
+ default-principal-pwd: Password of default principal.
843
+ anonymous-role: Used as role name for default/anonymous role.
844
+ audit-enabled: If true, additional access logging is performed to provide
845
+ audit information.
846
+ -->
847
+ <!ELEMENT security-service (auth-realm+ , property*)>
848
+ <!ATTLIST security-service default-realm CDATA "file"
849
+ default-principal CDATA #IMPLIED
850
+ default-principal-password CDATA #IMPLIED
851
+ anonymous-role CDATA "ANYONE"
852
+ audit-enabled %boolean; "false"
853
+ log-level %severity;#IMPLIED>
854
+
855
+ <!--
856
+ The auth-realm element defines and configures one authentication realm.
857
+ There must be at least one realm available for a server instance; any
858
+ number can be configured, as desired.
859
+
860
+ Authentication realms need provider-specific parameters which vary depending
861
+ on what a particular implementation needs; these are defined as properties
862
+ since they vary by provider and cannot be predicted for any custom or add-on
863
+ providers.
864
+
865
+ For the default file provider, the param used is: filename.
866
+
867
+ name: defines the name of this realm
868
+ classname: defines the java class which implements this realm
869
+ property: name/value pairs of provider implementation specific attributes.
870
+
871
+ -->
872
+
873
+ <!ELEMENT auth-realm (property*)>
874
+ <!ATTLIST auth-realm name CDATA #REQUIRED
875
+ classname CDATA #REQUIRED>
876
+
877
+ <!-- Configuration for Transaction Manager.
878
+ automatic-recovery if true, server instance attempts recovery at restart.
879
+ timeout-in-seconds amount of time the transaction manager waits for
880
+ response from a datasource participating in transaction.
881
+ A value of 0 implies infinite timeout.
882
+
883
+ tx-log-dir By default the transaction log is kept in the directory
884
+ $INSTANCE_ROOT/logs/tx.log. If user specifies log-root
885
+ attribute under <server> element, tx.log would appear
886
+ in that directory. User can also specify an alternative
887
+ location using transaction-service.txlog-file attribute.
888
+ The transaction service creates and uses 3 files for
889
+ logging and tracking transactions in progress.
890
+
891
+ heuristic-decision During recovery, if outcome of a transaction cannot be
892
+ determined from the logs, then this property is used
893
+ to fix the outcome.
894
+
895
+ keypoint-interval property used to specify the number of transactions between
896
+ keypoint operations on the log. A Keypoint operations could
897
+ reduce the size of the transaction log files. A larger value
898
+ for this property (for example, 1000) will result in larger
899
+ transaction log files, between log compactions, but less
900
+ keypoint operations, and potentially better performance.
901
+ A smaller value (e.g. 20) results in smaller log files but
902
+ slightly reduced performance due to the greater frequency of
903
+ keypoint operations.
904
+
905
+ interoperability this flag when true, propagates the transaction context
906
+ over IIOP. Transactions can span across beans executing in
907
+ separate, J2EE interoperability capable, containers.
908
+
909
+ log-level If greater or less verbosity is desired from transaction
910
+ sub-system this can be adjusted. Note that this refers to
911
+ logging messages and not transaction co-ordination logs.
912
+ monitoring-enabled If true, statistics will be collected
913
+ -->
914
+
915
+ <!ELEMENT transaction-service (property*)>
916
+ <!ATTLIST transaction-service automatic-recovery %boolean; "false"
917
+ timeout-in-seconds CDATA "0"
918
+ tx-log-dir CDATA #IMPLIED
919
+ heuristic-decision (rollback | commit) "rollback"
920
+ keypoint-interval CDATA "2048"
921
+ log-level %severity; #IMPLIED
922
+ monitoring-enabled %boolean; "false">
923
+
924
+
925
+ <!-- Various types of applications that can be deployed on Sun Application
926
+ Server instance
927
+
928
+ applications-dir specifies an absolute path to where deployed
929
+ applications will reside for this instance. The default location
930
+ is $INSTANCE_ROOT/applications
931
+
932
+ dynamic-reload-enabled when true, server checks timestamp on a .reload
933
+ file at every module and application directory level to trigger reload.
934
+ polling frequency is controlled by reload-poll-interval-in-seconds
935
+ -->
936
+ <!ELEMENT applications ((lifecycle-module | j2ee-application | ejb-module |
937
+ web-module | connector-module)*)>
938
+ <!ATTLIST applications dynamic-reload-enabled %boolean; "false"
939
+ dynamic-reload-poll-interval-in-seconds CDATA "2">
940
+ <!--
941
+ Server Lifecycle Listener Modules
942
+
943
+ name unqiue identifier for the deployed server lifecycle event
944
+ listener module.
945
+ class-name fully qualified name of the startup class.
946
+ classpath where this module is actually located, if it is not under
947
+ applications-root
948
+ load-order integer value that can be used to force the order in which deployed
949
+ lifecycle modules are loaded at server start up. Smaller numbered
950
+ modules get loaded sooner. Order is unspecified if two or more
951
+ lifecycle modules have the same load-order value.
952
+ is-failure-fatal, if true, aborts server start up if this module does not
953
+ load properly.
954
+ enabled boolean attribute. If set to "false" this module will not be
955
+ loaded at server start up.
956
+ -->
957
+ <!ELEMENT lifecycle-module (description?, property*)>
958
+ <!ATTLIST lifecycle-module name CDATA #REQUIRED
959
+ class-name CDATA #REQUIRED
960
+ classpath CDATA #IMPLIED
961
+ load-order CDATA #IMPLIED
962
+ is-failure-fatal %boolean; "false"
963
+ enabled %boolean; "true">
964
+
965
+ <!ELEMENT j2ee-application (description?)>
966
+ <!ATTLIST j2ee-application name CDATA #REQUIRED
967
+ location CDATA #REQUIRED
968
+ virtual-servers CDATA #IMPLIED
969
+ enabled %boolean; "true">
970
+
971
+ <!ELEMENT web-module (description?)>
972
+ <!ATTLIST web-module name CDATA #REQUIRED
973
+ context-root CDATA #REQUIRED
974
+ location CDATA #REQUIRED
975
+ virtual-servers CDATA #IMPLIED
976
+ enabled %boolean; "true">
977
+
978
+ <!ELEMENT ejb-module (description?)>
979
+ <!ATTLIST ejb-module name CDATA #REQUIRED
980
+ location CDATA #REQUIRED
981
+ enabled %boolean; "true">
982
+
983
+ <!ELEMENT connector-module (description?)>
984
+ <!ATTLIST connector-module name CDATA #REQUIRED
985
+ location CDATA #REQUIRED
986
+ enabled %boolean; "true">
987
+
988
+ <!-- Java Runtime environment configuration
989
+
990
+ java-home Specifies the installation directory for Java runtime. JDK 1.4 or higher is supported.
991
+ debug-enabled If set to true, the server starts up in debug mode ready for attaching with a JPDA
992
+ based debugger.
993
+ debug-options JPDA based debugging options string.
994
+ rmic-options Options string passed to RMI compiler, at application deployment time.
995
+ javac-options Options string passed to Java compiler, at application deployment time.
996
+ classpath-prefix A java classpath string that is prefixed to server-classpath
997
+ classpath-suffix A java classpath string that is appended to server-classpath
998
+ server-classpath A java classpath string that specifies the classes needed by the Application server.
999
+ Do not expect users to change this under normal conditions.
1000
+
1001
+ native-library-path is automatically constructed to be a concatenation of Application Server
1002
+ installation relative path for its native shared libraries, standard JRE native library path,
1003
+ the shell environment setting (LD_LIBRARY_PATH on Unix) and any path that may be specified
1004
+ in the profile element. Since this is synthesied, it is not required to have this appear
1005
+ explicitly in the server configuration.
1006
+
1007
+ native-library-path-prefix (native-library-path-suffix) is prepended (appended) to the native
1008
+ library path, which is constricted as per the above description.
1009
+
1010
+ bytecode-preprocessors A comma separated list of classnames, each of which must implement the
1011
+ com.sun.appserv.BytecodePreprocessor interface. Each of the specified
1012
+ preprocessor class will be called in the order specified. At the moment
1013
+ the comelling use is for a 3rd party Performance Profiling tool.
1014
+
1015
+ env-classpath-ignored If set to false, the CLASSPATH environment variable will be read and
1016
+ appended to the Application Server classpath, which is constructed as
1017
+ described above. The CLASSPATH environment variable will be added after
1018
+ the classpath-suffix, at the very end.
1019
+ -->
1020
+ <!ELEMENT java-config (profiler?, (jvm-options | property)*)>
1021
+ <!ATTLIST java-config java-home CDATA #REQUIRED
1022
+ debug-enabled %boolean; "false"
1023
+ debug-options CDATA "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n"
1024
+ rmic-options CDATA "-iiop -poa -alwaysgenerate -keepgenerated -g"
1025
+ javac-options CDATA "-g"
1026
+ classpath-prefix CDATA #IMPLIED
1027
+ server-classpath CDATA #IMPLIED
1028
+ classpath-suffix CDATA #IMPLIED
1029
+ native-library-path-prefix CDATA #IMPLIED
1030
+ native-library-path-suffix CDATA #IMPLIED
1031
+ bytecode-preprocessors CDATA #IMPLIED
1032
+ env-classpath-ignored %boolean; "true">
1033
+
1034
+ <!-- String value for options that will be passed to the JVM -->
1035
+ <!ELEMENT jvm-options (#PCDATA)>
1036
+
1037
+ <!-- Profilers could be one of jprobe, optimizeit, hprof, wily and so on
1038
+ jvm-options and property elements are used to record the settings
1039
+ needed to get a particular profiler going. A server instance is tied
1040
+ to a particular profiler, by the profiler element in java-config.
1041
+ Changing the profiler will require a server restart.
1042
+
1043
+ The adminstrative graphical interfaces, could list multiple supported
1044
+ profilers (incomplete at this point) and will populate server.xml
1045
+ appropriately. Admin CLI support for profilers, need not be supported.
1046
+ -->
1047
+ <!ELEMENT profiler ((jvm-options | property)*)>
1048
+ <!ATTLIST profiler name CDATA #REQUIRED
1049
+ classpath CDATA #IMPLIED
1050
+ native-library-path CDATA #IMPLIED
1051
+ enabled %boolean; "true">
1052
+
1053
+ <!-- Syntax for supplying properties as name value pairs -->
1054
+ <!ELEMENT property (description?)>
1055
+ <!ATTLIST property name CDATA #REQUIRED
1056
+ value CDATA #REQUIRED>