glassfish 0.2.0-universal-java → 0.3.0-universal-java
Sign up to get free protection for your applications and to get access to all the features.
- data/README +8 -23
- data/bin/asadmin +1 -1
- data/bin/asadmin.bat +1 -1
- data/bin/startserv +1 -1
- data/bin/startserv.bat +1 -1
- data/bin/stopserv +1 -1
- data/bin/stopserv.bat +1 -1
- data/domains/domain1/config/default-web.xml +202 -5
- data/domains/domain1/config/domain.xml_ORIG +3 -0
- data/domains/domain1/docroot/index.html +1 -1
- data/lib/templates/default-web.xml +202 -5
- data/lib/templates/domain.xml +3 -0
- data/modules/admin-cli-10.0-SNAPSHOT.jar +0 -0
- data/modules/auto-depends-0.3.2.jar +0 -0
- data/modules/{cli-framework-10.0-tp-2-SNAPSHOT.jar → cli-framework-10.0-SNAPSHOT.jar} +0 -0
- data/modules/{common-util-10.0-tp-2-SNAPSHOT.jar → common-util-10.0-SNAPSHOT.jar} +0 -0
- data/modules/config-0.3.2.jar +0 -0
- data/modules/{config-api-10.0-tp-2-SNAPSHOT.jar → 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/glassfish.rb +4 -1
- data/modules/grizzly-jruby-1.7.5.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/launcher-10.0-SNAPSHOT.jar +0 -0
- data/modules/osgi-adapter-0.3.2.jar +0 -0
- data/modules/{tiger-types-osgi-0.2.1.jar → tiger-types-osgi-0.3.2.jar} +0 -0
- metadata +22 -22
- data/modules/admin-cli-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/auto-depends-0.2.1.jar +0 -0
- data/modules/config-0.2.1.jar +0 -0
- data/modules/gf-jruby-connector-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/glassfish-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/glassfish-api-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/grizzly-jruby-module-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/grizzly-module-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/hk2-0.2.1.jar +0 -0
- data/modules/hk2-core-0.2.1.jar +0 -0
- data/modules/internal-api-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/junit-4.3.1.jar +0 -0
- data/modules/kernel-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/launcher-10.0-tp-2-SNAPSHOT.jar +0 -0
- data/modules/osgi-adapter-0.2.1.jar +0 -0
- data/modules/universal-10.0-tp-2-SNAPSHOT.jar +0 -0
data/README
CHANGED
@@ -1,27 +1,12 @@
|
|
1
|
-
|
1
|
+
Instructions to unbundle and configure GlassFish
|
2
2
|
|
3
|
-
|
3
|
+
GlasssFish installation requires JDK 5.
|
4
4
|
|
5
|
-
|
5
|
+
1. Download one of the bundles
|
6
|
+
2. Run:
|
7
|
+
java -Xmx256m -jar filename.jar
|
6
8
|
|
7
|
-
|
9
|
+
3. Run:
|
10
|
+
ant -f setup.xml
|
8
11
|
|
9
|
-
|
10
|
-
|
11
|
-
Where,
|
12
|
-
|
13
|
-
<INSTALL_DIR> is the location where GlassFish v3 was installed.
|
14
|
-
|
15
|
-
To stop the server, please use the following command.
|
16
|
-
|
17
|
-
On windows,
|
18
|
-
|
19
|
-
<INSTALL_DIR>\glassfish\bin\asadmin stop-domain
|
20
|
-
|
21
|
-
On Unix platforms,
|
22
|
-
|
23
|
-
<INSTALL_DIR>/glassfish/bin/asadmin stop-domain
|
24
|
-
|
25
|
-
For more information, please open the following file in your web browser.
|
26
|
-
|
27
|
-
<INSTALL_DIR>/glassfish/docs/index.html
|
12
|
+
Ant is included in the GlassFish bundle that was downloaded.
|
data/bin/asadmin
CHANGED
data/bin/asadmin.bat
CHANGED
data/bin/startserv
CHANGED
data/bin/startserv.bat
CHANGED
@@ -5,5 +5,5 @@ REM Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
|
|
5
5
|
REM Use is subject to license terms.
|
6
6
|
REM
|
7
7
|
|
8
|
-
java -jar "%~dp0..\modules\admin-cli-10.0-
|
8
|
+
java -jar "%~dp0..\modules\admin-cli-10.0-SNAPSHOT.jar" start-domain --verbose %*
|
9
9
|
|
data/bin/stopserv
CHANGED
data/bin/stopserv.bat
CHANGED
@@ -257,10 +257,111 @@
|
|
257
257
|
<load-on-startup>3</load-on-startup>
|
258
258
|
</servlet>
|
259
259
|
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
260
|
+
|
261
|
+
<!-- NOTE: An SSI Filter is also available as an alternative SSI -->
|
262
|
+
<!-- implementation. Use either the Servlet or the Filter but NOT both. -->
|
263
|
+
<!-- -->
|
264
|
+
<!-- Server Side Includes processing servlet, which processes SSI -->
|
265
|
+
<!-- directives in HTML pages consistent with similar support in web -->
|
266
|
+
<!-- servers like Apache. Traditionally, this servlet is mapped to the -->
|
267
|
+
<!-- URL pattern "*.shtml". This servlet supports the following -->
|
268
|
+
<!-- initialization parameters (default values are in square brackets): -->
|
269
|
+
<!-- -->
|
270
|
+
<!-- buffered Should output from this servlet be buffered? -->
|
271
|
+
<!-- (0=false, 1=true) [0] -->
|
272
|
+
<!-- -->
|
273
|
+
<!-- debug Debugging detail level for messages logged -->
|
274
|
+
<!-- by this servlet. [0] -->
|
275
|
+
<!-- -->
|
276
|
+
<!-- expires The number of seconds before a page with SSI -->
|
277
|
+
<!-- directives will expire. [No default] -->
|
278
|
+
<!-- -->
|
279
|
+
<!-- isVirtualWebappRelative -->
|
280
|
+
<!-- Should "virtual" paths be interpreted as -->
|
281
|
+
<!-- relative to the context root, instead of -->
|
282
|
+
<!-- the server root? (0=false, 1=true) [0] -->
|
283
|
+
<!-- -->
|
284
|
+
<!-- inputEncoding The encoding to assume for SSI resources if -->
|
285
|
+
<!-- one is not available from the resource. -->
|
286
|
+
<!-- [Platform default] -->
|
287
|
+
<!-- -->
|
288
|
+
<!-- outputEncoding The encoding to use for the page that results -->
|
289
|
+
<!-- from the SSI processing. [UTF-8] -->
|
290
|
+
<!-- -->
|
291
|
+
<!-- -->
|
292
|
+
<!-- IMPORTANT: To use the SSI servlet, you also need to rename the -->
|
293
|
+
<!-- $CATALINA_HOME/server/lib/servlets-ssi.renametojar file -->
|
294
|
+
<!-- to $CATALINA_HOME/server/lib/servlets-ssi.jar -->
|
295
|
+
|
296
|
+
<!--
|
297
|
+
<servlet>
|
298
|
+
<servlet-name>ssi</servlet-name>
|
299
|
+
<servlet-class>org.apache.catalina.ssi.SSIServlet</servlet-class>
|
300
|
+
<init-param>
|
301
|
+
<param-name>buffered</param-name>
|
302
|
+
<param-value>1</param-value>
|
303
|
+
</init-param>
|
304
|
+
<init-param>
|
305
|
+
<param-name>debug</param-name>
|
306
|
+
<param-value>0</param-value>
|
307
|
+
</init-param>
|
308
|
+
<init-param>
|
309
|
+
<param-name>expires</param-name>
|
310
|
+
<param-value>666</param-value>
|
311
|
+
</init-param>
|
312
|
+
<init-param>
|
313
|
+
<param-name>isVirtualWebappRelative</param-name>
|
314
|
+
<param-value>0</param-value>
|
315
|
+
</init-param>
|
316
|
+
<load-on-startup>4</load-on-startup>
|
317
|
+
</servlet>
|
318
|
+
-->
|
319
|
+
|
320
|
+
|
321
|
+
<!-- Common Gateway Includes (CGI) processing servlet, which supports -->
|
322
|
+
<!-- execution of external applications that conform to the CGI spec -->
|
323
|
+
<!-- requirements. Typically, this servlet is mapped to the URL pattern -->
|
324
|
+
<!-- "/cgi-bin/*", which means that any CGI applications that are -->
|
325
|
+
<!-- executed must be present within the web application. This servlet -->
|
326
|
+
<!-- supports the following initialization parameters (default values -->
|
327
|
+
<!-- are in square brackets): -->
|
328
|
+
<!-- -->
|
329
|
+
<!-- cgiPathPrefix The CGI search path will start at -->
|
330
|
+
<!-- webAppRootDir + File.separator + this prefix. -->
|
331
|
+
<!-- [WEB-INF/cgi] -->
|
332
|
+
<!-- -->
|
333
|
+
<!-- debug Debugging detail level for messages logged -->
|
334
|
+
<!-- by this servlet. [0] -->
|
335
|
+
<!-- -->
|
336
|
+
<!-- executable Name of the exectuable used to run the -->
|
337
|
+
<!-- script. [perl] -->
|
338
|
+
<!-- -->
|
339
|
+
<!-- parameterEncoding Name of parameter encoding to be used with -->
|
340
|
+
<!-- CGI servlet. -->
|
341
|
+
<!-- [System.getProperty("file.encoding","UTF-8")] -->
|
342
|
+
<!-- -->
|
343
|
+
<!-- passShellEnvironment Should the shell environment variables (if -->
|
344
|
+
<!-- any) be passed to the CGI script? [false] -->
|
345
|
+
<!-- -->
|
346
|
+
<!-- IMPORTANT: To use the CGI servlet, you also need to rename the -->
|
347
|
+
<!-- $CATALINA_HOME/server/lib/servlets-cgi.renametojar file -->
|
348
|
+
<!-- to $CATALINA_HOME/server/lib/servlets-cgi.jar -->
|
349
|
+
|
350
|
+
<!--
|
351
|
+
<servlet>
|
352
|
+
<servlet-name>cgi</servlet-name>
|
353
|
+
<servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
|
354
|
+
<init-param>
|
355
|
+
<param-name>debug</param-name>
|
356
|
+
<param-value>0</param-value>
|
357
|
+
</init-param>
|
358
|
+
<init-param>
|
359
|
+
<param-name>cgiPathPrefix</param-name>
|
360
|
+
<param-value>WEB-INF/cgi</param-value>
|
361
|
+
</init-param>
|
362
|
+
<load-on-startup>5</load-on-startup>
|
363
|
+
</servlet>
|
364
|
+
-->
|
264
365
|
|
265
366
|
|
266
367
|
<!-- ================ Built In Servlet Mappings ========================= -->
|
@@ -271,13 +372,107 @@
|
|
271
372
|
<url-pattern>/</url-pattern>
|
272
373
|
</servlet-mapping>
|
273
374
|
|
274
|
-
|
275
375
|
<!-- The mapping for the JSP servlet -->
|
276
376
|
<servlet-mapping>
|
277
377
|
<servlet-name>jsp</servlet-name>
|
278
378
|
<url-pattern>*.jsp</url-pattern>
|
279
379
|
</servlet-mapping>
|
280
380
|
|
381
|
+
<servlet-mapping>
|
382
|
+
<servlet-name>jsp</servlet-name>
|
383
|
+
<url-pattern>*.jspx</url-pattern>
|
384
|
+
</servlet-mapping>
|
385
|
+
|
386
|
+
<!-- The mapping for the SSI servlet -->
|
387
|
+
<!--
|
388
|
+
<servlet-mapping>
|
389
|
+
<servlet-name>ssi</servlet-name>
|
390
|
+
<url-pattern>*.shtml</url-pattern>
|
391
|
+
</servlet-mapping>
|
392
|
+
-->
|
393
|
+
|
394
|
+
<!-- The mapping for the CGI Gateway servlet -->
|
395
|
+
<!--
|
396
|
+
<servlet-mapping>
|
397
|
+
<servlet-name>cgi</servlet-name>
|
398
|
+
<url-pattern>/cgi-bin/*</url-pattern>
|
399
|
+
</servlet-mapping>
|
400
|
+
-->
|
401
|
+
|
402
|
+
|
403
|
+
<!-- ================== Built In Filter Definitions ===================== -->
|
404
|
+
|
405
|
+
<!-- NOTE: An SSI Servlet is also available as an alternative SSI -->
|
406
|
+
<!-- implementation. Use either the Servlet or the Filter but NOT both. -->
|
407
|
+
<!-- -->
|
408
|
+
<!-- Server Side Includes processing filter, which processes SSI -->
|
409
|
+
<!-- directives in HTML pages consistent with similar support in web -->
|
410
|
+
<!-- servers like Apache. Traditionally, this filter is mapped to the -->
|
411
|
+
<!-- URL pattern "*.shtml", though it can be mapped to "*" as it will -->
|
412
|
+
<!-- selectively enable/disable SSI processing based on mime types. For -->
|
413
|
+
<!-- this to work you will need to uncomment the .shtml mime type -->
|
414
|
+
<!-- definition towards the bottom of this file. -->
|
415
|
+
<!-- The contentType init param allows you to apply SSI processing to JSP -->
|
416
|
+
<!-- pages, javascript, or any other content you wish. This filter -->
|
417
|
+
<!-- supports the following initialization parameters (default values are -->
|
418
|
+
<!-- in square brackets): -->
|
419
|
+
<!-- -->
|
420
|
+
<!-- contentType A regex pattern that must be matched before -->
|
421
|
+
<!-- SSI processing is applied. -->
|
422
|
+
<!-- [text/x-server-parsed-html(;.*)?] -->
|
423
|
+
<!-- -->
|
424
|
+
<!-- debug Debugging detail level for messages logged -->
|
425
|
+
<!-- by this servlet. [0] -->
|
426
|
+
<!-- -->
|
427
|
+
<!-- expires The number of seconds before a page with SSI -->
|
428
|
+
<!-- directives will expire. [No default] -->
|
429
|
+
<!-- -->
|
430
|
+
<!-- isVirtualWebappRelative -->
|
431
|
+
<!-- Should "virtual" paths be interpreted as -->
|
432
|
+
<!-- relative to the context root, instead of -->
|
433
|
+
<!-- the server root? (0=false, 1=true) [0] -->
|
434
|
+
<!-- -->
|
435
|
+
<!-- -->
|
436
|
+
<!-- IMPORTANT: To use the SSI filter, you also need to rename the -->
|
437
|
+
<!-- $CATALINA_HOME/server/lib/servlets-ssi.renametojar file -->
|
438
|
+
<!-- to $CATALINA_HOME/server/lib/servlets-ssi.jar -->
|
439
|
+
|
440
|
+
<!--
|
441
|
+
<filter>
|
442
|
+
<filter-name>ssi</filter-name>
|
443
|
+
<filter-class>
|
444
|
+
org.apache.catalina.ssi.SSIFilter
|
445
|
+
</filter-class>
|
446
|
+
<init-param>
|
447
|
+
<param-name>contentType</param-name>
|
448
|
+
<param-value>text/x-server-parsed-html(;.*)?</param-value>
|
449
|
+
</init-param>
|
450
|
+
<init-param>
|
451
|
+
<param-name>debug</param-name>
|
452
|
+
<param-value>0</param-value>
|
453
|
+
</init-param>
|
454
|
+
<init-param>
|
455
|
+
<param-name>expires</param-name>
|
456
|
+
<param-value>666</param-value>
|
457
|
+
</init-param>
|
458
|
+
<init-param>
|
459
|
+
<param-name>isVirtualWebappRelative</param-name>
|
460
|
+
<param-value>0</param-value>
|
461
|
+
</init-param>
|
462
|
+
</filter>
|
463
|
+
-->
|
464
|
+
|
465
|
+
|
466
|
+
<!-- ==================== Built In Filter Mappings ====================== -->
|
467
|
+
|
468
|
+
<!-- The mapping for the SSI Filter -->
|
469
|
+
<!--
|
470
|
+
<filter-mapping>
|
471
|
+
<filter-name>ssi</filter-name>
|
472
|
+
<url-pattern>*.shtml</url-pattern>
|
473
|
+
</filter-mapping>
|
474
|
+
-->
|
475
|
+
|
281
476
|
|
282
477
|
<!-- ==================== Default Session Configuration ================= -->
|
283
478
|
|
@@ -698,10 +893,12 @@
|
|
698
893
|
<extension>shar</extension>
|
699
894
|
<mime-type>application/x-shar</mime-type>
|
700
895
|
</mime-mapping>
|
896
|
+
<!--
|
701
897
|
<mime-mapping>
|
702
898
|
<extension>shtml</extension>
|
703
899
|
<mime-type>text/x-server-parsed-html</mime-type>
|
704
900
|
</mime-mapping>
|
901
|
+
-->
|
705
902
|
<mime-mapping>
|
706
903
|
<extension>sit</extension>
|
707
904
|
<mime-type>application/x-stuffit</mime-type>
|
@@ -182,6 +182,9 @@
|
|
182
182
|
<java-config java-home="${com.sun.aas.javaRoot}" debug-enabled="false" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009" rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g" javac-options="-g" system-classpath="" classpath-suffix="" env-classpath-ignored="true">
|
183
183
|
<!-- various required jvm-options -->
|
184
184
|
<jvm-options>-client</jvm-options>
|
185
|
+
<jvm-options>-XX:+UnlockDiagnosticVMOptions</jvm-options>
|
186
|
+
<jvm-options>-XX:+LogVMOutput</jvm-options>
|
187
|
+
<jvm-options>-XX:LogFile=${com.sun.aas.instanceRoot}/logs/jvm.log</jvm-options>
|
185
188
|
<jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
|
186
189
|
<jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
|
187
190
|
<jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
|
@@ -24,7 +24,7 @@ Use is subject to License Terms
|
|
24
24
|
</tbody>
|
25
25
|
</table> <h1>Your Application Server is now running</h1> <p>To replace this page, overwrite the file <code>index.html</code> in the default document root folder of this server. The default document root folder is located at <var>as-install</var><code>/domains/domain1/docroot</code>,
|
26
26
|
where <var>as-install</var> is the Application Server installation directory.</p>
|
27
|
-
<p>To manage the server, click <a href="/admin">here
|
27
|
+
<p>To manage the server from localhost, click <a href="http://localhost:8080/admin">here.</a></p>
|
28
28
|
<h2>Register the Application Server with Sun Connection now</h2><p>Use the Admin Console to register the Application Server with <a href="http://www.sun.com/service/sunconnection/index.jsp" target=" blank">Sun Connection
|
29
29
|
</a> now. Registration is optional, but as a registered user you receive benefits such as:</p><ul>
|
30
30
|
<li>Patch information and bug updates</li>
|
@@ -283,10 +283,111 @@
|
|
283
283
|
<load-on-startup>3</load-on-startup>
|
284
284
|
</servlet>
|
285
285
|
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
286
|
+
|
287
|
+
<!-- NOTE: An SSI Filter is also available as an alternative SSI -->
|
288
|
+
<!-- implementation. Use either the Servlet or the Filter but NOT both. -->
|
289
|
+
<!-- -->
|
290
|
+
<!-- Server Side Includes processing servlet, which processes SSI -->
|
291
|
+
<!-- directives in HTML pages consistent with similar support in web -->
|
292
|
+
<!-- servers like Apache. Traditionally, this servlet is mapped to the -->
|
293
|
+
<!-- URL pattern "*.shtml". This servlet supports the following -->
|
294
|
+
<!-- initialization parameters (default values are in square brackets): -->
|
295
|
+
<!-- -->
|
296
|
+
<!-- buffered Should output from this servlet be buffered? -->
|
297
|
+
<!-- (0=false, 1=true) [0] -->
|
298
|
+
<!-- -->
|
299
|
+
<!-- debug Debugging detail level for messages logged -->
|
300
|
+
<!-- by this servlet. [0] -->
|
301
|
+
<!-- -->
|
302
|
+
<!-- expires The number of seconds before a page with SSI -->
|
303
|
+
<!-- directives will expire. [No default] -->
|
304
|
+
<!-- -->
|
305
|
+
<!-- isVirtualWebappRelative -->
|
306
|
+
<!-- Should "virtual" paths be interpreted as -->
|
307
|
+
<!-- relative to the context root, instead of -->
|
308
|
+
<!-- the server root? (0=false, 1=true) [0] -->
|
309
|
+
<!-- -->
|
310
|
+
<!-- inputEncoding The encoding to assume for SSI resources if -->
|
311
|
+
<!-- one is not available from the resource. -->
|
312
|
+
<!-- [Platform default] -->
|
313
|
+
<!-- -->
|
314
|
+
<!-- outputEncoding The encoding to use for the page that results -->
|
315
|
+
<!-- from the SSI processing. [UTF-8] -->
|
316
|
+
<!-- -->
|
317
|
+
<!-- -->
|
318
|
+
<!-- IMPORTANT: To use the SSI servlet, you also need to rename the -->
|
319
|
+
<!-- $CATALINA_HOME/server/lib/servlets-ssi.renametojar file -->
|
320
|
+
<!-- to $CATALINA_HOME/server/lib/servlets-ssi.jar -->
|
321
|
+
|
322
|
+
<!--
|
323
|
+
<servlet>
|
324
|
+
<servlet-name>ssi</servlet-name>
|
325
|
+
<servlet-class>org.apache.catalina.ssi.SSIServlet</servlet-class>
|
326
|
+
<init-param>
|
327
|
+
<param-name>buffered</param-name>
|
328
|
+
<param-value>1</param-value>
|
329
|
+
</init-param>
|
330
|
+
<init-param>
|
331
|
+
<param-name>debug</param-name>
|
332
|
+
<param-value>0</param-value>
|
333
|
+
</init-param>
|
334
|
+
<init-param>
|
335
|
+
<param-name>expires</param-name>
|
336
|
+
<param-value>666</param-value>
|
337
|
+
</init-param>
|
338
|
+
<init-param>
|
339
|
+
<param-name>isVirtualWebappRelative</param-name>
|
340
|
+
<param-value>0</param-value>
|
341
|
+
</init-param>
|
342
|
+
<load-on-startup>4</load-on-startup>
|
343
|
+
</servlet>
|
344
|
+
-->
|
345
|
+
|
346
|
+
|
347
|
+
<!-- Common Gateway Includes (CGI) processing servlet, which supports -->
|
348
|
+
<!-- execution of external applications that conform to the CGI spec -->
|
349
|
+
<!-- requirements. Typically, this servlet is mapped to the URL pattern -->
|
350
|
+
<!-- "/cgi-bin/*", which means that any CGI applications that are -->
|
351
|
+
<!-- executed must be present within the web application. This servlet -->
|
352
|
+
<!-- supports the following initialization parameters (default values -->
|
353
|
+
<!-- are in square brackets): -->
|
354
|
+
<!-- -->
|
355
|
+
<!-- cgiPathPrefix The CGI search path will start at -->
|
356
|
+
<!-- webAppRootDir + File.separator + this prefix. -->
|
357
|
+
<!-- [WEB-INF/cgi] -->
|
358
|
+
<!-- -->
|
359
|
+
<!-- debug Debugging detail level for messages logged -->
|
360
|
+
<!-- by this servlet. [0] -->
|
361
|
+
<!-- -->
|
362
|
+
<!-- executable Name of the exectuable used to run the -->
|
363
|
+
<!-- script. [perl] -->
|
364
|
+
<!-- -->
|
365
|
+
<!-- parameterEncoding Name of parameter encoding to be used with -->
|
366
|
+
<!-- CGI servlet. -->
|
367
|
+
<!-- [System.getProperty("file.encoding","UTF-8")] -->
|
368
|
+
<!-- -->
|
369
|
+
<!-- passShellEnvironment Should the shell environment variables (if -->
|
370
|
+
<!-- any) be passed to the CGI script? [false] -->
|
371
|
+
<!-- -->
|
372
|
+
<!-- IMPORTANT: To use the CGI servlet, you also need to rename the -->
|
373
|
+
<!-- $CATALINA_HOME/server/lib/servlets-cgi.renametojar file -->
|
374
|
+
<!-- to $CATALINA_HOME/server/lib/servlets-cgi.jar -->
|
375
|
+
|
376
|
+
<!--
|
377
|
+
<servlet>
|
378
|
+
<servlet-name>cgi</servlet-name>
|
379
|
+
<servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
|
380
|
+
<init-param>
|
381
|
+
<param-name>debug</param-name>
|
382
|
+
<param-value>0</param-value>
|
383
|
+
</init-param>
|
384
|
+
<init-param>
|
385
|
+
<param-name>cgiPathPrefix</param-name>
|
386
|
+
<param-value>WEB-INF/cgi</param-value>
|
387
|
+
</init-param>
|
388
|
+
<load-on-startup>5</load-on-startup>
|
389
|
+
</servlet>
|
390
|
+
-->
|
290
391
|
|
291
392
|
|
292
393
|
<!-- ================ Built In Servlet Mappings ========================= -->
|
@@ -297,13 +398,107 @@
|
|
297
398
|
<url-pattern>/</url-pattern>
|
298
399
|
</servlet-mapping>
|
299
400
|
|
300
|
-
|
301
401
|
<!-- The mapping for the JSP servlet -->
|
302
402
|
<servlet-mapping>
|
303
403
|
<servlet-name>jsp</servlet-name>
|
304
404
|
<url-pattern>*.jsp</url-pattern>
|
305
405
|
</servlet-mapping>
|
306
406
|
|
407
|
+
<servlet-mapping>
|
408
|
+
<servlet-name>jsp</servlet-name>
|
409
|
+
<url-pattern>*.jspx</url-pattern>
|
410
|
+
</servlet-mapping>
|
411
|
+
|
412
|
+
<!-- The mapping for the SSI servlet -->
|
413
|
+
<!--
|
414
|
+
<servlet-mapping>
|
415
|
+
<servlet-name>ssi</servlet-name>
|
416
|
+
<url-pattern>*.shtml</url-pattern>
|
417
|
+
</servlet-mapping>
|
418
|
+
-->
|
419
|
+
|
420
|
+
<!-- The mapping for the CGI Gateway servlet -->
|
421
|
+
<!--
|
422
|
+
<servlet-mapping>
|
423
|
+
<servlet-name>cgi</servlet-name>
|
424
|
+
<url-pattern>/cgi-bin/*</url-pattern>
|
425
|
+
</servlet-mapping>
|
426
|
+
-->
|
427
|
+
|
428
|
+
|
429
|
+
<!-- ================== Built In Filter Definitions ===================== -->
|
430
|
+
|
431
|
+
<!-- NOTE: An SSI Servlet is also available as an alternative SSI -->
|
432
|
+
<!-- implementation. Use either the Servlet or the Filter but NOT both. -->
|
433
|
+
<!-- -->
|
434
|
+
<!-- Server Side Includes processing filter, which processes SSI -->
|
435
|
+
<!-- directives in HTML pages consistent with similar support in web -->
|
436
|
+
<!-- servers like Apache. Traditionally, this filter is mapped to the -->
|
437
|
+
<!-- URL pattern "*.shtml", though it can be mapped to "*" as it will -->
|
438
|
+
<!-- selectively enable/disable SSI processing based on mime types. For -->
|
439
|
+
<!-- this to work you will need to uncomment the .shtml mime type -->
|
440
|
+
<!-- definition towards the bottom of this file. -->
|
441
|
+
<!-- The contentType init param allows you to apply SSI processing to JSP -->
|
442
|
+
<!-- pages, javascript, or any other content you wish. This filter -->
|
443
|
+
<!-- supports the following initialization parameters (default values are -->
|
444
|
+
<!-- in square brackets): -->
|
445
|
+
<!-- -->
|
446
|
+
<!-- contentType A regex pattern that must be matched before -->
|
447
|
+
<!-- SSI processing is applied. -->
|
448
|
+
<!-- [text/x-server-parsed-html(;.*)?] -->
|
449
|
+
<!-- -->
|
450
|
+
<!-- debug Debugging detail level for messages logged -->
|
451
|
+
<!-- by this servlet. [0] -->
|
452
|
+
<!-- -->
|
453
|
+
<!-- expires The number of seconds before a page with SSI -->
|
454
|
+
<!-- directives will expire. [No default] -->
|
455
|
+
<!-- -->
|
456
|
+
<!-- isVirtualWebappRelative -->
|
457
|
+
<!-- Should "virtual" paths be interpreted as -->
|
458
|
+
<!-- relative to the context root, instead of -->
|
459
|
+
<!-- the server root? (0=false, 1=true) [0] -->
|
460
|
+
<!-- -->
|
461
|
+
<!-- -->
|
462
|
+
<!-- IMPORTANT: To use the SSI filter, you also need to rename the -->
|
463
|
+
<!-- $CATALINA_HOME/server/lib/servlets-ssi.renametojar file -->
|
464
|
+
<!-- to $CATALINA_HOME/server/lib/servlets-ssi.jar -->
|
465
|
+
|
466
|
+
<!--
|
467
|
+
<filter>
|
468
|
+
<filter-name>ssi</filter-name>
|
469
|
+
<filter-class>
|
470
|
+
org.apache.catalina.ssi.SSIFilter
|
471
|
+
</filter-class>
|
472
|
+
<init-param>
|
473
|
+
<param-name>contentType</param-name>
|
474
|
+
<param-value>text/x-server-parsed-html(;.*)?</param-value>
|
475
|
+
</init-param>
|
476
|
+
<init-param>
|
477
|
+
<param-name>debug</param-name>
|
478
|
+
<param-value>0</param-value>
|
479
|
+
</init-param>
|
480
|
+
<init-param>
|
481
|
+
<param-name>expires</param-name>
|
482
|
+
<param-value>666</param-value>
|
483
|
+
</init-param>
|
484
|
+
<init-param>
|
485
|
+
<param-name>isVirtualWebappRelative</param-name>
|
486
|
+
<param-value>0</param-value>
|
487
|
+
</init-param>
|
488
|
+
</filter>
|
489
|
+
-->
|
490
|
+
|
491
|
+
|
492
|
+
<!-- ==================== Built In Filter Mappings ====================== -->
|
493
|
+
|
494
|
+
<!-- The mapping for the SSI Filter -->
|
495
|
+
<!--
|
496
|
+
<filter-mapping>
|
497
|
+
<filter-name>ssi</filter-name>
|
498
|
+
<url-pattern>*.shtml</url-pattern>
|
499
|
+
</filter-mapping>
|
500
|
+
-->
|
501
|
+
|
307
502
|
|
308
503
|
<!-- ==================== Default Session Configuration ================= -->
|
309
504
|
|
@@ -724,10 +919,12 @@
|
|
724
919
|
<extension>shar</extension>
|
725
920
|
<mime-type>application/x-shar</mime-type>
|
726
921
|
</mime-mapping>
|
922
|
+
<!--
|
727
923
|
<mime-mapping>
|
728
924
|
<extension>shtml</extension>
|
729
925
|
<mime-type>text/x-server-parsed-html</mime-type>
|
730
926
|
</mime-mapping>
|
927
|
+
-->
|
731
928
|
<mime-mapping>
|
732
929
|
<extension>sit</extension>
|
733
930
|
<mime-type>application/x-stuffit</mime-type>
|
data/lib/templates/domain.xml
CHANGED
@@ -182,6 +182,9 @@
|
|
182
182
|
<java-config java-home="${com.sun.aas.javaRoot}" debug-enabled="false" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009" rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g" javac-options="-g" system-classpath="" classpath-suffix="" env-classpath-ignored="true">
|
183
183
|
<!-- various required jvm-options -->
|
184
184
|
<jvm-options>-client</jvm-options>
|
185
|
+
<jvm-options>-XX:+UnlockDiagnosticVMOptions</jvm-options>
|
186
|
+
<jvm-options>-XX:+LogVMOutput</jvm-options>
|
187
|
+
<jvm-options>-XX:LogFile=${com.sun.aas.instanceRoot}/logs/jvm.log</jvm-options>
|
185
188
|
<jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
|
186
189
|
<jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
|
187
190
|
<jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
|
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,8 +1,11 @@
|
|
1
|
-
require 'glassfish-10.0-
|
1
|
+
require 'glassfish-10.0-SNAPSHOT.jar'
|
2
2
|
|
3
3
|
module GlassFish
|
4
4
|
import com.sun.enterprise.glassfish.bootstrap.ASMain
|
5
5
|
def startup(args)
|
6
|
+
#OSGi is default but GlassFish nucleus does not have all the dependencies for OSGi and
|
7
|
+
#hence it fails. For now running it in HK2
|
8
|
+
java.lang.System.setProperty("GlassFish_Platform", "HK2");
|
6
9
|
ASMain.main(args.to_java(:string))
|
7
10
|
end
|
8
11
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -6,9 +6,9 @@ executables:
|
|
6
6
|
- asadmin
|
7
7
|
- asadmin.bat
|
8
8
|
version: !ruby/object:Gem::Version
|
9
|
-
version: 0.
|
9
|
+
version: 0.3.0
|
10
10
|
post_install_message:
|
11
|
-
date: 2008-
|
11
|
+
date: 2008-06-23 07:00:00 +00:00
|
12
12
|
files:
|
13
13
|
- bin/asadmin
|
14
14
|
- bin/asadmin.bat
|
@@ -38,27 +38,27 @@ files:
|
|
38
38
|
- lib/appclient/client.policy
|
39
39
|
- lib/appclient/appclientlogin.conf
|
40
40
|
- modules/wstx-asl-3.2.3.jar
|
41
|
-
- modules/
|
42
|
-
- modules/tiger-types-osgi-0.2.1.jar
|
41
|
+
- modules/tiger-types-osgi-0.3.2.jar
|
43
42
|
- modules/stax-api-1.0-2.jar
|
44
|
-
- modules/
|
45
|
-
- modules/config-0.
|
46
|
-
- modules/
|
47
|
-
- modules/
|
48
|
-
- modules/
|
49
|
-
- modules/
|
50
|
-
- modules/
|
51
|
-
- modules/
|
52
|
-
- modules/
|
53
|
-
- modules/
|
54
|
-
- modules/
|
55
|
-
- modules/
|
56
|
-
- modules/
|
57
|
-
- modules/
|
58
|
-
- modules/
|
59
|
-
- modules/
|
60
|
-
- modules/grizzly-jruby-
|
61
|
-
- modules/gf-jruby-connector-
|
43
|
+
- modules/osgi-adapter-0.3.2.jar
|
44
|
+
- modules/config-api-10.0-SNAPSHOT.jar
|
45
|
+
- modules/config-0.3.2.jar
|
46
|
+
- modules/common-util-10.0-SNAPSHOT.jar
|
47
|
+
- modules/cli-framework-10.0-SNAPSHOT.jar
|
48
|
+
- modules/auto-depends-0.3.2.jar
|
49
|
+
- modules/admin-cli-10.0-SNAPSHOT.jar
|
50
|
+
- modules/deployment-common-10.0-SNAPSHOT.jar
|
51
|
+
- modules/glassfish-10.0-SNAPSHOT.jar
|
52
|
+
- modules/glassfish-api-10.0.0-rev5.jar
|
53
|
+
- modules/grizzly-module-1.7.3.3-rev1.jar
|
54
|
+
- modules/hk2-0.3.2.jar
|
55
|
+
- modules/hk2-core-0.3.2.jar
|
56
|
+
- modules/internal-api-10.0-SNAPSHOT.jar
|
57
|
+
- modules/kernel-10.0-SNAPSHOT.jar
|
58
|
+
- modules/launcher-10.0-SNAPSHOT.jar
|
59
|
+
- modules/grizzly-jruby-1.7.5.jar
|
60
|
+
- modules/gf-jruby-connector-0.7-SNAPSHOT.jar
|
61
|
+
- modules/grizzly-jruby-module-0.7-SNAPSHOT.jar
|
62
62
|
- modules/glassfish.rb
|
63
63
|
- config/asadminenv.conf
|
64
64
|
- config/asenv.bat
|
Binary file
|
Binary file
|
data/modules/config-0.2.1.jar
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/modules/hk2-0.2.1.jar
DELETED
Binary file
|
data/modules/hk2-core-0.2.1.jar
DELETED
Binary file
|
Binary file
|
data/modules/junit-4.3.1.jar
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|