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
Binary file
|
Binary file
|
data/modules/asadmin.rb
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,54 @@
|
|
1
|
+
require 'rdoc_usage'
|
2
|
+
require 'getoptlong'
|
3
|
+
class CommandLineParser
|
4
|
+
def init_opts
|
5
|
+
@@config ||= {
|
6
|
+
:runtimes => '1',
|
7
|
+
:runtimes_min => '1',
|
8
|
+
:runtimes_max => '1',
|
9
|
+
:contextroot => '/',
|
10
|
+
:environment => "development",
|
11
|
+
:app_dir => Dir.pwd,
|
12
|
+
:port => 3000
|
13
|
+
}
|
14
|
+
end
|
15
|
+
|
16
|
+
def parse
|
17
|
+
config = init_opts
|
18
|
+
opts = GetoptLong.new(
|
19
|
+
[ '--port', '-p', GetoptLong::REQUIRED_ARGUMENT ],
|
20
|
+
[ '--environment', '-e', GetoptLong::REQUIRED_ARGUMENT ],
|
21
|
+
[ '--contextroot', '-c', GetoptLong::REQUIRED_ARGUMENT ],
|
22
|
+
[ '--runtimes', '-n', GetoptLong::REQUIRED_ARGUMENT ],
|
23
|
+
[ '--runtimes_min', GetoptLong::REQUIRED_ARGUMENT ],
|
24
|
+
[ '--runtimes_max', GetoptLong::REQUIRED_ARGUMENT ],
|
25
|
+
[ '--version', '-v', GetoptLong::NO_ARGUMENT ],
|
26
|
+
[ '--help', '-h', GetoptLong::NO_ARGUMENT ]
|
27
|
+
)
|
28
|
+
|
29
|
+
opts.each do |opt, arg|
|
30
|
+
case opt
|
31
|
+
when '--version'
|
32
|
+
require 'version'
|
33
|
+
puts "GlassFish gem version: #{GlassFish::VERSION::STRING}\nhttp://glassfishgem.rubyforge.org"
|
34
|
+
exit(0)
|
35
|
+
when '--help'
|
36
|
+
RDoc::usage
|
37
|
+
when '--contextroot'
|
38
|
+
config[:contextroot] = arg
|
39
|
+
when '--port'
|
40
|
+
config[:port] = arg.to_i
|
41
|
+
when '--environment'
|
42
|
+
config[:environment] = arg
|
43
|
+
when '--runtimes'
|
44
|
+
config[:runtimes] = arg
|
45
|
+
when '--runtimes-min'
|
46
|
+
config[:runtimes_min] = arg
|
47
|
+
when '--runtimes-max'
|
48
|
+
config[:runtimes_min] = arg
|
49
|
+
end
|
50
|
+
end
|
51
|
+
config[:app_dir] = ARGV.shift unless ARGV.empty?
|
52
|
+
config
|
53
|
+
end
|
54
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
data/modules/config.jar
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/modules/glassfish.rb
CHANGED
@@ -1,13 +1,17 @@
|
|
1
|
-
require 'glassfish
|
1
|
+
require 'glassfish.jar'
|
2
2
|
|
3
3
|
module GlassFish
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
4
|
+
class Server
|
5
|
+
import com.sun.enterprise.glassfish.bootstrap.ASMain
|
6
|
+
def startup(args)
|
7
|
+
#set jruby runtime property
|
8
|
+
java.lang.System.setProperty("jruby.runtime", args[:runtimes].to_s)
|
9
|
+
java.lang.System.setProperty("jruby.runtime.min", args[:runtimes_min].to_s)
|
10
|
+
java.lang.System.setProperty("jruby.runtime.max", args[:runtimes_max].to_s)
|
11
|
+
java.lang.System.setProperty("rails.env", args[:environment])
|
12
|
+
java.lang.System.setProperty("jruby.gem.port", args[:port].to_s)
|
11
13
|
|
12
|
-
|
14
|
+
ASMain.main([args[:app_dir], "--contextroot", args[:contextroot]].to_java(:string))
|
15
|
+
end
|
16
|
+
end
|
13
17
|
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/modules/hk2.jar
ADDED
Binary file
|
Binary file
|
Binary file
|
data/modules/kernel.jar
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'rdoc/usage'
|
2
|
+
|
3
|
+
def RDoc.usage_no_exit(*args)
|
4
|
+
comment = File.open(File.join(File.dirname(__FILE__), %w(.. bin), File.basename($0))) do |file|
|
5
|
+
find_comment(file)
|
6
|
+
end
|
7
|
+
|
8
|
+
comment = comment.gsub(/^\s*#/, '')
|
9
|
+
|
10
|
+
markup = SM::SimpleMarkup.new
|
11
|
+
flow_convertor = SM::ToFlow.new
|
12
|
+
|
13
|
+
flow = markup.convert(comment, flow_convertor)
|
14
|
+
|
15
|
+
format = "plain"
|
16
|
+
|
17
|
+
unless args.empty?
|
18
|
+
flow = extract_sections(flow, args)
|
19
|
+
end
|
20
|
+
|
21
|
+
options = RI::Options.instance
|
22
|
+
if args = ENV["RI"]
|
23
|
+
options.parse(args.split)
|
24
|
+
end
|
25
|
+
formatter = options.formatter.new(options, "")
|
26
|
+
formatter.display_flow(flow)
|
27
|
+
end
|
data/modules/stats77.jar
ADDED
Binary file
|
File without changes
|
Binary file
|
Binary file
|
data/modules/version.rb
ADDED
File without changes
|
metadata
CHANGED
@@ -1,143 +1,175 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
extensions: []
|
3
|
+
|
3
4
|
homepage: http://wiki.glassfish.java.net/Wiki.jsp?page=JRuby
|
4
5
|
executables:
|
6
|
+
- glassfish
|
5
7
|
- glassfish_rails
|
6
8
|
- asadmin
|
7
|
-
|
8
|
-
version:
|
9
|
-
version: 0.3.1
|
9
|
+
version: !ruby/object:Gem::Version
|
10
|
+
version: 0.9.0
|
10
11
|
post_install_message:
|
11
|
-
date: 2008-
|
12
|
+
date: 2008-11-05 08:00:00 +00:00
|
12
13
|
files:
|
13
|
-
- bin/startserv.bat
|
14
|
-
- bin/asadmin.bat
|
15
|
-
- bin/glassfish_rails
|
16
|
-
- bin/startserv
|
17
14
|
- bin/asadmin
|
18
|
-
- bin/
|
19
|
-
- bin/
|
15
|
+
- bin/glassfish
|
16
|
+
- bin/glassfish_rails
|
20
17
|
- lib/appclient
|
21
|
-
- lib/
|
18
|
+
- lib/jndi-properties.jar
|
22
19
|
- lib/package-appclient.xml
|
23
|
-
- lib/registration
|
24
20
|
- lib/processLauncher.properties
|
21
|
+
- lib/processLauncher.xml
|
22
|
+
- lib/registration
|
25
23
|
- lib/templates
|
26
24
|
- lib/appclient/appclientlogin.conf
|
27
25
|
- lib/appclient/client.policy
|
28
26
|
- lib/appclient/wss-client-config-1.0.xml
|
29
27
|
- lib/appclient/wss-client-config-2.0.xml
|
30
28
|
- lib/registration/servicetag-registry.xml
|
31
|
-
- lib/templates/logging.properties
|
32
|
-
- lib/templates/keyfile
|
33
|
-
- lib/templates/server.policy
|
34
|
-
- lib/templates/domain.xml.xsl
|
35
|
-
- lib/templates/profile.properties
|
36
|
-
- lib/templates/domain.xml
|
37
|
-
- lib/templates/default-web.xml
|
38
29
|
- lib/templates/cacerts.jks
|
30
|
+
- lib/templates/default-web.xml
|
31
|
+
- lib/templates/domain.xml
|
32
|
+
- lib/templates/domain.xml.xsl
|
33
|
+
- lib/templates/keyfile
|
34
|
+
- lib/templates/keystore.jks
|
35
|
+
- lib/templates/logging.properties
|
39
36
|
- lib/templates/login.conf
|
40
|
-
-
|
41
|
-
-
|
42
|
-
-
|
43
|
-
-
|
44
|
-
-
|
45
|
-
-
|
46
|
-
-
|
47
|
-
-
|
48
|
-
-
|
49
|
-
-
|
50
|
-
-
|
51
|
-
- modules/
|
52
|
-
- modules/
|
37
|
+
- lib/templates/profile.properties
|
38
|
+
- lib/templates/server.policy
|
39
|
+
- felix/bin
|
40
|
+
- felix/bundle
|
41
|
+
- felix/conf
|
42
|
+
- felix/bin/felix.jar
|
43
|
+
- felix/bundle/org.apache.felix.shell.jar
|
44
|
+
- felix/bundle/org.apache.felix.shell.remote.jar
|
45
|
+
- felix/bundle/org.apache.felix.shell.tui.jar
|
46
|
+
- felix/conf/config.properties
|
47
|
+
- felix/conf/system.properties
|
48
|
+
- modules/admin-cli.jar
|
49
|
+
- modules/api-exporter.jar
|
50
|
+
- modules/asadmin.rb
|
51
|
+
- modules/asm-all-repackaged.jar
|
52
|
+
- modules/auto-depends-0.3.33.jar
|
53
|
+
- modules/auto-depends.jar
|
54
|
+
- modules/branding.jar
|
55
|
+
- modules/cli-framework.jar
|
56
|
+
- modules/command_line_parser.rb
|
57
|
+
- modules/common-util.jar
|
58
|
+
- modules/config-0.3.33.jar
|
59
|
+
- modules/config-api.jar
|
60
|
+
- modules/config.jar
|
61
|
+
- modules/deployment-admin.jar
|
62
|
+
- modules/deployment-autodeploy.jar
|
63
|
+
- modules/deployment-common.jar
|
64
|
+
- modules/flashlight-agent.jar
|
65
|
+
- modules/flashlight-framework.jar
|
66
|
+
- modules/gf-jruby-connector-0.7.1-SNAPSHOT.jar
|
67
|
+
- modules/glassfish-api-3.0-Prelude-b28b.jar
|
68
|
+
- modules/glassfish-api.jar
|
69
|
+
- modules/glassfish.jar
|
53
70
|
- modules/glassfish.rb
|
54
|
-
- modules/
|
55
|
-
- modules/
|
56
|
-
- modules/
|
57
|
-
- modules/
|
58
|
-
- modules/
|
59
|
-
- modules/
|
60
|
-
- modules/
|
61
|
-
- modules/
|
62
|
-
- modules/
|
63
|
-
-
|
71
|
+
- modules/grizzly-jruby-1.8.1.jar
|
72
|
+
- modules/grizzly-jruby-module-0.7.1-SNAPSHOT.jar
|
73
|
+
- modules/grizzly-module.jar
|
74
|
+
- modules/hk2-0.3.33.jar
|
75
|
+
- modules/hk2-core-0.3.33.jar
|
76
|
+
- modules/hk2-core.jar
|
77
|
+
- modules/hk2.jar
|
78
|
+
- modules/internal-api.jar
|
79
|
+
- modules/javax.xml.stream.jar
|
80
|
+
- modules/kernel.jar
|
81
|
+
- modules/launcher.jar
|
82
|
+
- modules/monitoring-core.jar
|
83
|
+
- modules/osgi-adapter.jar
|
84
|
+
- modules/pkg-client.jar
|
85
|
+
- modules/rdoc_usage.rb
|
86
|
+
- modules/stats77.jar
|
87
|
+
- modules/stax-api.jar
|
88
|
+
- modules/tiger-types-osgi-0.3.33.jar
|
89
|
+
- modules/tiger-types-osgi.jar
|
90
|
+
- modules/version.rb
|
91
|
+
- modules/wstx-asl.jar
|
64
92
|
- config/asadminenv.conf
|
65
93
|
- config/asenv.bat
|
94
|
+
- config/asenv.conf
|
66
95
|
- config/glassfish.container
|
67
96
|
- domains/domain1
|
68
|
-
- domains/domain1/
|
69
|
-
- domains/domain1/docroot
|
97
|
+
- domains/domain1/applications
|
70
98
|
- domains/domain1/config
|
99
|
+
- domains/domain1/docroot
|
71
100
|
- domains/domain1/generated
|
101
|
+
- domains/domain1/logs
|
72
102
|
- domains/domain1/master-password
|
73
|
-
- domains/domain1/applications
|
74
103
|
- domains/domain1/session-store
|
75
|
-
- domains/domain1/
|
76
|
-
- domains/domain1/
|
104
|
+
- domains/domain1/applications/j2ee-apps
|
105
|
+
- domains/domain1/applications/j2ee-modules
|
106
|
+
- domains/domain1/applications/lifecycle-modules
|
107
|
+
- domains/domain1/applications/mbeans
|
108
|
+
- domains/domain1/config/admin-keyfile
|
109
|
+
- domains/domain1/config/cacerts.jks
|
77
110
|
- domains/domain1/config/default-config
|
78
|
-
- domains/domain1/config/
|
79
|
-
- domains/domain1/config/
|
80
|
-
- domains/domain1/config/keyfile
|
81
|
-
- domains/domain1/config/server.policy
|
82
|
-
- domains/domain1/config/sun-acc.xml
|
111
|
+
- domains/domain1/config/default-web.xml
|
112
|
+
- domains/domain1/config/domain-passwords
|
83
113
|
- domains/domain1/config/domain.xml
|
84
114
|
- domains/domain1/config/domain.xml_ORIG
|
85
|
-
- domains/domain1/config/
|
86
|
-
- domains/domain1/config/default-web.xml
|
87
|
-
- domains/domain1/config/cacerts.jks
|
88
|
-
- domains/domain1/config/wss-server-config-1.0.xml
|
115
|
+
- domains/domain1/config/keyfile
|
89
116
|
- domains/domain1/config/keystore.jks
|
117
|
+
- domains/domain1/config/logging.properties
|
90
118
|
- domains/domain1/config/login.conf
|
91
|
-
- domains/domain1/config/
|
92
|
-
- domains/domain1/config/
|
119
|
+
- domains/domain1/config/server.policy
|
120
|
+
- domains/domain1/config/sun-acc.xml
|
121
|
+
- domains/domain1/config/wss-server-config-1.0.xml
|
122
|
+
- domains/domain1/config/wss-server-config-2.0.xml
|
93
123
|
- domains/domain1/config/default-config/docroot
|
124
|
+
- domains/domain1/config/default-config/lib
|
94
125
|
- domains/domain1/config/default-config/lib/ext
|
126
|
+
- domains/domain1/docroot/favicon.gif
|
127
|
+
- domains/domain1/docroot/index.html
|
95
128
|
- domains/domain1/generated/ejb
|
96
129
|
- domains/domain1/generated/jsp
|
97
130
|
- domains/domain1/generated/xml
|
98
|
-
- domains/domain1/applications/j2ee-apps
|
99
|
-
- domains/domain1/applications/lifecycle-modules
|
100
|
-
- domains/domain1/applications/j2ee-modules
|
101
|
-
- domains/domain1/applications/mbeans
|
102
|
-
- README
|
103
131
|
- LICENSE.txt
|
104
132
|
- COPYRIGHT
|
105
|
-
rubygems_version: 1.
|
133
|
+
rubygems_version: 1.2.0
|
106
134
|
rdoc_options: []
|
135
|
+
|
107
136
|
signing_key:
|
108
137
|
cert_chain: []
|
138
|
+
|
109
139
|
name: glassfish
|
110
|
-
has_rdoc:
|
140
|
+
has_rdoc: true
|
111
141
|
platform: universal-java
|
112
142
|
summary: GlassFish V3 Application Server for JRuby
|
113
|
-
default_executable:
|
143
|
+
default_executable: glassfish
|
114
144
|
bindir: bin
|
115
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
146
|
version:
|
117
147
|
requirements:
|
118
148
|
- - '>='
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
version:
|
121
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: "0"
|
151
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
122
152
|
version:
|
123
153
|
requirements:
|
124
154
|
- - '>='
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
version:
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: "0"
|
127
157
|
require_paths:
|
128
158
|
- modules
|
129
159
|
specification_version: 2
|
130
160
|
test_files: []
|
161
|
+
|
131
162
|
dependencies: []
|
163
|
+
|
132
164
|
description: GlassFish gem is an embedded GlassFish V3 application server which would
|
133
165
|
help run your Ruby on Rails application
|
134
|
-
email: vivek.pandey@sun.com,
|
166
|
+
email: vivek.pandey@sun.com, jerome.dochez@sun.com
|
135
167
|
authors:
|
136
|
-
- Vivek Pandey,
|
168
|
+
- Vivek Pandey, Jerome Dochez
|
137
169
|
extra_rdoc_files:
|
138
|
-
- README
|
139
170
|
- LICENSE.txt
|
140
171
|
- COPYRIGHT
|
141
172
|
requirements: []
|
173
|
+
|
142
174
|
rubyforge_project: glassfishgem
|
143
|
-
autorequire:
|
175
|
+
autorequire:
|