glassfish 0.9.2-universal-java → 0.9.3-universal-java
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/gfrake +67 -0
- data/bin/glassfish +54 -39
- data/bin/glassfish_rails +54 -39
- data/domains/domain1/config/domain.xml +1 -1
- data/domains/domain1/config/glassfish_gem_version.yml +7 -0
- data/domains/domain1/config/logging.properties +2 -2
- data/generators/gfrake/templates/glassfish.yml +97 -0
- data/{modules → lib}/asadmin.rb +0 -0
- data/lib/command_line_parser.rb +226 -0
- data/lib/config.rb +198 -0
- data/{modules/glassfish.rb → lib/gfraker.rb} +4 -21
- data/lib/glassfish.rb +78 -0
- data/{modules → lib}/rdoc_usage.rb +0 -0
- data/lib/templates/domain.xml +1 -1
- data/{modules → lib}/version.rb +2 -3
- data/modules/admin-cli.jar +0 -0
- data/modules/akuma.jar +0 -0
- data/modules/api-exporter.jar +0 -0
- data/modules/asm-all-repackaged.jar +0 -0
- data/modules/auto-depends.jar +0 -0
- data/modules/branding.jar +0 -0
- data/modules/cli-framework.jar +0 -0
- data/modules/common-util.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.jar +0 -0
- data/modules/glassfish-api.jar +0 -0
- data/modules/glassfish-gem.jar +0 -0
- data/modules/glassfish.jar +0 -0
- data/modules/grizzly-framework.jar +0 -0
- data/modules/grizzly-http.jar +0 -0
- data/modules/grizzly-jruby-module.jar +0 -0
- data/modules/grizzly-jruby.jar +0 -0
- data/modules/grizzly-portunif.jar +0 -0
- data/modules/grizzly-rcm.jar +0 -0
- data/modules/grizzly-utils.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/kernel.jar +0 -0
- data/modules/launcher.jar +0 -0
- data/modules/tiger-types-osgi.jar +0 -0
- metadata +115 -110
- data/bin/gfadmin +0 -5
- data/lib/jndi-properties.jar +0 -0
- data/lib/package-appclient.xml +0 -185
- data/lib/processLauncher.properties +0 -25
- data/lib/processLauncher.xml +0 -189
- data/modules/command_line_parser.rb +0 -94
data/lib/config.rb
ADDED
@@ -0,0 +1,198 @@
|
|
1
|
+
#--
|
2
|
+
#DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
3
|
+
#
|
4
|
+
#Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
|
5
|
+
#
|
6
|
+
#The contents of this file are subject to the terms of either the GNU
|
7
|
+
#General Public License Version 2 only ("GPL") or the Common Development
|
8
|
+
#and Distribution License("CDDL") (collectively, the "License"). You
|
9
|
+
#may not use this file except in compliance with the License. You can obtain
|
10
|
+
#a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
|
11
|
+
#or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
|
12
|
+
#language governing permissions and limitations under the License.
|
13
|
+
#
|
14
|
+
#When distributing the software, include this License Header Notice in each
|
15
|
+
#file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
|
16
|
+
#Sun designates this particular file as subject to the "Classpath" exception
|
17
|
+
#as provided by Sun in the GPL Version 2 section of the License file that
|
18
|
+
#accompanied this code. If applicable, add the following below the License
|
19
|
+
#Header, with the fields enclosed by brackets [] replaced by your own
|
20
|
+
#identifying information: "Portions Copyrighted [year]
|
21
|
+
#[name of copyright owner]"
|
22
|
+
#
|
23
|
+
#Contributor(s):
|
24
|
+
#
|
25
|
+
#If you wish your version of this file to be governed by only the CDDL or
|
26
|
+
#only the GPL Version 2, indicate your decision by adding "[Contributor]
|
27
|
+
#elects to include this software in this distribution under the [CDDL or GPL
|
28
|
+
#Version 2] license." If you don't indicate a single choice of license, a
|
29
|
+
#recipient has the option to distribute your version of this file under
|
30
|
+
#either the CDDL, the GPL Version 2 or to extend the choice of license to
|
31
|
+
#its licensees as provided above. However, if you add GPL Version 2 code
|
32
|
+
#and therefore, elected the GPL Version 2 license, then the option applies
|
33
|
+
#only if the new code is made subject to such option by the copyright
|
34
|
+
#holder.
|
35
|
+
#++
|
36
|
+
|
37
|
+
require 'java'
|
38
|
+
require 'yaml'
|
39
|
+
require 'ftools'
|
40
|
+
require 'socket'
|
41
|
+
|
42
|
+
module GlassFish
|
43
|
+
class Config
|
44
|
+
LOG_LEVELS = (0..7)
|
45
|
+
PID_FILE = Dir.pwd+File::SEPARATOR+"tmp"+File::SEPARATOR+"pids"+File::SEPARATOR+"glassfish"
|
46
|
+
DEFAULT_JVM_OPTS = "-server -Xmx512m -XX:MaxPermSize=192m -XX:NewRatio=2 -XX:+DisableExplicitGC -Dhk2.file.directory.changeIntervalTimer=6000";
|
47
|
+
|
48
|
+
# Validates the configuration options. If it can will revert to default else
|
49
|
+
# fail
|
50
|
+
def validate config
|
51
|
+
# http configuration
|
52
|
+
# port
|
53
|
+
begin
|
54
|
+
server = TCPServer.new '0.0.0.0', config[:port]
|
55
|
+
rescue
|
56
|
+
STDERR.puts "0.0.0.0:#{config[:port]}: " + $!
|
57
|
+
#TODO: we should give an option of ephemeral port support
|
58
|
+
exit(1)
|
59
|
+
end
|
60
|
+
server.close
|
61
|
+
|
62
|
+
# daemon
|
63
|
+
if(config[:daemon])
|
64
|
+
os = java.lang.System.getProperty("os.name").downcase
|
65
|
+
version = java.lang.System.getProperty("os.version")
|
66
|
+
#check the platform, Currently daemon mode works only on linux and
|
67
|
+
#solaris
|
68
|
+
if(!os.include?("linux") and !os.include?("sunos"))
|
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
|
+
end
|
71
|
+
|
72
|
+
if(config[:jvm_options].nil?)
|
73
|
+
config[:jvm_options] = DEFAULT_JVM_OPTS
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
# log_level
|
78
|
+
if not (0..7).include?(config[:log_level])
|
79
|
+
STDERR.puts "Invalid log level #{config[:log_level]}. Chose a number between 0 to 7."
|
80
|
+
Config.fail "\t0 OFF\n\t1 SEVERE \n\t2 WARNING\n\t3 INFO(default)\n\t4 FINE\n\t5 FINER\n\t6 FINEST\n\t7 ALL\n"
|
81
|
+
end
|
82
|
+
|
83
|
+
# JRuby runtime
|
84
|
+
runtimes_err = " Invalid runtime configuration, initial:#{config[:runtimes]}, min:#{config[:runtimes_min]}, max:#{config[:runtimes_max]}."
|
85
|
+
err = false
|
86
|
+
if(config[:runtimes] < 1 || config[:runtimes] > config[:runtimes_max] || config[:runtimes] < config[:runtimes_min])
|
87
|
+
err = true;
|
88
|
+
runtimes_err += "\n\tinitial runtime must be > 0, <= runtimes-max and >= runtimes-min."
|
89
|
+
end
|
90
|
+
if(config[:runtimes_min] < 1 || config[:runtimes_min] > config[:runtimes] || config[:runtimes_min] > config[:runtimes_max])
|
91
|
+
err = true;
|
92
|
+
runtimes_err += "\n\truntimes-min must be > 0, <=runtimes-max and <= initial_runtmes"
|
93
|
+
end
|
94
|
+
if(config[:runtimes_max] < 1 || config[:runtimes_max] < config[:runtimes_min] || config[:runtimes_max] < config[:runtimes])
|
95
|
+
err=true
|
96
|
+
runtimes_err += "\n\truntimes-max must be > 0, >=runtimes-min and >= initial_runtmes"
|
97
|
+
end
|
98
|
+
if(err)
|
99
|
+
Config.fail runtimes_err
|
100
|
+
end
|
101
|
+
|
102
|
+
|
103
|
+
# contextroot
|
104
|
+
# There is not much to validate here. For now we leave it as it is
|
105
|
+
|
106
|
+
# log configuration
|
107
|
+
|
108
|
+
|
109
|
+
# log-file
|
110
|
+
if(config[:log] == nil)
|
111
|
+
config[:log] = File.join(config[:app_dir], "log", config[:environment]+".log")
|
112
|
+
end
|
113
|
+
|
114
|
+
if not File.exists?(config[:log])
|
115
|
+
puts "Log file #{config[:log]} does not exist. Creating a new one..."
|
116
|
+
parent = File.dirname(config[:log])
|
117
|
+
if(!File.exists?parent)
|
118
|
+
FileUtils.mkdir_p parent
|
119
|
+
end
|
120
|
+
file = File.new(config[:log], "w")
|
121
|
+
file.close
|
122
|
+
end
|
123
|
+
|
124
|
+
|
125
|
+
# pid file validation is done latter on
|
126
|
+
|
127
|
+
#TODO: validate JVM options?
|
128
|
+
|
129
|
+
# By this time we know all is good. Now lets create the domain directory
|
130
|
+
domaindir = File.join(config[:app_dir], "tmp", ".glassfish")
|
131
|
+
config[:domain_dir] = File.expand_path(domaindir)
|
132
|
+
|
133
|
+
if !setup_temp_domain?File.join(domaindir, "config")
|
134
|
+
puts "ERROR: Failed to create GlassFish domain directory: #{domaindir}"
|
135
|
+
exit -1
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
def self.fail(message)
|
140
|
+
STDERR.puts "ERROR: #{message}"
|
141
|
+
STDERR.puts "Type 'glassfish -h' to get help"
|
142
|
+
Kernel.exit -1
|
143
|
+
end
|
144
|
+
|
145
|
+
|
146
|
+
private
|
147
|
+
|
148
|
+
#
|
149
|
+
#Create a domain directory and copy the domain.xml and logging.properties
|
150
|
+
#there. This will take care of infamous bug that causes people to run
|
151
|
+
# glassfish gem as sudo if jruby is installed as root
|
152
|
+
#
|
153
|
+
def setup_temp_domain? config_dir
|
154
|
+
if !File.exist? config_dir
|
155
|
+
FileUtils.mkdir_p config_dir
|
156
|
+
end
|
157
|
+
if !same_version?config_dir
|
158
|
+
return check_domain_dir? config_dir
|
159
|
+
end
|
160
|
+
true
|
161
|
+
end
|
162
|
+
|
163
|
+
def check_domain_dir?(config_dir)
|
164
|
+
if !File.writable_real?config_dir
|
165
|
+
return false
|
166
|
+
end
|
167
|
+
src = File.dirname(__FILE__)+File::SEPARATOR+".."+File::SEPARATOR+"domains"+File::SEPARATOR+"domain1"+File::SEPARATOR+"config"
|
168
|
+
File.cp(File.join(src,"domain.xml"), config_dir)
|
169
|
+
File.cp(File.join(src,"logging.properties"), config_dir)
|
170
|
+
end
|
171
|
+
|
172
|
+
#
|
173
|
+
#Returns true if there is glasfish_gem_version.yml file and has the same
|
174
|
+
#version as the glassfish gem. Otherwise creates a new file and returns
|
175
|
+
#false so that rest of the stuff can be created
|
176
|
+
#
|
177
|
+
def same_version?(config_dir)
|
178
|
+
f = File.join(config_dir, 'glassfish_gem_version.yml')
|
179
|
+
if !File.exist? f
|
180
|
+
src = File.join(File.dirname(__FILE__), "..", "domains", "domain1", "config", "glassfish_gem_version.yml")
|
181
|
+
File.cp src, config_dir
|
182
|
+
return false
|
183
|
+
end
|
184
|
+
file = File.open(f)
|
185
|
+
data = YAML::load(file)
|
186
|
+
|
187
|
+
#this is probably corrupted, return false so that a new one can be placed
|
188
|
+
if not data.key?'glassfish'
|
189
|
+
return false;
|
190
|
+
end
|
191
|
+
version = data['glassfish'].fetch('version', nil)
|
192
|
+
if(version.nil?)
|
193
|
+
return false
|
194
|
+
end
|
195
|
+
version.eql?GlassFish::VERSION
|
196
|
+
end
|
197
|
+
end
|
198
|
+
end
|
@@ -33,26 +33,9 @@
|
|
33
33
|
#only if the new code is made subject to such option by the copyright
|
34
34
|
#holder.
|
35
35
|
#++
|
36
|
-
|
37
|
-
require 'glassfish.jar'
|
38
|
-
|
39
|
-
#
|
40
|
-
#Invokes and runs GlassFish
|
41
|
-
#
|
42
36
|
module GlassFish
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
#set jruby runtime property
|
47
|
-
java.lang.System.setProperty("jruby.runtime", args[:runtimes].to_s)
|
48
|
-
java.lang.System.setProperty("jruby.runtime.min", args[:runtimes_min].to_s)
|
49
|
-
java.lang.System.setProperty("jruby.runtime.max", args[:runtimes_max].to_s)
|
50
|
-
java.lang.System.setProperty("rails.env", args[:environment])
|
51
|
-
java.lang.System.setProperty("jruby.gem.port", args[:port].to_s)
|
52
|
-
java.lang.System.setProperty("GlassFish_Platform", "Static")
|
53
|
-
#java.lang.System.setProperty("glassfish.static.cache.dir", args[:app_dir]+"/tmp")
|
54
|
-
|
55
|
-
ASMain.main([args[:app_dir], "--contextroot", args[:contextroot]].to_java(:string))
|
56
|
-
end
|
37
|
+
HOME = File.expand_path(File.dirname(__FILE__) + '/..') unless defined?(GLASSFISH_HOME)
|
38
|
+
class Config
|
39
|
+
FILE = "config/glassfish.yml"
|
57
40
|
end
|
58
|
-
end
|
41
|
+
end
|
data/lib/glassfish.rb
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
#--
|
2
|
+
#DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
3
|
+
#
|
4
|
+
#Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
|
5
|
+
#
|
6
|
+
#The contents of this file are subject to the terms of either the GNU
|
7
|
+
#General Public License Version 2 only ("GPL") or the Common Development
|
8
|
+
#and Distribution License("CDDL") (collectively, the "License"). You
|
9
|
+
#may not use this file except in compliance with the License. You can obtain
|
10
|
+
#a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
|
11
|
+
#or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
|
12
|
+
#language governing permissions and limitations under the License.
|
13
|
+
#
|
14
|
+
#When distributing the software, include this License Header Notice in each
|
15
|
+
#file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
|
16
|
+
#Sun designates this particular file as subject to the "Classpath" exception
|
17
|
+
#as provided by Sun in the GPL Version 2 section of the License file that
|
18
|
+
#accompanied this code. If applicable, add the following below the License
|
19
|
+
#Header, with the fields enclosed by brackets [] replaced by your own
|
20
|
+
#identifying information: "Portions Copyrighted [year]
|
21
|
+
#[name of copyright owner]"
|
22
|
+
#
|
23
|
+
#Contributor(s):
|
24
|
+
#
|
25
|
+
#If you wish your version of this file to be governed by only the CDDL or
|
26
|
+
#only the GPL Version 2, indicate your decision by adding "[Contributor]
|
27
|
+
#elects to include this software in this distribution under the [CDDL or GPL
|
28
|
+
#Version 2] license." If you don't indicate a single choice of license, a
|
29
|
+
#recipient has the option to distribute your version of this file under
|
30
|
+
#either the CDDL, the GPL Version 2 or to extend the choice of license to
|
31
|
+
#its licensees as provided above. However, if you add GPL Version 2 code
|
32
|
+
#and therefore, elected the GPL Version 2 license, then the option applies
|
33
|
+
#only if the new code is made subject to such option by the copyright
|
34
|
+
#holder.
|
35
|
+
#++
|
36
|
+
require 'java'
|
37
|
+
require 'glassfish-gem.jar'
|
38
|
+
require 'glassfish.jar'
|
39
|
+
require 'akuma.jar'
|
40
|
+
require 'yaml'
|
41
|
+
require 'ftools'
|
42
|
+
require 'version'
|
43
|
+
|
44
|
+
|
45
|
+
#
|
46
|
+
#Invokes and runs GlassFish
|
47
|
+
#
|
48
|
+
module GlassFish
|
49
|
+
class Server
|
50
|
+
import "org.glassfish.scripting.gem.GlassFishMain"
|
51
|
+
import "org.glassfish.scripting.gem.Options"
|
52
|
+
|
53
|
+
def startup(args)
|
54
|
+
if args[:log_level] > 4
|
55
|
+
puts "Arguments: "
|
56
|
+
args.each do |k, v|
|
57
|
+
puts "\t#{k}=>#{v}"
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
opts = Options.new()
|
62
|
+
opts.runtimes = args[:runtimes]
|
63
|
+
opts.runtimes_min = args[:runtimes_min]
|
64
|
+
opts.runtimes_max = args[:runtimes_max]
|
65
|
+
opts.environment = args[:environment]
|
66
|
+
opts.port = args[:port]
|
67
|
+
opts.contextRoot = args[:contextroot]
|
68
|
+
opts.appDir = args[:app_dir]
|
69
|
+
opts.daemon = args[:daemon]
|
70
|
+
opts.pid = args[:pid]
|
71
|
+
opts.log = args[:log]
|
72
|
+
opts.domainDir = args[:domain_dir]
|
73
|
+
opts.log_level = args[:log_level]
|
74
|
+
opts.jvm_opts = args[:jvm_options]
|
75
|
+
gf = GlassFishMain.start opts
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
File without changes
|
data/lib/templates/domain.xml
CHANGED
@@ -65,7 +65,7 @@
|
|
65
65
|
<jmx-connector auth-realm-name="admin-realm" security-enabled="false" address="0.0.0.0" port="%%%JMX_SYSTEM_CONNECTOR_PORT%%%" name="system" />
|
66
66
|
<das-config autodeploy-enabled="true" dynamic-reload-enabled="true" deploy-xml-validation="full" autodeploy-dir="${com.sun.aas.instanceRoot}/autodeploy" />
|
67
67
|
<property value="/admin" name="adminConsoleContextRoot" />
|
68
|
-
<property value="
|
68
|
+
<property value="${com.sun.aas.installRoot}/lib/install/applications/admingui.war" name="adminConsoleDownloadLocation" />
|
69
69
|
<property value="${com.sun.aas.installRoot}/.." name="ipsRoot" />
|
70
70
|
</admin-service>
|
71
71
|
<web-container>
|
data/{modules → lib}/version.rb
RENAMED
data/modules/admin-cli.jar
CHANGED
Binary file
|
data/modules/akuma.jar
ADDED
Binary file
|
data/modules/api-exporter.jar
CHANGED
Binary file
|
Binary file
|
data/modules/auto-depends.jar
CHANGED
Binary file
|
data/modules/branding.jar
CHANGED
Binary file
|
data/modules/cli-framework.jar
CHANGED
Binary file
|
data/modules/common-util.jar
CHANGED
Binary file
|
data/modules/config-api.jar
CHANGED
Binary file
|
data/modules/config.jar
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/modules/glassfish-api.jar
CHANGED
Binary file
|
Binary file
|
data/modules/glassfish.jar
CHANGED
Binary file
|
Binary file
|
data/modules/grizzly-http.jar
CHANGED
Binary file
|
Binary file
|
data/modules/grizzly-jruby.jar
CHANGED
Binary file
|
Binary file
|
data/modules/grizzly-rcm.jar
CHANGED
Binary file
|
data/modules/grizzly-utils.jar
CHANGED
Binary file
|
data/modules/hk2-core.jar
CHANGED
Binary file
|
data/modules/hk2.jar
CHANGED
Binary file
|
data/modules/internal-api.jar
CHANGED
Binary file
|
data/modules/kernel.jar
CHANGED
Binary file
|
data/modules/launcher.jar
CHANGED
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,60 +1,72 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
|
2
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
3
|
+
requirements:
|
4
|
+
- - '>='
|
5
|
+
- !ruby/object:Gem::Version
|
6
|
+
version: "0"
|
7
|
+
version:
|
8
|
+
email: vivek.pandey@sun.com, jerome.dochez@sun.com
|
9
|
+
cert_chain: []
|
10
|
+
|
11
|
+
summary: GlassFish V3 Application Server for JRuby
|
12
|
+
post_install_message:
|
13
|
+
extra_rdoc_files:
|
14
|
+
- LICENSE.txt
|
15
|
+
- COPYRIGHT
|
16
|
+
homepage: http://glassfishgem.rubyforge.org/
|
17
|
+
signing_key:
|
18
|
+
name: glassfish
|
19
|
+
rdoc_options: []
|
3
20
|
|
4
|
-
|
21
|
+
autorequire:
|
22
|
+
rubyforge_project: glassfishgem
|
5
23
|
executables:
|
6
24
|
- glassfish
|
7
25
|
- glassfish_rails
|
8
|
-
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
26
|
+
- gfrake
|
27
|
+
description: GlassFish gem is an embedded GlassFish V3 application server which would
|
28
|
+
help run your Ruby on Rails application
|
29
|
+
specification_version: 2
|
30
|
+
default_executable: glassfish
|
13
31
|
files:
|
14
|
-
- bin/
|
32
|
+
- bin/gfrake
|
15
33
|
- bin/glassfish
|
16
34
|
- bin/glassfish_rails
|
17
|
-
- lib/templates
|
18
|
-
- lib/registration
|
19
|
-
- lib/processLauncher.xml
|
20
|
-
- lib/processLauncher.properties
|
21
|
-
- lib/package-appclient.xml
|
22
|
-
- lib/jndi-properties.jar
|
23
35
|
- lib/appclient
|
24
|
-
- lib/
|
25
|
-
- lib/
|
26
|
-
- lib/
|
27
|
-
- lib/
|
28
|
-
- lib/
|
29
|
-
- lib/
|
30
|
-
- lib/
|
31
|
-
- lib/templates
|
32
|
-
- lib/
|
33
|
-
- lib/templates/cacerts.jks
|
34
|
-
- lib/registration/servicetag-registry.xml
|
35
|
-
- lib/appclient/wss-client-config-2.0.xml
|
36
|
-
- lib/appclient/wss-client-config-1.0.xml
|
37
|
-
- lib/appclient/client.policy
|
36
|
+
- lib/asadmin.rb
|
37
|
+
- lib/command_line_parser.rb
|
38
|
+
- lib/config.rb
|
39
|
+
- lib/gfraker.rb
|
40
|
+
- lib/glassfish.rb
|
41
|
+
- lib/rdoc_usage.rb
|
42
|
+
- lib/registration
|
43
|
+
- lib/templates
|
44
|
+
- lib/version.rb
|
38
45
|
- lib/appclient/appclientlogin.conf
|
39
|
-
-
|
40
|
-
-
|
41
|
-
-
|
42
|
-
-
|
43
|
-
-
|
44
|
-
-
|
45
|
-
-
|
46
|
-
-
|
47
|
-
-
|
48
|
-
-
|
49
|
-
-
|
50
|
-
-
|
51
|
-
-
|
52
|
-
-
|
53
|
-
-
|
54
|
-
-
|
55
|
-
-
|
56
|
-
- modules/api-exporter.jar
|
46
|
+
- lib/appclient/client.policy
|
47
|
+
- lib/appclient/wss-client-config-1.0.xml
|
48
|
+
- lib/appclient/wss-client-config-2.0.xml
|
49
|
+
- lib/registration/servicetag-registry.xml
|
50
|
+
- lib/templates/cacerts.jks
|
51
|
+
- lib/templates/default-web.xml
|
52
|
+
- lib/templates/domain.xml
|
53
|
+
- lib/templates/domain.xml.xsl
|
54
|
+
- lib/templates/keyfile
|
55
|
+
- lib/templates/keystore.jks
|
56
|
+
- lib/templates/logging.properties
|
57
|
+
- lib/templates/login.conf
|
58
|
+
- lib/templates/profile.properties
|
59
|
+
- lib/templates/server.policy
|
60
|
+
- generators/gfrake
|
61
|
+
- generators/gfrake/templates
|
62
|
+
- generators/gfrake/templates/glassfish.yml
|
57
63
|
- modules/admin-cli.jar
|
64
|
+
- modules/akuma.jar
|
65
|
+
- modules/api-exporter.jar
|
66
|
+
- modules/asm-all-repackaged.jar
|
67
|
+
- modules/auto-depends.jar
|
68
|
+
- modules/branding.jar
|
69
|
+
- modules/cli-framework.jar
|
58
70
|
- modules/common-util.jar
|
59
71
|
- modules/config-api.jar
|
60
72
|
- modules/config.jar
|
@@ -63,103 +75,96 @@ files:
|
|
63
75
|
- modules/deployment-common.jar
|
64
76
|
- modules/flashlight-agent.jar
|
65
77
|
- modules/flashlight-framework.jar
|
66
|
-
- modules/glassfish-api.jar
|
67
|
-
- modules/grizzly-jruby.jar
|
68
78
|
- modules/gf-jruby-connector.jar
|
79
|
+
- modules/glassfish-api.jar
|
80
|
+
- modules/glassfish-gem.jar
|
81
|
+
- modules/glassfish.jar
|
82
|
+
- modules/grizzly-framework.jar
|
83
|
+
- modules/grizzly-http.jar
|
69
84
|
- modules/grizzly-jruby-module.jar
|
70
|
-
- modules/
|
71
|
-
- modules/
|
72
|
-
- modules/
|
73
|
-
- modules/
|
74
|
-
- modules/
|
85
|
+
- modules/grizzly-jruby.jar
|
86
|
+
- modules/grizzly-portunif.jar
|
87
|
+
- modules/grizzly-rcm.jar
|
88
|
+
- modules/grizzly-utils.jar
|
89
|
+
- modules/hk2-core.jar
|
90
|
+
- modules/hk2.jar
|
91
|
+
- modules/internal-api.jar
|
92
|
+
- modules/kernel.jar
|
93
|
+
- modules/launcher.jar
|
94
|
+
- modules/pkg-client.jar
|
95
|
+
- modules/tiger-types-osgi.jar
|
75
96
|
- config/asadminenv.conf
|
76
97
|
- config/asenv.bat
|
77
98
|
- config/asenv.conf
|
78
99
|
- config/glassfish.container
|
79
100
|
- domains/domain1
|
80
|
-
- domains/domain1/master-password
|
81
|
-
- domains/domain1/docroot
|
82
|
-
- domains/domain1/config
|
83
101
|
- domains/domain1/applications
|
102
|
+
- domains/domain1/config
|
103
|
+
- domains/domain1/docroot
|
84
104
|
- domains/domain1/generated
|
85
105
|
- domains/domain1/logs
|
106
|
+
- domains/domain1/master-password
|
86
107
|
- domains/domain1/session-store
|
87
|
-
- domains/domain1/
|
88
|
-
- domains/domain1/
|
89
|
-
- domains/domain1/
|
90
|
-
- domains/domain1/
|
91
|
-
- domains/domain1/config/sun-acc.xml
|
92
|
-
- domains/domain1/config/server.policy
|
93
|
-
- domains/domain1/config/login.conf
|
94
|
-
- domains/domain1/config/logging.properties
|
95
|
-
- domains/domain1/config/keystore.jks
|
96
|
-
- domains/domain1/config/keyfile
|
97
|
-
- domains/domain1/config/domain.xml
|
98
|
-
- domains/domain1/config/domain-passwords
|
99
|
-
- domains/domain1/config/default-web.xml
|
100
|
-
- domains/domain1/config/cacerts.jks
|
108
|
+
- domains/domain1/applications/j2ee-apps
|
109
|
+
- domains/domain1/applications/j2ee-modules
|
110
|
+
- domains/domain1/applications/lifecycle-modules
|
111
|
+
- domains/domain1/applications/mbeans
|
101
112
|
- domains/domain1/config/admin-keyfile
|
113
|
+
- domains/domain1/config/cacerts.jks
|
102
114
|
- domains/domain1/config/default-config
|
115
|
+
- domains/domain1/config/default-web.xml
|
116
|
+
- domains/domain1/config/domain-passwords
|
117
|
+
- domains/domain1/config/domain.xml
|
118
|
+
- domains/domain1/config/glassfish_gem_version.yml
|
119
|
+
- domains/domain1/config/keyfile
|
120
|
+
- domains/domain1/config/keystore.jks
|
121
|
+
- domains/domain1/config/logging.properties
|
122
|
+
- domains/domain1/config/login.conf
|
123
|
+
- domains/domain1/config/server.policy
|
124
|
+
- domains/domain1/config/sun-acc.xml
|
125
|
+
- domains/domain1/config/wss-server-config-1.0.xml
|
126
|
+
- domains/domain1/config/wss-server-config-2.0.xml
|
103
127
|
- domains/domain1/config/default-config/docroot
|
104
128
|
- domains/domain1/config/default-config/lib
|
105
129
|
- domains/domain1/config/default-config/lib/ext
|
106
|
-
- domains/domain1/
|
107
|
-
- domains/domain1/
|
108
|
-
- domains/domain1/applications/lifecycle-modules
|
109
|
-
- domains/domain1/applications/mbeans
|
130
|
+
- domains/domain1/docroot/favicon.gif
|
131
|
+
- domains/domain1/docroot/index.html
|
110
132
|
- domains/domain1/generated/ejb
|
111
133
|
- domains/domain1/generated/jsp
|
112
134
|
- domains/domain1/generated/xml
|
113
135
|
- LICENSE.txt
|
114
136
|
- COPYRIGHT
|
115
|
-
rubygems_version: 1.0.1
|
116
|
-
rdoc_options: []
|
117
|
-
|
118
|
-
signing_key:
|
119
|
-
cert_chain: []
|
120
|
-
|
121
|
-
name: glassfish
|
122
|
-
has_rdoc: true
|
123
|
-
platform: universal-java
|
124
|
-
summary: GlassFish V3 Application Server for JRuby
|
125
|
-
default_executable: glassfish
|
126
|
-
bindir: bin
|
127
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
|
-
version:
|
129
138
|
requirements:
|
130
139
|
- - '>='
|
131
140
|
- !ruby/object:Gem::Version
|
132
141
|
version: "0"
|
133
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
134
142
|
version:
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
143
|
+
extensions: []
|
144
|
+
|
145
|
+
rubygems_version: 1.2.0
|
146
|
+
requirements: []
|
147
|
+
|
148
|
+
authors:
|
149
|
+
- Vivek Pandey, Jerome Dochez
|
150
|
+
date: 2009-03-15 07:00:00 +00:00
|
151
|
+
platform: universal-java
|
142
152
|
test_files: []
|
143
153
|
|
154
|
+
version: !ruby/object:Gem::Version
|
155
|
+
version: 0.9.3
|
156
|
+
require_paths:
|
157
|
+
- lib
|
144
158
|
dependencies:
|
145
159
|
- !ruby/object:Gem::Dependency
|
146
|
-
name: rack
|
147
|
-
version_requirement:
|
148
160
|
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
version:
|
150
161
|
requirements:
|
151
162
|
- - '>='
|
152
163
|
- !ruby/object:Gem::Version
|
153
164
|
version: 0.4.0
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
- LICENSE.txt
|
161
|
-
- COPYRIGHT
|
162
|
-
requirements: []
|
163
|
-
|
164
|
-
rubyforge_project: glassfishgem
|
165
|
-
autorequire:
|
165
|
+
version:
|
166
|
+
type: :runtime
|
167
|
+
version_requirement:
|
168
|
+
name: rack
|
169
|
+
bindir: bin
|
170
|
+
has_rdoc: true
|