glassfish 0.9.5-universal-java → 1.0.0-universal-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. data/History.txt +247 -0
  2. data/LICENSE.txt +774 -0
  3. data/README.txt +140 -0
  4. data/bin/gfrake +5 -1
  5. data/bin/glassfish +5 -7
  6. data/generators/gfrake/templates/glassfish.yml +39 -0
  7. data/lib/command_line_parser.rb +29 -40
  8. data/lib/config.rb +57 -63
  9. data/lib/glassfish.rb +3 -79
  10. data/{modules → lib/java}/akuma.jar +0 -0
  11. data/lib/java/gf-jruby-connector.jar +0 -0
  12. data/lib/java/glassfish-embedded-nucleus.jar +0 -0
  13. data/lib/java/glassfish-gem.jar +0 -0
  14. data/lib/java/grizzly-jruby-module.jar +0 -0
  15. data/lib/java/grizzly-jruby.jar +0 -0
  16. data/lib/jruby/rack/grizzly_helper.rb +230 -0
  17. data/lib/jruby/rack/merb.rb +34 -0
  18. data/lib/jruby/rack/rackup.rb +46 -0
  19. data/lib/jruby/rack/rails.rb +29 -0
  20. data/lib/jruby/rack/sinatra.rb +18 -0
  21. data/lib/jruby/rails_path.rb +11 -0
  22. data/lib/{templates/profile.properties → rack/adapter/merb.rb} +18 -7
  23. data/lib/rack/adapter/rails.rb +268 -0
  24. data/lib/rack/handler/grizzly.rb +59 -0
  25. data/lib/server.rb +164 -0
  26. data/lib/version.rb +1 -1
  27. metadata +83 -153
  28. data/bin/glassfish_rails +0 -61
  29. data/config/asadminenv.conf +0 -6
  30. data/config/asenv.bat +0 -29
  31. data/config/asenv.conf +0 -31
  32. data/config/glassfish.container +0 -4
  33. data/domains/domain1/config/admin-keyfile +0 -3
  34. data/domains/domain1/config/cacerts.jks +0 -0
  35. data/domains/domain1/config/default-web.xml +0 -1133
  36. data/domains/domain1/config/domain-passwords +0 -0
  37. data/domains/domain1/config/domain.xml +0 -190
  38. data/domains/domain1/config/glassfish_gem_version.yml +0 -7
  39. data/domains/domain1/config/keyfile +0 -6
  40. data/domains/domain1/config/keystore.jks +0 -0
  41. data/domains/domain1/config/logging.properties +0 -46
  42. data/domains/domain1/config/login.conf +0 -21
  43. data/domains/domain1/config/server.policy +0 -170
  44. data/domains/domain1/config/sun-acc.xml +0 -40
  45. data/domains/domain1/docroot/index.html +0 -83
  46. data/domains/domain1/master-password +0 -0
  47. data/lib/appclient/appclientlogin.conf +0 -10
  48. data/lib/appclient/client.policy +0 -79
  49. data/lib/appclient/wss-client-config-1.0.xml +0 -84
  50. data/lib/appclient/wss-client-config-2.0.xml +0 -96
  51. data/lib/registration/servicetag-registry.xml +0 -18
  52. data/lib/templates/cacerts.jks +0 -0
  53. data/lib/templates/default-web.xml +0 -1133
  54. data/lib/templates/docroot/index.html +0 -83
  55. data/lib/templates/domain.xml +0 -180
  56. data/lib/templates/domain.xml.xsl +0 -100
  57. data/lib/templates/keyfile +0 -6
  58. data/lib/templates/keystore.jks +0 -0
  59. data/lib/templates/logging.properties +0 -48
  60. data/lib/templates/login.conf +0 -21
  61. data/lib/templates/server.policy +0 -170
  62. data/lib/templates/sun-acc.xml +0 -40
  63. data/modules/admin-cli.jar +0 -0
  64. data/modules/api-exporter.jar +0 -0
  65. data/modules/asm-all-repackaged.jar +0 -0
  66. data/modules/auto-depends.jar +0 -0
  67. data/modules/bean-validator.jar +0 -0
  68. data/modules/branding.jar +0 -0
  69. data/modules/cli-framework.jar +0 -0
  70. data/modules/common-util.jar +0 -0
  71. data/modules/config-api.jar +0 -0
  72. data/modules/config.jar +0 -0
  73. data/modules/deployment-admin.jar +0 -0
  74. data/modules/deployment-autodeploy.jar +0 -0
  75. data/modules/deployment-common.jar +0 -0
  76. data/modules/flashlight-agent.jar +0 -0
  77. data/modules/flashlight-framework.jar +0 -0
  78. data/modules/gf-jruby-connector.jar +0 -0
  79. data/modules/gfprobe-provider-client.jar +0 -0
  80. data/modules/glassfish-api.jar +0 -0
  81. data/modules/glassfish-ee-api.jar +0 -0
  82. data/modules/glassfish-extra-jre-packages.jar +0 -0
  83. data/modules/glassfish-gem.jar +0 -0
  84. data/modules/glassfish.jar +0 -0
  85. data/modules/grizzly-comet.jar +0 -0
  86. data/modules/grizzly-cometd.jar +0 -0
  87. data/modules/grizzly-compat.jar +0 -0
  88. data/modules/grizzly-config.jar +0 -0
  89. data/modules/grizzly-framework.jar +0 -0
  90. data/modules/grizzly-http.jar +0 -0
  91. data/modules/grizzly-jruby-module.jar +0 -0
  92. data/modules/grizzly-jruby.jar +0 -0
  93. data/modules/grizzly-messagesbus.jar +0 -0
  94. data/modules/grizzly-portunif.jar +0 -0
  95. data/modules/grizzly-rcm.jar +0 -0
  96. data/modules/grizzly-utils.jar +0 -0
  97. data/modules/hk2-core.jar +0 -0
  98. data/modules/hk2.jar +0 -0
  99. data/modules/internal-api.jar +0 -0
  100. data/modules/kernel.jar +0 -0
  101. data/modules/launcher.jar +0 -0
  102. data/modules/org.apache.felix.configadmin.jar +0 -0
  103. data/modules/org.apache.felix.fileinstall.jar +0 -0
  104. data/modules/org.apache.felix.shell.jar +0 -0
  105. data/modules/org.apache.felix.shell.remote.jar +0 -0
  106. data/modules/org.apache.felix.shell.tui.jar +0 -0
  107. data/modules/osgi-main.jar +0 -0
  108. data/modules/pkg-client.jar +0 -0
  109. data/modules/tiger-types-osgi.jar +0 -0
@@ -35,6 +35,6 @@
35
35
  #++
36
36
 
37
37
  module GlassFish
38
- VERSION = "0.9.5"
38
+ VERSION = "1.0.0"
39
39
  FULLVERSION = "GlassFish gem version: #{VERSION}\nhttp://glassfishgem.rubyforge.org"
40
40
  end
metadata CHANGED
@@ -1,167 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
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
2
+ name: glassfish
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: universal-java
6
+ authors:
7
+ - Vivek Pandey
8
+ autorequire:
9
+ bindir: bin
9
10
  cert_chain: []
10
11
 
11
- summary: GlassFish V3 Application Server for JRuby
12
- post_install_message:
13
- extra_rdoc_files: []
12
+ date: 2009-12-10 00:00:00 -08:00
13
+ default_executable: glassfish
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rack
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 0.4.0
24
+ version:
25
+ description: |-
26
+ GlassFish gem is an embedded GlassFish V3 application server which
27
+ would help run your Ruby on Rails application
28
+ email: vivek.pandey@sun.com
29
+ executables:
30
+ - glassfish
31
+ - gfrake
32
+ extensions: []
14
33
 
34
+ extra_rdoc_files:
35
+ - README.txt
36
+ - History.txt
37
+ - LICENSE.txt
38
+ files:
39
+ - bin/gfrake
40
+ - bin/glassfish
41
+ - lib/asadmin.rb
42
+ - lib/command_line_parser.rb
43
+ - lib/config.rb
44
+ - lib/gfraker.rb
45
+ - lib/glassfish.rb
46
+ - lib/rdoc_usage.rb
47
+ - lib/server.rb
48
+ - lib/version.rb
49
+ - lib/java/akuma.jar
50
+ - lib/java/gf-jruby-connector.jar
51
+ - lib/java/glassfish-embedded-nucleus.jar
52
+ - lib/java/glassfish-gem.jar
53
+ - lib/java/grizzly-jruby-module.jar
54
+ - lib/java/grizzly-jruby.jar
55
+ - lib/jruby/rails_path.rb
56
+ - lib/jruby/rack/grizzly_helper.rb
57
+ - lib/jruby/rack/merb.rb
58
+ - lib/jruby/rack/rackup.rb
59
+ - lib/jruby/rack/rails.rb
60
+ - lib/jruby/rack/sinatra.rb
61
+ - lib/rack/adapter/merb.rb
62
+ - lib/rack/adapter/rails.rb
63
+ - lib/rack/handler/grizzly.rb
64
+ - generators/gfrake/templates/glassfish.yml
65
+ - README.txt
66
+ - History.txt
67
+ - LICENSE.txt
68
+ has_rdoc: true
15
69
  homepage: http://glassfishgem.rubyforge.org/
16
- signing_key:
17
- name: glassfish
70
+ licenses: []
71
+
72
+ post_install_message:
18
73
  rdoc_options: []
19
74
 
20
- autorequire:
21
- rubyforge_project: glassfishgem
22
- executables:
23
- - glassfish
24
- - glassfish_rails
25
- - gfrake
26
- description: GlassFish gem is an embedded GlassFish V3 application server which would
27
- help run your Ruby on Rails application
28
- specification_version: 2
29
- default_executable: glassfish
30
- files:
31
- - bin/gfrake
32
- - bin/glassfish
33
- - bin/glassfish_rails
34
- - lib/appclient
35
- - lib/asadmin.rb
36
- - lib/command_line_parser.rb
37
- - lib/config.rb
38
- - lib/gfraker.rb
39
- - lib/glassfish.rb
40
- - lib/rdoc_usage.rb
41
- - lib/registration
42
- - lib/templates
43
- - lib/version.rb
44
- - lib/appclient/appclientlogin.conf
45
- - lib/appclient/client.policy
46
- - lib/appclient/wss-client-config-1.0.xml
47
- - lib/appclient/wss-client-config-2.0.xml
48
- - lib/registration/servicetag-registry.xml
49
- - lib/templates/cacerts.jks
50
- - lib/templates/default-web.xml
51
- - lib/templates/docroot
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
- - lib/templates/sun-acc.xml
61
- - lib/templates/docroot/index.html
62
- - generators/gfrake
63
- - generators/gfrake/templates
64
- - generators/gfrake/templates/glassfish.yml
65
- - modules/admin-cli.jar
66
- - modules/akuma.jar
67
- - modules/api-exporter.jar
68
- - modules/asm-all-repackaged.jar
69
- - modules/auto-depends.jar
70
- - modules/bean-validator.jar
71
- - modules/branding.jar
72
- - modules/cli-framework.jar
73
- - modules/common-util.jar
74
- - modules/config-api.jar
75
- - modules/config.jar
76
- - modules/deployment-admin.jar
77
- - modules/deployment-autodeploy.jar
78
- - modules/deployment-common.jar
79
- - modules/flashlight-agent.jar
80
- - modules/flashlight-framework.jar
81
- - modules/gf-jruby-connector.jar
82
- - modules/gfprobe-provider-client.jar
83
- - modules/glassfish-api.jar
84
- - modules/glassfish-ee-api.jar
85
- - modules/glassfish-extra-jre-packages.jar
86
- - modules/glassfish-gem.jar
87
- - modules/glassfish.jar
88
- - modules/grizzly-comet.jar
89
- - modules/grizzly-cometd.jar
90
- - modules/grizzly-compat.jar
91
- - modules/grizzly-config.jar
92
- - modules/grizzly-framework.jar
93
- - modules/grizzly-http.jar
94
- - modules/grizzly-jruby-module.jar
95
- - modules/grizzly-jruby.jar
96
- - modules/grizzly-messagesbus.jar
97
- - modules/grizzly-portunif.jar
98
- - modules/grizzly-rcm.jar
99
- - modules/grizzly-utils.jar
100
- - modules/hk2-core.jar
101
- - modules/hk2.jar
102
- - modules/internal-api.jar
103
- - modules/kernel.jar
104
- - modules/launcher.jar
105
- - modules/org.apache.felix.configadmin.jar
106
- - modules/org.apache.felix.fileinstall.jar
107
- - modules/org.apache.felix.shell.jar
108
- - modules/org.apache.felix.shell.remote.jar
109
- - modules/org.apache.felix.shell.tui.jar
110
- - modules/osgi-main.jar
111
- - modules/pkg-client.jar
112
- - modules/tiger-types-osgi.jar
113
- - config/asadminenv.conf
114
- - config/asenv.bat
115
- - config/asenv.conf
116
- - config/glassfish.container
117
- - domains/domain1
118
- - domains/domain1/config
119
- - domains/domain1/docroot
120
- - domains/domain1/master-password
121
- - domains/domain1/config/admin-keyfile
122
- - domains/domain1/config/cacerts.jks
123
- - domains/domain1/config/default-web.xml
124
- - domains/domain1/config/domain-passwords
125
- - domains/domain1/config/domain.xml
126
- - domains/domain1/config/glassfish_gem_version.yml
127
- - domains/domain1/config/keyfile
128
- - domains/domain1/config/keystore.jks
129
- - domains/domain1/config/logging.properties
130
- - domains/domain1/config/login.conf
131
- - domains/domain1/config/server.policy
132
- - domains/domain1/config/sun-acc.xml
133
- - domains/domain1/docroot/index.html
75
+ require_paths:
76
+ - lib
77
+ required_ruby_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: "0"
82
+ version:
134
83
  required_rubygems_version: !ruby/object:Gem::Requirement
135
84
  requirements:
136
- - - '>='
137
- - !ruby/object:Gem::Version
138
- version: "0"
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: "0"
139
88
  version:
140
- extensions: []
141
-
142
- rubygems_version: 1.3.1
143
89
  requirements: []
144
90
 
145
- authors:
146
- - Vivek Pandey, Jerome Dochez
147
- date: 2009-06-01 07:00:00 +00:00
148
- platform: universal-java
91
+ rubyforge_project: glassfishgem
92
+ rubygems_version: 1.3.5
93
+ signing_key:
94
+ specification_version: 3
95
+ summary: GlassFish V3 gem for JRuby
149
96
  test_files: []
150
97
 
151
- version: !ruby/object:Gem::Version
152
- version: 0.9.5
153
- require_paths:
154
- - lib
155
- dependencies:
156
- - !ruby/object:Gem::Dependency
157
- version_requirements: !ruby/object:Gem::Requirement
158
- requirements:
159
- - - '>='
160
- - !ruby/object:Gem::Version
161
- version: 0.4.0
162
- version:
163
- type: :runtime
164
- version_requirement:
165
- name: rack
166
- bindir: bin
167
- has_rdoc: true
@@ -1,61 +0,0 @@
1
- # == Synopsis
2
- #
3
- # glassfish: GlassFish v3 server for Rack based frameworks such as: Rails, Merb, Sinatra...
4
- #
5
- # == Usage:
6
- #
7
- # glassfish [OPTION] APPLICATION_PATH
8
- #
9
- # -h, --help::
10
- # show help
11
- #
12
- # -c, --contextroot PATH::
13
- # change the context root (default: '/')
14
- #
15
- # -p, --port PORT::
16
- # change server port (default: 3000)
17
- #
18
- # -e, --environment ENV::
19
- # change rails environment (default: development)
20
- #
21
- # -n --runtimes NUMBER::
22
- # Number of JRuby runtimes to create initially
23
- #
24
- # --runtimes-min NUMBER::
25
- # Minimum JRuby runtimes to create
26
- #
27
- # --runtimes-max NUMBER::
28
- # Maximum number of JRuby runtimes to create
29
- #
30
- # -d, --daemon::
31
- # Run GlassFish as daemon. Currently works with Linux and Solaris OS.
32
- #
33
- # -P, --pid FILE::
34
- # PID file where PID will be written. Applicable when used with -d option. The default pid file is tmp/pids/glassfish-<PID>.pid
35
- #
36
- # -l, --log FILE::
37
- # Log file, where the server log messages will go. By default the server logs go to log/development.log file. To see the logs on console run with -l option without any argument.
38
- #
39
- # --log-level LEVEL::
40
- # Log level 0 to 7. 0:OFF, 1:SEVERE, 2:WARNING, 3:INFO (default), 4:FINE, 5:FINER, 6:FINEST, 7:ALL.
41
- #
42
- # --config FILE::
43
- # Configuration file location. Use glassfish.yml as template. Generate it using 'gfrake config' command.
44
- #
45
- # APPLICATION_PATH (optional): Path to the application to be run (default: current).
46
- #
47
- # For further configuration, run GlassFish rake command 'gfrake -T'
48
-
49
- require "java"
50
- $LOAD_PATH << "#{File.dirname(__FILE__)}/../modules"
51
- $LOAD_PATH << "#{File.dirname(__FILE__)}/../lib"
52
-
53
- require 'command_line_parser'
54
- require 'glassfish'
55
-
56
- puts "\n'glassfish_rails' is deprecated, use 'glassfish' command instead.\nThis script will be removed in the next release.
57
- \n\n"
58
-
59
- options = GlassFish::CommandLineParser.new.parse
60
- gf = GlassFish::Server.new
61
- gf.startup(options)
@@ -1,6 +0,0 @@
1
- # Copyright 2006 Sun Microsystems Inc. All rights reserved.
2
- # Use is subject to license terms.
3
- # Defines the defaults for the asadmin script. This file should only contain simple properties. Edit judiciously.
4
- AS_ADMIN_PORT=4848
5
- AS_ADMIN_PROFILE=developer
6
- AS_ADMIN_SECURE=false
@@ -1,29 +0,0 @@
1
- REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
2
- REM
3
- REM Copyright 2004-2008 Sun Microsystems, Inc. All rights reserved.
4
- REM
5
- REM Use is subject to License Terms
6
- REM
7
-
8
- set AS_ANT=..\lib\ant
9
- set AS_ANT_LIB=..\lib\ant\lib
10
- set AS_WEBSERVICES_LIB=..\lib
11
- set AS_PERL=%PERL_HOME%
12
- set AS_NSS=..\lib
13
- set AS_NSS_BIN=..\lib\admincgi
14
- set AS_IMQ_LIB=..\..\mq\lib
15
- set AS_IMQ_BIN=..\..\mq\bin
16
- set AS_CONFIG=..\config
17
- set AS_INSTALL=..
18
- set AS_ACC_CONFIG=..\domains\domain1\config\sun-acc.xml
19
- set AS_JHELP=..\lib
20
- set AS_ICU_LIB=..\lib
21
- set AS_DEF_DOMAINS_PATH=..\domains
22
- set AS_JDMK_HOME=../lib/SUNWjdmk/5.1
23
- set AS_NATIVE_LAUNCHER=false
24
- set AS_NATIVE_LAUNCHER_LIB_PREFIX=\jre\bin\client
25
- set AS_WEBCONSOLE_LIB=../lib
26
- set AS_JATO_LIB=../lib
27
- set AS_HADB=%HADB_HOME%
28
- set AS_DERBY_INSTALL=..\..\javadb
29
- set AS_MFWK_HOME=%MFWK_HOME%
@@ -1,31 +0,0 @@
1
- #
2
- # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3
- #
4
- # Copyright 2004-2008 Sun Microsystems, Inc. All rights reserved.
5
- #
6
- # Use is subject to License Terms
7
- #
8
-
9
-
10
- AS_ANT="../lib/ant"
11
- AS_ANT_LIB="../lib/ant/lib"
12
- AS_WEBSERVICES_LIB="../lib"
13
- AS_PERL="%PERL_HOME%"
14
- AS_NSS="../lib"
15
- AS_NSS_BIN="../lib/admincgi"
16
- AS_IMQ_LIB="../../mq/lib"
17
- AS_IMQ_BIN="../../mq/bin"
18
- AS_CONFIG="../config"
19
- AS_INSTALL=".."
20
- AS_ACC_CONFIG="../domains/domain1/config/sun-acc.xml"
21
- AS_JHELP="../lib"
22
- AS_ICU_LIB="../lib"
23
- AS_DEF_DOMAINS_PATH="../domains"
24
- AS_JDMK_HOME="../lib/SUNWjdmk/5.1"
25
- AS_NATIVE_LAUNCHER="false"
26
- AS_NATIVE_LAUNCHER_LIB_PREFIX="/jre/lib/i386/client"
27
- AS_WEBCONSOLE_LIB="../lib"
28
- AS_JATO_LIB="../lib"
29
- AS_HADB="%HADB_HOME%"
30
- AS_DERBY_INSTALL="../../javadb"
31
- AS_MFWK_HOME="%MFWK_HOME%"
@@ -1,4 +0,0 @@
1
- containers=jruby, web, php
2
- jruby.application=app/controllers/application.rb
3
- web.application=WEB-INF/web.xml
4
- php.urlpattern=.*php$
@@ -1,3 +0,0 @@
1
- anonymous;{SSHA}OyEtavRpicpaAC6faDddGruZEYBNwDCij2SqhA==;asadmin
2
-
3
- # Domain User and Password - Do Not Delete Entry Above
@@ -1,1133 +0,0 @@
1
- <?xml version="1.0" encoding="ISO-8859-1"?>
2
-
3
- <!--
4
- The contents of this file are subject to the terms
5
- of the Common Development and Distribution License
6
- (the License). You may not use this file except in
7
- compliance with the License.
8
-
9
- You can obtain a copy of the license at
10
- https://glassfish.dev.java.net/public/CDDLv1.0.html or
11
- glassfish/bootstrap/legal/CDDLv1.0.txt.
12
- See the License for the specific language governing
13
- permissions and limitations under the License.
14
-
15
- When distributing Covered Code, include this CDDL
16
- Header Notice in each file and include the License file
17
- at glassfish/bootstrap/legal/CDDLv1.0.txt.
18
- If applicable, add the following below the CDDL Header,
19
- with the fields enclosed by brackets [] replaced by
20
- you own identifying information:
21
- "Portions Copyrighted [year] [name of copyright owner]"
22
-
23
- Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24
- -->
25
-
26
- <!DOCTYPE web-app
27
- PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
28
- "http://java.sun.com/dtd/web-app_2_3.dtd">
29
-
30
- <web-app>
31
-
32
-
33
- <!-- ======================== Introduction ============================== -->
34
-
35
-
36
- <!-- The default deployment descriptor. -->
37
- <!-- -->
38
- <!-- The default deployment descriptor specifies default deployment -->
39
- <!-- descriptor values inherited by any web applications deployed to -->
40
- <!-- the application server. -->
41
-
42
-
43
- <!-- ============ Built In Context Init Parameter Definitions =========== -->
44
-
45
-
46
- <!-- Init parameter to force the XML validation of JSF configuration -->
47
- <!-- ressources. -->
48
-
49
- <context-param>
50
- <param-name>com.sun.faces.validateXml</param-name>
51
- <param-value>true</param-value>
52
- </context-param>
53
-
54
- <!-- Init parameter will cause the JSF implementation to bypass -->
55
- <!-- processing the web.xml to determine if we should continue -->
56
- <!-- bootstrapping JSF for the web application. -->
57
-
58
- <context-param>
59
- <param-name>com.sun.faces.forceLoadConfiguration</param-name>
60
- <param-value>true</param-value>
61
- </context-param>
62
-
63
-
64
- <!-- ================== Built In Servlet Definitions ==================== -->
65
-
66
-
67
- <!-- The DefaultDervlet, which is responsible for serving static -->
68
- <!-- resources. -->
69
- <!-- This servlet processes any requests that are not mapped to other -->
70
- <!-- servlets with servlet mappings (defined either here or in your own -->
71
- <!-- web.xml file. This servlet supports the following initialization -->
72
- <!-- parameters (default values have been placed in square brackets): -->
73
- <!-- -->
74
- <!-- debug Debugging detail level for messages logged -->
75
- <!-- by this servlet. [0] -->
76
- <!-- -->
77
- <!-- fileEncoding Encoding to be used to read static resources -->
78
- <!-- [platform default] -->
79
- <!-- -->
80
- <!-- input Input buffer size (in bytes) when reading -->
81
- <!-- resources to be served. [2048] -->
82
- <!-- -->
83
- <!-- listings Should directory listings be produced if there -->
84
- <!-- is no welcome file in this directory? [false] -->
85
- <!-- WARNING: Listings for directories with many -->
86
- <!-- entries can be slow and may consume -->
87
- <!-- significant proportions of server resources. -->
88
- <!-- -->
89
- <!-- output Output buffer size (in bytes) when writing -->
90
- <!-- resources to be served. [2048] -->
91
- <!-- -->
92
- <!-- readonly Is this context "read only", so HTTP -->
93
- <!-- commands like PUT and DELETE are -->
94
- <!-- rejected? [true] -->
95
- <!-- -->
96
- <!-- readmeFile File name to display with the directory -->
97
- <!-- contents. [null] -->
98
- <!-- -->
99
- <!-- sendfileSize If the connector used supports sendfile, this -->
100
- <!-- represents the minimal file size in KB for -->
101
- <!-- which sendfile will be used. Use a negative -->
102
- <!-- value to always disable sendfile. [48] -->
103
- <!-- -->
104
- <!-- useAcceptRanges Should the Accept-Ranges header be included -->
105
- <!-- in responses where appropriate? [true] -->
106
- <!-- -->
107
- <!-- For directory listing customization. Checks localXsltFile, then -->
108
- <!-- globalXsltFile, then defaults to original behavior. -->
109
- <!-- -->
110
- <!-- localXsltFile Make directory listings an XML doc and -->
111
- <!-- pass the result to this style sheet residing -->
112
- <!-- in that directory. This overrides -->
113
- <!-- globalXsltFile[null] -->
114
- <!-- -->
115
- <!-- globalXsltFile Site wide configuration version of -->
116
- <!-- localXsltFile This argument is expected -->
117
- <!-- to be a physical file. [null] -->
118
-
119
- <servlet>
120
- <servlet-name>default</servlet-name>
121
- <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
122
- <init-param>
123
- <param-name>debug</param-name>
124
- <param-value>0</param-value>
125
- </init-param>
126
- <init-param>
127
- <param-name>listings</param-name>
128
- <param-value>false</param-value>
129
- </init-param>
130
- <load-on-startup>1</load-on-startup>
131
- </servlet>
132
-
133
-
134
- <!-- The JSP page compiler and execution servlet, which is the mechanism -->
135
- <!-- used by the application server to support JSP pages. Traditionally, -->
136
- <!-- this servlet is mapped to the URL pattern "*.jsp". -->
137
- <!-- This servlet supports the following initialization parameters -->
138
- <!-- (default values have been placed in square brackets): -->
139
- <!-- -->
140
- <!-- checkInterval If development is false and checkInterval is -->
141
- <!-- greater than zero, background compilations are -->
142
- <!-- enabled. checkInterval is the time in seconds -->
143
- <!-- between checks to see if a JSP page needs to -->
144
- <!-- be recompiled. [0] -->
145
- <!-- -->
146
- <!-- modificationTestInterval -->
147
- <!-- Causes a JSP (and its dependent files) to not -->
148
- <!-- be checked for modification during the -->
149
- <!-- specified time interval (in seconds) from the -->
150
- <!-- last time the JSP was checked for -->
151
- <!-- modification. A value of 0 will cause the JSP -->
152
- <!-- to be checked on every access. -->
153
- <!-- Used in development mode only. [0] -->
154
- <!-- -->
155
- <!-- compiler Which compiler Ant should use to compile JSP -->
156
- <!-- pages. See the Ant documentation for more -->
157
- <!-- information. [javac] -->
158
- <!-- -->
159
- <!-- classdebuginfo Should the class file be compiled with -->
160
- <!-- debugging information? [true] -->
161
- <!-- -->
162
- <!-- classpath What class path should I use while compiling -->
163
- <!-- generated servlets? [Created dynamically -->
164
- <!-- based on the current web application] -->
165
- <!-- -->
166
- <!-- development Is Jasper used in development mode? If true, -->
167
- <!-- the frequency at which JSPs are checked for -->
168
- <!-- modification may be specified via the -->
169
- <!-- modificationTestInterval parameter. [true] -->
170
- <!-- -->
171
- <!-- enablePooling Determines whether tag handler pooling is -->
172
- <!-- enabled [true] -->
173
- <!-- -->
174
- <!-- fork Tell Ant to fork compiles of JSP pages so that -->
175
- <!-- JSP pages are compiled in their own JVM -->
176
- <!-- (separate from the JVM that the application -->
177
- <!-- server is running in). [true] -->
178
- <!-- -->
179
- <!-- ieClassId The class-id value to be sent to Internet -->
180
- <!-- Explorer when using <jsp:plugin> tags. -->
181
- <!-- [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93] -->
182
- <!-- -->
183
- <!-- javaEncoding Java file encoding to use for generating java -->
184
- <!-- source files. [UTF8] -->
185
- <!-- -->
186
- <!-- keepgenerated Should we keep the generated Java source code -->
187
- <!-- for each page instead of deleting it? -->
188
- <!-- [true with JDK 5 and before, or for jspc] -->
189
- <!-- [false otherwise] -->
190
- <!-- -->
191
- <!-- saveBytecode Should the generated byte code be saved to -->
192
- <!-- .class files? This option is meaningful only -->
193
- <!-- when Java compiler API, JSR199 (available with -->
194
- <!-- JDK 6) is used for javac compilations. -->
195
- <!-- [false] [true for jspc] -->
196
- <!-- -->
197
- <!-- mappedfile Should we generate static content with one -->
198
- <!-- print statement per input line, to ease -->
199
- <!-- debugging? [true] -->
200
- <!-- -->
201
- <!-- trimSpaces Should white spaces in template text between -->
202
- <!-- actions or directives be trimmed? [false] -->
203
- <!-- -->
204
- <!-- suppressSmap Should the generation of SMAP info for JSR45 -->
205
- <!-- debugging be suppressed? [false] -->
206
- <!-- -->
207
- <!-- dumpSmap Should the SMAP info for JSR45 debugging be -->
208
- <!-- dumped to a file? [false] -->
209
- <!-- False if suppressSmap is true -->
210
- <!-- -->
211
- <!-- genStrAsCharArray Should text strings be generated as char -->
212
- <!-- arrays, to improve performance in some cases? -->
213
- <!-- [false] -->
214
- <!-- -->
215
- <!-- genStrAsByteArray Should text strings be generated as bytes -->
216
- <!-- (encoded with the page encoding), if the page -->
217
- <!-- is not buffered? -->
218
- <!-- [true] -->
219
- <!-- -->
220
- <!-- defaultBufferNone Should the default for the buffer attribute of -->
221
- <!-- the page directive be "none"? [false] -->
222
- <!-- -->
223
- <!-- errorOnUseBeanInvalidClassAttribute -->
224
- <!-- Should Jasper issue an error when the value of -->
225
- <!-- the class attribute in an useBean action is -->
226
- <!-- not a valid bean class? [false] -->
227
- <!-- -->
228
- <!-- scratchdir What scratch directory should we use when -->
229
- <!-- compiling JSP pages? [default work directory -->
230
- <!-- for the current web application] -->
231
- <!-- -->
232
- <!-- xpoweredBy Determines whether X-Powered-By response -->
233
- <!-- header is added by generated servlet [true] -->
234
- <!-- -->
235
- <!-- usePrecompiled If true, it is assumed that JSPs have been -->
236
- <!-- precompiled, and their corresponding servlet -->
237
- <!-- classes have been bundled in the web -->
238
- <!-- application's WEB-INF/lib or WEB-INF/classes, -->
239
- <!-- so that when a JSP is accessed, it is not -->
240
- <!-- compiled, and instead, its precompiled servlet -->
241
- <!-- class is used. [false] -->
242
- <!-- -->
243
- <!-- use-precompiled Same as usePrecompiled. If both are specified, -->
244
- <!-- usePrecompiled takes precedence -->
245
- <!-- -->
246
- <!-- initialCapacity Initial capacity of HashMap mapping JSPs to -->
247
- <!-- their corresponding servlets [32] -->
248
- <!-- -->
249
- <!-- initial-capacity Same as initialCapacity. If both are specified,-->
250
- <!-- initialCapacity takes precedence -->
251
- <!-- -->
252
- <!-- httpMethods Comma separated list of HTTP methods supported -->
253
- <!-- by the JspServlet. Wildcard ("*") denotes -->
254
- <!-- "ALL METHODS". [ALL METHODS] -->
255
- <!-- -->
256
- <!-- reload-interval Specifies the frequency (in seconds) at which -->
257
- <!-- JSP files are checked for modifications. -->
258
- <!-- Setting this value to 0 checks JSPs for -->
259
- <!-- modifications on every request. Setting this -->
260
- <!-- value to -1 disables checks for JSP -->
261
- <!-- modifications and JSP recompilation. -->
262
- <!-- -->
263
- <!-- compilerSourceVM Provides source compatibility with the -->
264
- <!-- specified JDK release (same as -source -->
265
- <!-- javac command-line switch) -->
266
- <!-- -->
267
- <!-- compilerTargetVM Generates class files for specified VM version -->
268
- <!-- (same as -target javac command-line switch) -->
269
- <!-- -->
270
- <!-- If you wish to use Jikes to compile JSP pages: -->
271
- <!-- * Set the "classpath" initialization parameter appropriately -->
272
- <!-- for this web application. -->
273
- <!-- * Set the "jspCompilerPlugin" initialization parameter to -->
274
- <!-- "org.apache.jasper.compiler.JikesJavaCompiler". -->
275
-
276
- <servlet>
277
- <servlet-name>jsp</servlet-name>
278
- <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
279
- <init-param>
280
- <param-name>xpoweredBy</param-name>
281
- <param-value>true</param-value>
282
- </init-param>
283
- <load-on-startup>3</load-on-startup>
284
- </servlet>
285
-
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
- <servlet>
319
- <servlet-name>ssi</servlet-name>
320
- <servlet-class>org.apache.catalina.ssi.SSIServlet</servlet-class>
321
- <init-param>
322
- <param-name>buffered</param-name>
323
- <param-value>1</param-value>
324
- </init-param>
325
- <init-param>
326
- <param-name>debug</param-name>
327
- <param-value>0</param-value>
328
- </init-param>
329
- <init-param>
330
- <param-name>expires</param-name>
331
- <param-value>666</param-value>
332
- </init-param>
333
- <init-param>
334
- <param-name>isVirtualWebappRelative</param-name>
335
- <param-value>0</param-value>
336
- </init-param>
337
- <load-on-startup>4</load-on-startup>
338
- </servlet>
339
- -->
340
-
341
-
342
- <!-- Common Gateway Includes (CGI) processing servlet, which supports -->
343
- <!-- execution of external applications that conform to the CGI spec -->
344
- <!-- requirements. Typically, this servlet is mapped to the URL pattern -->
345
- <!-- "/cgi-bin/*", which means that any CGI applications that are -->
346
- <!-- executed must be present within the web application. This servlet -->
347
- <!-- supports the following initialization parameters (default values -->
348
- <!-- are in square brackets): -->
349
- <!-- -->
350
- <!-- cgiPathPrefix The CGI search path will start at -->
351
- <!-- webAppRootDir + File.separator + this prefix. -->
352
- <!-- [WEB-INF/cgi] -->
353
- <!-- -->
354
- <!-- debug Debugging detail level for messages logged -->
355
- <!-- by this servlet. [0] -->
356
- <!-- -->
357
- <!-- executable Name of the exectuable used to run the -->
358
- <!-- script. [perl] -->
359
- <!-- -->
360
- <!-- parameterEncoding Name of parameter encoding to be used with -->
361
- <!-- CGI servlet. -->
362
- <!-- [System.getProperty("file.encoding","UTF-8")] -->
363
- <!-- -->
364
- <!-- passShellEnvironment Should the shell environment variables (if -->
365
- <!-- any) be passed to the CGI script? [false] -->
366
-
367
- <!--
368
- <servlet>
369
- <servlet-name>cgi</servlet-name>
370
- <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
371
- <init-param>
372
- <param-name>debug</param-name>
373
- <param-value>0</param-value>
374
- </init-param>
375
- <init-param>
376
- <param-name>cgiPathPrefix</param-name>
377
- <param-value>WEB-INF/cgi</param-value>
378
- </init-param>
379
- <load-on-startup>5</load-on-startup>
380
- </servlet>
381
- -->
382
-
383
-
384
- <!-- ================ Built In Servlet Mappings ========================= -->
385
-
386
- <!-- The mapping for the default servlet -->
387
- <servlet-mapping>
388
- <servlet-name>default</servlet-name>
389
- <url-pattern>/</url-pattern>
390
- </servlet-mapping>
391
-
392
- <!-- The mapping for the JSP servlet -->
393
- <servlet-mapping>
394
- <servlet-name>jsp</servlet-name>
395
- <url-pattern>*.jsp</url-pattern>
396
- </servlet-mapping>
397
-
398
- <servlet-mapping>
399
- <servlet-name>jsp</servlet-name>
400
- <url-pattern>*.jspx</url-pattern>
401
- </servlet-mapping>
402
-
403
- <!-- The mapping for the SSI servlet -->
404
- <!--
405
- <servlet-mapping>
406
- <servlet-name>ssi</servlet-name>
407
- <url-pattern>*.shtml</url-pattern>
408
- </servlet-mapping>
409
- -->
410
-
411
- <!-- The mapping for the CGI Gateway servlet -->
412
- <!--
413
- <servlet-mapping>
414
- <servlet-name>cgi</servlet-name>
415
- <url-pattern>/cgi-bin/*</url-pattern>
416
- </servlet-mapping>
417
- -->
418
-
419
-
420
- <!-- ================== Built In Filter Definitions ===================== -->
421
-
422
- <!-- NOTE: An SSI Servlet is also available as an alternative SSI -->
423
- <!-- implementation. Use either the Servlet or the Filter but NOT both. -->
424
- <!-- -->
425
- <!-- Server Side Includes processing filter, which processes SSI -->
426
- <!-- directives in HTML pages consistent with similar support in web -->
427
- <!-- servers like Apache. Traditionally, this filter is mapped to the -->
428
- <!-- URL pattern "*.shtml", though it can be mapped to "*" as it will -->
429
- <!-- selectively enable/disable SSI processing based on mime types. For -->
430
- <!-- this to work you will need to uncomment the .shtml mime type -->
431
- <!-- definition towards the bottom of this file. -->
432
- <!-- The contentType init param allows you to apply SSI processing to JSP -->
433
- <!-- pages, javascript, or any other content you wish. This filter -->
434
- <!-- supports the following initialization parameters (default values are -->
435
- <!-- in square brackets): -->
436
- <!-- -->
437
- <!-- contentType A regex pattern that must be matched before -->
438
- <!-- SSI processing is applied. -->
439
- <!-- [text/x-server-parsed-html(;.*)?] -->
440
- <!-- -->
441
- <!-- debug Debugging detail level for messages logged -->
442
- <!-- by this servlet. [0] -->
443
- <!-- -->
444
- <!-- expires The number of seconds before a page with SSI -->
445
- <!-- directives will expire. [No default] -->
446
- <!-- -->
447
- <!-- isVirtualWebappRelative -->
448
- <!-- Should "virtual" paths be interpreted as -->
449
- <!-- relative to the context root, instead of -->
450
- <!-- the server root? (0=false, 1=true) [0] -->
451
-
452
- <!--
453
- <filter>
454
- <filter-name>ssi</filter-name>
455
- <filter-class>
456
- org.apache.catalina.ssi.SSIFilter
457
- </filter-class>
458
- <init-param>
459
- <param-name>contentType</param-name>
460
- <param-value>text/x-server-parsed-html(;.*)?</param-value>
461
- </init-param>
462
- <init-param>
463
- <param-name>debug</param-name>
464
- <param-value>0</param-value>
465
- </init-param>
466
- <init-param>
467
- <param-name>expires</param-name>
468
- <param-value>666</param-value>
469
- </init-param>
470
- <init-param>
471
- <param-name>isVirtualWebappRelative</param-name>
472
- <param-value>0</param-value>
473
- </init-param>
474
- </filter>
475
- -->
476
-
477
-
478
- <!-- ==================== Built In Filter Mappings ====================== -->
479
-
480
- <!-- The mapping for the SSI Filter -->
481
- <!--
482
- <filter-mapping>
483
- <filter-name>ssi</filter-name>
484
- <url-pattern>*.shtml</url-pattern>
485
- </filter-mapping>
486
- -->
487
-
488
-
489
- <!-- ==================== Default Session Configuration ================= -->
490
-
491
- <!-- You can set the default session timeout (in minutes) for all newly -->
492
- <!-- created sessions by modifying the value below. -->
493
-
494
- <session-config>
495
- <session-timeout>30</session-timeout>
496
- </session-config>
497
-
498
-
499
- <!-- ===================== Default MIME Type Mappings =================== -->
500
-
501
- <!-- When serving static resources, the application server will -->
502
- <!-- automatically generate a "Content-Type" response header from the -->
503
- <!-- filename extension of the resource, based on these mappings. -->
504
- <!-- Additional mappings may be specified here (to be shared by all -->
505
- <!-- web applications) or in a web application's web.xml deployment -->
506
- <!-- descriptor (for that web application's individual use). -->
507
-
508
- <mime-mapping>
509
- <extension>abs</extension>
510
- <mime-type>audio/x-mpeg</mime-type>
511
- </mime-mapping>
512
- <mime-mapping>
513
- <extension>ai</extension>
514
- <mime-type>application/postscript</mime-type>
515
- </mime-mapping>
516
- <mime-mapping>
517
- <extension>aif</extension>
518
- <mime-type>audio/x-aiff</mime-type>
519
- </mime-mapping>
520
- <mime-mapping>
521
- <extension>aifc</extension>
522
- <mime-type>audio/x-aiff</mime-type>
523
- </mime-mapping>
524
- <mime-mapping>
525
- <extension>aiff</extension>
526
- <mime-type>audio/x-aiff</mime-type>
527
- </mime-mapping>
528
- <mime-mapping>
529
- <extension>aim</extension>
530
- <mime-type>application/x-aim</mime-type>
531
- </mime-mapping>
532
- <mime-mapping>
533
- <extension>art</extension>
534
- <mime-type>image/x-jg</mime-type>
535
- </mime-mapping>
536
- <mime-mapping>
537
- <extension>asf</extension>
538
- <mime-type>video/x-ms-asf</mime-type>
539
- </mime-mapping>
540
- <mime-mapping>
541
- <extension>asx</extension>
542
- <mime-type>video/x-ms-asf</mime-type>
543
- </mime-mapping>
544
- <mime-mapping>
545
- <extension>au</extension>
546
- <mime-type>audio/basic</mime-type>
547
- </mime-mapping>
548
- <mime-mapping>
549
- <extension>avi</extension>
550
- <mime-type>video/x-msvideo</mime-type>
551
- </mime-mapping>
552
- <mime-mapping>
553
- <extension>avx</extension>
554
- <mime-type>video/x-rad-screenplay</mime-type>
555
- </mime-mapping>
556
- <mime-mapping>
557
- <extension>bcpio</extension>
558
- <mime-type>application/x-bcpio</mime-type>
559
- </mime-mapping>
560
- <mime-mapping>
561
- <extension>bin</extension>
562
- <mime-type>application/octet-stream</mime-type>
563
- </mime-mapping>
564
- <mime-mapping>
565
- <extension>bmp</extension>
566
- <mime-type>image/bmp</mime-type>
567
- </mime-mapping>
568
- <mime-mapping>
569
- <extension>body</extension>
570
- <mime-type>text/html</mime-type>
571
- </mime-mapping>
572
- <mime-mapping>
573
- <extension>cdf</extension>
574
- <mime-type>application/x-cdf</mime-type>
575
- </mime-mapping>
576
- <mime-mapping>
577
- <extension>cer</extension>
578
- <mime-type>application/x-x509-ca-cert</mime-type>
579
- </mime-mapping>
580
- <mime-mapping>
581
- <extension>class</extension>
582
- <mime-type>application/java</mime-type>
583
- </mime-mapping>
584
- <mime-mapping>
585
- <extension>cpio</extension>
586
- <mime-type>application/x-cpio</mime-type>
587
- </mime-mapping>
588
- <mime-mapping>
589
- <extension>csh</extension>
590
- <mime-type>application/x-csh</mime-type>
591
- </mime-mapping>
592
- <mime-mapping>
593
- <extension>css</extension>
594
- <mime-type>text/css</mime-type>
595
- </mime-mapping>
596
- <mime-mapping>
597
- <extension>dib</extension>
598
- <mime-type>image/bmp</mime-type>
599
- </mime-mapping>
600
- <mime-mapping>
601
- <extension>doc</extension>
602
- <mime-type>application/msword</mime-type>
603
- </mime-mapping>
604
- <mime-mapping>
605
- <extension>dtd</extension>
606
- <mime-type>application/xml-dtd</mime-type>
607
- </mime-mapping>
608
- <mime-mapping>
609
- <extension>dv</extension>
610
- <mime-type>video/x-dv</mime-type>
611
- </mime-mapping>
612
- <mime-mapping>
613
- <extension>dvi</extension>
614
- <mime-type>application/x-dvi</mime-type>
615
- </mime-mapping>
616
- <mime-mapping>
617
- <extension>eps</extension>
618
- <mime-type>application/postscript</mime-type>
619
- </mime-mapping>
620
- <mime-mapping>
621
- <extension>etx</extension>
622
- <mime-type>text/x-setext</mime-type>
623
- </mime-mapping>
624
- <mime-mapping>
625
- <extension>exe</extension>
626
- <mime-type>application/octet-stream</mime-type>
627
- </mime-mapping>
628
- <mime-mapping>
629
- <extension>gif</extension>
630
- <mime-type>image/gif</mime-type>
631
- </mime-mapping>
632
- <mime-mapping>
633
- <extension>gk</extension>
634
- <mime-type>application/octet-stream</mime-type>
635
- </mime-mapping>
636
- <mime-mapping>
637
- <extension>gtar</extension>
638
- <mime-type>application/x-gtar</mime-type>
639
- </mime-mapping>
640
- <mime-mapping>
641
- <extension>gz</extension>
642
- <mime-type>application/x-gzip</mime-type>
643
- </mime-mapping>
644
- <mime-mapping>
645
- <extension>hdf</extension>
646
- <mime-type>application/x-hdf</mime-type>
647
- </mime-mapping>
648
- <mime-mapping>
649
- <extension>hqx</extension>
650
- <mime-type>application/mac-binhex40</mime-type>
651
- </mime-mapping>
652
- <mime-mapping>
653
- <extension>htc</extension>
654
- <mime-type>text/x-component</mime-type>
655
- </mime-mapping>
656
- <mime-mapping>
657
- <extension>htm</extension>
658
- <mime-type>text/html</mime-type>
659
- </mime-mapping>
660
- <mime-mapping>
661
- <extension>html</extension>
662
- <mime-type>text/html</mime-type>
663
- </mime-mapping>
664
- <mime-mapping>
665
- <extension>hqx</extension>
666
- <mime-type>application/mac-binhex40</mime-type>
667
- </mime-mapping>
668
- <mime-mapping>
669
- <extension>ief</extension>
670
- <mime-type>image/ief</mime-type>
671
- </mime-mapping>
672
- <mime-mapping>
673
- <extension>jad</extension>
674
- <mime-type>text/vnd.sun.j2me.app-descriptor</mime-type>
675
- </mime-mapping>
676
- <mime-mapping>
677
- <extension>jar</extension>
678
- <mime-type>application/java-archive</mime-type>
679
- </mime-mapping>
680
- <mime-mapping>
681
- <extension>java</extension>
682
- <mime-type>text/plain</mime-type>
683
- </mime-mapping>
684
- <mime-mapping>
685
- <extension>jnlp</extension>
686
- <mime-type>application/x-java-jnlp-file</mime-type>
687
- </mime-mapping>
688
- <mime-mapping>
689
- <extension>jpe</extension>
690
- <mime-type>image/jpeg</mime-type>
691
- </mime-mapping>
692
- <mime-mapping>
693
- <extension>jpeg</extension>
694
- <mime-type>image/jpeg</mime-type>
695
- </mime-mapping>
696
- <mime-mapping>
697
- <extension>jpg</extension>
698
- <mime-type>image/jpeg</mime-type>
699
- </mime-mapping>
700
- <mime-mapping>
701
- <extension>js</extension>
702
- <mime-type>text/javascript</mime-type>
703
- </mime-mapping>
704
- <mime-mapping>
705
- <extension>kar</extension>
706
- <mime-type>audio/x-midi</mime-type>
707
- </mime-mapping>
708
- <mime-mapping>
709
- <extension>latex</extension>
710
- <mime-type>application/x-latex</mime-type>
711
- </mime-mapping>
712
- <mime-mapping>
713
- <extension>m3u</extension>
714
- <mime-type>audio/x-mpegurl</mime-type>
715
- </mime-mapping>
716
- <mime-mapping>
717
- <extension>mac</extension>
718
- <mime-type>image/x-macpaint</mime-type>
719
- </mime-mapping>
720
- <mime-mapping>
721
- <extension>man</extension>
722
- <mime-type>application/x-troff-man</mime-type>
723
- </mime-mapping>
724
- <mime-mapping>
725
- <extension>mathml</extension>
726
- <mime-type>application/mathml+xml</mime-type>
727
- </mime-mapping>
728
- <mime-mapping>
729
- <extension>me</extension>
730
- <mime-type>application/x-troff-me</mime-type>
731
- </mime-mapping>
732
- <mime-mapping>
733
- <extension>mid</extension>
734
- <mime-type>audio/x-midi</mime-type>
735
- </mime-mapping>
736
- <mime-mapping>
737
- <extension>midi</extension>
738
- <mime-type>audio/x-midi</mime-type>
739
- </mime-mapping>
740
- <mime-mapping>
741
- <extension>mif</extension>
742
- <mime-type>application/x-mif</mime-type>
743
- </mime-mapping>
744
- <mime-mapping>
745
- <extension>mov</extension>
746
- <mime-type>video/quicktime</mime-type>
747
- </mime-mapping>
748
- <mime-mapping>
749
- <extension>movie</extension>
750
- <mime-type>video/x-sgi-movie</mime-type>
751
- </mime-mapping>
752
- <mime-mapping>
753
- <extension>mp1</extension>
754
- <mime-type>audio/x-mpeg</mime-type>
755
- </mime-mapping>
756
- <mime-mapping>
757
- <extension>mp2</extension>
758
- <mime-type>audio/x-mpeg</mime-type>
759
- </mime-mapping>
760
- <mime-mapping>
761
- <extension>mp3</extension>
762
- <mime-type>audio/x-mpeg</mime-type>
763
- </mime-mapping>
764
- <mime-mapping>
765
- <extension>mpa</extension>
766
- <mime-type>audio/x-mpeg</mime-type>
767
- </mime-mapping>
768
- <mime-mapping>
769
- <extension>mpe</extension>
770
- <mime-type>video/mpeg</mime-type>
771
- </mime-mapping>
772
- <mime-mapping>
773
- <extension>mpeg</extension>
774
- <mime-type>video/mpeg</mime-type>
775
- </mime-mapping>
776
- <mime-mapping>
777
- <extension>mpega</extension>
778
- <mime-type>audio/x-mpeg</mime-type>
779
- </mime-mapping>
780
- <mime-mapping>
781
- <extension>mpg</extension>
782
- <mime-type>video/mpeg</mime-type>
783
- </mime-mapping>
784
- <mime-mapping>
785
- <extension>mpv2</extension>
786
- <mime-type>video/mpeg2</mime-type>
787
- </mime-mapping>
788
- <mime-mapping>
789
- <extension>ms</extension>
790
- <mime-type>application/x-wais-source</mime-type>
791
- </mime-mapping>
792
- <mime-mapping>
793
- <extension>nc</extension>
794
- <mime-type>application/x-netcdf</mime-type>
795
- </mime-mapping>
796
- <mime-mapping>
797
- <extension>oda</extension>
798
- <mime-type>application/oda</mime-type>
799
- </mime-mapping>
800
- <mime-mapping>
801
- <extension>ogg</extension>
802
- <mime-type>application/ogg</mime-type>
803
- </mime-mapping>
804
- <mime-mapping>
805
- <extension>pbm</extension>
806
- <mime-type>image/x-portable-bitmap</mime-type>
807
- </mime-mapping>
808
- <mime-mapping>
809
- <extension>pct</extension>
810
- <mime-type>image/pict</mime-type>
811
- </mime-mapping>
812
- <mime-mapping>
813
- <extension>pdf</extension>
814
- <mime-type>application/pdf</mime-type>
815
- </mime-mapping>
816
- <mime-mapping>
817
- <extension>pgm</extension>
818
- <mime-type>image/x-portable-graymap</mime-type>
819
- </mime-mapping>
820
- <mime-mapping>
821
- <extension>pic</extension>
822
- <mime-type>image/pict</mime-type>
823
- </mime-mapping>
824
- <mime-mapping>
825
- <extension>pict</extension>
826
- <mime-type>image/pict</mime-type>
827
- </mime-mapping>
828
- <mime-mapping>
829
- <extension>pls</extension>
830
- <mime-type>audio/x-scpls</mime-type>
831
- </mime-mapping>
832
- <mime-mapping>
833
- <extension>png</extension>
834
- <mime-type>image/png</mime-type>
835
- </mime-mapping>
836
- <mime-mapping>
837
- <extension>pnm</extension>
838
- <mime-type>image/x-portable-anymap</mime-type>
839
- </mime-mapping>
840
- <mime-mapping>
841
- <extension>pnt</extension>
842
- <mime-type>image/x-macpaint</mime-type>
843
- </mime-mapping>
844
- <mime-mapping>
845
- <extension>ppm</extension>
846
- <mime-type>image/x-portable-pixmap</mime-type>
847
- </mime-mapping>
848
- <mime-mapping>
849
- <extension>ppt</extension>
850
- <mime-type>application/powerpoint</mime-type>
851
- </mime-mapping>
852
- <mime-mapping>
853
- <extension>ps</extension>
854
- <mime-type>application/postscript</mime-type>
855
- </mime-mapping>
856
- <mime-mapping>
857
- <extension>psd</extension>
858
- <mime-type>image/x-photoshop</mime-type>
859
- </mime-mapping>
860
- <mime-mapping>
861
- <extension>qt</extension>
862
- <mime-type>video/quicktime</mime-type>
863
- </mime-mapping>
864
- <mime-mapping>
865
- <extension>qti</extension>
866
- <mime-type>image/x-quicktime</mime-type>
867
- </mime-mapping>
868
- <mime-mapping>
869
- <extension>qtif</extension>
870
- <mime-type>image/x-quicktime</mime-type>
871
- </mime-mapping>
872
- <mime-mapping>
873
- <extension>ras</extension>
874
- <mime-type>image/x-cmu-raster</mime-type>
875
- </mime-mapping>
876
- <mime-mapping>
877
- <extension>rdf</extension>
878
- <mime-type>application/rdf+xml</mime-type>
879
- </mime-mapping>
880
- <mime-mapping>
881
- <extension>rgb</extension>
882
- <mime-type>image/x-rgb</mime-type>
883
- </mime-mapping>
884
- <mime-mapping>
885
- <extension>rm</extension>
886
- <mime-type>application/vnd.rn-realmedia</mime-type>
887
- </mime-mapping>
888
- <mime-mapping>
889
- <extension>roff</extension>
890
- <mime-type>application/x-troff</mime-type>
891
- </mime-mapping>
892
- <mime-mapping>
893
- <extension>rtf</extension>
894
- <mime-type>application/rtf</mime-type>
895
- </mime-mapping>
896
- <mime-mapping>
897
- <extension>rtx</extension>
898
- <mime-type>text/richtext</mime-type>
899
- </mime-mapping>
900
- <mime-mapping>
901
- <extension>sh</extension>
902
- <mime-type>application/x-sh</mime-type>
903
- </mime-mapping>
904
- <mime-mapping>
905
- <extension>shar</extension>
906
- <mime-type>application/x-shar</mime-type>
907
- </mime-mapping>
908
- <!--
909
- <mime-mapping>
910
- <extension>shtml</extension>
911
- <mime-type>text/x-server-parsed-html</mime-type>
912
- </mime-mapping>
913
- -->
914
- <mime-mapping>
915
- <extension>sit</extension>
916
- <mime-type>application/x-stuffit</mime-type>
917
- </mime-mapping>
918
- <mime-mapping>
919
- <extension>smf</extension>
920
- <mime-type>audio/x-midi</mime-type>
921
- </mime-mapping>
922
- <mime-mapping>
923
- <extension>snd</extension>
924
- <mime-type>audio/basic</mime-type>
925
- </mime-mapping>
926
- <mime-mapping>
927
- <extension>src</extension>
928
- <mime-type>application/x-wais-source</mime-type>
929
- </mime-mapping>
930
- <mime-mapping>
931
- <extension>sv4cpio</extension>
932
- <mime-type>application/x-sv4cpio</mime-type>
933
- </mime-mapping>
934
- <mime-mapping>
935
- <extension>sv4crc</extension>
936
- <mime-type>application/x-sv4crc</mime-type>
937
- </mime-mapping>
938
- <mime-mapping>
939
- <extension>svg</extension>
940
- <mime-type>image/svg+xml</mime-type>
941
- </mime-mapping>
942
- <mime-mapping>
943
- <extension>svgz</extension>
944
- <mime-type>image/svg+xml</mime-type>
945
- </mime-mapping>
946
- <mime-mapping>
947
- <extension>swf</extension>
948
- <mime-type>application/x-shockwave-flash</mime-type>
949
- </mime-mapping>
950
- <mime-mapping>
951
- <extension>t</extension>
952
- <mime-type>application/x-troff</mime-type>
953
- </mime-mapping>
954
- <mime-mapping>
955
- <extension>tar</extension>
956
- <mime-type>application/x-tar</mime-type>
957
- </mime-mapping>
958
- <mime-mapping>
959
- <extension>tcl</extension>
960
- <mime-type>application/x-tcl</mime-type>
961
- </mime-mapping>
962
- <mime-mapping>
963
- <extension>tex</extension>
964
- <mime-type>application/x-tex</mime-type>
965
- </mime-mapping>
966
- <mime-mapping>
967
- <extension>texi</extension>
968
- <mime-type>application/x-texinfo</mime-type>
969
- </mime-mapping>
970
- <mime-mapping>
971
- <extension>texinfo</extension>
972
- <mime-type>application/x-texinfo</mime-type>
973
- </mime-mapping>
974
- <mime-mapping>
975
- <extension>tif</extension>
976
- <mime-type>image/tiff</mime-type>
977
- </mime-mapping>
978
- <mime-mapping>
979
- <extension>tiff</extension>
980
- <mime-type>image/tiff</mime-type>
981
- </mime-mapping>
982
- <mime-mapping>
983
- <extension>tr</extension>
984
- <mime-type>application/x-troff</mime-type>
985
- </mime-mapping>
986
- <mime-mapping>
987
- <extension>tsv</extension>
988
- <mime-type>text/tab-separated-values</mime-type>
989
- </mime-mapping>
990
- <mime-mapping>
991
- <extension>txt</extension>
992
- <mime-type>text/plain</mime-type>
993
- </mime-mapping>
994
- <mime-mapping>
995
- <extension>ulw</extension>
996
- <mime-type>audio/basic</mime-type>
997
- </mime-mapping>
998
- <mime-mapping>
999
- <extension>ustar</extension>
1000
- <mime-type>application/x-ustar</mime-type>
1001
- </mime-mapping>
1002
- <mime-mapping>
1003
- <extension>xbm</extension>
1004
- <mime-type>image/x-xbitmap</mime-type>
1005
- </mime-mapping>
1006
- <mime-mapping>
1007
- <extension>xml</extension>
1008
- <mime-type>application/xml</mime-type>
1009
- </mime-mapping>
1010
- <mime-mapping>
1011
- <extension>xpm</extension>
1012
- <mime-type>image/x-xpixmap</mime-type>
1013
- </mime-mapping>
1014
- <mime-mapping>
1015
- <extension>xsl</extension>
1016
- <mime-type>application/xml</mime-type>
1017
- </mime-mapping>
1018
- <mime-mapping>
1019
- <extension>xslt</extension>
1020
- <mime-type>application/xslt+xml</mime-type>
1021
- </mime-mapping>
1022
- <mime-mapping>
1023
- <extension>xwd</extension>
1024
- <mime-type>image/x-xwindowdump</mime-type>
1025
- </mime-mapping>
1026
- <mime-mapping>
1027
- <extension>vsd</extension>
1028
- <mime-type>application/x-visio</mime-type>
1029
- </mime-mapping>
1030
- <mime-mapping>
1031
- <extension>vxml</extension>
1032
- <mime-type>application/voicexml+xml</mime-type>
1033
- </mime-mapping>
1034
- <mime-mapping>
1035
- <extension>wav</extension>
1036
- <mime-type>audio/x-wav</mime-type>
1037
- </mime-mapping>
1038
- <mime-mapping> <!-- Wireless Bitmap -->
1039
- <extension>wbmp</extension>
1040
- <mime-type>image/vnd.wap.wbmp</mime-type>
1041
- </mime-mapping>
1042
- <mime-mapping> <!-- WML Source -->
1043
- <extension>wml</extension>
1044
- <mime-type>text/vnd.wap.wml</mime-type>
1045
- </mime-mapping>
1046
- <mime-mapping> <!-- Compiled WML -->
1047
- <extension>wmlc</extension>
1048
- <mime-type>application/vnd.wap.wmlc</mime-type>
1049
- </mime-mapping>
1050
- <mime-mapping> <!-- WML Script Source -->
1051
- <extension>wmls</extension>
1052
- <mime-type>text/vnd.wap.wmls</mime-type>
1053
- </mime-mapping>
1054
- <mime-mapping> <!-- Compiled WML Script -->
1055
- <extension>wmlscriptc</extension>
1056
- <mime-type>application/vnd.wap.wmlscriptc</mime-type>
1057
- </mime-mapping>
1058
- <mime-mapping>
1059
- <extension>wrl</extension>
1060
- <mime-type>x-world/x-vrml</mime-type>
1061
- </mime-mapping>
1062
- <mime-mapping>
1063
- <extension>xht</extension>
1064
- <mime-type>application/xhtml+xml</mime-type>
1065
- </mime-mapping>
1066
- <mime-mapping>
1067
- <extension>xhtml</extension>
1068
- <mime-type>application/xhtml+xml</mime-type>
1069
- </mime-mapping>
1070
- <mime-mapping>
1071
- <extension>xls</extension>
1072
- <mime-type>application/vnd.ms-excel</mime-type>
1073
- </mime-mapping>
1074
- <mime-mapping>
1075
- <extension>xul</extension>
1076
- <mime-type>application/vnd.mozilla.xul+xml</mime-type>
1077
- </mime-mapping>
1078
- <mime-mapping>
1079
- <extension>Z</extension>
1080
- <mime-type>application/x-compress</mime-type>
1081
- </mime-mapping>
1082
- <mime-mapping>
1083
- <extension>z</extension>
1084
- <mime-type>application/x-compress</mime-type>
1085
- </mime-mapping>
1086
- <mime-mapping>
1087
- <extension>zip</extension>
1088
- <mime-type>application/zip</mime-type>
1089
- </mime-mapping>
1090
- <mime-mapping>
1091
- <extension>odp</extension>
1092
- <mime-type>application/x-vnd.oasis.opendocument.presentation</mime-type>
1093
- </mime-mapping>
1094
- <mime-mapping>
1095
- <extension>odt</extension>
1096
- <mime-type>application/x-vnd.oasis.opendocument.text</mime-type>
1097
- </mime-mapping>
1098
- <mime-mapping>
1099
- <extension>ods</extension>
1100
- <mime-type>application/x-vnd.oasis.opendocument.spreadsheet</mime-type>
1101
- </mime-mapping>
1102
- <mime-mapping>
1103
- <extension>odg</extension>
1104
- <mime-type>application/x-vnd.oasis.opendocument.graphics</mime-type>
1105
- </mime-mapping>
1106
-
1107
-
1108
- <!-- ==================== Default Welcome File List ===================== -->
1109
-
1110
- <!-- When a request URI refers to a directory, the default servlet looks -->
1111
- <!-- for a "welcome file" within that directory and, if present, -->
1112
- <!-- to the corresponding resource URI for display. If no welcome file -->
1113
- <!-- is present, the default servlet either serves a directory listing, -->
1114
- <!-- or returns a 404 status, depending on how it is configured. -->
1115
- <!-- -->
1116
- <!-- If you define welcome files in your own application's web.xml -->
1117
- <!-- deployment descriptor, that list *replaces* the list configured -->
1118
- <!-- here, so be sure that you include any of the default values that -->
1119
- <!-- you wish to include. -->
1120
-
1121
-
1122
- <welcome-file-list>
1123
- <welcome-file>index.html</welcome-file>
1124
- <welcome-file>index.htm</welcome-file>
1125
- <welcome-file>index.jsp</welcome-file>
1126
- </welcome-file-list>
1127
-
1128
- <login-config>
1129
- <auth-method>BASIC</auth-method>
1130
- </login-config>
1131
-
1132
- </web-app>
1133
-