glassfish 0.9.0-universal-java → 0.9.1-universal-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
File without changes
data/bin/glassfish CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # == Synopsis
4
4
  #
5
- # glassfish: GlassFish v3 server for rails, merb, sintra applications
5
+ # glassfish: GlassFish v3 server for Rack based frameworks such as: rails, merb...
6
6
  #
7
7
  # == Usage:
8
8
  #
data/bin/glassfish_rails CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # == Synopsis
4
4
  #
5
- # glassfish: GlassFish v3 server for rails, merb, sintra applications
5
+ # glassfish: GlassFish v3 server for Rack based frameworks such as: rails, merb...
6
6
  #
7
7
  # == Usage:
8
8
  #
@@ -4,7 +4,7 @@
4
4
  Use is subject to license terms.
5
5
  -->
6
6
  <!-- Generated from default-domain.xml.template -->
7
- <!-- Avoid manual edits of this file. Run "asadmin verify-domain-xml" otherwise.-->
7
+ <!-- Avoid manual edits of this file. Run "gfadmin verify-domain-xml" otherwise.-->
8
8
 
9
9
  <domain application-root="${com.sun.aas.instanceRoot}/applications" log-root="${com.sun.aas.instanceRoot}/logs">
10
10
  <applications/>
@@ -43,18 +43,7 @@
43
43
  id="http-listener-1">
44
44
  <property value="ws/tcp" name="proxiedProtocols"/>
45
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">
46
+ <virtual-server id="server" http-listeners="http-listener-1">
58
47
  <property value="${com.sun.aas.instanceRoot}/docroot" name="docroot"/>
59
48
  <property value="${com.sun.aas.instanceRoot}/logs/access" name="accesslog"/>
60
49
  <property value="false" name="sso-enabled"/>
@@ -69,42 +58,17 @@
69
58
  <property value="false" name="accessLoggingEnabled"/>
70
59
  </http-service>
71
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>
82
-
61
+ <!-- admingui is not needed for gem case. This needs to be fixed. -->
83
62
  <admin-service type="das-and-server" system-jmx-connector-name="system">
84
63
  <jmx-connector auth-realm-name="admin-realm" security-enabled="false" address="0.0.0.0" port="8686"
85
64
  name="system"/>
86
65
  <das-config autodeploy-enabled="true" dynamic-reload-enabled="true" deploy-xml-validation="full"
87
66
  autodeploy-dir="${com.sun.aas.instanceRoot}/autodeploy"/>
88
- <property value="/admingui" name="adminConsoleContextRoot"/>
67
+ <property value="/_____admingui" name="adminConsoleContextRoot"/>
89
68
  <property value="glassfish/lib/install/applications/admingui.war" name="adminConsoleDownloadLocation"/>
90
69
  <property value="${com.sun.aas.installRoot}/.." name="ipsRoot"/>
91
70
  </admin-service>
92
71
 
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>
106
-
107
-
108
72
  <mdb-container steady-pool-size="0" pool-resize-quantity="8" max-pool-size="32"
109
73
  idle-timeout-in-seconds="600"/>
110
74
  <mdb-container steady-pool-size="0" max-pool-size="32" pool-resize-quantity="8"/>
data/modules/asadmin.rb CHANGED
@@ -1,6 +1,46 @@
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
+
1
37
  require 'admin-cli.jar'
2
38
  require 'java'
3
39
 
40
+ #
41
+ #Invokes asadmin command on the running glassfish. Can be used to do admin tasks, such as
42
+ #database resource/conection pool creation
43
+ #
4
44
  module GlassFish
5
45
  class ASAdmin
6
46
  import com.sun.enterprise.admin.cli.AsadminMain
@@ -1,5 +1,45 @@
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
+
1
37
  require 'rdoc_usage'
2
38
  require 'getoptlong'
39
+
40
+ #
41
+ # Parses command line options
42
+ #
3
43
  class CommandLineParser
4
44
  def init_opts
5
45
  @@config ||= {
@@ -20,8 +60,8 @@ class CommandLineParser
20
60
  [ '--environment', '-e', GetoptLong::REQUIRED_ARGUMENT ],
21
61
  [ '--contextroot', '-c', GetoptLong::REQUIRED_ARGUMENT ],
22
62
  [ '--runtimes', '-n', GetoptLong::REQUIRED_ARGUMENT ],
23
- [ '--runtimes_min', GetoptLong::REQUIRED_ARGUMENT ],
24
- [ '--runtimes_max', GetoptLong::REQUIRED_ARGUMENT ],
63
+ [ '--runtimes-min', GetoptLong::REQUIRED_ARGUMENT ],
64
+ [ '--runtimes-max', GetoptLong::REQUIRED_ARGUMENT ],
25
65
  [ '--version', '-v', GetoptLong::NO_ARGUMENT ],
26
66
  [ '--help', '-h', GetoptLong::NO_ARGUMENT ]
27
67
  )
@@ -45,7 +85,7 @@ class CommandLineParser
45
85
  when '--runtimes-min'
46
86
  config[:runtimes_min] = arg
47
87
  when '--runtimes-max'
48
- config[:runtimes_min] = arg
88
+ config[:runtimes_max] = arg
49
89
  end
50
90
  end
51
91
  config[:app_dir] = ARGV.shift unless ARGV.empty?
data/modules/glassfish.rb CHANGED
@@ -1,5 +1,44 @@
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
+
1
37
  require 'glassfish.jar'
2
38
 
39
+ #
40
+ #Invokes and runs GlassFish
41
+ #
3
42
  module GlassFish
4
43
  class Server
5
44
  import com.sun.enterprise.glassfish.bootstrap.ASMain
Binary file
Binary file
@@ -1,5 +1,45 @@
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
+
1
37
  require 'rdoc/usage'
2
38
 
39
+ #
40
+ #Fixes the issue where, RDoc does not look at the driver file (jruby/bin/glassfish)
41
+ #for comments but rather takes it from glassfishgem/bin/glassfish
42
+ #
3
43
  def RDoc.usage_no_exit(*args)
4
44
  comment = File.open(File.join(File.dirname(__FILE__), %w(.. bin), File.basename($0))) do |file|
5
45
  find_comment(file)
data/modules/version.rb CHANGED
@@ -1,5 +1,41 @@
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
+
1
37
  module GlassFish
2
38
  module VERSION
3
- STRING = "0.9.0"
39
+ STRING = "0.9.1"
4
40
  end
5
41
  end
metadata CHANGED
@@ -5,13 +5,13 @@ homepage: http://wiki.glassfish.java.net/Wiki.jsp?page=JRuby
5
5
  executables:
6
6
  - glassfish
7
7
  - glassfish_rails
8
- - asadmin
8
+ - gfadmin
9
9
  version: !ruby/object:Gem::Version
10
- version: 0.9.0
10
+ version: 0.9.1
11
11
  post_install_message:
12
- date: 2008-11-05 08:00:00 +00:00
12
+ date: 2008-12-04 08:00:00 +00:00
13
13
  files:
14
- - bin/asadmin
14
+ - bin/gfadmin
15
15
  - bin/glassfish
16
16
  - bin/glassfish_rails
17
17
  - lib/appclient
@@ -49,13 +49,11 @@ files:
49
49
  - modules/api-exporter.jar
50
50
  - modules/asadmin.rb
51
51
  - modules/asm-all-repackaged.jar
52
- - modules/auto-depends-0.3.33.jar
53
52
  - modules/auto-depends.jar
54
53
  - modules/branding.jar
55
54
  - modules/cli-framework.jar
56
55
  - modules/command_line_parser.rb
57
56
  - modules/common-util.jar
58
- - modules/config-0.3.33.jar
59
57
  - modules/config-api.jar
60
58
  - modules/config.jar
61
59
  - modules/deployment-admin.jar
@@ -63,16 +61,13 @@ files:
63
61
  - modules/deployment-common.jar
64
62
  - modules/flashlight-agent.jar
65
63
  - modules/flashlight-framework.jar
66
- - modules/gf-jruby-connector-0.7.1-SNAPSHOT.jar
67
- - modules/glassfish-api-3.0-Prelude-b28b.jar
64
+ - modules/gf-jruby-connector.jar
68
65
  - modules/glassfish-api.jar
69
66
  - modules/glassfish.jar
70
67
  - modules/glassfish.rb
71
- - modules/grizzly-jruby-1.8.1.jar
72
- - modules/grizzly-jruby-module-0.7.1-SNAPSHOT.jar
68
+ - modules/grizzly-jruby-module.jar
69
+ - modules/grizzly-jruby.jar
73
70
  - modules/grizzly-module.jar
74
- - modules/hk2-0.3.33.jar
75
- - modules/hk2-core-0.3.33.jar
76
71
  - modules/hk2-core.jar
77
72
  - modules/hk2.jar
78
73
  - modules/internal-api.jar
@@ -85,7 +80,6 @@ files:
85
80
  - modules/rdoc_usage.rb
86
81
  - modules/stats77.jar
87
82
  - modules/stax-api.jar
88
- - modules/tiger-types-osgi-0.3.33.jar
89
83
  - modules/tiger-types-osgi.jar
90
84
  - modules/version.rb
91
85
  - modules/wstx-asl.jar
@@ -159,8 +153,17 @@ require_paths:
159
153
  specification_version: 2
160
154
  test_files: []
161
155
 
162
- dependencies: []
163
-
156
+ dependencies:
157
+ - !ruby/object:Gem::Dependency
158
+ type: :runtime
159
+ name: rack
160
+ version_requirement:
161
+ version_requirements: !ruby/object:Gem::Requirement
162
+ version:
163
+ requirements:
164
+ - - '>='
165
+ - !ruby/object:Gem::Version
166
+ version: 0.4.0
164
167
  description: GlassFish gem is an embedded GlassFish V3 application server which would
165
168
  help run your Ruby on Rails application
166
169
  email: vivek.pandey@sun.com, jerome.dochez@sun.com
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file