glassfish 0.9.3-universal-java → 0.9.4-universal-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. data/bin/gfrake +1 -1
  2. data/bin/glassfish +2 -1
  3. data/bin/glassfish_rails +2 -57
  4. data/config/asenv.bat +9 -8
  5. data/config/asenv.conf +9 -5
  6. data/domains/domain1/config/admin-keyfile +3 -1
  7. data/domains/domain1/config/cacerts.jks +0 -0
  8. data/domains/domain1/config/default-web.xml +3 -1
  9. data/domains/domain1/config/domain.xml +5 -4
  10. data/domains/domain1/config/glassfish_gem_version.yml +1 -1
  11. data/domains/domain1/config/keyfile +6 -6
  12. data/domains/domain1/config/keystore.jks +0 -0
  13. data/domains/domain1/config/logging.properties +45 -129
  14. data/domains/domain1/config/login.conf +21 -21
  15. data/domains/domain1/config/server.policy +1 -1
  16. data/domains/domain1/config/sun-acc.xml +2 -2
  17. data/domains/domain1/docroot/index.html +17 -13
  18. data/domains/domain1/master-password +0 -0
  19. data/lib/command_line_parser.rb +19 -32
  20. data/lib/config.rb +39 -7
  21. data/lib/glassfish.rb +1 -0
  22. data/lib/registration/servicetag-registry.xml +18 -18
  23. data/lib/templates/default-web.xml +3 -0
  24. data/lib/templates/docroot/index.html +83 -0
  25. data/lib/templates/domain.xml +180 -171
  26. data/lib/templates/logging.properties +48 -130
  27. data/lib/templates/profile.properties +37 -37
  28. data/lib/templates/server.policy +1 -1
  29. data/lib/templates/sun-acc.xml +40 -0
  30. data/lib/version.rb +1 -1
  31. data/modules/admin-cli.jar +0 -0
  32. data/modules/api-exporter.jar +0 -0
  33. data/modules/asm-all-repackaged.jar +0 -0
  34. data/modules/auto-depends.jar +0 -0
  35. data/modules/bean-validator.jar +0 -0
  36. data/modules/branding.jar +0 -0
  37. data/modules/cli-framework.jar +0 -0
  38. data/modules/common-util.jar +0 -0
  39. data/modules/config-api.jar +0 -0
  40. data/modules/config.jar +0 -0
  41. data/modules/deployment-admin.jar +0 -0
  42. data/modules/deployment-autodeploy.jar +0 -0
  43. data/modules/deployment-common.jar +0 -0
  44. data/modules/flashlight-agent.jar +0 -0
  45. data/modules/flashlight-framework.jar +0 -0
  46. data/modules/gf-jruby-connector.jar +0 -0
  47. data/modules/gfprobe-provider-client.jar +0 -0
  48. data/modules/glassfish-api.jar +0 -0
  49. data/modules/glassfish-ee-api.jar +0 -0
  50. data/modules/glassfish-extra-jre-packages.jar +0 -0
  51. data/modules/glassfish-gem.jar +0 -0
  52. data/modules/glassfish.jar +0 -0
  53. data/modules/grizzly-comet.jar +0 -0
  54. data/modules/grizzly-cometd.jar +0 -0
  55. data/modules/grizzly-compat.jar +0 -0
  56. data/modules/grizzly-config.jar +0 -0
  57. data/modules/grizzly-framework.jar +0 -0
  58. data/modules/grizzly-http.jar +0 -0
  59. data/modules/grizzly-jruby-module.jar +0 -0
  60. data/modules/grizzly-jruby.jar +0 -0
  61. data/modules/grizzly-messagesbus.jar +0 -0
  62. data/modules/grizzly-portunif.jar +0 -0
  63. data/modules/grizzly-rcm.jar +0 -0
  64. data/modules/grizzly-utils.jar +0 -0
  65. data/modules/hk2-core.jar +0 -0
  66. data/modules/hk2.jar +0 -0
  67. data/modules/internal-api.jar +0 -0
  68. data/modules/kernel.jar +0 -0
  69. data/modules/launcher.jar +0 -0
  70. data/modules/org.apache.felix.configadmin.jar +0 -0
  71. data/modules/org.apache.felix.fileinstall.jar +0 -0
  72. data/modules/org.apache.felix.shell.jar +0 -0
  73. data/modules/org.apache.felix.shell.remote.jar +0 -0
  74. data/modules/org.apache.felix.shell.tui.jar +0 -0
  75. data/modules/osgi-main.jar +0 -0
  76. data/modules/pkg-client.jar +0 -0
  77. data/modules/tiger-types-osgi.jar +0 -0
  78. metadata +23 -26
  79. data/COPYRIGHT +0 -18
  80. data/LICENSE.txt +0 -263
  81. data/domains/domain1/config/wss-server-config-1.0.xml +0 -86
  82. data/domains/domain1/config/wss-server-config-2.0.xml +0 -94
  83. data/domains/domain1/docroot/favicon.gif +0 -0
@@ -33,7 +33,7 @@ grant codeBase "file:${com.sun.aas.installRoot}/modules/-" {
33
33
  };
34
34
 
35
35
  // Felix classes get all permissions by default
36
- grant codeBase "file:${com.sun.aas.installRoot}/felix/bin/-" {
36
+ grant codeBase "file:${com.sun.aas.installRoot}/osgi/felix/bin/-" {
37
37
  permission java.security.AllPermission;
38
38
  };
39
39
 
@@ -15,7 +15,7 @@
15
15
  <!DOCTYPE client-container PUBLIC "-//Sun Microsystems Inc.//DTD Application Server 8.0 Application Client Container//EN" "http://www.sun.com/software/appserver/dtds/sun-application-client-container_1_2.dtd">
16
16
 
17
17
  <client-container>
18
- <target-server name="laturbie.sfbay.sun.com" address="laturbie.sfbay.sun.com" port="3700"/>
18
+ <target-server name="repine" address="localhost" port="3700"/>
19
19
  <log-service file="" level="WARNING"/>
20
20
  <message-security-config auth-layer="SOAP">
21
21
  <!-- turned off by default -->
@@ -34,7 +34,7 @@
34
34
  <property name="signature.key.alias" value="s1as"/>
35
35
  <property name="dynamic.username.password" value="false"/>
36
36
  <property name="debug" value="false"/>
37
- <property name="security.config" value="/Users/dochez/java/cvs/v3/publish/lib/appclient/wss-client-config-1.0.xml"/>
37
+ <property name="security.config" value="${com.sun.aas.installRoot}/lib/appclient/wss-client-config-1.0.xml"/>
38
38
  </provider-config>
39
39
  </message-security-config>
40
40
  </client-container>
@@ -4,14 +4,14 @@
4
4
  <!--
5
5
  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
6
6
 
7
- Copyright 2008 Sun Microsystems, Inc. All rights reserved.
7
+ Copyright 2009 Sun Microsystems, Inc. All rights reserved.
8
8
 
9
9
  Use is subject to License Terms
10
10
  -->
11
11
  <head>
12
12
  <style type="text/css"> body{margin-top:0} body,td,p,div,span,a,ul,ul li, ol, ol li, ol li b, dl,h1,h2,h3,h4,h5,h6,li { font-family:geneva,helvetica,arial,"lucida sans",sans-serif; font-size:10pt } h1 {font-size:18pt} h2 {font-size:14pt} h3 {font-size:12pt} code,kbd,tt,pre { font-family:monaco,courier,"courier new"; font-size:10pt; } li {padding-bottom: 8px} p.copy, p.copy a { font-family:geneva,helvetica,arial,"lucida sans",sans-serif; font-size:8pt } p.copy {text-align: center} table.grey1,tr.grey1,td.grey1{background:#f1f1f1} th { color:#ffffff; font-family:geneva,helvetica,arial,"lucida sans",sans-serif; font-size:12pt } td.insidehead { font-weight:bold; background:white; text-align: left; } a {text-decoration:none; color:#3E6B8A} a:visited{color:#917E9C} a:hover {text-decoration:underline}
13
13
  </style>
14
- <title>Sun GlassFish Enterprise Server v3 Prelude - Server Running</title>
14
+ <title>Sun GlassFish Enterprise Server v3 Preview - Server Running</title>
15
15
  </head>
16
16
  <body bgcolor="#ffffff" text="#000000" link="#594fbf" vlink="#1005fb"
17
17
  alink="#333366"><br> <table width="100%" border="0" cellspacing="0"
@@ -22,7 +22,7 @@ cellpadding="3">
22
22
  </tr>
23
23
  <tr>
24
24
  <td align="left" valign="top" bgcolor="#587993"> <font color="#ffffff">&nbsp;<b>
25
- Sun GlassFish Enterprise Server v3 Prelude</b></font> </td>
25
+ Sun GlassFish Enterprise Server v3 Preview</b></font> </td>
26
26
  </tr>
27
27
  </tbody>
28
28
  </table> <h1>Your server is now running</h1> <p>To replace this page, overwrite
@@ -40,25 +40,28 @@ user you receive benefits such as:</p><ul>
40
40
  <li>Screencasts and tutorials</li>
41
41
  <li>News and events</li>
42
42
  <li>Support and training offerings</li>
43
- </ul><h2>Get a GlassFish server subscription</h2><p>To benefit from powerful
43
+ </ul>
44
+ <!--h2>Get a GlassFish server subscription</h2><p>To benefit from powerful
44
45
  support for GlassFish server, consider one of the <a
45
46
  href="http://www.sun.com/service/applicationserversubscriptions/" target="blank">
46
47
  GlassFish Subscriptions featuring Enterprise GlassFish Support</a>. A subscription
47
48
  provides a one-stop shop for products and services with immediate web access
48
49
  to software support with full indemnification, updates and upgrades, production
49
- and code support, training, and much more.</p><h2>Install and update additional
50
+ and code support, training, and much more.</p>-->
51
+ <h2>Install and update additional
50
52
  software components</h2><p>Use the <a
51
53
  href="http://wikis.sun.com/display/IpsBestPractices/Examples+and+Screenshots"
52
54
  target=" blank">Update Tool</a> to install and update additional technologies
53
55
  and frameworks such as:<!--a href="https://open-esb.dev.java.net/" target=" blank"Open ESB a -->
54
56
  </p><ul>
55
- <li><a href="https://metro.dev.java.net/" target="blank">Metro</a></li>
56
- <li><a href="https://jersey.dev.java.net/" target="blank">Jersey</a></li>
57
57
  <li><a href="https://ajax.dev.java.net/" target=" blank">jMaki</a></li>
58
58
  <li>JRuby runtime </li>
59
- </ul><p>The Update Tool is developed through the <a
60
- href="http://wiki.updatecenter.java.net/" target="blank">Update Center</a> project.
61
- </p><p>To improve the user experience and optimize offerings to users, Sun
59
+ </ul>
60
+ <p>If you are using the web profile, you can also use Update Tool to obtain technologies that are included by default in the classic profile, such as:<p>
61
+ <ul><li>Enterprise Java Beans</li>
62
+ <li><a href="https://metro.dev.java.net/" target="blank">Metro</a></li>
63
+ <li><a href="https://jersey.dev.java.net/" target="blank">Jersey</a></li></ul>
64
+ <p>To improve the user experience and optimize offerings to users, Sun
62
65
  collects data about <a
63
66
  href="http://wiki.glassfish.java.net/gfwiki/Wiki.jsp?page=UsageMetrics"
64
67
  target=" blank">GlassFish server usage</a> that is transmitted by the Update
@@ -71,9 +74,10 @@ enterprise-class application server that implements the newest features of
71
74
  the Java&trade; Platform, Enterprise Edition (Java EE) platform and related
72
75
  enterprise technologies.</p><h2>Learn more about the GlassFish server</h2><p>For
73
76
  more information about the GlassFish server, samples, documentation, and additional
74
- resources, see<var> as-install</var><code>/docs/about.html</code>, where <var>as-install
75
- </var> is the GlassFish server installation directory.</p><hr
77
+ resources, see <?Pub Caret><var> as-install</var><code>/docs/about.html</code>,
78
+ where <var>as-install</var> is the GlassFish server installation directory.</p><hr
76
79
  style="width: 80%; height: 2px;"> <p class="copy"><a
77
80
  href="http://www.sun.com/company/">Company Info</a> &nbsp;&nbsp;|&nbsp;&nbsp; <a
78
81
  href="http://www.sun.com/contact/">Contact</a> &nbsp;&nbsp;|&nbsp;&nbsp; Copyright
79
- 2008 Sun Microsystems</p></body></html>
82
+ 2009 Sun Microsystems</p></body></html>
83
+ <?Pub *0000005314 0>
Binary file
@@ -55,9 +55,10 @@ module GlassFish
55
55
  :environment => "development",
56
56
  :app_dir => Dir.pwd,
57
57
  :port => 3000,
58
- :pid => Config::PID_FILE,
58
+ :pid => nil,
59
59
  :log => nil,
60
- :log_level => 1,
60
+ :log_console => false,
61
+ :log_level => 3,
61
62
  :daemon => false,
62
63
  :jvm_options => nil
63
64
  }
@@ -76,7 +77,7 @@ module GlassFish
76
77
  [ '--config', GetoptLong::REQUIRED_ARGUMENT ],
77
78
  [ '--daemon', '-d', GetoptLong::NO_ARGUMENT ],
78
79
  [ '--pid', '-P', GetoptLong::REQUIRED_ARGUMENT ],
79
- [ '--log', '-l', GetoptLong::REQUIRED_ARGUMENT ],
80
+ [ '--log', '-l', GetoptLong::OPTIONAL_ARGUMENT ],
80
81
  [ '--log-level', GetoptLong::REQUIRED_ARGUMENT ],
81
82
  [ '--runtimes', '-n', GetoptLong::REQUIRED_ARGUMENT ],
82
83
  [ '--runtimes-min', GetoptLong::REQUIRED_ARGUMENT ],
@@ -109,12 +110,14 @@ module GlassFish
109
110
  when '--daemon'
110
111
  config[:daemon] = true
111
112
  when '--pid'
112
- if(!ARGV.include?'-d' and !ARGV.include?'--daemon')
113
- GlassFish::Config::fail("--pid option can only be used with --daemon.")
114
- end
115
- config[:pid] = arg
113
+ config[:pid] = File.expand_path arg
116
114
  when '--log'
117
- config[:log] = arg
115
+ #if user just mentioned 'glassfish -l', it means he wants to log the messages on console
116
+ if(arg.nil? or arg.empty?)
117
+ config[:log_console] = true
118
+ else
119
+ config[:log] = File.expand_path arg
120
+ end
118
121
  when '--log-level'
119
122
  config[:log_level] = arg.to_i
120
123
  when '--config'
@@ -124,15 +127,13 @@ module GlassFish
124
127
 
125
128
 
126
129
  config[:app_dir] = ARGV.shift unless ARGV.empty?
130
+
131
+ #Read the config file from config/glasfish.yml
132
+ config_file = Config::absolutize config[:app_dir],config_file
133
+ read_glassfish_config(config_file, config)
127
134
 
128
- config[:log] = absolutize config[:app_dir], config[:log]
129
- config[:pid] = absolutize config[:app_dir], config[:pid]
130
135
  #Validate the command line options
131
136
  Config.new.validate config
132
-
133
- #Read the config file from config/glasfish.yml
134
- config_file = absolutize config[:app_dir],config_file
135
- read_glassfish_config(config_file, config)
136
137
 
137
138
  config
138
139
 
@@ -165,7 +166,7 @@ module GlassFish
165
166
  when 'log'
166
167
  val = arg['log-file']
167
168
  if(!val.nil?)
168
- config[:log] = absolutize config[:app_dir], val
169
+ config[:log] = Config::absolutize config[:app_dir], val
169
170
  end
170
171
 
171
172
  val = arg['log-level']
@@ -179,8 +180,9 @@ module GlassFish
179
180
  if(!arg['pid'].nil?)
180
181
  if(!config[:daemon])
181
182
  Config::fail("glassfish.yml has\n daemon:\n\tpid: #{arg['pid']}\nThe pid option can only be used when daemon is set enable: true.")
183
+ else
184
+ config[:pid] = File.expand_path arg['pid']
182
185
  end
183
- config[:pid] = absolutize config[:app_dir], arg['pid']
184
186
  end
185
187
 
186
188
  #CLI option are overriden by glassfish.yml settings
@@ -193,23 +195,8 @@ module GlassFish
193
195
  config[:environment] = arg unless arg.nil?
194
196
  end
195
197
  end
198
+ end
196
199
 
197
- #validate the options read from the config file
198
- puts "Validating configuration read from glassfish.yml"
199
- Config.new.validate config
200
- end
201
-
202
- def absolutize(base, path)
203
- if path.nil?
204
- return nil
205
- end
206
- p = Pathname.new path
207
- if(!p.absolute?)
208
- path = File.join(base, path)
209
- end
210
- path
211
- end
212
-
213
200
  def check_java
214
201
  begin
215
202
  java.lang.Class.forName("javax.xml.ws.Service")
data/lib/config.rb CHANGED
@@ -69,9 +69,20 @@ module GlassFish
69
69
  Config.fail "You are running on #{java.lang.System.getProperty("os.name")} #{version}. Currently daemon mode only works on Linux or Solaris platforms!"
70
70
  end
71
71
 
72
+ # In daemon mode you can't log to console. Let's fail and let user spcifiy the log file explicitly
73
+ if(config[:log_console])
74
+ Config.fail "Daemon mode detected, console logging is disabled in daemon mode. You must provide path to log file with --log|-l option in daemon mode."
75
+ end
76
+
77
+
72
78
  if(config[:jvm_options].nil?)
73
79
  config[:jvm_options] = DEFAULT_JVM_OPTS
74
80
  end
81
+ if(config[:pid].nil?)
82
+ config[:pid] = PID_FILE
83
+ end
84
+
85
+ Config.absolutize config[:app_dir], config[:pid]
75
86
  end
76
87
 
77
88
  # log_level
@@ -107,11 +118,11 @@ module GlassFish
107
118
 
108
119
 
109
120
  # log-file
110
- if(config[:log] == nil)
121
+ if(config[:log].nil? or config[:log].empty?)
111
122
  config[:log] = File.join(config[:app_dir], "log", config[:environment]+".log")
112
123
  end
113
124
 
114
- if not File.exists?(config[:log])
125
+ if !File.exists?(config[:log]) and !config[:log_console]
115
126
  puts "Log file #{config[:log]} does not exist. Creating a new one..."
116
127
  parent = File.dirname(config[:log])
117
128
  if(!File.exists?parent)
@@ -122,7 +133,11 @@ module GlassFish
122
133
  end
123
134
 
124
135
 
125
- # pid file validation is done latter on
136
+ # pid file
137
+ #
138
+ if(!config[:pid].nil? and !config[:daemon])
139
+ GlassFish::Config::fail("--pid option can only be used with --daemon.")
140
+ end
126
141
 
127
142
  #TODO: validate JVM options?
128
143
 
@@ -141,6 +156,17 @@ module GlassFish
141
156
  STDERR.puts "Type 'glassfish -h' to get help"
142
157
  Kernel.exit -1
143
158
  end
159
+
160
+ def self.absolutize(base, path)
161
+ if path.nil?
162
+ return nil
163
+ end
164
+ p = Pathname.new path
165
+ if(!p.absolute?)
166
+ path = File.join(base, path)
167
+ end
168
+ path
169
+ end
144
170
 
145
171
 
146
172
  private
@@ -154,10 +180,11 @@ module GlassFish
154
180
  if !File.exist? config_dir
155
181
  FileUtils.mkdir_p config_dir
156
182
  end
157
- if !same_version?config_dir
158
- return check_domain_dir? config_dir
159
- end
160
- true
183
+
184
+ #glassfish v3 preview release writes down the exact port number in domain.xml. to make
185
+ #it work, we need to update domain.xml and logging.properties everytime the app is run
186
+ same_version?config_dir
187
+ return check_domain_dir? config_dir
161
188
  end
162
189
 
163
190
  def check_domain_dir?(config_dir)
@@ -167,6 +194,11 @@ module GlassFish
167
194
  src = File.dirname(__FILE__)+File::SEPARATOR+".."+File::SEPARATOR+"domains"+File::SEPARATOR+"domain1"+File::SEPARATOR+"config"
168
195
  File.cp(File.join(src,"domain.xml"), config_dir)
169
196
  File.cp(File.join(src,"logging.properties"), config_dir)
197
+
198
+ #make sure both these files are writable
199
+ FileUtils.chmod(0755, File.join(config_dir,"domain.xml"))
200
+ FileUtils.chmod(0755, File.join(config_dir,"logging.properties"))
201
+
170
202
  end
171
203
 
172
204
  #
data/lib/glassfish.rb CHANGED
@@ -69,6 +69,7 @@ module GlassFish
69
69
  opts.daemon = args[:daemon]
70
70
  opts.pid = args[:pid]
71
71
  opts.log = args[:log]
72
+ opts.log_console = args[:log_console]
72
73
  opts.domainDir = args[:domain_dir]
73
74
  opts.log_level = args[:log_level]
74
75
  opts.jvm_opts = args[:jvm_options]
@@ -1,18 +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>
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 Nucleus Preview</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>
@@ -1125,6 +1125,9 @@
1125
1125
  <welcome-file>index.jsp</welcome-file>
1126
1126
  </welcome-file-list>
1127
1127
 
1128
+ <login-config>
1129
+ <auth-method>BASIC</auth-method>
1130
+ </login-config>
1128
1131
 
1129
1132
  </web-app>
1130
1133
 
@@ -0,0 +1,83 @@
1
+ <!--Arbortext, Inc., 1988-2008, v.4002-->
2
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3
+ <html lang="en">
4
+ <!--
5
+ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
6
+
7
+ Copyright 2009 Sun Microsystems, Inc. All rights reserved.
8
+
9
+ Use is subject to License Terms
10
+ -->
11
+ <head>
12
+ <style type="text/css"> body{margin-top:0} body,td,p,div,span,a,ul,ul li, ol, ol li, ol li b, dl,h1,h2,h3,h4,h5,h6,li { font-family:geneva,helvetica,arial,"lucida sans",sans-serif; font-size:10pt } h1 {font-size:18pt} h2 {font-size:14pt} h3 {font-size:12pt} code,kbd,tt,pre { font-family:monaco,courier,"courier new"; font-size:10pt; } li {padding-bottom: 8px} p.copy, p.copy a { font-family:geneva,helvetica,arial,"lucida sans",sans-serif; font-size:8pt } p.copy {text-align: center} table.grey1,tr.grey1,td.grey1{background:#f1f1f1} th { color:#ffffff; font-family:geneva,helvetica,arial,"lucida sans",sans-serif; font-size:12pt } td.insidehead { font-weight:bold; background:white; text-align: left; } a {text-decoration:none; color:#3E6B8A} a:visited{color:#917E9C} a:hover {text-decoration:underline}
13
+ </style>
14
+ <title>Sun GlassFish Enterprise Server v3 Preview - Server Running</title>
15
+ </head>
16
+ <body bgcolor="#ffffff" text="#000000" link="#594fbf" vlink="#1005fb"
17
+ alink="#333366"><br> <table width="100%" border="0" cellspacing="0"
18
+ cellpadding="3">
19
+ <tbody>
20
+ <tr>
21
+ <td align="right" valign="top"> <a href="http://www.sun.com">sun.com</a> </td>
22
+ </tr>
23
+ <tr>
24
+ <td align="left" valign="top" bgcolor="#587993"> <font color="#ffffff">&nbsp;<b>
25
+ Sun GlassFish Enterprise Server v3 Preview</b></font> </td>
26
+ </tr>
27
+ </tbody>
28
+ </table> <h1>Your server is now running</h1> <p>To replace this page, overwrite
29
+ the file <code>index.html</code> in the document root folder of this server.
30
+ The document root folder for this server is the <code>docroot</code> subdirectory
31
+ of this server's domain directory.</p> <p>To manage a server on the local
32
+ host with the default administration port, <a href="http://localhost:4848"
33
+ target="blank">go to the Administration Console</a>.</p> <h2>Register Sun
34
+ GlassFish Enterprise Server with Sun Connection now</h2><p>Use the Administration
35
+ Console to register Sun GlassFish&trade; Enterprise Server (GlassFish server)
36
+ with <a href="http://www.sun.com/service/sunconnection/index.jsp" target=" blank">
37
+ Sun<sup>SM</sup> Connection</a> now. Registration is optional, but as a registered
38
+ user you receive benefits such as:</p><ul>
39
+ <li>Patch information and bug updates</li>
40
+ <li>Screencasts and tutorials</li>
41
+ <li>News and events</li>
42
+ <li>Support and training offerings</li>
43
+ </ul>
44
+ <!--h2>Get a GlassFish server subscription</h2><p>To benefit from powerful
45
+ support for GlassFish server, consider one of the <a
46
+ href="http://www.sun.com/service/applicationserversubscriptions/" target="blank">
47
+ GlassFish Subscriptions featuring Enterprise GlassFish Support</a>. A subscription
48
+ provides a one-stop shop for products and services with immediate web access
49
+ to software support with full indemnification, updates and upgrades, production
50
+ and code support, training, and much more.</p>-->
51
+ <h2>Install and update additional
52
+ software components</h2><p>Use the <a
53
+ href="http://wikis.sun.com/display/IpsBestPractices/Examples+and+Screenshots"
54
+ target=" blank">Update Tool</a> to install and update additional technologies
55
+ and frameworks such as:<!--a href="https://open-esb.dev.java.net/" target=" blank"Open ESB a -->
56
+ </p><ul>
57
+ <li><a href="https://ajax.dev.java.net/" target=" blank">jMaki</a></li>
58
+ <li>JRuby runtime </li>
59
+ </ul>
60
+ <p>If you are using the web profile, you can also use Update Tool to obtain technologies that are included by default in the classic profile, such as:<p>
61
+ <ul><li>Enterprise Java Beans</li>
62
+ <li><a href="https://metro.dev.java.net/" target="blank">Metro</a></li>
63
+ <li><a href="https://jersey.dev.java.net/" target="blank">Jersey</a></li></ul>
64
+ <p>To improve the user experience and optimize offerings to users, Sun
65
+ collects data about <a
66
+ href="http://wiki.glassfish.java.net/gfwiki/Wiki.jsp?page=UsageMetrics"
67
+ target=" blank">GlassFish server usage</a> that is transmitted by the Update
68
+ Tool installer as part of the automatic update processes. No personally identifiable
69
+ information is collected by this process.</p><h2>Join the GlassFish community</h2><p>
70
+ Visit the <a href="http://java.sun.com/javaee/glassfish/" target=" blank">GlassFish
71
+ Community</a> page for information about how to join the GlassFish community.
72
+ The GlassFish community is developing a free, open source, production-quality,
73
+ enterprise-class application server that implements the newest features of
74
+ the Java&trade; Platform, Enterprise Edition (Java EE) platform and related
75
+ enterprise technologies.</p><h2>Learn more about the GlassFish server</h2><p>For
76
+ more information about the GlassFish server, samples, documentation, and additional
77
+ resources, see <?Pub Caret><var> as-install</var><code>/docs/about.html</code>,
78
+ where <var>as-install</var> is the GlassFish server installation directory.</p><hr
79
+ style="width: 80%; height: 2px;"> <p class="copy"><a
80
+ href="http://www.sun.com/company/">Company Info</a> &nbsp;&nbsp;|&nbsp;&nbsp; <a
81
+ href="http://www.sun.com/contact/">Contact</a> &nbsp;&nbsp;|&nbsp;&nbsp; Copyright
82
+ 2009 Sun Microsystems</p></body></html>
83
+ <?Pub *0000005314 0>
@@ -1,171 +1,180 @@
1
- <domain log-root="${com.sun.aas.instanceRoot}/logs" application-root="${com.sun.aas.instanceRoot}/applications" version="10.0">
2
- <system-applications />
3
- <applications />
4
- <resources>
5
- <jdbc-resource pool-name="__TimerPool" jndi-name="jdbc/__TimerPool" object-type="system-admin" />
6
- <jdbc-resource pool-name="DerbyPool" jndi-name="jdbc/__default" />
7
- <jdbc-connection-pool name="__TimerPool" datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource" res-type="javax.sql.XADataSource">
8
- <property value="${com.sun.aas.instanceRoot}/lib/databases/ejbtimer" name="databaseName" />
9
- <property value=";create=true" name="connectionAttributes" />
10
- </jdbc-connection-pool>
11
- <jdbc-connection-pool is-isolation-level-guaranteed="false" name="DerbyPool" datasource-classname="org.apache.derby.jdbc.ClientDataSource" res-type="javax.sql.DataSource">
12
- <property value="1527" name="PortNumber" />
13
- <property value="APP" name="Password" />
14
- <property value="APP" name="User" />
15
- <property value="localhost" name="serverName" />
16
- <property value="sun-appserv-samples" name="DatabaseName" />
17
- <property value=";create=true" name="connectionAttributes" />
18
- </jdbc-connection-pool>
19
- </resources>
20
- <servers>
21
- <server name="%%%SERVER_ID%%%" config-ref="%%%CONFIG_MODEL_NAME%%%">
22
- <resource-ref ref="jdbc/__TimerPool" />
23
- <resource-ref ref="jdbc/__default" />
24
- </server>
25
- </servers>
26
- <configs>
27
- <config name="%%%CONFIG_MODEL_NAME%%%">
28
- <http-service>
29
- <access-log rotation-interval-in-minutes="15" rotation-suffix="yyyy-MM-dd" />
30
- <http-listener default-virtual-server="server" server-name="" address="0.0.0.0" port="%%%HTTP_PORT%%%" id="http-listener-1">
31
- </http-listener>
32
- <http-listener default-virtual-server="server" enabled="false" security-enabled="true" server-name="" address="0.0.0.0" port="%%%HTTP_SSL_PORT%%%" id="http-listener-2">
33
- <ssl ssl3-enabled="false" cert-nickname="s1as" />
34
- </http-listener>
35
- <http-listener default-virtual-server="__asadmin" server-name="" address="0.0.0.0" port="%%%ADMIN_PORT%%%" id="admin-listener">
36
- </http-listener>
37
- <virtual-server id="server" http-listeners="http-listener-1,http-listener-2">
38
- <property value="${com.sun.aas.instanceRoot}/docroot" name="docroot" />
39
- <property value="${com.sun.aas.instanceRoot}/logs/access" name="accesslog" />
40
- <property value="false" name="sso-enabled" />
41
- </virtual-server>
42
- <virtual-server id="__asadmin" http-listeners="admin-listener">
43
- <property value="${com.sun.aas.instanceRoot}/docroot" name="docroot" />
44
- <property value="${com.sun.aas.instanceRoot}/logs/access" name="accesslog" />
45
- <property value="false" name="sso-enabled" />
46
- </virtual-server>
47
- <request-processing initial-thread-count="2" header-buffer-length-in-bytes="8192" thread-count="20" thread-increment="1" />
48
- <keep-alive max-connections="250" />
49
- <connection-pool />
50
- <http-protocol default-response-type="text/plain; charset=iso-8859-1" forced-response-type="text/plain; charset=iso-8859-1" />
51
- <http-file-cache file-caching-enabled="false" globally-enabled="false" />
52
- <property value="false" name="accessLoggingEnabled" />
53
- </http-service>
54
- <iiop-service>
55
- <orb use-thread-pool-ids="thread-pool-1" />
56
- <iiop-listener address="0.0.0.0" port="%%%ORB_LISTENER_PORT%%%" id="orb-listener-1" />
57
- <iiop-listener security-enabled="true" address="0.0.0.0" port="%%%ORB_SSL_PORT%%%" id="SSL">
58
- <ssl cert-nickname="s1as" />
59
- </iiop-listener>
60
- <iiop-listener security-enabled="true" address="0.0.0.0" port="%%%ORB_MUTUALAUTH_PORT%%%" id="SSL_MUTUALAUTH">
61
- <ssl cert-nickname="s1as" client-auth-enabled="true" />
62
- </iiop-listener>
63
- </iiop-service>
64
- <admin-service type="das-and-server" system-jmx-connector-name="system">
65
- <jmx-connector auth-realm-name="admin-realm" security-enabled="false" address="0.0.0.0" port="%%%JMX_SYSTEM_CONNECTOR_PORT%%%" name="system" />
66
- <das-config autodeploy-enabled="true" dynamic-reload-enabled="true" deploy-xml-validation="full" autodeploy-dir="${com.sun.aas.instanceRoot}/autodeploy" />
67
- <property value="/admin" name="adminConsoleContextRoot" />
68
- <property value="${com.sun.aas.installRoot}/lib/install/applications/admingui.war" name="adminConsoleDownloadLocation" />
69
- <property value="${com.sun.aas.installRoot}/.." name="ipsRoot" />
70
- </admin-service>
71
- <web-container>
72
- <session-config>
73
- <session-manager>
74
- <manager-properties />
75
- <store-properties />
76
- </session-manager>
77
- <session-properties />
78
- </session-config>
79
- </web-container>
80
- <ejb-container steady-pool-size="0" max-pool-size="32" session-store="${com.sun.aas.instanceRoot}/session-store" pool-resize-quantity="8">
81
- <ejb-timer-service />
82
- </ejb-container>
83
- <mdb-container steady-pool-size="0" max-pool-size="32" pool-resize-quantity="8" >
84
- </mdb-container>
85
- <jms-service type="EMBEDDED" default-jms-host="default_JMS_host">
86
- <jms-host name="default_JMS_host" host="%%%HOST_NAME%%%" port="%%%JMS_PROVIDER_PORT%%%" admin-user-name="%%%JMS_PROVIDER_USERID%%%" admin-password="%%%JMS_PROVIDER_PASSWORD%%%"/>
87
- </jms-service>
88
- <log-service file="${com.sun.aas.instanceRoot}/logs/server.log" log-rotation-limit-in-bytes="2000000">
89
- <module-log-levels />
90
- </log-service>
91
- <security-service>
92
- <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="admin-realm">
93
- <property value="${com.sun.aas.instanceRoot}/config/admin-keyfile" name="file" />
94
- <property value="fileRealm" name="jaas-context" />
95
- </auth-realm>
96
- <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="file">
97
- <property value="${com.sun.aas.instanceRoot}/config/keyfile" name="file" />
98
- <property value="fileRealm" name="jaas-context" />
99
- </auth-realm>
100
- <auth-realm classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm" name="certificate" />
101
- <jacc-provider policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl" policy-provider="com.sun.enterprise.security.provider.PolicyWrapper" name="default">
102
- <property value="${com.sun.aas.instanceRoot}/generated/policy" name="repository" />
103
- </jacc-provider>
104
- <jacc-provider policy-configuration-factory-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyConfigurationFactory" policy-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyProvider" name="simple" />
105
- <audit-module classname="com.sun.enterprise.security.Audit" name="default">
106
- <property value="false" name="auditOn" />
107
- </audit-module>
108
- <message-security-config auth-layer="SOAP">
109
- <provider-config provider-id="XWS_ClientProvider" class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-type="client">
110
- <request-policy auth-source="content" />
111
- <response-policy auth-source="content" />
112
- <property value="s1as" name="encryption.key.alias" />
113
- <property value="s1as" name="signature.key.alias" />
114
- <property value="false" name="dynamic.username.password" />
115
- <property value="false" name="debug" />
116
- </provider-config>
117
- <provider-config provider-id="ClientProvider" class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-type="client">
118
- <request-policy auth-source="content" />
119
- <response-policy auth-source="content" />
120
- <property value="s1as" name="encryption.key.alias" />
121
- <property value="s1as" name="signature.key.alias" />
122
- <property value="false" name="dynamic.username.password" />
123
- <property value="false" name="debug" />
124
- <property value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml" name="security.config" />
125
- </provider-config>
126
- <provider-config provider-id="XWS_ServerProvider" class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-type="server">
127
- <request-policy auth-source="content" />
128
- <response-policy auth-source="content" />
129
- <property value="s1as" name="encryption.key.alias" />
130
- <property value="s1as" name="signature.key.alias" />
131
- <property value="false" name="debug" />
132
- </provider-config>
133
- <provider-config provider-id="ServerProvider" class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-type="server">
134
- <request-policy auth-source="content" />
135
- <response-policy auth-source="content" />
136
- <property value="s1as" name="encryption.key.alias" />
137
- <property value="s1as" name="signature.key.alias" />
138
- <property value="false" name="debug" />
139
- <property value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml" name="security.config" />
140
- </provider-config>
141
- </message-security-config>
142
- </security-service>
143
- <transaction-service tx-log-dir="${com.sun.aas.instanceRoot}/logs" >
144
- </transaction-service>
145
- <monitoring-service>
146
- <module-monitoring-levels />
147
- </monitoring-service>
148
- <java-config classpath-suffix="" system-classpath="" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009">
149
- <jvm-options>-XX:MaxPermSize=192m</jvm-options>
150
- <jvm-options>-client</jvm-options>
151
- <jvm-options>-XX:+UnlockDiagnosticVMOptions</jvm-options>
152
- <jvm-options>-XX:+LogVMOutput</jvm-options>
153
- <jvm-options>-XX:LogFile=${com.sun.aas.instanceRoot}/logs/jvm.log</jvm-options>
154
- <jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
155
- <jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
156
- <jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
157
- <jvm-options>-Xmx512m</jvm-options>
158
- <jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
159
- <jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
160
- <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>
161
- <jvm-options>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options>
162
- <jvm-options>-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory</jvm-options>
163
- <jvm-options>-XX:NewRatio=2</jvm-options>
164
- </java-config>
165
- <thread-pools>
166
- <thread-pool thread-pool-id="thread-pool-1" />
167
- </thread-pools>
168
- </config>
169
- </configs>
170
- <property name="administrative.domain.name" value="%%%DOMAIN_NAME%%%"/>
171
- </domain>
1
+ <domain log-root="${com.sun.aas.instanceRoot}/logs" application-root="${com.sun.aas.instanceRoot}/applications" version="10.0">
2
+ <system-applications />
3
+ <applications />
4
+ <resources>
5
+ <jdbc-resource pool-name="__TimerPool" jndi-name="jdbc/__TimerPool" object-type="system-admin" />
6
+ <jdbc-resource pool-name="DerbyPool" jndi-name="jdbc/__default" />
7
+ <jdbc-connection-pool name="__TimerPool" datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource" res-type="javax.sql.XADataSource">
8
+ <property value="${com.sun.aas.instanceRoot}/lib/databases/ejbtimer" name="databaseName" />
9
+ <property value=";create=true" name="connectionAttributes" />
10
+ </jdbc-connection-pool>
11
+ <jdbc-connection-pool is-isolation-level-guaranteed="false" name="DerbyPool" datasource-classname="org.apache.derby.jdbc.ClientDataSource" res-type="javax.sql.DataSource">
12
+ <property value="1527" name="PortNumber" />
13
+ <property value="APP" name="Password" />
14
+ <property value="APP" name="User" />
15
+ <property value="localhost" name="serverName" />
16
+ <property value="sun-appserv-samples" name="DatabaseName" />
17
+ <property value=";create=true" name="connectionAttributes" />
18
+ </jdbc-connection-pool>
19
+ </resources>
20
+ <servers>
21
+ <server name="%%%SERVER_ID%%%" config-ref="%%%CONFIG_MODEL_NAME%%%">
22
+ <resource-ref ref="jdbc/__TimerPool" />
23
+ <resource-ref ref="jdbc/__default" />
24
+ </server>
25
+ </servers>
26
+ <configs>
27
+ <config name="%%%CONFIG_MODEL_NAME%%%">
28
+ <http-service>
29
+ <access-log rotation-interval-in-minutes="15" rotation-suffix="yyyy-MM-dd" />
30
+ <virtual-server id="server" network-listeners="http-listener-1,http-listener-2"></virtual-server>
31
+ <virtual-server id="__asadmin" network-listeners="admin-listener"></virtual-server>
32
+ <property value="false" name="accessLoggingEnabled" />
33
+ </http-service>
34
+ <iiop-service>
35
+ <orb use-thread-pool-ids="thread-pool-1" />
36
+ <iiop-listener address="0.0.0.0" port="%%%ORB_LISTENER_PORT%%%" id="orb-listener-1" />
37
+ <iiop-listener security-enabled="true" address="0.0.0.0" port="%%%ORB_SSL_PORT%%%" id="SSL">
38
+ <ssl cert-nickname="s1as" />
39
+ </iiop-listener>
40
+ <iiop-listener security-enabled="true" address="0.0.0.0" port="%%%ORB_MUTUALAUTH_PORT%%%" id="SSL_MUTUALAUTH">
41
+ <ssl cert-nickname="s1as" client-auth-enabled="true" />
42
+ </iiop-listener>
43
+ </iiop-service>
44
+ <admin-service type="das-and-server" system-jmx-connector-name="system">
45
+ <jmx-connector auth-realm-name="admin-realm" security-enabled="false" address="0.0.0.0" port="%%%JMX_SYSTEM_CONNECTOR_PORT%%%" name="system" />
46
+ <das-config autodeploy-enabled="true" dynamic-reload-enabled="true" deploy-xml-validation="full" autodeploy-dir="${com.sun.aas.instanceRoot}/autodeploy" />
47
+ <property value="/admin" name="adminConsoleContextRoot" />
48
+ <property value="${com.sun.aas.installRoot}/lib/install/applications/admingui.war" name="adminConsoleDownloadLocation" />
49
+ <property value="${com.sun.aas.installRoot}/.." name="ipsRoot" />
50
+ </admin-service>
51
+ <web-container>
52
+ <session-config>
53
+ <session-manager>
54
+ <manager-properties />
55
+ <store-properties />
56
+ </session-manager>
57
+ <session-properties />
58
+ </session-config>
59
+ </web-container>
60
+ <ejb-container steady-pool-size="0" max-pool-size="32" session-store="${com.sun.aas.instanceRoot}/session-store" pool-resize-quantity="8">
61
+ <ejb-timer-service />
62
+ </ejb-container>
63
+ <mdb-container steady-pool-size="0" max-pool-size="32" pool-resize-quantity="8" >
64
+ </mdb-container>
65
+ <jms-service type="EMBEDDED" default-jms-host="default_JMS_host">
66
+ <jms-host name="default_JMS_host" host="localhost" port="%%%JMS_PROVIDER_PORT%%%" admin-user-name="%%%JMS_PROVIDER_USERID%%%" admin-password="%%%JMS_PROVIDER_PASSWORD%%%"/>
67
+ </jms-service>
68
+ <log-service file="${com.sun.aas.instanceRoot}/logs/server.log" log-rotation-limit-in-bytes="2000000">
69
+ <module-log-levels />
70
+ </log-service>
71
+ <security-service>
72
+ <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="admin-realm">
73
+ <property value="${com.sun.aas.instanceRoot}/config/admin-keyfile" name="file" />
74
+ <property value="fileRealm" name="jaas-context" />
75
+ </auth-realm>
76
+ <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="file">
77
+ <property value="${com.sun.aas.instanceRoot}/config/keyfile" name="file" />
78
+ <property value="fileRealm" name="jaas-context" />
79
+ </auth-realm>
80
+ <auth-realm classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm" name="certificate" />
81
+ <jacc-provider policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl" policy-provider="com.sun.enterprise.security.provider.PolicyWrapper" name="default">
82
+ <property value="${com.sun.aas.instanceRoot}/generated/policy" name="repository" />
83
+ </jacc-provider>
84
+ <jacc-provider policy-configuration-factory-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyConfigurationFactory" policy-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyProvider" name="simple" />
85
+ <audit-module classname="com.sun.enterprise.security.Audit" name="default">
86
+ <property value="false" name="auditOn" />
87
+ </audit-module>
88
+ <message-security-config auth-layer="SOAP">
89
+ <provider-config provider-id="XWS_ClientProvider" class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-type="client">
90
+ <request-policy auth-source="content" />
91
+ <response-policy auth-source="content" />
92
+ <property value="s1as" name="encryption.key.alias" />
93
+ <property value="s1as" name="signature.key.alias" />
94
+ <property value="false" name="dynamic.username.password" />
95
+ <property value="false" name="debug" />
96
+ </provider-config>
97
+ <provider-config provider-id="ClientProvider" class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-type="client">
98
+ <request-policy auth-source="content" />
99
+ <response-policy auth-source="content" />
100
+ <property value="s1as" name="encryption.key.alias" />
101
+ <property value="s1as" name="signature.key.alias" />
102
+ <property value="false" name="dynamic.username.password" />
103
+ <property value="false" name="debug" />
104
+ <property value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml" name="security.config" />
105
+ </provider-config>
106
+ <provider-config provider-id="XWS_ServerProvider" class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-type="server">
107
+ <request-policy auth-source="content" />
108
+ <response-policy auth-source="content" />
109
+ <property value="s1as" name="encryption.key.alias" />
110
+ <property value="s1as" name="signature.key.alias" />
111
+ <property value="false" name="debug" />
112
+ </provider-config>
113
+ <provider-config provider-id="ServerProvider" class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-type="server">
114
+ <request-policy auth-source="content" />
115
+ <response-policy auth-source="content" />
116
+ <property value="s1as" name="encryption.key.alias" />
117
+ <property value="s1as" name="signature.key.alias" />
118
+ <property value="false" name="debug" />
119
+ <property value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml" name="security.config" />
120
+ </provider-config>
121
+ </message-security-config>
122
+ </security-service>
123
+ <transaction-service tx-log-dir="${com.sun.aas.instanceRoot}/logs" >
124
+ </transaction-service>
125
+ <monitoring-service>
126
+ <module-monitoring-levels />
127
+ </monitoring-service>
128
+ <java-config classpath-suffix="" system-classpath="" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009">
129
+ <jvm-options>-XX:MaxPermSize=192m</jvm-options>
130
+ <jvm-options>-client</jvm-options>
131
+ <jvm-options>-XX:+UnlockDiagnosticVMOptions</jvm-options>
132
+ <jvm-options>-XX:+LogVMOutput</jvm-options>
133
+ <jvm-options>-XX:LogFile=${com.sun.aas.instanceRoot}/logs/jvm.log</jvm-options>
134
+ <jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
135
+ <jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
136
+ <jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
137
+ <jvm-options>-Xmx512m</jvm-options>
138
+ <jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
139
+ <jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
140
+ <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>
141
+ <jvm-options>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options>
142
+ <jvm-options>-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory</jvm-options>
143
+ <jvm-options>-XX:NewRatio=2</jvm-options>
144
+ </java-config>
145
+ <network-config>
146
+ <protocols>
147
+ <protocol name="http-listener-1">
148
+ <http default-virtual-server="server" max-connections="250" server-name="">
149
+ <file-cache enabled="false"></file-cache>
150
+ </http>
151
+ </protocol>
152
+ <protocol security-enabled="true" name="http-listener-2">
153
+ <http default-virtual-server="server" max-connections="250" server-name="">
154
+ <file-cache enabled="false"></file-cache>
155
+ </http>
156
+ <ssl ssl3-enabled="false" cert-nickname="s1as"></ssl>
157
+ </protocol>
158
+ <protocol name="admin-listener">
159
+ <http default-virtual-server="__asadmin" max-connections="250" server-name="">
160
+ <file-cache enabled="false"></file-cache>
161
+ </http>
162
+ </protocol>
163
+ </protocols>
164
+ <network-listeners>
165
+ <network-listener port="%%%HTTP_PORT%%%" protocol="http-listener-1" transport="tcp" name="http-listener-1" thread-pool="http-thread-pool"></network-listener>
166
+ <network-listener port="%%%HTTP_SSL_PORT%%%" enabled="false" protocol="http-listener-2" transport="tcp" name="http-listener-2" thread-pool="http-thread-pool"></network-listener>
167
+ <network-listener port="%%%ADMIN_PORT%%%" protocol="admin-listener" transport="tcp" name="admin-listener" thread-pool="http-thread-pool"></network-listener>
168
+ </network-listeners>
169
+ <transports>
170
+ <transport name="tcp"></transport>
171
+ </transports>
172
+ </network-config>
173
+ <thread-pools>
174
+ <thread-pool name="http-thread-pool" max-queue-size="4096"></thread-pool>
175
+ <thread-pool name="thread-pool-1" max-thread-pool-size="200"/>
176
+ </thread-pools>
177
+ </config>
178
+ </configs>
179
+ <property name="administrative.domain.name" value="%%%DOMAIN_NAME%%%"/>
180
+ </domain>