Revision 26637

View differences:

tmp/trunk/servidor/WPS_Callejero_Server/Servers/.project
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>Servers</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
	</buildSpec>
9
	<natures>
10
	</natures>
11
</projectDescription>
tmp/trunk/servidor/WPS_Callejero_Server/Servers/Tomcat v5.5 Server at localhost-config/catalina.policy
1
// Licensed to the Apache Software Foundation (ASF) under one or more
2
// contributor license agreements.  See the NOTICE file distributed with
3
// this work for additional information regarding copyright ownership.
4
// The ASF licenses this file to You under the Apache License, Version 2.0
5
// (the "License"); you may not use this file except in compliance with
6
// the License.  You may obtain a copy of the License at
7
//
8
//     http://www.apache.org/licenses/LICENSE-2.0
9
//
10
// Unless required by applicable law or agreed to in writing, software
11
// distributed under the License is distributed on an "AS IS" BASIS,
12
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
// See the License for the specific language governing permissions and
14
// limitations under the License.
15

  
16
// ============================================================================
17
// catalina.corepolicy - Security Policy Permissions for Tomcat 5
18
//
19
// This file contains a default set of security policies to be enforced (by the
20
// JVM) when Catalina is executed with the "-security" option.  In addition
21
// to the permissions granted here, the following additional permissions are
22
// granted to the codebase specific to each web application:
23
//
24
// * Read access to the document root directory
25
//
26
// $Id: catalina.policy 609451 2008-01-06 22:38:14Z markt $
27
// ============================================================================
28

  
29

  
30
// ========== SYSTEM CODE PERMISSIONS =========================================
31

  
32

  
33
// These permissions apply to javac
34
grant codeBase "file:${java.home}/lib/-" {
35
        permission java.security.AllPermission;
36
};
37

  
38
// These permissions apply to all shared system extensions
39
grant codeBase "file:${java.home}/jre/lib/ext/-" {
40
        permission java.security.AllPermission;
41
};
42

  
43
// These permissions apply to javac when ${java.home] points at $JAVA_HOME/jre
44
grant codeBase "file:${java.home}/../lib/-" {
45
        permission java.security.AllPermission;
46
};
47

  
48
// These permissions apply to all shared system extensions when
49
// ${java.home} points at $JAVA_HOME/jre
50
grant codeBase "file:${java.home}/lib/ext/-" {
51
        permission java.security.AllPermission;
52
};
53

  
54

  
55
// ========== CATALINA CODE PERMISSIONS =======================================
56

  
57

  
58
// These permissions apply to the launcher code
59
grant codeBase "file:${catalina.home}/bin/commons-launcher.jar" {
60
        permission java.security.AllPermission;
61
};
62

  
63
// These permissions apply to the daemon code
64
grant codeBase "file:${catalina.home}/bin/commons-daemon.jar" {
65
        permission java.security.AllPermission;
66
};
67

  
68
// These permissions apply to the commons-logging API
69
grant codeBase "file:${catalina.home}/bin/commons-logging-api.jar" {
70
        permission java.security.AllPermission;
71
};
72

  
73
// These permissions apply to the server startup code
74
grant codeBase "file:${catalina.home}/bin/bootstrap.jar" {
75
        permission java.security.AllPermission;
76
};
77

  
78
// These permissions apply to the JMX server
79
grant codeBase "file:${catalina.home}/bin/jmx.jar" {
80
        permission java.security.AllPermission;
81
};
82

  
83
// These permissions apply to JULI
84
grant codeBase "file:${catalina.home}/bin/tomcat-juli.jar" {
85
        permission java.util.PropertyPermission "java.util.logging.config.class", "read";
86
        permission java.util.PropertyPermission "java.util.logging.config.file", "read";
87
        permission java.lang.RuntimePermission "shutdownHooks";
88
        permission java.io.FilePermission "${catalina.base}${file.separator}conf${file.separator}logging.properties", "read";
89
        permission java.util.PropertyPermission "catalina.base", "read";
90
        permission java.util.logging.LoggingPermission "control";
91
        permission java.io.FilePermission "${catalina.base}${file.separator}logs", "read, write";
92
        permission java.io.FilePermission "${catalina.base}${file.separator}logs${file.separator}*", "read, write";
93
        permission java.lang.RuntimePermission "getClassLoader";
94
        // To enable per context logging configuration, permit read access to the appropriate file.
95
        // Be sure that the logging configuration is secure before enabling such access
96
        // eg for the examples web application:
97
        // permission java.io.FilePermission "${catalina.base}${file.separator}webapps${file.separator}examples${file.separator}WEB-INF${file.separator}classes${file.separator}logging.properties", "read";
98
};
99

  
100
// These permissions apply to the servlet API classes
101
// and those that are shared across all class loaders
102
// located in the "common" directory
103
grant codeBase "file:${catalina.home}/common/-" {
104
        permission java.security.AllPermission;
105
};
106

  
107
// These permissions apply to the container's core code, plus any additional
108
// libraries installed in the "server" directory
109
grant codeBase "file:${catalina.home}/server/-" {
110
        permission java.security.AllPermission;
111
};
112

  
113
// The permissions granted to the balancer WEB-INF/classes and WEB-INF/lib directory
114
grant codeBase "file:${catalina.home}/webapps/balancer/-" {
115
        permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.util.digester";
116
        permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.util.digester.*";
117
};
118
// ========== WEB APPLICATION PERMISSIONS =====================================
119

  
120

  
121
// These permissions are granted by default to all web applications
122
// In addition, a web application will be given a read FilePermission
123
// and JndiPermission for all files and directories in its document root.
124
grant { 
125
    // Required for JNDI lookup of named JDBC DataSource's and
126
    // javamail named MimePart DataSource used to send mail
127
    permission java.util.PropertyPermission "java.home", "read";
128
    permission java.util.PropertyPermission "java.naming.*", "read";
129
    permission java.util.PropertyPermission "javax.sql.*", "read";
130

  
131
    // OS Specific properties to allow read access
132
    permission java.util.PropertyPermission "os.name", "read";
133
    permission java.util.PropertyPermission "os.version", "read";
134
    permission java.util.PropertyPermission "os.arch", "read";
135
    permission java.util.PropertyPermission "file.separator", "read";
136
    permission java.util.PropertyPermission "path.separator", "read";
137
    permission java.util.PropertyPermission "line.separator", "read";
138

  
139
    // JVM properties to allow read access
140
    permission java.util.PropertyPermission "java.version", "read";
141
    permission java.util.PropertyPermission "java.vendor", "read";
142
    permission java.util.PropertyPermission "java.vendor.url", "read";
143
    permission java.util.PropertyPermission "java.class.version", "read";
144
    permission java.util.PropertyPermission "java.specification.version", "read";
145
    permission java.util.PropertyPermission "java.specification.vendor", "read";
146
    permission java.util.PropertyPermission "java.specification.name", "read";
147

  
148
    permission java.util.PropertyPermission "java.vm.specification.version", "read";
149
    permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
150
    permission java.util.PropertyPermission "java.vm.specification.name", "read";
151
    permission java.util.PropertyPermission "java.vm.version", "read";
152
    permission java.util.PropertyPermission "java.vm.vendor", "read";
153
    permission java.util.PropertyPermission "java.vm.name", "read";
154

  
155
    // Required for OpenJMX
156
    permission java.lang.RuntimePermission "getAttribute";
157

  
158
    // Allow read of JAXP compliant XML parser debug
159
    permission java.util.PropertyPermission "jaxp.debug", "read";
160

  
161
    // Precompiled JSPs need access to this package.
162
    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime";
163
    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime.*";
164

  
165
    // Precompiled JSPs need access to this system property.
166
    permission java.util.PropertyPermission "org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER", "read";
167
};
168

  
169

  
170
// You can assign additional permissions to particular web applications by
171
// adding additional "grant" entries here, based on the code base for that
172
// application, /WEB-INF/classes/, or /WEB-INF/lib/ jar files.
173
//
174
// Different permissions can be granted to JSP pages, classes loaded from
175
// the /WEB-INF/classes/ directory, all jar files in the /WEB-INF/lib/
176
// directory, or even to individual jar files in the /WEB-INF/lib/ directory.
177
//
178
// For instance, assume that the standard "examples" application
179
// included a JDBC driver that needed to establish a network connection to the
180
// corresponding database and used the scrape taglib to get the weather from
181
// the NOAA web server.  You might create a "grant" entries like this:
182
//
183
// The permissions granted to the context root directory apply to JSP pages.
184
// grant codeBase "file:${catalina.home}/webapps/examples/-" {
185
//      permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";
186
//      permission java.net.SocketPermission "*.noaa.gov:80", "connect";
187
// };
188
//
189
// The permissions granted to the context WEB-INF/classes directory
190
// grant codeBase "file:${catalina.home}/webapps/examples/WEB-INF/classes/-" {
191
// };
192
//
193
// The permission granted to your JDBC driver
194
// grant codeBase "jar:file:${catalina.home}/webapps/examples/WEB-INF/lib/driver.jar!/-" {
195
//      permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";
196
// };
197
// The permission granted to the scrape taglib
198
// grant codeBase "jar:file:${catalina.home}/webapps/examples/WEB-INF/lib/scrape.jar!/-" {
199
//      permission java.net.SocketPermission "*.noaa.gov:80", "connect";
200
// };
201

  
tmp/trunk/servidor/WPS_Callejero_Server/Servers/Tomcat v5.5 Server at localhost-config/web.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--
3
  Licensed to the Apache Software Foundation (ASF) under one or more
4
  contributor license agreements.  See the NOTICE file distributed with
5
  this work for additional information regarding copyright ownership.
6
  The ASF licenses this file to You under the Apache License, Version 2.0
7
  (the "License"); you may not use this file except in compliance with
8
  the License.  You may obtain a copy of the License at
9

  
10
      http://www.apache.org/licenses/LICENSE-2.0
11

  
12
  Unless required by applicable law or agreed to in writing, software
13
  distributed under the License is distributed on an "AS IS" BASIS,
14
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
  See the License for the specific language governing permissions and
16
  limitations under the License.
17
--><web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
18

  
19
  <!-- ======================== Introduction ============================== -->
20
  <!-- This document defines default values for *all* web applications      -->
21
  <!-- loaded into this instance of Tomcat.  As each application is         -->
22
  <!-- deployed, this file is processed, followed by the                    -->
23
  <!-- "/WEB-INF/web.xml" deployment descriptor from your own               -->
24
  <!-- applications.                                                        -->
25
  <!--                                                                      -->
26
  <!-- WARNING:  Do not configure application-specific resources here!      -->
27
  <!-- They should go in the "/WEB-INF/web.xml" file in your application.   -->
28

  
29

  
30
  <!-- ================== Built In Servlet Definitions ==================== -->
31

  
32

  
33
  <!-- The default servlet for all web applications, that serves static     -->
34
  <!-- resources.  It processes all requests that are not mapped to other   -->
35
  <!-- servlets with servlet mappings (defined either here or in your own   -->
36
  <!-- web.xml file.  This servlet supports the following initialization    -->
37
  <!-- parameters (default values are in square brackets):                  -->
38
  <!--                                                                      -->
39
  <!--   debug               Debugging detail level for messages logged     -->
40
  <!--                       by this servlet.  [0]                          -->
41
  <!--                                                                      -->
42
  <!--   fileEncoding        Encoding to be used to read static resources   -->
43
  <!--                       [platform default]                             -->
44
  <!--                                                                      -->
45
  <!--   input               Input buffer size (in bytes) when reading      -->
46
  <!--                       resources to be served.  [2048]                -->
47
  <!--                                                                      -->
48
  <!--   listings            Should directory listings be produced if there -->
49
  <!--                       is no welcome file in this directory?  [false] -->
50
  <!--                       WARNING: Listings for directories with many    -->
51
  <!--                       entries can be slow and may consume            -->
52
  <!--                       significant proportions of server resources.   -->
53
  <!--                                                                      -->
54
  <!--   output              Output buffer size (in bytes) when writing     -->
55
  <!--                       resources to be served.  [2048]                -->
56
  <!--                                                                      -->
57
  <!--   readonly            Is this context "read only", so HTTP           -->
58
  <!--                       commands like PUT and DELETE are               -->
59
  <!--                       rejected?  [true]                              -->
60
  <!--                                                                      -->
61
  <!--   readmeFile          File name to display with the directory        -->
62
  <!--                       contents. [null]                               -->
63
  <!--                                                                      -->
64
  <!--   sendfileSize        If the connector used supports sendfile, this  -->
65
  <!--                       represents the minimal file size in KB for     -->
66
  <!--                       which sendfile will be used. Use a negative    -->
67
  <!--                       value to always disable sendfile.  [48]        -->
68
  <!--                                                                      -->
69
  <!--  For directory listing customization. Checks localXsltFile, then     -->
70
  <!--  globalXsltFile, then defaults to original behavior.                 -->
71
  <!--                                                                      -->
72
  <!--   localXsltFile       Make directory listings an XML doc and         -->
73
  <!--                       pass the result to this style sheet residing   -->
74
  <!--                       in that directory. This overrides              -->
75
  <!--                        globalXsltFile[null]                          -->
76
  <!--                                                                      -->
77
  <!--   globalXsltFile      Site wide configuration version of             -->
78
  <!--                       localXsltFile This argument is expected        -->
79
  <!--                       to be a physical file. [null]                  -->
80
  <!--                                                                      -->
81
  <!--                                                                      -->
82

  
83
    <servlet>
84
        <servlet-name>default</servlet-name>
85
        <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
86
        <init-param>
87
            <param-name>debug</param-name>
88
            <param-value>0</param-value>
89
        </init-param>
90
        <init-param>
91
            <param-name>listings</param-name>
92
            <param-value>false</param-value>
93
        </init-param>
94
        <load-on-startup>1</load-on-startup>
95
    </servlet>
96

  
97

  
98
  <!-- The "invoker" servlet, which executes anonymous servlet classes      -->
99
  <!-- that have not been defined in a web.xml file.  Traditionally, this   -->
100
  <!-- servlet is mapped to the URL pattern "/servlet/*", but you can map   -->
101
  <!-- it to other patterns as well.  The extra path info portion of such a -->
102
  <!-- request must be the fully qualified class name of a Java class that  -->
103
  <!-- implements Servlet (or extends HttpServlet), or the servlet name     -->
104
  <!-- of an existing servlet definition.     This servlet supports the     -->
105
  <!-- following initialization parameters (default values are in square    -->
106
  <!-- brackets):                                                           -->
107
  <!--                                                                      -->
108
  <!--   debug               Debugging detail level for messages logged     -->
109
  <!--                       by this servlet.  [0]                          -->
110

  
111
<!--
112
    <servlet>
113
        <servlet-name>invoker</servlet-name>
114
        <servlet-class>
115
          org.apache.catalina.servlets.InvokerServlet
116
        </servlet-class>
117
        <init-param>
118
            <param-name>debug</param-name>
119
            <param-value>0</param-value>
120
        </init-param>
121
        <load-on-startup>2</load-on-startup>
122
    </servlet>
123
-->
124

  
125

  
126
  <!-- The JSP page compiler and execution servlet, which is the mechanism  -->
127
  <!-- used by Tomcat to support JSP pages.  Traditionally, this servlet    -->
128
  <!-- is mapped to the URL pattern "*.jsp".  This servlet supports the     -->
129
  <!-- following initialization parameters (default values are in square    -->
130
  <!-- brackets):                                                           -->
131
  <!--                                                                      -->
132
  <!--   checkInterval       If development is false and checkInterval is   -->
133
  <!--                       greater than zero, background compilations are -->
134
  <!--                       enabled. checkInterval is the time in seconds  -->
135
  <!--                       between checks to see if a JSP page needs to   -->
136
  <!--                       be recompiled. [0]                             -->
137
  <!--                                                                      -->
138
  <!--   modificationTestInterval                                           -->
139
  <!--                       Causes a JSP (and its dependent files) to not  -->
140
  <!--                       be checked for modification during the         -->
141
  <!--                       specified time interval (in seconds) from the  -->
142
  <!--                       last time the JSP was checked for              -->
143
  <!--                       modification. A value of 0 will cause the JSP  -->
144
  <!--                       to be checked on every access.                 -->
145
  <!--                       Used in development mode only. [4]             -->
146
  <!--                                                                      -->
147
  <!--   compiler            Which compiler Ant should use to compile JSP   -->
148
  <!--                       pages.  See the Ant documentation for more     -->
149
  <!--                       information.                                   -->
150
  <!--                                                                      -->
151
  <!--   classdebuginfo      Should the class file be compiled with         -->
152
  <!--                       debugging information?  [true]                 -->
153
  <!--                                                                      -->
154
  <!--   classpath           What class path should I use while compiling   -->
155
  <!--                       generated servlets?  [Created dynamically      -->
156
  <!--                       based on the current web application]          -->
157
  <!--                                                                      -->
158
  <!--   development         Is Jasper used in development mode? If true,   -->
159
  <!--                       the frequency at which JSPs are checked for    -->
160
  <!--                       modification may be specified via the          -->
161
  <!--                       modificationTestInterval parameter. [true]     -->
162
  <!--                                                                      -->
163
  <!--   enablePooling       Determines whether tag handler pooling is      -->
164
  <!--                       enabled  [true]                                -->
165
  <!--                                                                      -->
166
  <!--   fork                Tell Ant to fork compiles of JSP pages so that -->
167
  <!--                       a separate JVM is used for JSP page compiles   -->
168
  <!--                       from the one Tomcat is running in. [true]      -->
169
  <!--                                                                      -->
170
  <!--   ieClassId           The class-id value to be sent to Internet      -->
171
  <!--                       Explorer when using <jsp:plugin> tags.         -->
172
  <!--                       [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93]   -->
173
  <!--                                                                      -->
174
  <!--   javaEncoding        Java file encoding to use for generating java  -->
175
  <!--                       source files. [UTF8]                           -->
176
  <!--                                                                      -->
177
  <!--   keepgenerated       Should we keep the generated Java source code  -->
178
  <!--                       for each page instead of deleting it? [true]   -->
179
  <!--                                                                      -->
180
  <!--   mappedfile          Should we generate static content with one     -->
181
  <!--                       print statement per input line, to ease        -->
182
  <!--                       debugging?  [true]                             -->
183
  <!--                                                                      -->
184
  <!--   trimSpaces          Should white spaces in template text between   -->
185
  <!--                       actions or directives be trimmed?  [false]     -->
186
  <!--                                                                      -->
187
  <!--   suppressSmap        Should the generation of SMAP info for JSR45   -->
188
  <!--                       debugging be suppressed?  [false]              -->
189
  <!--                                                                      -->
190
  <!--   dumpSmap            Should the SMAP info for JSR45 debugging be    -->
191
  <!--                       dumped to a file? [false]                      -->
192
  <!--                       False if suppressSmap is true                  -->
193
  <!--                                                                      -->
194
  <!--   genStrAsCharArray   Should text strings be generated as char       -->
195
  <!--                       arrays, to improve performance in some cases?  -->
196
  <!--                       [false]                                        -->
197
  <!--                                                                      -->
198
  <!--   errorOnUseBeanInvalidClassAttribute                                -->
199
  <!--                       Should Jasper issue an error when the value of -->
200
  <!--                       the class attribute in an useBean action is    -->
201
  <!--                       not a valid bean class?  [true]                -->
202
  <!--                                                                      -->
203
  <!--   scratchdir          What scratch directory should we use when      -->
204
  <!--                       compiling JSP pages?  [default work directory  -->
205
  <!--                       for the current web application]               -->
206
  <!--                                                                      -->
207
  <!--   xpoweredBy          Determines whether X-Powered-By response       -->
208
  <!--                       header is added by generated servlet  [false]  -->
209
  <!--                                                                      -->
210
  <!--   compilerTargetVM    Compiler target VM                             -->  
211
  <!--                       default is System.properties                   -->
212
  <!--                        java.specification.version > 1.4              -->
213
  <!--                        [1.5] else [1.4]                              -->
214
  <!--                                                                      -->
215
  <!--   compilerSourceVM    Compiler source VM                             -->
216
  <!--                       default is System.properties                   -->
217
  <!--                        java.specification.version > 1.4              -->
218
  <!--                        [1.5] else [1.4]                              -->
219
  <!--                                                                      -->
220
  <!-- If you wish to use Jikes to compile JSP pages:                       -->
221
  <!--   Please see the "Using Jikes" section of the Jasper-HowTo           -->
222
  <!--   page in the Tomcat documentation.                                  -->
223

  
224
    <servlet>
225
        <servlet-name>jsp</servlet-name>
226
        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
227
        <init-param>
228
            <param-name>fork</param-name>
229
            <param-value>false</param-value>
230
        </init-param>
231
        <init-param>
232
            <param-name>xpoweredBy</param-name>
233
            <param-value>false</param-value>
234
        </init-param>
235
        <load-on-startup>3</load-on-startup>
236
    </servlet>
237

  
238

  
239
  <!-- NOTE: An SSI Filter is also available as an alternative SSI          -->
240
  <!-- implementation. Use either the Servlet or the Filter but NOT both.   -->
241
  <!--                                                                      -->
242
  <!-- Server Side Includes processing servlet, which processes SSI         -->
243
  <!-- directives in HTML pages consistent with similar support in web      -->
244
  <!-- servers like Apache.  Traditionally, this servlet is mapped to the   -->
245
  <!-- URL pattern "*.shtml".  This servlet supports the following          -->
246
  <!-- initialization parameters (default values are in square brackets):   -->
247
  <!--                                                                      -->
248
  <!--   buffered            Should output from this servlet be buffered?   -->
249
  <!--                       (0=false, 1=true)  [0]                         -->
250
  <!--                                                                      -->
251
  <!--   debug               Debugging detail level for messages logged     -->
252
  <!--                       by this servlet.  [0]                          -->
253
  <!--                                                                      -->
254
  <!--   expires             The number of seconds before a page with SSI   -->
255
  <!--                       directives will expire.  [No default]          -->
256
  <!--                                                                      -->
257
  <!--   isVirtualWebappRelative                                            -->
258
  <!--                       Should "virtual" paths be interpreted as       -->
259
  <!--                       relative to the context root, instead of       -->
260
  <!--                       the server root?  (0=false, 1=true) [0]        -->
261
  <!--                                                                      -->
262
  <!--   inputEncoding       The encoding to assume for SSI resources if    -->
263
  <!--                       one is not available from the resource.        -->
264
  <!--                       [Platform default]                             -->
265
  <!--                                                                      -->
266
  <!--   outputEncoding      The encoding to use for the page that results  -->
267
  <!--                       from the SSI processing. [UTF-8]               -->
268
  <!--                                                                      -->
269
  <!--                                                                      -->
270
  <!-- IMPORTANT: To use the SSI servlet, you also need to rename the       -->
271
  <!--            $CATALINA_HOME/server/lib/servlets-ssi.renametojar file   -->
272
  <!--            to $CATALINA_HOME/server/lib/servlets-ssi.jar             -->
273

  
274
<!--
275
    <servlet>
276
        <servlet-name>ssi</servlet-name>
277
        <servlet-class>
278
          org.apache.catalina.ssi.SSIServlet
279
        </servlet-class>
280
        <init-param>
281
          <param-name>buffered</param-name>
282
          <param-value>1</param-value>
283
        </init-param>
284
        <init-param>
285
          <param-name>debug</param-name>
286
          <param-value>0</param-value>
287
        </init-param>
288
        <init-param>
289
          <param-name>expires</param-name>
290
          <param-value>666</param-value>
291
        </init-param>
292
        <init-param>
293
          <param-name>isVirtualWebappRelative</param-name>
294
          <param-value>0</param-value>
295
        </init-param>
296
        <load-on-startup>4</load-on-startup>
297
    </servlet>
298
-->
299

  
300

  
301
  <!-- Common Gateway Includes (CGI) processing servlet, which supports     -->
302
  <!-- execution of external applications that conform to the CGI spec      -->
303
  <!-- requirements.  Typically, this servlet is mapped to the URL pattern  -->
304
  <!-- "/cgi-bin/*", which means that any CGI applications that are         -->
305
  <!-- executed must be present within the web application.  This servlet   -->
306
  <!-- supports the following initialization parameters (default values     -->
307
  <!-- are in square brackets):                                             -->
308
  <!--                                                                      -->
309
  <!--   cgiPathPrefix        The CGI search path will start at             -->
310
  <!--                        webAppRootDir + File.separator + this prefix. -->
311
  <!--                        [WEB-INF/cgi]                                 -->
312
  <!--                                                                      -->
313
  <!--   debug                Debugging detail level for messages logged    -->
314
  <!--                        by this servlet.  [0]                         -->
315
  <!--                                                                      -->
316
  <!--   executable           Name of the exectuable used to run the        -->
317
  <!--                        script. [perl]                                -->
318
  <!--                                                                      -->
319
  <!--   parameterEncoding    Name of parameter encoding to be used with    -->
320
  <!--                        CGI servlet.                                  -->
321
  <!--                        [System.getProperty("file.encoding","UTF-8")] -->
322
  <!--                                                                      -->
323
  <!--   passShellEnvironment Should the shell environment variables (if    -->
324
  <!--                        any) be passed to the CGI script? [false]     -->
325
  <!--                                                                      -->
326
  <!-- IMPORTANT: To use the CGI servlet, you also need to rename the       -->
327
  <!--            $CATALINA_HOME/server/lib/servlets-cgi.renametojar file   -->
328
  <!--            to $CATALINA_HOME/server/lib/servlets-cgi.jar             -->
329

  
330
<!--
331
    <servlet>
332
        <servlet-name>cgi</servlet-name>
333
        <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
334
        <init-param>
335
          <param-name>debug</param-name>
336
          <param-value>0</param-value>
337
        </init-param>
338
        <init-param>
339
          <param-name>cgiPathPrefix</param-name>
340
          <param-value>WEB-INF/cgi</param-value>
341
        </init-param>
342
         <load-on-startup>5</load-on-startup>
343
    </servlet>
344
-->
345

  
346

  
347
  <!-- ================ Built In Servlet Mappings ========================= -->
348

  
349

  
350
  <!-- The servlet mappings for the built in servlets defined above.  Note  -->
351
  <!-- that, by default, the CGI and SSI servlets are *not* mapped.  You    -->
352
  <!-- must uncomment these mappings (or add them to your application's own -->
353
  <!-- web.xml deployment descriptor) to enable these services              -->
354

  
355
    <!-- The mapping for the default servlet -->
356
    <servlet-mapping>
357
        <servlet-name>default</servlet-name>
358
        <url-pattern>/</url-pattern>
359
    </servlet-mapping>
360

  
361
    <!-- The mapping for the invoker servlet -->
362
<!--
363
    <servlet-mapping>
364
        <servlet-name>invoker</servlet-name>
365
        <url-pattern>/servlet/*</url-pattern>
366
    </servlet-mapping>
367
-->
368

  
369
    <!-- The mapping for the JSP servlet -->
370
    <servlet-mapping>
371
        <servlet-name>jsp</servlet-name>
372
        <url-pattern>*.jsp</url-pattern>
373
    </servlet-mapping>
374

  
375
    <servlet-mapping>
376
        <servlet-name>jsp</servlet-name>
377
        <url-pattern>*.jspx</url-pattern>
378
    </servlet-mapping>
379

  
380
    <!-- The mapping for the SSI servlet -->
381
<!--
382
    <servlet-mapping>
383
        <servlet-name>ssi</servlet-name>
384
        <url-pattern>*.shtml</url-pattern>
385
    </servlet-mapping>
386
-->
387

  
388
    <!-- The mapping for the CGI Gateway servlet -->
389

  
390
<!--
391
    <servlet-mapping>
392
        <servlet-name>cgi</servlet-name>
393
        <url-pattern>/cgi-bin/*</url-pattern>
394
    </servlet-mapping>
395
-->
396

  
397

  
398
  <!-- ================== Built In Filter Definitions ===================== -->
399

  
400
  <!-- NOTE: An SSI Servlet is also available as an alternative SSI         -->
401
  <!-- implementation. Use either the Servlet or the Filter but NOT both.   -->
402
  <!--                                                                      -->
403
  <!-- Server Side Includes processing filter, which processes SSI          -->
404
  <!-- directives in HTML pages consistent with similar support in web      -->
405
  <!-- servers like Apache.  Traditionally, this filter is mapped to the    -->
406
  <!-- URL pattern "*.shtml", though it can be mapped to "*" as it will     -->
407
  <!-- selectively enable/disable SSI processing based on mime types. For   -->
408
  <!-- this to work you will need to uncomment the .shtml mime type         -->
409
  <!-- definition towards the bottom of this file.                          -->
410
  <!-- The contentType init param allows you to apply SSI processing to JSP -->
411
  <!-- pages, javascript, or any other content you wish.  This filter       -->
412
  <!-- supports the following initialization parameters (default values are -->
413
  <!-- in square brackets):                                                 -->
414
  <!--                                                                      -->
415
  <!--   contentType         A regex pattern that must be matched before    -->
416
  <!--                       SSI processing is applied.                     -->
417
  <!--                       [text/x-server-parsed-html(;.*)?]              -->
418
  <!--                                                                      -->
419
  <!--   debug               Debugging detail level for messages logged     -->
420
  <!--                       by this servlet.  [0]                          -->
421
  <!--                                                                      -->
422
  <!--   expires             The number of seconds before a page with SSI   -->
423
  <!--                       directives will expire.  [No default]          -->
424
  <!--                                                                      -->
425
  <!--   isVirtualWebappRelative                                            -->
426
  <!--                       Should "virtual" paths be interpreted as       -->
427
  <!--                       relative to the context root, instead of       -->
428
  <!--                       the server root?  (0=false, 1=true) [0]        -->
429
  <!--                                                                      -->
430
  <!--                                                                      -->
431
  <!-- IMPORTANT: To use the SSI filter, you also need to rename the        -->
432
  <!--            $CATALINA_HOME/server/lib/servlets-ssi.renametojar file   -->
433
  <!--            to $CATALINA_HOME/server/lib/servlets-ssi.jar             -->
434

  
435
<!--
436
    <filter>
437
        <filter-name>ssi</filter-name>
438
        <filter-class>
439
          org.apache.catalina.ssi.SSIFilter
440
        </filter-class>
441
        <init-param>
442
          <param-name>contentType</param-name>
443
          <param-value>text/x-server-parsed-html(;.*)?</param-value>
444
        </init-param>
445
        <init-param>
446
          <param-name>debug</param-name>
447
          <param-value>0</param-value>
448
        </init-param>
449
        <init-param>
450
          <param-name>expires</param-name>
451
          <param-value>666</param-value>
452
        </init-param>
453
        <init-param>
454
          <param-name>isVirtualWebappRelative</param-name>
455
          <param-value>0</param-value>
456
        </init-param>
457
    </filter>
458
-->
459

  
460

  
461
  <!-- ==================== Built In Filter Mappings ====================== -->
462

  
463
  <!-- The mapping for the SSI Filter -->
464
<!--
465
    <filter-mapping>
466
        <filter-name>ssi</filter-name>
467
        <url-pattern>*.shtml</url-pattern>
468
    </filter-mapping>
469
-->
470

  
471

  
472
  <!-- ==================== Default Session Configuration ================= -->
473
  <!-- You can set the default session timeout (in minutes) for all newly   -->
474
  <!-- created sessions by modifying the value below.                       -->
475

  
476
    <session-config>
477
        <session-timeout>30</session-timeout>
478
    </session-config>
479

  
480

  
481
  <!-- ===================== Default MIME Type Mappings =================== -->
482
  <!-- When serving static resources, Tomcat will automatically generate    -->
483
  <!-- a "Content-Type" header based on the resource's filename extension,  -->
484
  <!-- based on these mappings.  Additional mappings can be added here (to  -->
485
  <!-- apply to all web applications), or in your own application's web.xml -->
486
  <!-- deployment descriptor.                                               -->
487

  
488
    <mime-mapping>
489
        <extension>abs</extension>
490
        <mime-type>audio/x-mpeg</mime-type>
491
    </mime-mapping>
492
    <mime-mapping>
493
        <extension>ai</extension>
494
        <mime-type>application/postscript</mime-type>
495
    </mime-mapping>
496
    <mime-mapping>
497
        <extension>aif</extension>
498
        <mime-type>audio/x-aiff</mime-type>
499
    </mime-mapping>
500
    <mime-mapping>
501
        <extension>aifc</extension>
502
        <mime-type>audio/x-aiff</mime-type>
503
    </mime-mapping>
504
    <mime-mapping>
505
        <extension>aiff</extension>
506
        <mime-type>audio/x-aiff</mime-type>
507
    </mime-mapping>
508
    <mime-mapping>
509
        <extension>aim</extension>
510
        <mime-type>application/x-aim</mime-type>
511
    </mime-mapping>
512
    <mime-mapping>
513
        <extension>art</extension>
514
        <mime-type>image/x-jg</mime-type>
515
    </mime-mapping>
516
    <mime-mapping>
517
        <extension>asf</extension>
518
        <mime-type>video/x-ms-asf</mime-type>
519
    </mime-mapping>
520
    <mime-mapping>
521
        <extension>asx</extension>
522
        <mime-type>video/x-ms-asf</mime-type>
523
    </mime-mapping>
524
    <mime-mapping>
525
        <extension>au</extension>
526
        <mime-type>audio/basic</mime-type>
527
    </mime-mapping>
528
    <mime-mapping>
529
        <extension>avi</extension>
530
        <mime-type>video/x-msvideo</mime-type>
531
    </mime-mapping>
532
    <mime-mapping>
533
        <extension>avx</extension>
534
        <mime-type>video/x-rad-screenplay</mime-type>
535
    </mime-mapping>
536
    <mime-mapping>
537
        <extension>bcpio</extension>
538
        <mime-type>application/x-bcpio</mime-type>
539
    </mime-mapping>
540
    <mime-mapping>
541
        <extension>bin</extension>
542
        <mime-type>application/octet-stream</mime-type>
543
    </mime-mapping>
544
    <mime-mapping>
545
        <extension>bmp</extension>
546
        <mime-type>image/bmp</mime-type>
547
    </mime-mapping>
548
    <mime-mapping>
549
        <extension>body</extension>
550
        <mime-type>text/html</mime-type>
551
    </mime-mapping>
552
    <mime-mapping>
553
        <extension>cdf</extension>
554
        <mime-type>application/x-netcdf</mime-type>
555
    </mime-mapping>
556
    <mime-mapping>
557
        <extension>cer</extension>
558
        <mime-type>application/x-x509-ca-cert</mime-type>
559
    </mime-mapping>
560
    <mime-mapping>
561
        <extension>class</extension>
562
        <mime-type>application/java</mime-type>
563
    </mime-mapping>
564
    <mime-mapping>
565
        <extension>cpio</extension>
566
        <mime-type>application/x-cpio</mime-type>
567
    </mime-mapping>
568
    <mime-mapping>
569
        <extension>csh</extension>
570
        <mime-type>application/x-csh</mime-type>
571
    </mime-mapping>
572
    <mime-mapping>
573
        <extension>css</extension>
574
        <mime-type>text/css</mime-type>
575
    </mime-mapping>
576
    <mime-mapping>
577
        <extension>dib</extension>
578
        <mime-type>image/bmp</mime-type>
579
    </mime-mapping>
580
    <mime-mapping>
581
        <extension>doc</extension>
582
        <mime-type>application/msword</mime-type>
583
    </mime-mapping>
584
    <mime-mapping>
585
        <extension>dtd</extension>
586
        <mime-type>application/xml-dtd</mime-type>
587
    </mime-mapping>
588
    <mime-mapping>
589
        <extension>dv</extension>
590
        <mime-type>video/x-dv</mime-type>
591
    </mime-mapping>
592
    <mime-mapping>
593
        <extension>dvi</extension>
594
        <mime-type>application/x-dvi</mime-type>
595
    </mime-mapping>
596
    <mime-mapping>
597
        <extension>eps</extension>
598
        <mime-type>application/postscript</mime-type>
599
    </mime-mapping>
600
    <mime-mapping>
601
        <extension>etx</extension>
602
        <mime-type>text/x-setext</mime-type>
603
    </mime-mapping>
604
    <mime-mapping>
605
        <extension>exe</extension>
606
        <mime-type>application/octet-stream</mime-type>
607
    </mime-mapping>
608
    <mime-mapping>
609
        <extension>gif</extension>
610
        <mime-type>image/gif</mime-type>
611
    </mime-mapping>
612
    <mime-mapping>
613
        <extension>gtar</extension>
614
        <mime-type>application/x-gtar</mime-type>
615
    </mime-mapping>
616
    <mime-mapping>
617
        <extension>gz</extension>
618
        <mime-type>application/x-gzip</mime-type>
619
    </mime-mapping>
620
    <mime-mapping>
621
        <extension>hdf</extension>
622
        <mime-type>application/x-hdf</mime-type>
623
    </mime-mapping>
624
    <mime-mapping>
625
        <extension>htc</extension>
626
        <mime-type>text/x-component</mime-type>
627
    </mime-mapping>
628
    <mime-mapping>
629
        <extension>htm</extension>
630
        <mime-type>text/html</mime-type>
631
    </mime-mapping>
632
    <mime-mapping>
633
        <extension>html</extension>
634
        <mime-type>text/html</mime-type>
635
    </mime-mapping>
636
    <mime-mapping>
637
        <extension>hqx</extension>
638
        <mime-type>application/mac-binhex40</mime-type>
639
    </mime-mapping>
640
    <mime-mapping>
641
        <extension>ico</extension>
642
        <mime-type>image/x-icon</mime-type>
643
    </mime-mapping>
644
    <mime-mapping>
645
        <extension>ief</extension>
646
        <mime-type>image/ief</mime-type>
647
    </mime-mapping>
648
    <mime-mapping>
649
        <extension>jad</extension>
650
        <mime-type>text/vnd.sun.j2me.app-descriptor</mime-type>
651
    </mime-mapping>
652
    <mime-mapping>
653
        <extension>jar</extension>
654
        <mime-type>application/java-archive</mime-type>
655
    </mime-mapping>
656
    <mime-mapping>
657
        <extension>java</extension>
658
        <mime-type>text/plain</mime-type>
659
    </mime-mapping>
660
    <mime-mapping>
661
        <extension>jnlp</extension>
662
        <mime-type>application/x-java-jnlp-file</mime-type>
663
    </mime-mapping>
664
    <mime-mapping>
665
        <extension>jpe</extension>
666
        <mime-type>image/jpeg</mime-type>
667
    </mime-mapping>
668
    <mime-mapping>
669
        <extension>jpeg</extension>
670
        <mime-type>image/jpeg</mime-type>
671
    </mime-mapping>
672
    <mime-mapping>
673
        <extension>jpg</extension>
674
        <mime-type>image/jpeg</mime-type>
675
    </mime-mapping>
676
    <mime-mapping>
677
        <extension>js</extension>
678
        <mime-type>text/javascript</mime-type>
679
    </mime-mapping>
680
    <mime-mapping>
681
        <extension>jsf</extension>
682
        <mime-type>text/plain</mime-type>
683
    </mime-mapping>
684
    <mime-mapping>
685
        <extension>jspf</extension>
686
        <mime-type>text/plain</mime-type>
687
    </mime-mapping>
688
    <mime-mapping>
689
        <extension>kar</extension>
690
        <mime-type>audio/midi</mime-type>
691
    </mime-mapping>
692
    <mime-mapping>
693
        <extension>latex</extension>
694
        <mime-type>application/x-latex</mime-type>
695
    </mime-mapping>
696
    <mime-mapping>
697
        <extension>m3u</extension>
698
        <mime-type>audio/x-mpegurl</mime-type>
699
    </mime-mapping>
700
    <mime-mapping>
701
        <extension>mac</extension>
702
        <mime-type>image/x-macpaint</mime-type>
703
    </mime-mapping>
704
    <mime-mapping>
705
        <extension>man</extension>
706
        <mime-type>application/x-troff-man</mime-type>
707
    </mime-mapping>
708
    <mime-mapping>
709
        <extension>mathml</extension>
710
        <mime-type>application/mathml+xml</mime-type> 
711
    </mime-mapping>
712
    <mime-mapping>
713
        <extension>me</extension>
714
        <mime-type>application/x-troff-me</mime-type>
715
    </mime-mapping>
716
    <mime-mapping>
717
        <extension>mid</extension>
718
        <mime-type>audio/midi</mime-type>
719
    </mime-mapping>
720
    <mime-mapping>
721
        <extension>midi</extension>
722
        <mime-type>audio/midi</mime-type>
723
    </mime-mapping>
724
    <mime-mapping>
725
        <extension>mif</extension>
726
        <mime-type>application/vnd.mif</mime-type>
727
    </mime-mapping>
728
    <mime-mapping>
729
        <extension>mov</extension>
730
        <mime-type>video/quicktime</mime-type>
731
    </mime-mapping>
732
    <mime-mapping>
733
        <extension>movie</extension>
734
        <mime-type>video/x-sgi-movie</mime-type>
735
    </mime-mapping>
736
    <mime-mapping>
737
        <extension>mp1</extension>
738
        <mime-type>audio/x-mpeg</mime-type>
739
    </mime-mapping>
740
    <mime-mapping>
741
        <extension>mp2</extension>
742
        <mime-type>audio/mpeg</mime-type>
743
    </mime-mapping>
744
    <mime-mapping>
745
        <extension>mp3</extension>
746
        <mime-type>audio/mpeg</mime-type>
747
    </mime-mapping>
748
    <mime-mapping>
749
        <extension>mp4</extension>
750
        <mime-type>video/mp4</mime-type>
751
    </mime-mapping>
752
    <mime-mapping>
753
        <extension>mpa</extension>
754
        <mime-type>audio/x-mpeg</mime-type>
755
    </mime-mapping>
756
    <mime-mapping>
757
        <extension>mpe</extension>
758
        <mime-type>video/mpeg</mime-type>
759
    </mime-mapping>
760
    <mime-mapping>
761
        <extension>mpeg</extension>
762
        <mime-type>video/mpeg</mime-type>
763
    </mime-mapping>
764
    <mime-mapping>
765
        <extension>mpega</extension>
766
        <mime-type>audio/x-mpeg</mime-type>
767
    </mime-mapping>
768
    <mime-mapping>
769
        <extension>mpg</extension>
770
        <mime-type>video/mpeg</mime-type>
771
    </mime-mapping>
772
    <mime-mapping>
773
        <extension>mpv2</extension>
774
        <mime-type>video/mpeg2</mime-type>
775
    </mime-mapping>
776
    <mime-mapping>
777
        <extension>ms</extension>
778
        <mime-type>application/x-troff-ms</mime-type>
779
    </mime-mapping>
780
    <mime-mapping>
781
        <extension>nc</extension>
782
        <mime-type>application/x-netcdf</mime-type>
783
    </mime-mapping>
784
    <mime-mapping>
785
        <extension>oda</extension>
786
        <mime-type>application/oda</mime-type>
787
    </mime-mapping>
788
    <mime-mapping>
789
        <!-- OpenDocument Database -->
790
        <extension>odb</extension>
791
        <mime-type>application/vnd.oasis.opendocument.database</mime-type>
792
    </mime-mapping>
793
    <mime-mapping>
794
        <!-- OpenDocument Chart -->
795
        <extension>odc</extension>
796
        <mime-type>application/vnd.oasis.opendocument.chart</mime-type>
797
    </mime-mapping>
798
    <mime-mapping>
799
        <!-- OpenDocument Formula -->
800
        <extension>odf</extension>
801
        <mime-type>application/vnd.oasis.opendocument.formula</mime-type>
802
    </mime-mapping>
803
    <mime-mapping>
804
        <!-- OpenDocument Drawing -->
805
        <extension>odg</extension>
806
        <mime-type>application/vnd.oasis.opendocument.graphics</mime-type>
807
    </mime-mapping>
808
    <mime-mapping>
809
        <!-- OpenDocument Image -->
810
        <extension>odi</extension>
811
        <mime-type>application/vnd.oasis.opendocument.image</mime-type>
812
    </mime-mapping>
813
    <mime-mapping>
814
        <!-- OpenDocument Master Document -->
815
        <extension>odm</extension>
816
        <mime-type>application/vnd.oasis.opendocument.text-master</mime-type>
817
    </mime-mapping>
818
    <mime-mapping>
819
        <!-- OpenDocument Presentation -->
820
        <extension>odp</extension>
821
        <mime-type>application/vnd.oasis.opendocument.presentation</mime-type>
822
    </mime-mapping>
823
    <mime-mapping>
824
        <!-- OpenDocument Spreadsheet -->
825
        <extension>ods</extension>
826
        <mime-type>application/vnd.oasis.opendocument.spreadsheet</mime-type>
827
    </mime-mapping>
828
    <mime-mapping>
829
        <!-- OpenDocument Text -->
830
        <extension>odt</extension>
831
        <mime-type>application/vnd.oasis.opendocument.text</mime-type>
832
    </mime-mapping>
833
    <mime-mapping>
834
        <extension>ogg</extension>
835
        <mime-type>application/ogg</mime-type>
836
    </mime-mapping>
837
    <mime-mapping>
838
        <!-- OpenDocument Drawing Template -->
839
        <extension>otg </extension>
840
        <mime-type>application/vnd.oasis.opendocument.graphics-template</mime-type>
841
    </mime-mapping>
842
    <mime-mapping>
843
        <!-- HTML Document Template -->
844
        <extension>oth</extension>
845
        <mime-type>application/vnd.oasis.opendocument.text-web</mime-type>
846
    </mime-mapping>
847
    <mime-mapping>
848
        <!-- OpenDocument Presentation Template -->
849
        <extension>otp</extension>
850
        <mime-type>application/vnd.oasis.opendocument.presentation-template</mime-type>
851
    </mime-mapping>
852
    <mime-mapping>
853
        <!-- OpenDocument Spreadsheet Template -->
854
        <extension>ots</extension>
855
        <mime-type>application/vnd.oasis.opendocument.spreadsheet-template </mime-type>
856
    </mime-mapping>
857
    <mime-mapping>
858
        <!-- OpenDocument Text Template -->
859
        <extension>ott</extension>
860
        <mime-type>application/vnd.oasis.opendocument.text-template</mime-type>
861
    </mime-mapping>
862
    <mime-mapping>
863
        <extension>pbm</extension>
864
        <mime-type>image/x-portable-bitmap</mime-type>
865
    </mime-mapping>
866
    <mime-mapping>
867
        <extension>pct</extension>
868
        <mime-type>image/pict</mime-type>
869
    </mime-mapping>
870
    <mime-mapping>
871
        <extension>pdf</extension>
872
        <mime-type>application/pdf</mime-type>
873
    </mime-mapping>
874
    <mime-mapping>
875
        <extension>pgm</extension>
876
        <mime-type>image/x-portable-graymap</mime-type>
877
    </mime-mapping>
878
    <mime-mapping>
879
        <extension>pic</extension>
880
        <mime-type>image/pict</mime-type>
881
    </mime-mapping>
882
    <mime-mapping>
883
        <extension>pict</extension>
884
        <mime-type>image/pict</mime-type>
885
    </mime-mapping>
886
    <mime-mapping>
887
        <extension>pls</extension>
888
        <mime-type>audio/x-scpls</mime-type>
889
    </mime-mapping>
890
    <mime-mapping>
891
        <extension>png</extension>
892
        <mime-type>image/png</mime-type>
893
    </mime-mapping>
894
    <mime-mapping>
895
        <extension>pnm</extension>
896
        <mime-type>image/x-portable-anymap</mime-type>
897
    </mime-mapping>
898
    <mime-mapping>
899
        <extension>pnt</extension>
900
        <mime-type>image/x-macpaint</mime-type>
901
    </mime-mapping>
902
    <mime-mapping>
903
        <extension>ppm</extension>
904
        <mime-type>image/x-portable-pixmap</mime-type>
905
    </mime-mapping>
906
    <mime-mapping>
907
        <extension>pps</extension>
908
        <mime-type>application/vnd.ms-powerpoint</mime-type>
909
    </mime-mapping>
910
    <mime-mapping>
911
        <extension>ppt</extension>
912
        <mime-type>application/vnd.ms-powerpoint</mime-type>
913
    </mime-mapping>
914
    <mime-mapping>
915
        <extension>ps</extension>
916
        <mime-type>application/postscript</mime-type>
917
    </mime-mapping>
918
    <mime-mapping>
919
        <extension>psd</extension>
920
        <mime-type>image/x-photoshop</mime-type>
921
    </mime-mapping>
922
    <mime-mapping>
923
        <extension>qt</extension>
924
        <mime-type>video/quicktime</mime-type>
925
    </mime-mapping>
926
    <mime-mapping>
927
        <extension>qti</extension>
928
        <mime-type>image/x-quicktime</mime-type>
929
    </mime-mapping>
930
    <mime-mapping>
931
        <extension>qtif</extension>
932
        <mime-type>image/x-quicktime</mime-type>
933
    </mime-mapping>
934
    <mime-mapping>
935
        <extension>ras</extension>
936
        <mime-type>image/x-cmu-raster</mime-type>
937
    </mime-mapping>
938
    <mime-mapping>
939
        <extension>rdf</extension>
940
        <mime-type>application/rdf+xml</mime-type>
941
    </mime-mapping>
942
    <mime-mapping>
943
        <extension>rgb</extension>
944
        <mime-type>image/x-rgb</mime-type>
945
    </mime-mapping>
946
    <mime-mapping>
947
        <extension>rm</extension>
948
        <mime-type>application/vnd.rn-realmedia</mime-type>
949
    </mime-mapping>
950
    <mime-mapping>
951
        <extension>roff</extension>
952
        <mime-type>application/x-troff</mime-type>
953
    </mime-mapping>
954
    <mime-mapping>
955
        <extension>rtf</extension>
956
        <mime-type>text/rtf</mime-type>
957
    </mime-mapping>
958
    <mime-mapping>
959
        <extension>rtx</extension>
960
        <mime-type>text/richtext</mime-type>
961
    </mime-mapping>
962
    <mime-mapping>
963
        <extension>sh</extension>
964
        <mime-type>application/x-sh</mime-type>
965
    </mime-mapping>
966
    <mime-mapping>
967
        <extension>shar</extension>
968
        <mime-type>application/x-shar</mime-type>
969
    </mime-mapping>
970
<!--
971
    <mime-mapping>
972
        <extension>shtml</extension>
973
        <mime-type>text/x-server-parsed-html</mime-type>
974
    </mime-mapping>
975
-->
976
    <mime-mapping>
977
        <extension>smf</extension>
978
        <mime-type>audio/x-midi</mime-type>
979
    </mime-mapping>
980
    <mime-mapping>
981
        <extension>sit</extension>
982
        <mime-type>application/x-stuffit</mime-type>
983
    </mime-mapping>
984
    <mime-mapping>
985
        <extension>snd</extension>
986
        <mime-type>audio/basic</mime-type>
987
    </mime-mapping>
988
    <mime-mapping>
989
        <extension>src</extension>
990
        <mime-type>application/x-wais-source</mime-type>
991
    </mime-mapping>
992
    <mime-mapping>
993
        <extension>sv4cpio</extension>
994
        <mime-type>application/x-sv4cpio</mime-type>
995
    </mime-mapping>
996
    <mime-mapping>
997
        <extension>sv4crc</extension>
998
        <mime-type>application/x-sv4crc</mime-type>
999
    </mime-mapping>
1000
    <mime-mapping>
1001
        <extension>svg</extension>
1002
        <mime-type>image/svg+xml</mime-type>
1003
    </mime-mapping>
1004
    <mime-mapping>
1005
        <extension>svgz</extension>
1006
        <mime-type>image/svg+xml</mime-type>
1007
    </mime-mapping>
1008
    <mime-mapping>
1009
        <extension>swf</extension>
1010
        <mime-type>application/x-shockwave-flash</mime-type>
1011
    </mime-mapping>
1012
    <mime-mapping>
1013
        <extension>t</extension>
1014
        <mime-type>application/x-troff</mime-type>
1015
    </mime-mapping>
1016
    <mime-mapping>
1017
        <extension>tar</extension>
1018
        <mime-type>application/x-tar</mime-type>
1019
    </mime-mapping>
1020
    <mime-mapping>
1021
        <extension>tcl</extension>
1022
        <mime-type>application/x-tcl</mime-type>
1023
    </mime-mapping>
1024
    <mime-mapping>
1025
        <extension>tex</extension>
1026
        <mime-type>application/x-tex</mime-type>
1027
    </mime-mapping>
1028
    <mime-mapping>
1029
        <extension>texi</extension>
1030
        <mime-type>application/x-texinfo</mime-type>
1031
    </mime-mapping>
1032
    <mime-mapping>
1033
        <extension>texinfo</extension>
1034
        <mime-type>application/x-texinfo</mime-type>
1035
    </mime-mapping>
1036
    <mime-mapping>
1037
        <extension>tif</extension>
1038
        <mime-type>image/tiff</mime-type>
1039
    </mime-mapping>
1040
    <mime-mapping>
1041
        <extension>tiff</extension>
1042
        <mime-type>image/tiff</mime-type>
1043
    </mime-mapping>
1044
    <mime-mapping>
1045
        <extension>tr</extension>
1046
        <mime-type>application/x-troff</mime-type>
1047
    </mime-mapping>
1048
    <mime-mapping>
1049
        <extension>tsv</extension>
1050
        <mime-type>text/tab-separated-values</mime-type>
1051
    </mime-mapping>
1052
    <mime-mapping>
1053
        <extension>txt</extension>
1054
        <mime-type>text/plain</mime-type>
1055
    </mime-mapping>
1056
    <mime-mapping>
1057
        <extension>ulw</extension>
1058
        <mime-type>audio/basic</mime-type>
1059
    </mime-mapping>
1060
    <mime-mapping>
1061
        <extension>ustar</extension>
1062
        <mime-type>application/x-ustar</mime-type>
1063
    </mime-mapping>
1064
    <mime-mapping>
1065
        <extension>vrml</extension>
1066
        <mime-type>model/vrml</mime-type>
1067
    </mime-mapping>
1068
    <mime-mapping>
1069
        <extension>vsd</extension>
1070
        <mime-type>application/x-visio</mime-type>
1071
    </mime-mapping>
1072
    <mime-mapping>
1073
        <extension>vxml</extension>
1074
        <mime-type>application/voicexml+xml</mime-type>
1075
    </mime-mapping>
1076
    <mime-mapping>
1077
        <extension>wav</extension>
1078
        <mime-type>audio/x-wav</mime-type>
1079
    </mime-mapping>
1080
    <mime-mapping>
1081
        <!-- Wireless Bitmap -->
1082
        <extension>wbmp</extension>
1083
        <mime-type>image/vnd.wap.wbmp</mime-type>
1084
    </mime-mapping>
1085
    <mime-mapping>
1086
        <!-- WML Source -->
1087
        <extension>wml</extension>
1088
        <mime-type>text/vnd.wap.wml</mime-type>
1089
    </mime-mapping>
1090
    <mime-mapping>
1091
        <!-- Compiled WML -->
1092
        <extension>wmlc</extension>
1093
        <mime-type>application/vnd.wap.wmlc</mime-type>
1094
    </mime-mapping>
1095
    <mime-mapping>
1096
        <!-- WML Script Source -->
1097
        <extension>wmls</extension>
1098
        <mime-type>text/vnd.wap.wmlscript</mime-type>
1099
    </mime-mapping>
1100
    <mime-mapping>
1101
        <!-- Compiled WML Script -->
1102
        <extension>wmlscriptc</extension>
1103
        <mime-type>application/vnd.wap.wmlscriptc</mime-type>
1104
    </mime-mapping>
1105
    <mime-mapping>
1106
        <extension>wmv</extension>
1107
        <mime-type>video/x-ms-wmv</mime-type>
1108
    </mime-mapping>
1109
    <mime-mapping>
1110
        <extension>wrl</extension>
1111
        <mime-type>model/vrml</mime-type>
1112
    </mime-mapping>
1113
    <mime-mapping>
1114
        <extension>xbm</extension>
1115
        <mime-type>image/x-xbitmap</mime-type>
1116
    </mime-mapping>
1117
    <mime-mapping>
1118
        <extension>xht</extension>
1119
        <mime-type>application/xhtml+xml</mime-type>
1120
    </mime-mapping>
1121
    <mime-mapping>
1122
        <extension>xhtml</extension>
1123
        <mime-type>application/xhtml+xml</mime-type>
1124
    </mime-mapping>
1125
    <mime-mapping>
1126
        <extension>xls</extension>
1127
        <mime-type>application/vnd.ms-excel</mime-type>
1128
    </mime-mapping>
1129
    <mime-mapping>
1130
        <extension>xml</extension>
1131
        <mime-type>application/xml</mime-type>
1132
    </mime-mapping>
1133
    <mime-mapping>
1134
        <extension>xpm</extension>
1135
        <mime-type>image/x-xpixmap</mime-type>
1136
    </mime-mapping>
1137
    <mime-mapping>
1138
        <extension>xsl</extension>
1139
        <mime-type>application/xml</mime-type>
1140
    </mime-mapping>
1141
    <mime-mapping>
1142
        <extension>xslt</extension>
1143
        <mime-type>application/xslt+xml</mime-type>
1144
    </mime-mapping>
1145
    <mime-mapping>
1146
        <extension>xul</extension>
1147
        <mime-type>application/vnd.mozilla.xul+xml</mime-type>
1148
    </mime-mapping>
1149
    <mime-mapping>
1150
        <extension>xwd</extension>
1151
        <mime-type>image/x-xwindowdump</mime-type>
1152
    </mime-mapping>
1153
    <mime-mapping>
1154
        <extension>Z</extension>
1155
        <mime-type>application/x-compress</mime-type>
1156
    </mime-mapping>
1157
    <mime-mapping>
1158
        <extension>z</extension>
1159
        <mime-type>application/x-compress</mime-type>
1160
    </mime-mapping>
1161
    <mime-mapping>
1162
        <extension>zip</extension>
1163
        <mime-type>application/zip</mime-type>
1164
    </mime-mapping>
1165

  
1166
  <!-- ==================== Default Welcome File List ===================== -->
1167
  <!-- When a request URI refers to a directory, the default servlet looks  -->
1168
  <!-- for a "welcome file" within that directory and, if present,          -->
1169
  <!-- to the corresponding resource URI for display.  If no welcome file   -->
1170
  <!-- is present, the default servlet either serves a directory listing,   -->
1171
  <!-- or returns a 404 status, depending on how it is configured.          -->
1172
  <!--                                                                      -->
1173
  <!-- If you define welcome files in your own application's web.xml        -->
1174
  <!-- deployment descriptor, that list *replaces* the list configured      -->
1175
  <!-- here, so be sure that you include any of the default values that     -->
1176
  <!-- you wish to include.                                                 -->
1177

  
1178
    <welcome-file-list>
1179
        <welcome-file>index.html</welcome-file>
1180
        <welcome-file>index.htm</welcome-file>
1181
        <welcome-file>index.jsp</welcome-file>
1182
    </welcome-file-list>
1183

  
1184
</web-app>
tmp/trunk/servidor/WPS_Callejero_Server/Servers/Tomcat v5.5 Server at localhost-config/server.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--
3
  Licensed to the Apache Software Foundation (ASF) under one or more
4
  contributor license agreements.  See the NOTICE file distributed with
5
  this work for additional information regarding copyright ownership.
6
  The ASF licenses this file to You under the Apache License, Version 2.0
7
  (the "License"); you may not use this file except in compliance with
8
  the License.  You may obtain a copy of the License at
9

  
10
      http://www.apache.org/licenses/LICENSE-2.0
11

  
12
  Unless required by applicable law or agreed to in writing, software
13
  distributed under the License is distributed on an "AS IS" BASIS,
14
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
  See the License for the specific language governing permissions and
16
  limitations under the License.
17
--><!-- Example Server Configuration File --><!-- Note that component elements are nested corresponding to their
18
     parent-child relationships with each other --><!-- A "Server" is a singleton element that represents the entire JVM,
19
     which may contain one or more "Service" instances.  The Server
20
     listens for a shutdown command on the indicated port.
21

  
22
     Note:  A "Server" is not itself a "Container", so you may not
23
     define subcomponents such as "Valves" or "Loggers" at this level.
24
 --><Server port="9005" shutdown="SHUTDOWN">
25

  
26
  <!-- Comment these entries out to disable JMX MBeans support used for the 
27
       administration web application -->
28
  <Listener className="org.apache.catalina.core.AprLifecycleListener"/>
29
  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
30
  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
31
  <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
32

  
33
  <!-- Global JNDI resources -->
34
  <GlobalNamingResources>
35

  
36
    <!-- Test entry for demonstration purposes -->
37
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
38

  
39
    <!-- Editable user database that can also be used by
40
         UserDatabaseRealm to authenticate users -->
41
    <Resource auth="Container" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" name="UserDatabase" pathname="conf/tomcat-users.xml" type="org.apache.catalina.UserDatabase"/>
42

  
43
  </GlobalNamingResources>
44

  
45
  <!-- A "Service" is a collection of one or more "Connectors" that share
46
       a single "Container" (and therefore the web applications visible
47
       within that Container).  Normally, that Container is an "Engine",
48
       but this is not required.
49

  
50
       Note:  A "Service" is not itself a "Container", so you may not
51
       define subcomponents such as "Valves" or "Loggers" at this level.
52
   -->
53

  
54
  <!-- Define the Tomcat Stand-Alone Service -->
55
  <Service name="Catalina">
56

  
57
    <!-- A "Connector" represents an endpoint by which requests are received
58
         and responses are returned.  Each Connector passes requests on to the
59
         associated "Container" (normally an Engine) for processing.
60

  
61
         By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
62
         You can also enable an SSL HTTP/1.1 Connector on port 8443 by
63
         following the instructions below and uncommenting the second Connector
64
         entry.  SSL support requires the following steps (see the SSL Config
65
         HOWTO in the Tomcat 5 documentation bundle for more detailed
66
         instructions):
67
         * If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
68
           later, and put the JAR files into "$JAVA_HOME/jre/lib/ext".
69
         * Execute:
70
             %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
71
             $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA  (Unix)
72
           with a password value of "changeit" for both the certificate and
73
           the keystore itself.
74

  
75
         By default, DNS lookups are enabled when a web application calls
76
         request.getRemoteHost().  This can have an adverse impact on
77
         performance, so you can disable it by setting the
78
         "enableLookups" attribute to "false".  When DNS lookups are disabled,
79
         request.getRemoteHost() will return the String version of the
80
         IP address of the remote client.
81
    -->
82

  
83
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
84
    <Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" port="9080" redirectPort="8443"/>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff