glassfish 0.3.1-universal-java → 0.9.0-universal-java
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/asadmin +3 -11
- data/bin/glassfish +42 -0
- data/bin/glassfish_rails +39 -43
- data/domains/domain1/config/default-web.xml +16 -15
- data/domains/domain1/config/domain.xml +213 -198
- data/domains/domain1/config/domain.xml_ORIG +170 -210
- data/domains/domain1/config/keystore.jks +0 -0
- data/domains/domain1/config/logging.properties +48 -0
- data/domains/domain1/config/server.policy +10 -0
- data/domains/domain1/docroot/index.html +50 -17
- data/felix/bin/felix.jar +0 -0
- data/felix/bundle/org.apache.felix.shell.jar +0 -0
- data/felix/bundle/org.apache.felix.shell.remote.jar +0 -0
- data/felix/bundle/org.apache.felix.shell.tui.jar +0 -0
- data/felix/conf/config.properties +277 -0
- data/felix/conf/system.properties +14 -0
- data/lib/jndi-properties.jar +0 -0
- data/lib/templates/default-web.xml +1104 -1129
- data/lib/templates/domain.xml +166 -209
- data/lib/templates/keystore.jks +0 -0
- data/lib/templates/logging.properties +48 -0
- data/lib/templates/server.policy +170 -155
- data/modules/admin-cli.jar +0 -0
- data/modules/api-exporter.jar +0 -0
- data/modules/asadmin.rb +9 -0
- data/modules/asm-all-repackaged.jar +0 -0
- data/modules/{auto-depends-0.3.2.jar → auto-depends-0.3.33.jar} +0 -0
- data/modules/auto-depends.jar +0 -0
- data/modules/branding.jar +0 -0
- data/modules/{cli-framework-10.0-SNAPSHOT.jar → cli-framework.jar} +0 -0
- data/modules/command_line_parser.rb +54 -0
- data/modules/{common-util-10.0-SNAPSHOT.jar → common-util.jar} +0 -0
- data/modules/config-0.3.33.jar +0 -0
- data/modules/config-api.jar +0 -0
- data/modules/config.jar +0 -0
- data/modules/deployment-admin.jar +0 -0
- data/modules/deployment-autodeploy.jar +0 -0
- data/modules/deployment-common.jar +0 -0
- data/modules/flashlight-agent.jar +0 -0
- data/modules/flashlight-framework.jar +0 -0
- data/modules/gf-jruby-connector-0.7.1-SNAPSHOT.jar +0 -0
- data/modules/glassfish-api-3.0-Prelude-b28b.jar +0 -0
- data/modules/glassfish-api.jar +0 -0
- data/modules/glassfish.jar +0 -0
- data/modules/glassfish.rb +13 -9
- data/modules/grizzly-jruby-1.8.1.jar +0 -0
- data/modules/grizzly-jruby-module-0.7.1-SNAPSHOT.jar +0 -0
- data/modules/grizzly-module.jar +0 -0
- data/modules/hk2-0.3.33.jar +0 -0
- data/modules/hk2-core-0.3.33.jar +0 -0
- data/modules/hk2-core.jar +0 -0
- data/modules/hk2.jar +0 -0
- data/modules/internal-api.jar +0 -0
- data/modules/javax.xml.stream.jar +0 -0
- data/modules/kernel.jar +0 -0
- data/modules/{launcher-10.0-SNAPSHOT.jar → launcher.jar} +0 -0
- data/modules/monitoring-core.jar +0 -0
- data/modules/osgi-adapter.jar +0 -0
- data/modules/pkg-client.jar +0 -0
- data/modules/rdoc_usage.rb +27 -0
- data/modules/stats77.jar +0 -0
- data/modules/{stax-api-1.0-2.jar → stax-api.jar} +0 -0
- data/modules/{tiger-types-osgi-0.3.2.jar → tiger-types-osgi-0.3.33.jar} +0 -0
- data/modules/tiger-types-osgi.jar +0 -0
- data/modules/version.rb +5 -0
- data/modules/{wstx-asl-3.2.3.jar → wstx-asl.jar} +0 -0
- metadata +109 -77
- data/README +0 -12
- data/bin/asadmin.bat +0 -9
- data/bin/startserv +0 -11
- data/bin/startserv.bat +0 -9
- data/bin/stopserv +0 -13
- data/bin/stopserv.bat +0 -9
- data/modules/admin-cli-10.0-SNAPSHOT.jar +0 -0
- data/modules/config-0.3.2.jar +0 -0
- data/modules/config-api-10.0-SNAPSHOT.jar +0 -0
- data/modules/deployment-common-10.0-SNAPSHOT.jar +0 -0
- data/modules/gf-jruby-connector-0.7-SNAPSHOT.jar +0 -0
- data/modules/glassfish-10.0-SNAPSHOT.jar +0 -0
- data/modules/glassfish-api-10.0.0-rev5.jar +0 -0
- data/modules/grizzly-jruby-1.7.5-SNAPSHOT.jar +0 -0
- data/modules/grizzly-jruby-module-0.7-SNAPSHOT.jar +0 -0
- data/modules/grizzly-module-1.7.3.3-rev1.jar +0 -0
- data/modules/hk2-0.3.2.jar +0 -0
- data/modules/hk2-core-0.3.2.jar +0 -0
- data/modules/internal-api-10.0-SNAPSHOT.jar +0 -0
- data/modules/kernel-10.0-SNAPSHOT.jar +0 -0
- data/modules/osgi-adapter-0.3.2.jar +0 -0
data/bin/asadmin
CHANGED
@@ -1,13 +1,5 @@
|
|
1
|
-
#!/bin/
|
2
|
-
|
3
|
-
#
|
4
|
-
# Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
|
5
|
-
# Use is subject to license terms.
|
6
|
-
#
|
7
|
-
|
8
|
-
AS_INSTALL=`dirname $0`/..
|
9
|
-
AS_INSTALL_LIB=$AS_INSTALL/modules
|
10
|
-
|
11
|
-
exec java -jar "$AS_INSTALL_LIB/admin-cli-10.0-SNAPSHOT.jar" "$@"
|
1
|
+
#!/usr/bin/env jruby
|
12
2
|
|
3
|
+
require 'asadmin'
|
13
4
|
|
5
|
+
GlassFish::ASAdmin.new
|
data/bin/glassfish
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
#!/usr/bin/env jruby
|
2
|
+
|
3
|
+
# == Synopsis
|
4
|
+
#
|
5
|
+
# glassfish: GlassFish v3 server for rails, merb, sintra applications
|
6
|
+
#
|
7
|
+
# == Usage:
|
8
|
+
#
|
9
|
+
# glassfish [OPTION] APPLICATION_PATH
|
10
|
+
#
|
11
|
+
# -h, --help::
|
12
|
+
# show help
|
13
|
+
#
|
14
|
+
# -c, --contextroot PATH::
|
15
|
+
# change the context root (default: '/')
|
16
|
+
#
|
17
|
+
# -p, --port PORT::
|
18
|
+
# change server port (default: 3000)
|
19
|
+
#
|
20
|
+
# -e, --environment ENV::
|
21
|
+
# change rails environment (default: development)
|
22
|
+
#
|
23
|
+
# -n --runtimes NUMBER::
|
24
|
+
# Number of JRuby runtimes to crete initially
|
25
|
+
#
|
26
|
+
# --runtimes-min NUMBER::
|
27
|
+
# Minimum JRuby runtimes to crete
|
28
|
+
#
|
29
|
+
# --runtimes-max NUMBER::
|
30
|
+
# Maximum number of JRuby runtimes to crete
|
31
|
+
#
|
32
|
+
# APPLICATION_PATH (optional): Path to the application to be run (default: current).
|
33
|
+
|
34
|
+
require "java"
|
35
|
+
$LOAD_PATH << "#{File.dirname(__FILE__)}/../modules"
|
36
|
+
|
37
|
+
require 'command_line_parser'
|
38
|
+
require 'glassfish'
|
39
|
+
|
40
|
+
options = CommandLineParser.new.parse
|
41
|
+
gf = GlassFish::Server.new
|
42
|
+
gf.startup(options)
|
data/bin/glassfish_rails
CHANGED
@@ -1,46 +1,42 @@
|
|
1
1
|
#!/usr/bin/env jruby
|
2
|
-
require 'java'
|
3
|
-
require 'rubygems'
|
4
|
-
require 'glassfish'
|
5
|
-
|
6
|
-
require 'optparse'
|
7
|
-
|
8
|
-
OPTIONS = {
|
9
|
-
:runtimes => 1,
|
10
|
-
:contextroot => '/',
|
11
|
-
# :environment => (ENV['RAILS_ENV'] || "development").dup
|
12
|
-
}
|
13
|
-
|
14
|
-
#ARGV.clone.options do |opts|
|
15
|
-
opts = OptionParser.new do |opts|
|
16
|
-
opts.on("-n", "--runtimes=runtimes", String,
|
17
|
-
"Number of runtimes to be launched.", "Default: 1") { |v| OPTIONS[:runtimes] = v }
|
18
|
-
opts.on("-c", "--contextroot=contextroot", String,
|
19
|
-
"ContextRoot for the application", "Default: /") { |v| OPTIONS[:contextroot] = v }
|
20
|
-
# opts.on("-e", "--environment=name", String,
|
21
|
-
# "Specifies the environment to run this server under (test/development/production).",
|
22
|
-
# "Default: development") { |v| OPTIONS[:environment] = v }
|
23
|
-
|
24
|
-
opts.separator ""
|
25
2
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
#
|
38
|
-
#
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
#
|
43
|
-
|
44
|
-
|
3
|
+
# == Synopsis
|
4
|
+
#
|
5
|
+
# glassfish: GlassFish v3 server for rails, merb, sintra applications
|
6
|
+
#
|
7
|
+
# == Usage:
|
8
|
+
#
|
9
|
+
# glassfish [OPTION] APPLICATION_PATH
|
10
|
+
#
|
11
|
+
# -h, --help::
|
12
|
+
# show help
|
13
|
+
#
|
14
|
+
# -c, --contextroot PATH::
|
15
|
+
# change the context root (default: '/')
|
16
|
+
#
|
17
|
+
# -p, --port PORT::
|
18
|
+
# change server port (default: 3000)
|
19
|
+
#
|
20
|
+
# -e, --environment ENV::
|
21
|
+
# change rails environment (default: development)
|
22
|
+
#
|
23
|
+
# -n --runtimes NUMBER::
|
24
|
+
# Number of JRuby runtimes to crete initially
|
25
|
+
#
|
26
|
+
# --runtimes-min NUMBER::
|
27
|
+
# Minimum JRuby runtimes to crete
|
28
|
+
#
|
29
|
+
# --runtimes-max NUMBER::
|
30
|
+
# Maximum number of JRuby runtimes to crete
|
31
|
+
#
|
32
|
+
# APPLICATION_PATH (optional): Path to the application to be run (default: current).
|
33
|
+
|
34
|
+
require "java"
|
35
|
+
$LOAD_PATH << "#{File.dirname(__FILE__)}/../modules"
|
36
|
+
|
37
|
+
require 'command_line_parser'
|
38
|
+
require 'glassfish'
|
45
39
|
|
46
|
-
|
40
|
+
options = CommandLineParser.new.parse
|
41
|
+
gf = GlassFish::Server.new
|
42
|
+
gf.startup(options)
|
@@ -287,11 +287,6 @@
|
|
287
287
|
<!-- -->
|
288
288
|
<!-- outputEncoding The encoding to use for the page that results -->
|
289
289
|
<!-- from the SSI processing. [UTF-8] -->
|
290
|
-
<!-- -->
|
291
|
-
<!-- -->
|
292
|
-
<!-- IMPORTANT: To use the SSI servlet, you also need to rename the -->
|
293
|
-
<!-- $CATALINA_HOME/server/lib/servlets-ssi.renametojar file -->
|
294
|
-
<!-- to $CATALINA_HOME/server/lib/servlets-ssi.jar -->
|
295
290
|
|
296
291
|
<!--
|
297
292
|
<servlet>
|
@@ -342,10 +337,6 @@
|
|
342
337
|
<!-- -->
|
343
338
|
<!-- passShellEnvironment Should the shell environment variables (if -->
|
344
339
|
<!-- any) be passed to the CGI script? [false] -->
|
345
|
-
<!-- -->
|
346
|
-
<!-- IMPORTANT: To use the CGI servlet, you also need to rename the -->
|
347
|
-
<!-- $CATALINA_HOME/server/lib/servlets-cgi.renametojar file -->
|
348
|
-
<!-- to $CATALINA_HOME/server/lib/servlets-cgi.jar -->
|
349
340
|
|
350
341
|
<!--
|
351
342
|
<servlet>
|
@@ -431,11 +422,6 @@
|
|
431
422
|
<!-- Should "virtual" paths be interpreted as -->
|
432
423
|
<!-- relative to the context root, instead of -->
|
433
424
|
<!-- the server root? (0=false, 1=true) [0] -->
|
434
|
-
<!-- -->
|
435
|
-
<!-- -->
|
436
|
-
<!-- IMPORTANT: To use the SSI filter, you also need to rename the -->
|
437
|
-
<!-- $CATALINA_HOME/server/lib/servlets-ssi.renametojar file -->
|
438
|
-
<!-- to $CATALINA_HOME/server/lib/servlets-ssi.jar -->
|
439
425
|
|
440
426
|
<!--
|
441
427
|
<filter>
|
@@ -1075,7 +1061,22 @@
|
|
1075
1061
|
<extension>zip</extension>
|
1076
1062
|
<mime-type>application/zip</mime-type>
|
1077
1063
|
</mime-mapping>
|
1078
|
-
|
1064
|
+
<mime-mapping>
|
1065
|
+
<extension>odp</extension>
|
1066
|
+
<mime-type>application/x-vnd.oasis.opendocument.presentation</mime-type>
|
1067
|
+
</mime-mapping>
|
1068
|
+
<mime-mapping>
|
1069
|
+
<extension>odt</extension>
|
1070
|
+
<mime-type>application/x-vnd.oasis.opendocument.text</mime-type>
|
1071
|
+
</mime-mapping>
|
1072
|
+
<mime-mapping>
|
1073
|
+
<extension>ods</extension>
|
1074
|
+
<mime-type>application/x-vnd.oasis.opendocument.spreadsheet</mime-type>
|
1075
|
+
</mime-mapping>
|
1076
|
+
<mime-mapping>
|
1077
|
+
<extension>odg</extension>
|
1078
|
+
<mime-type>application/x-vnd.oasis.opendocument.graphics</mime-type>
|
1079
|
+
</mime-mapping>
|
1079
1080
|
|
1080
1081
|
|
1081
1082
|
<!-- ==================== Default Welcome File List ===================== -->
|
@@ -6,205 +6,220 @@
|
|
6
6
|
<!-- Generated from default-domain.xml.template -->
|
7
7
|
<!-- Avoid manual edits of this file. Run "asadmin verify-domain-xml" otherwise.-->
|
8
8
|
|
9
|
-
<domain application-root="${com.sun.aas.instanceRoot}/applications" log-root="${com.sun.aas.instanceRoot}/logs">
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
<
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
<property name="sso-enabled" value="false"/>
|
72
|
-
</virtual-server>
|
73
|
-
<virtual-server id="__asadmin" http-listeners="admin-listener" hosts="${com.sun.aas.hostName}" state="on" log-file="${com.sun.aas.instanceRoot}/logs/server.log">
|
74
|
-
<property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
|
75
|
-
<property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
|
76
|
-
<property name="sso-enabled" value="false"/>
|
77
|
-
</virtual-server>
|
78
|
-
<request-processing header-buffer-length-in-bytes="8192" initial-thread-count="2" request-timeout-in-seconds="30" thread-count="20" thread-increment="1"/>
|
79
|
-
<keep-alive max-connections="250" thread-count="1" timeout-in-seconds="30"/>
|
80
|
-
<connection-pool max-pending-count="4096" queue-size-in-bytes="4096" receive-buffer-size-in-bytes="4096" send-buffer-size-in-bytes="8192"/>
|
81
|
-
<http-protocol default-response-type="text/plain; charset=iso-8859-1" dns-lookup-enabled="false" forced-response-type="text/plain; charset=iso-8859-1" ssl-enabled="true" version="HTTP/1.1"/>
|
82
|
-
<http-file-cache globally-enabled="false" file-caching-enabled="false" max-age-in-seconds="30" medium-file-size-limit-in-bytes="537600" medium-file-space-in-bytes="10485760" small-file-size-limit-in-bytes="2048" small-file-space-in-bytes="1048576" max-files-count="1024" file-transmission-enabled="false" hash-init-size="0"/>
|
83
|
-
<property name="accessLoggingEnabled" value="false"/>
|
84
|
-
</http-service>
|
85
|
-
<iiop-service client-authentication-required="false">
|
86
|
-
<orb use-thread-pool-ids="thread-pool-1" message-fragment-size="1024" max-connections="1024"/>
|
9
|
+
<domain application-root="${com.sun.aas.instanceRoot}/applications" log-root="${com.sun.aas.instanceRoot}/logs">
|
10
|
+
<applications/>
|
11
|
+
<resources>
|
12
|
+
<jdbc-resource pool-name="__TimerPool" jndi-name="jdbc/__TimerPool" object-type="system-admin"/>
|
13
|
+
<jdbc-resource pool-name="DerbyPool" jndi-name="jdbc/__default"/>
|
14
|
+
<jdbc-connection-pool name="__TimerPool" datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource"
|
15
|
+
res-type="javax.sql.XADataSource">
|
16
|
+
<property value="${com.sun.aas.instanceRoot}/lib/databases/ejbtimer" name="databaseName"/>
|
17
|
+
<property value=";create=true" name="connectionAttributes"/>
|
18
|
+
</jdbc-connection-pool>
|
19
|
+
<jdbc-connection-pool is-isolation-level-guaranteed="false" name="DerbyPool"
|
20
|
+
datasource-classname="org.apache.derby.jdbc.ClientDataSource"
|
21
|
+
res-type="javax.sql.DataSource">
|
22
|
+
<property value="1527" name="PortNumber"/>
|
23
|
+
<property value="APP" name="Password"/>
|
24
|
+
<property value="APP" name="User"/>
|
25
|
+
<property value="localhost" name="serverName"/>
|
26
|
+
<property value="sun-appserv-samples" name="DatabaseName"/>
|
27
|
+
<property value=";create=true" name="connectionAttributes"/>
|
28
|
+
</jdbc-connection-pool>
|
29
|
+
</resources>
|
30
|
+
<servers>
|
31
|
+
<server config-ref="server-config" name="server">
|
32
|
+
<resource-ref ref="jdbc/__TimerPool"/>
|
33
|
+
<resource-ref ref="jdbc/__default"/>
|
34
|
+
</server>
|
35
|
+
</servers>
|
36
|
+
<configs>
|
37
|
+
<config name="server-config" dynamic-reconfiguration-enabled="true">
|
38
|
+
<http-service>
|
39
|
+
<access-log format="%client.name% %auth-user-name% %datetime% %request% %status% %response.length%"
|
40
|
+
rotation-enabled="true" rotation-interval-in-minutes="15" rotation-policy="time"
|
41
|
+
rotation-suffix="yyyy-MM-dd"/>
|
42
|
+
<http-listener default-virtual-server="server" server-name="" address="0.0.0.0" port="${jruby.gem.port}"
|
43
|
+
id="http-listener-1">
|
44
|
+
<property value="ws/tcp" name="proxiedProtocols"/>
|
45
|
+
</http-listener>
|
46
|
+
<http-listener default-virtual-server="server" enabled="false" security-enabled="true" server-name=""
|
47
|
+
address="0.0.0.0" port="8181" id="http-listener-2">
|
48
|
+
<ssl ssl3-enabled="false" cert-nickname="s1as"/>
|
49
|
+
</http-listener>
|
50
|
+
<http-listener default-virtual-server="__asadmin" server-name="" address="0.0.0.0" port="4848"
|
51
|
+
id="admin-listener"/>
|
52
|
+
<virtual-server id="server" http-listeners="http-listener-1,http-listener-2">
|
53
|
+
<property value="${com.sun.aas.instanceRoot}/docroot" name="docroot"/>
|
54
|
+
<property value="${com.sun.aas.instanceRoot}/logs/access" name="accesslog"/>
|
55
|
+
<property value="false" name="sso-enabled"/>
|
56
|
+
</virtual-server>
|
57
|
+
<virtual-server id="__asadmin" http-listeners="admin-listener">
|
58
|
+
<property value="${com.sun.aas.instanceRoot}/docroot" name="docroot"/>
|
59
|
+
<property value="${com.sun.aas.instanceRoot}/logs/access" name="accesslog"/>
|
60
|
+
<property value="false" name="sso-enabled"/>
|
61
|
+
</virtual-server>
|
62
|
+
<request-processing initial-thread-count="2" header-buffer-length-in-bytes="8192" thread-count="20"
|
63
|
+
thread-increment="1"/>
|
64
|
+
<keep-alive max-connections="250"/>
|
65
|
+
<connection-pool/>
|
66
|
+
<http-protocol default-response-type="text/plain; charset=iso-8859-1"
|
67
|
+
forced-response-type="text/plain; charset=iso-8859-1"/>
|
68
|
+
<http-file-cache file-caching-enabled="false" globally-enabled="false"/>
|
69
|
+
<property value="false" name="accessLoggingEnabled"/>
|
70
|
+
</http-service>
|
87
71
|
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
<jmx-connector accept-all="false" address="0.0.0.0" auth-realm-name="admin-realm" enabled="true" name="system" port="8686" protocol="rmi_jrmp" security-enabled="false"/>
|
99
|
-
<!-- The JSR 160 "system-jmx-connector" -->
|
100
|
-
<das-config dynamic-reload-enabled="true" dynamic-reload-poll-interval-in-seconds="2" autodeploy-enabled="true" autodeploy-polling-interval-in-seconds="2" autodeploy-dir="${com.sun.aas.instanceRoot}/autodeploy" autodeploy-verifier-enabled="false" autodeploy-jsp-precompilation-enabled="false" deploy-xml-validation="full" admin-session-timeout-in-minutes="60"/>
|
72
|
+
<iiop-service>
|
73
|
+
<orb use-thread-pool-ids="thread-pool-1"/>
|
74
|
+
<iiop-listener address="0.0.0.0" port="3700" id="orb-listener-1"/>
|
75
|
+
<iiop-listener security-enabled="true" address="0.0.0.0" port="3820" id="SSL">
|
76
|
+
<ssl cert-nickname="s1as"/>
|
77
|
+
</iiop-listener>
|
78
|
+
<iiop-listener security-enabled="true" address="0.0.0.0" port="3920" id="SSL_MUTUALAUTH">
|
79
|
+
<ssl cert-nickname="s1as" client-auth-enabled="true"/>
|
80
|
+
</iiop-listener>
|
81
|
+
</iiop-service>
|
101
82
|
|
102
|
-
|
103
|
-
|
83
|
+
<admin-service type="das-and-server" system-jmx-connector-name="system">
|
84
|
+
<jmx-connector auth-realm-name="admin-realm" security-enabled="false" address="0.0.0.0" port="8686"
|
85
|
+
name="system"/>
|
86
|
+
<das-config autodeploy-enabled="true" dynamic-reload-enabled="true" deploy-xml-validation="full"
|
87
|
+
autodeploy-dir="${com.sun.aas.instanceRoot}/autodeploy"/>
|
88
|
+
<property value="/admingui" name="adminConsoleContextRoot"/>
|
89
|
+
<property value="glassfish/lib/install/applications/admingui.war" name="adminConsoleDownloadLocation"/>
|
90
|
+
<property value="${com.sun.aas.installRoot}/.." name="ipsRoot"/>
|
91
|
+
</admin-service>
|
104
92
|
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
<mdb-container steady-pool-size="0" pool-resize-quantity="8" max-pool-size="32" idle-timeout-in-seconds="600"/>
|
119
|
-
<jms-service init-timeout-in-seconds="60" type="EMBEDDED" default-jms-host="default_JMS_host" reconnect-interval-in-seconds="5" reconnect-attempts="3" reconnect-enabled="true" addresslist-behavior="random" addresslist-iterations="3">
|
120
|
-
<jms-host name="default_JMS_host" host="laturbie.sfbay.sun.com" port="7676" admin-user-name="admin" admin-password="admin"/>
|
121
|
-
</jms-service>
|
122
|
-
<log-service file="${com.sun.aas.instanceRoot}/logs/server.log" use-system-logging="false" log-to-console="false" alarms="false" log-rotation-limit-in-bytes="2000000" log-rotation-timelimit-in-minutes="0" retain-error-statistics-for-hours="5">
|
123
|
-
<module-log-levels root="INFO" server="INFO" ejb-container="INFO" cmp-container="INFO" mdb-container="INFO" web-container="INFO" classloader="INFO" configuration="INFO" naming="INFO" security="INFO" admin="INFO" jts="INFO" jta="INFO" deployment="INFO" verifier="INFO" jaxr="INFO" jaxrpc="INFO" saaj="INFO" corba="INFO" javamail="INFO" jms="INFO" connector="INFO" jdo="INFO" cmp="INFO" util="INFO" resource-adapter="INFO" synchronization="INFO" node-agent="INFO" self-management="INFO" group-management-service="INFO" management-event="INFO"/>
|
124
|
-
</log-service>
|
125
|
-
<security-service default-realm="file" audit-enabled="false" jacc="default" audit-modules="default" anonymous-role="AttributeDeprecated" activate-default-principal-to-role-mapping="false">
|
126
|
-
<!-- All administrative users use this realm by default. -->
|
127
|
-
<auth-realm name="admin-realm" classname="com.sun.enterprise.security.auth.realm.file.FileRealm">
|
128
|
-
<property name="file" value="${com.sun.aas.instanceRoot}/config/admin-keyfile"/>
|
129
|
-
<property name="jaas-context" value="fileRealm"/>
|
130
|
-
</auth-realm>
|
131
|
-
<!-- All administrative users use this realm by default. -->
|
132
|
-
<auth-realm name="file" classname="com.sun.enterprise.security.auth.realm.file.FileRealm">
|
133
|
-
<property name="file" value="${com.sun.aas.instanceRoot}/config/keyfile"/>
|
134
|
-
<property name="jaas-context" value="fileRealm"/>
|
135
|
-
</auth-realm>
|
136
|
-
<auth-realm name="certificate" classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm">
|
137
|
-
</auth-realm>
|
138
|
-
<jacc-provider name="default" policy-provider="com.sun.enterprise.security.provider.PolicyWrapper" policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl">
|
139
|
-
<property name="repository" value="${com.sun.aas.instanceRoot}/generated/policy"/>
|
140
|
-
</jacc-provider>
|
141
|
-
<audit-module name="default" classname="com.sun.enterprise.security.Audit">
|
142
|
-
<property name="auditOn" value="false"/>
|
143
|
-
</audit-module>
|
144
|
-
<message-security-config auth-layer="SOAP">
|
145
|
-
<!-- turned off by default -->
|
146
|
-
<provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="XWS_ClientProvider" provider-type="client">
|
147
|
-
<request-policy auth-source="content"/>
|
148
|
-
<response-policy auth-source="content"/>
|
149
|
-
<property name="encryption.key.alias" value="s1as"/>
|
150
|
-
<property name="signature.key.alias" value="s1as"/>
|
151
|
-
<property name="dynamic.username.password" value="false"/>
|
152
|
-
<property name="debug" value="false"/>
|
153
|
-
</provider-config>
|
154
|
-
<provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="ClientProvider" provider-type="client">
|
155
|
-
<request-policy auth-source="content"/>
|
156
|
-
<response-policy auth-source="content"/>
|
157
|
-
<property name="encryption.key.alias" value="s1as"/>
|
158
|
-
<property name="signature.key.alias" value="s1as"/>
|
159
|
-
<property name="dynamic.username.password" value="false"/>
|
160
|
-
<property name="debug" value="false"/>
|
161
|
-
<property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"/>
|
162
|
-
</provider-config>
|
163
|
-
<provider-config class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-id="XWS_ServerProvider" provider-type="server">
|
164
|
-
<request-policy auth-source="content"/>
|
165
|
-
<response-policy auth-source="content"/>
|
166
|
-
<property name="encryption.key.alias" value="s1as"/>
|
167
|
-
<property name="signature.key.alias" value="s1as"/>
|
168
|
-
<property name="debug" value="false"/>
|
169
|
-
</provider-config>
|
170
|
-
<provider-config class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-id="ServerProvider" provider-type="server">
|
171
|
-
<request-policy auth-source="content"/>
|
172
|
-
<response-policy auth-source="content"/>
|
173
|
-
<property name="encryption.key.alias" value="s1as"/>
|
174
|
-
<property name="signature.key.alias" value="s1as"/>
|
175
|
-
<property name="debug" value="false"/>
|
176
|
-
<property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"/>
|
177
|
-
</provider-config>
|
178
|
-
</message-security-config>
|
179
|
-
</security-service>
|
180
|
-
<transaction-service automatic-recovery="false" timeout-in-seconds="0" tx-log-dir="${com.sun.aas.instanceRoot}/logs" heuristic-decision="rollback" keypoint-interval="2048" retry-timeout-in-seconds="600"/>
|
181
|
-
<monitoring-service>
|
182
|
-
<module-monitoring-levels thread-pool="OFF" orb="OFF" ejb-container="OFF" web-container="OFF" transaction-service="OFF" http-service="OFF" jdbc-connection-pool="OFF" connector-connection-pool="OFF" connector-service="OFF" jms-service="OFF" jvm="OFF"/>
|
183
|
-
</monitoring-service>
|
184
|
-
<diagnostic-service compute-checksum="true" verify-config="true" capture-install-log="true" capture-system-info="true" capture-hadb-info="true" capture-app-dd="true" min-log-level="INFO" max-log-entries="500"/>
|
185
|
-
<java-config java-home="${com.sun.aas.javaRoot}" debug-enabled="false" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009" rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g" javac-options="-g" system-classpath="${com.sun.aas.installRoot}/lib/appserv-launch.jar" classpath-suffix="" env-classpath-ignored="true">
|
186
|
-
<!-- various required jvm-options -->
|
187
|
-
<jvm-options>-client</jvm-options>
|
188
|
-
<jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
|
189
|
-
<jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
|
190
|
-
<jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
|
191
|
-
<jvm-options>-Dsun.rmi.dgc.server.gcInterval=3600000</jvm-options>
|
192
|
-
<jvm-options>-Dsun.rmi.dgc.client.gcInterval=3600000</jvm-options>
|
193
|
-
<jvm-options>-Xmx512m</jvm-options>
|
194
|
-
<jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
|
195
|
-
<jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
|
196
|
-
<jvm-options>-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext${path.separator}${com.sun.aas.derbyRoot}/lib</jvm-options>
|
197
|
-
<jvm-options>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options>
|
198
|
-
<jvm-options>-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory</jvm-options>
|
199
|
-
<jvm-options>-XX:NewRatio=2</jvm-options>
|
200
|
-
</java-config>
|
201
|
-
<thread-pools>
|
202
|
-
<thread-pool thread-pool-id="thread-pool-1" min-thread-pool-size="0" max-thread-pool-size="200" idle-thread-timeout-in-seconds="120" num-work-queues="1"/>
|
93
|
+
<web-container>
|
94
|
+
<session-config>
|
95
|
+
<session-manager>
|
96
|
+
<manager-properties/>
|
97
|
+
<store-properties/>
|
98
|
+
</session-manager>
|
99
|
+
<session-properties/>
|
100
|
+
</session-config>
|
101
|
+
</web-container>
|
102
|
+
<ejb-container steady-pool-size="0" max-pool-size="32"
|
103
|
+
session-store="${com.sun.aas.instanceRoot}/session-store" pool-resize-quantity="8">
|
104
|
+
<ejb-timer-service/>
|
105
|
+
</ejb-container>
|
203
106
|
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
</
|
107
|
+
|
108
|
+
<mdb-container steady-pool-size="0" pool-resize-quantity="8" max-pool-size="32"
|
109
|
+
idle-timeout-in-seconds="600"/>
|
110
|
+
<mdb-container steady-pool-size="0" max-pool-size="32" pool-resize-quantity="8"/>
|
111
|
+
<jms-service type="EMBEDDED" default-jms-host="default_JMS_host">
|
112
|
+
<jms-host host="laturbie.sfbay.sun.com" name="default_JMS_host"/>
|
113
|
+
</jms-service>
|
114
|
+
|
115
|
+
<log-service file="${com.sun.aas.instanceRoot}/logs/server.log" log-rotation-limit-in-bytes="2000000">
|
116
|
+
<module-log-levels/>
|
117
|
+
</log-service>
|
118
|
+
|
119
|
+
<security-service>
|
120
|
+
<auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="admin-realm">
|
121
|
+
<property value="${com.sun.aas.instanceRoot}/config/admin-keyfile" name="file"/>
|
122
|
+
<property value="fileRealm" name="jaas-context"/>
|
123
|
+
</auth-realm>
|
124
|
+
<auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="file">
|
125
|
+
<property value="${com.sun.aas.instanceRoot}/config/keyfile" name="file"/>
|
126
|
+
<property value="fileRealm" name="jaas-context"/>
|
127
|
+
</auth-realm>
|
128
|
+
<auth-realm classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm"
|
129
|
+
name="certificate"/>
|
130
|
+
<jacc-provider
|
131
|
+
policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl"
|
132
|
+
policy-provider="com.sun.enterprise.security.provider.PolicyWrapper" name="default">
|
133
|
+
<property value="${com.sun.aas.instanceRoot}/generated/policy" name="repository"/>
|
134
|
+
</jacc-provider>
|
135
|
+
<jacc-provider
|
136
|
+
policy-configuration-factory-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyConfigurationFactory"
|
137
|
+
policy-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyProvider" name="simple"/>
|
138
|
+
<audit-module classname="com.sun.enterprise.security.Audit" name="default">
|
139
|
+
<property value="false" name="auditOn"/>
|
140
|
+
</audit-module>
|
141
|
+
<message-security-config auth-layer="SOAP">
|
142
|
+
<provider-config provider-id="XWS_ClientProvider"
|
143
|
+
class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule"
|
144
|
+
provider-type="client">
|
145
|
+
<request-policy auth-source="content"/>
|
146
|
+
<response-policy auth-source="content"/>
|
147
|
+
<property value="s1as" name="encryption.key.alias"/>
|
148
|
+
<property value="s1as" name="signature.key.alias"/>
|
149
|
+
<property value="false" name="dynamic.username.password"/>
|
150
|
+
<property value="false" name="debug"/>
|
151
|
+
</provider-config>
|
152
|
+
<provider-config provider-id="ClientProvider"
|
153
|
+
class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule"
|
154
|
+
provider-type="client">
|
155
|
+
<request-policy auth-source="content"/>
|
156
|
+
<response-policy auth-source="content"/>
|
157
|
+
<property value="s1as" name="encryption.key.alias"/>
|
158
|
+
<property value="s1as" name="signature.key.alias"/>
|
159
|
+
<property value="false" name="dynamic.username.password"/>
|
160
|
+
<property value="false" name="debug"/>
|
161
|
+
<property value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"
|
162
|
+
name="security.config"/>
|
163
|
+
</provider-config>
|
164
|
+
<provider-config provider-id="XWS_ServerProvider"
|
165
|
+
class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule"
|
166
|
+
provider-type="server">
|
167
|
+
<request-policy auth-source="content"/>
|
168
|
+
<response-policy auth-source="content"/>
|
169
|
+
<property value="s1as" name="encryption.key.alias"/>
|
170
|
+
<property value="s1as" name="signature.key.alias"/>
|
171
|
+
<property value="false" name="debug"/>
|
172
|
+
</provider-config>
|
173
|
+
<provider-config provider-id="ServerProvider"
|
174
|
+
class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule"
|
175
|
+
provider-type="server">
|
176
|
+
<request-policy auth-source="content"/>
|
177
|
+
<response-policy auth-source="content"/>
|
178
|
+
<property value="s1as" name="encryption.key.alias"/>
|
179
|
+
<property value="s1as" name="signature.key.alias"/>
|
180
|
+
<property value="false" name="debug"/>
|
181
|
+
<property value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"
|
182
|
+
name="security.config"/>
|
183
|
+
</provider-config>
|
184
|
+
</message-security-config>
|
185
|
+
</security-service>
|
186
|
+
|
187
|
+
<transaction-service tx-log-dir="${com.sun.aas.instanceRoot}/logs"/>
|
188
|
+
<monitoring-service>
|
189
|
+
<module-monitoring-levels/>
|
190
|
+
</monitoring-service>
|
191
|
+
|
192
|
+
<java-config classpath-suffix="" system-classpath=""
|
193
|
+
debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009">
|
194
|
+
<jvm-options>-client</jvm-options>
|
195
|
+
<jvm-options>-XX:+UnlockDiagnosticVMOptions</jvm-options>
|
196
|
+
<jvm-options>-XX:+LogVMOutput</jvm-options>
|
197
|
+
<jvm-options>-XX:LogFile=${com.sun.aas.instanceRoot}/logs/jvm.log</jvm-options>
|
198
|
+
<jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
|
199
|
+
<jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
|
200
|
+
<jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf
|
201
|
+
</jvm-options>
|
202
|
+
<jvm-options>-Dsun.rmi.dgc.server.gcInterval=3600000</jvm-options>
|
203
|
+
<jvm-options>-Dsun.rmi.dgc.client.gcInterval=3600000</jvm-options>
|
204
|
+
<jvm-options>-Xmx512m</jvm-options>
|
205
|
+
<jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
|
206
|
+
<jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
|
207
|
+
<jvm-options>
|
208
|
+
-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
|
209
|
+
</jvm-options>
|
210
|
+
<jvm-options>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options>
|
211
|
+
<jvm-options>
|
212
|
+
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
|
213
|
+
</jvm-options>
|
214
|
+
<jvm-options>-XX:NewRatio=2</jvm-options>
|
215
|
+
</java-config>
|
216
|
+
|
217
|
+
|
218
|
+
<thread-pools>
|
219
|
+
<thread-pool thread-pool-id="thread-pool-1"/>
|
220
|
+
</thread-pools>
|
221
|
+
<management-rules enabled="true"/>
|
222
|
+
</config>
|
223
|
+
</configs>
|
224
|
+
<property value="domain1" name="administrative.domain.name"/>
|
225
|
+
</domain>
|