OW2 Consortium siwpas

Compare Revisions

Ignore whitespace Rev 8 → Rev 9

/trunk/siwpas-release/README
New file
0,0 → 1,78
####################################################################################################
===========================HOW TO RELEASE A RUNNABLE OW2 SIWPAS SERVER==============================
####################################################################################################
 
This document explains how to release a runnable OW2 SIWPAS Server.
 
In this documentation,
 
- ${TOMCAT_BINARY} represents the location of the Apache Tomcat binary distribution directory and
- ${TOMCAT_SOURCE} represents the location of the Apache Tomcat source distribution directory and
- ${SIWPAS_SOURCE} represents the location of the OW2 Siwpas source directory and
- ${TOMCAT_LIB_FOLDER} represents the location of the user directory where Tomcat distribution
libraries (${TOMCAT_BINARY}/libs files) are located that OW2 Siwpas will use for building the code.
(This location will be configured in the ${SIWPAS_SOURCE}/pom.xml file.)
 
####################################################################################################
========================================RELEASE STEPS===============================================
####################################################################################################
There are 2 steps :
 
* Compile, Test and Build SIWPAS source code.
* Release SIWPAS.
 
####################################################################################################
======================================STEP 1 : COMPILE AND BUILD====================================
####################################################################################################
 
- DOWNLOAD APACHE TOMCAT DISTRIBUTION
Download latest Apache Tomcat ZIP/TAR distribution (Siwpas is based on this distribution) from
http://tomcat.apache.org/download-70.cgi that OW2 Siwpas is based on. (It will be called ${TOMCAT_BINARY})
 
- UPDATE TOMCAT LIBRARIES
Put latest Apache Tomcat distribution libraries (${TOMCAT_BINARY}/libs/ directory content) to ${TOMCAT_LIB_FOLDER} directory
and update ${SIWPAS_SOURCE}/pom.xml file to update library location.
 
- COMPILE AND BUILD SIWPAS SOURCE CODE
From ${SIWPAS_SOURCE} location, execute "mvn clean install" to build the SIWPAS source code.
 
####################################################################################################
======================================STEP 2 : RELEASE==============================================
####################################################################################################
- GET APACHE TOMCAT SOURCE CODE FROM APACHE TOMCAT SVN
Get tagged release of Apache Tomcat from the URL : "https://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags"
into "${SIWPAS_SOURCE}/releases" directory (It will be called ${TOMCAT_SOURCE}).
>> cd ${SIWPAS_SOURCE}/releases
>> svn co https://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_11/
 
- COPY ASSEMBLY FOLDER
Copy "${SIWPAS_SOURCE}/siwpas-release/assembly" folder into "${TOMCAT_SOURCE}".
 
- CHECK TOMCAT FILES FOR UPDATE
Check "${TOMCAT_SOURCE}/assembly/bin" contents with "${TOMCAT_BINARY}/bin" folders content.
- If there are some changes on Tomcat side, upgrade '${TOMCAT_SOURCE}/assembly/bin' for the changed files.
 
Check '${TOMCAT_SOURCE}/assembly/conf' contents with '${TOMCAT_BINARY}/conf' content.
- If there are some changes on Tomcat side, upgrade '${TOMCAT_SOURCE}/assembly/conf' for the changed files.
- UPDATE BUILD FILES
Update '${TOMCAT_SOURCE}/build.properties'
- Add '${TOMCAT_SOURCE}/assembly/owb.properties' content into the end of '${TOMCAT_SOURCE}/build.properties' file.
 
Add Build File
- Add '${TOMCAT_SOURCE}/assembly/build_enterprise.xml' into '${TOMCAT_SOURCE}' folder.
 
Update Siwpas Version
- Open '${TOMCAT_SOURCE}/build.properties' and change Siwpas version.
- UPDATE ROOT WEB APPLICATION
Remove ${TOMCAT_SOURCE}/webapps/ROOT
- Put ${TOMCAT_SOURCE}/assembly/ROOT to ${TOMCAT_SOURCE}/webapps
- RELEASE OW2 SIWPAS
Run ant release -f build_enterprise.xml
- OW2 SIWPAS RELEASE DIRECTORY
Go to ${TOMCAT_SOURCE}/output/release/v7.0.xx/bin directory.
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/readmes/README
New file
0,0 → 1,303
=========================================================================
================== OW2 Siwpas EE Application Server =====================
== Copyright (c) 2008-2013 MechSoft Mechanical and Software Solutions, ==
== All Rights Reserved. ==
=========================================================================
 
=========================================================================
== License Information ==
=========================================================================
Siwpas is licensed under GNU Lesser General Public License. See LICENSE
file for reading the further license information.
 
=========================================================================
== Siwpas, Simple Web Profile Application Server 6.0.0 Release Notes ==
=========================================================================
[General] This is the first release of OW2 Siwpas as an OW2 incubator project.
 
=========================================================================
== OW2 Siwpas, Simple Web Profile Application Server ==
=========================================================================
Welcome!
 
Thanks for downloading Siwpas. This document is a "Introduction & Getting Started Guide"
for using Siwpas. You can download more detailed user and administration guides from
Siwpas web site, "http://siwpas.mechsoft.com.tr".
 
If you want to immediately learn how to start Siwpas, skip introcution sections
and directly go to the section "Starting & Using Siwpas in 5 Minutes".
Otherwise, continue to read for getting some information about Siwpas.
 
=========================================================================
== What is OW2 Siwpas ? ==
=========================================================================
Siwpas (pronounced as Simple Web Profile Application Server) is a
lightweight Java application server platform for developing enterprise
quality JavaTM Platform, Enterprise Edition 6 (Java EE 6) web applications.
Siwpas integrates Apache Software Foundation(ASF) Java EE 6 related projects
for providing a Java EE Web Profile compatible runtime platform.
 
=========================================================================
== Why Siwpas, Why Another Server? ==
=========================================================================
Good question :)
 
Nowadays, a huge number of application developers and enterprise companies
want to use lightweight application servers for deploying and running their
web applications. They do not want to use heavyweight Java EE Servers that
are fully compliant with Java EE Specifications. They want to manage light
weight, cloud environment friendly servers. Nonetheless, they also need more
technology stack for implementing their web based applications, such as "JPA,
JSF, JTA , EJB etc."
 
Moreover, most of them deploy their critical enterprise web applications into
the Apache Tomcat in their production systems.
 
Siwpas is aimed at providing a lightweight application server runtime based
on Apache Tomcat 7. It also fills web applications technology requirements via
ASF Java EE projects. In summary, Siwpas translates Apache Tomcat 7 into a
more powerful enterprise web server.
 
The benefits of using Siwpas can be listed as follows:
- It has a lightweight but powerful runtime environment
- It is based on the very-well known JSP & Servlet Container,
Apache Tomcat 7
- It consists of Web Profile Specification technology stack
- It consists of powerful, commerical quality ASF Java EE Projects
- It is an open source project
- It is professionally supported by MechSoft (7x24 enterprise support)
- It is light and will be always light
 
=========================================================================
== Siwpas Professional Support ==
=========================================================================
You can get more information from "http://siwpas.mechsoft.com.tr/support/professional-support"
to get more information about Siwpas' professional support.
 
=========================================================================
== Web Profile Compliance ==
=========================================================================
OW2 Siwpas is certified as a Java EE 6 Web Profile Server.
 
=========================================================================
== What is Web Profile? ==
=========================================================================
JavaTM Platform, Enterprise Edition 6 (Java EE 6) Web Profile, a profile
of the JavaTM Platform, Enterprise Edition 6 (Java EE 6) Specification
that includes the web application related technologies.
 
According to the Java EE Web Profile specification, "The Web Profile is
aimed at developers of modern web applications. Aiming "modern" web
applications then implies offering a reasonably complete stack, composed
of standard APIs, and out-of-the-box capability to address the needs of a
large class of web applications".
 
You can download and get more information from the JCP Page of the specification.
JSR 316: JavaTM Platform, Enterprise Edition 6 (Java EE 6) Specification,
http://jcp.org/en/jsr/detail?id=316.
 
=========================================================================
== Web Profile Required Components ==
=========================================================================
Specification NameVersion
- Servlet, 3.0
- Java Server Pages 2.2
- Expression Language 2.2
- Debugging Support for Other Languages 1.0
- Standard Tag Library for JSP 1.2
- Java Server Faces 2.0
- Common Annotations for the Java Platform 1.0
- Enterprise Java Beans Lite 3.1
- Java Transaction API 1.1
- Java Persistence API 2.0
- Bean Validation 1.0
- Managed Beans 1.0
- Interceptors 1.1
- Context and Dependency Injection for Java EE 1.0
- Dependency Injection for Java 1.0
 
=========================================================================
== Apache EE Projects ==
=========================================================================
Siwpas has powered by following Apache Java EE projects,
 
ASF Project Name Web Profile Requirement
- Apache Tomcat 7 Servlet, JSP,EL and related components
- Apache MyFaces 2 Java Server Faces component
- Apache OpenEJB EJB 3.1 Lite and related components
- Apache OpenWebBeans Dependency Injection components
- Apache Bean Validation Validation component
- Apache OpenJPA Persistence API component
 
=========================================================================
== Starting & Using Siwpas in 5 Minutes ==
=========================================================================
In this part, you will learn how to start/stop Siwpas and deploy web appl
ications into Siwpas.
 
=========================================================================
== Platform Requirements ==
=========================================================================
Before you use Siwpas, your environment must have Java JDK or Java JRE.
 
Currently Siwpas only works with with Java JDK/JRE 1.6 or greater.
 
=========================================================================
== (1) Running With JRE 6.0 Or Later ==
=========================================================================
 
(1) Download and Install the Java SE Runtime Environment (JRE)
 
(1.1) Download the Java SE Runtime Environment (JRE),
release version 6.0 or later, from
http://www.oracle.com/technetwork/java/javase/downloads/index.html
 
(1.2) Install the JRE according to the instructions included with the
release.
 
(1.3) Set an environment variable named JRE_HOME to the pathname of
the directory into which you installed the JRE, e.g. c:\jre6.0
or /usr/local/java/jre6.0.
 
NOTE: You may also use the full JDK rather than just the JRE. In this
case set your JAVA_HOME environment variable to the pathname of
the directory into which you installed the JDK, e.g. c:\jdk6.0
or /usr/local/java/jdk6.0.
 
=========================================================================
== (2) Download and Install the Siwpas Binary Distribution ==
=========================================================================
(2.1) Download a binary distribution of Siwpas from:
 
http://siwpas.mechsoft.com.tr/downloads
 
(2.2) Unpack the binary distribution into a convenient location so that the
distribution resides in its own directory (conventionally named
"siwpas-[version]"). For the purposes of the remainder of this document,
the symbolic name "$SIWPAS_HOME" is used to refer to the full
pathname of the release directory.
 
 
=========================================================================
== (3) Start Up Siwpas ==
=========================================================================
Siwpas is based on Apache Tomcat 7. If you have experienced with Tomcat 7,
it is very easy to "start" Siwpas.
 
(3.1) Siwpas can be started by executing the following commands:
 
$SIWPAS_HOME\bin\startup.bat (Windows)
 
$SIWPAS_HOME/bin/startup.sh (Unix)
 
(3.2) After startup, the default web applications included with Siwpas will be
available by visiting:
 
http://localhost:8080/
 
=========================================================================
== (3) Shut Down Siwpas ==
=========================================================================
Siwpas is based on Apache Tomcat 7. If you have experienced with Tomcat 7,
it is very easy to "shutdown" Siwpas.
 
(4.1) Siwpas can be shut down by executing the following command:
 
$SIWPAS_HOME\bin\shutdown (Windows)
 
$SIWPAS_HOME/bin/shutdown.sh (Unix)
=========================================================================
== (4) How to Deploy Collapsed EAR ==
=========================================================================
Collapsed ear is an archive file that contains Web and EJB artifacts.
Therefore you can use EJB Lite functionalities in your web application.
 
Package your application as a WAR archive that may contain
EJBs. WAR archive WEB-INF/ may contain "ejb-jar.xml".
 
Deploy this war archive into the container.
 
- Example
- Archive application as "sample.war",
- Copy sample.war to "$SIWPAS_HOME/webapps" folder,
- Application will be available at "http://localhost:8080/sample"
 
=========================================================================
== Troubleshooting ==
=========================================================================
There are only really 3 things likely to go wrong during the stand-alone
Siwpas install:
 
(1) The most common hiccup is when another web server (or any process for that
matter) has laid claim to port 8080. This is the default HTTP port that
Siwpas attempts to bind to at startup. To change this, open the file:
 
$SIWPAS_HOME/conf/server.xml
 
and search for '8080'. Change it to a port that isn't in use, and is
greater than 1024, as ports less than or equal to 1024 require superuser
access to bind under UNIX.
 
Restart Siwpas and you're in business. Be sure that you replace the "8080"
in the URL you're using to access Siwpas. For example, if you change the
port to 1977, you would request the URL http://localhost:1977/ in your browser.
 
(2) An "out of environment space" error when running the batch files in
Windows 95, 98, or ME operating systems.
 
Right-click on the STARTUP.BAT and SHUTDOWN.BAT files. Click on
"Properties", then on the "Memory" tab. For the "Initial environment" field,
enter in something like 4096.
 
After you click apply, Windows will create shortcuts which you can use
to start and stop the container.
 
(3) The 'localhost' machine isn't found. This could happen if you're behind a
proxy. If that's the case, make sure the proxy configuration for your
browser knows that you shouldn't be going through the proxy to access the
"localhost".
 
In Netscape, this is under Edit/Preferences -> Advanced/Proxies, and in
Internet Explorer, Tools -> Internet Options -> Connections -> LAN Settings.
 
=========================================================================
== Source Code ==
=========================================================================
Source code is always available for Siwpas. Source code is located in OW2
forge location
 
- Source Code : http://forge.ow2.org/plugins/scmsvn/index.php?group_id=422
 
=========================================================================
== Siwpas Links ==
=========================================================================
- Siwpas Home : http://siwpas.mechsoft.com.tr
- Siwpas Forum : http://forge.ow2.org/forum/?group_id=422
- Siwpas Download : http://siwpas.mechsoft.com.tr/downloads
- Siwpas Bug Tracker : http://jira.ow2.org/browse/SIW
- Siwpas Documentation : http://siwpas.mechsoft.com.tr/docs
 
=========================================================================
== OW2 Links ==
=========================================================================
- OW2 Home Page : http://ow2.org
- OW2 Siwpas Page : http://forge.ow2.org/projects/siwpas
- OW2 Siwpas Source : http://forge.ow2.org/plugins/scmsvn/index.php?group_id=422
 
=========================================================================
== ASF Links ==
=========================================================================
- Apache Software Foundation : http://www.apache.org
- Apache Tomcat : http://tomcat.apache.org
- Apache OpenEJB : http://openejb.apache.org
- Apache MyFaces : http://myfaces.apache.org
- Apache OpenJPA : http://openjpa.apache.org
- Apache OpenWebBeans : http://openwebbeans.apache.org
- Apache Bean Validation : http://incubator.bval.apache.org/
 
=========================================================================
== ENJOY :) ==
=========================================================================
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/NOTICE
New file
0,0 → 1,150
###########################################################################
-------OW2 Siwpas, Simple Web Profile Application Server-------------------
###########################################################################
Siwpas Application Server
Copyright 2008-2013, MechSoft Mechanical and Software Solutions
 
Siwpas has been developed under OW2 Consortium.
See http://www.ow2.org/view/ActivitiesDashboard/Siwpas
 
Siwpas is licensed under GNU LGPL v3.
 
You can download Siwpas from http://siwpas.mechsoft.com.tr/downloads
You can buy a professional support from http://siwpas.mechsoft.com.tr/
 
For questions about professional support, contact with Siwpas sales:
Sales Email : sales@siwpas.mechsoft.com.tr
 
Thanks for using OW2 Siwpas EE!
 
##########################################################################
-----------------OTHER NOTICES--------------------------------------------
##########################################################################
 
This product includes software developed by
The Apache Software Foundation (http://www.apache.org/).
 
#########################################################################
---------------Apache Tomcat---------------------------------------------
#########################################################################
Copyright 1999-2013 The Apache Software Foundation
 
=========================================================================
== Windows Installer Notice ==
=========================================================================
The Windows Installer is built with the Nullsoft
Scriptable Install Sysem (NSIS), which is
open source software. The original software and
related information is available at
http://nsis.sourceforge.net.
 
=========================================================================
== Eclipse Compiler ==
=========================================================================
Java compilation software for JSP pages is provided by Eclipse,
which is open source software. The original software and
related information is available at
http://www.eclipse.org.
 
=========================================================================
== Java EE Schemas ==
=========================================================================
The original XML Schemas for Java EE Deployment Descriptors:
- javaee_5.xsd
- javaee_web_services_1_2.xsd
- javaee_web_services_client_1_2.xsd
- javaee_6.xsd
- javaee_web_services_1_3.xsd
- javaee_web_services_client_1_3.xsd
- web-app_3_0.xsd
- web-common_3_0.xsd
- web-fragment_3_0.xsd
- jsp_2_2.xsd
may be obtained from http://java.sun.com/xml/ns/javaee/
 
=========================================================================
== Javassist Library ==
=========================================================================
This product includes software javassist developed at JBoss.
The source code for this version is available under the terms of
Mozilla Public License Version 1.1. In accordance with Sections 3.6 and 3.2 of
that license, this executable version is provided un-Modified from its original form.
http://www.jboss.org/javassist/
 
=========================================================================
== JSTL Library ==
=========================================================================
This product includes software developed for the Java Server Pages Tag
Library project (https://jstl.dev.java.net/)
License: COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0ยทยท
(http://www.sun.com/cddl/cddl.html)
 
#########################################################################
--------------- Apache OpenJPA ------------------------------------------
#########################################################################
=========================================================================
== SERP Notice ==
=========================================================================
OpenJPA includes software developed by the SERP project
Copyright (c) 2002-2006, A. Abram White. All rights reserved.
 
=========================================================================
== JPA Schemas Notice ==
=========================================================================
OpenJPA includes the persistence and orm schemas from the JPA specifications.
Copyright 2005-2009 Sun Microsystems, Inc. All rights reserved.
OpenJPA elects to include this software in this distribution under the
CDDL license. You can obtain a copy of the License at:
https://glassfish.dev.java.net/public/CDDL+GPL.html
The source code is available at:
https://glassfish.dev.java.net/source/browse/glassfish/
 
OpenJPA includes software written by Miroslav Nachev.
 
OpenJPA uses test code written by Charles Tillman.
 
#########################################################################
------------------- Apache OpenEJB-------------------------------
#########################################################################
Copyright 1999-2010 The Apache OpenEJB development community
 
=========================================================================
== HSQL Notice ==
=========================================================================
 
This product includes software developed by
The HSQL Development Group (http://www.hsqldb.org/).
 
Copyright (c) 1995-2000 by the Hypersonic SQL Group.
All rights reserved.
 
Copyright (c) 2001-2005, The HSQL Development Group
All rights reserved.
 
=========================================================================
== Howl Notice ==
=========================================================================
 
Copyright (c) 2004, Bull S.A.
All rights reserved.
 
=========================================================================
== SLF4J Notice ==
=========================================================================
 
Copyright (c) 2004-2005 SLF4J.ORG
Copyright (c) 2004-2005 QOS.ch
All rights reserved.
 
=========================================================================
== Woodstox, WSDL4J ==
=========================================================================
 
This product includes/uses software, Woodstox (http://woodstox.codehaus.org),
developed by Codehaus (http://www.codehaus.org/)
License: The Apache Software License, Version 2.0
(http://www.apache.org/licenses/LICENSE-2.0.txt)
 
This product includes/uses software, WSDL4J (http://sf.net/projects/wsdl4j)
License: CPL (http://www.opensource.org/licenses/cpl1.0.txt)
#################################################################################
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/LICENSE
New file
0,0 → 1,3158
=========================================================================
================== OW2 Siwpas EE Application Server =====================
======Copyright 2008-2013, MechSoft Mechanical and Software Solutions====
=========================================================================
Siwpas has been developed under OW2 Consortium.
See http://www.ow2.org/view/ActivitiesDashboard/Siwpas
 
Siwpas is licensed under GNU LGPL v3.This file contains all licenses that
Siwpas uses.
 
=========================================================================
== LGPL v3 License: ==
=========================================================================
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
 
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
 
 
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
 
0. Additional Definitions.
 
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
 
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
 
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
 
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
 
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
 
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
 
1. Exception to Section 3 of the GNU GPL.
 
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
 
2. Conveying Modified Versions.
 
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
 
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
 
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
 
3. Object Code Incorporating Material from Library Header Files.
 
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
 
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
 
b) Accompany the object code with a copy of the GNU GPL and this license
document.
 
4. Combined Works.
 
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
 
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
 
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
 
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
 
d) Do one of the following:
 
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
 
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
 
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
 
5. Combined Libraries.
 
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
 
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
 
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
 
6. Revised Versions of the GNU Lesser General Public License.
 
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
 
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
 
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
 
=========================================================================
== GPL v3 License: ==
=========================================================================
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
 
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
 
Preamble
 
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
 
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
 
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
 
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
 
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
 
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
 
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
 
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
 
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
 
The precise terms and conditions for copying, distribution and
modification follow.
 
TERMS AND CONDITIONS
 
0. Definitions.
 
"This License" refers to version 3 of the GNU General Public License.
 
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
 
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
 
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
 
A "covered work" means either the unmodified Program or a work based
on the Program.
 
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
 
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
 
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
 
1. Source Code.
 
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
 
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
 
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
 
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
 
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
 
The Corresponding Source for a work in source code form is that
same work.
 
2. Basic Permissions.
 
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
 
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
 
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
 
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
 
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
 
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
 
4. Conveying Verbatim Copies.
 
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
 
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
 
5. Conveying Modified Source Versions.
 
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
 
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
 
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
 
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
 
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
 
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
 
6. Conveying Non-Source Forms.
 
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
 
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
 
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
 
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
 
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
 
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
 
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
 
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
 
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
 
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
 
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
 
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
 
7. Additional Terms.
 
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
 
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
 
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
 
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
 
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
 
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
 
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
 
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
 
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
 
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
 
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
 
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
 
8. Termination.
 
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
 
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
 
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
 
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
 
9. Acceptance Not Required for Having Copies.
 
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
 
10. Automatic Licensing of Downstream Recipients.
 
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
 
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
 
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
 
11. Patents.
 
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
 
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
 
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
 
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
 
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
 
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
 
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
 
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
 
12. No Surrender of Others' Freedom.
 
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
 
13. Use with the GNU Affero General Public License.
 
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
 
14. Revised Versions of this License.
 
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
 
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
 
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
 
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
 
15. Disclaimer of Warranty.
 
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
 
16. Limitation of Liability.
 
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
 
17. Interpretation of Sections 15 and 16.
 
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
 
END OF TERMS AND CONDITIONS
 
How to Apply These Terms to Your New Programs
 
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
 
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
 
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
 
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
 
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
 
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
 
Also add information on how to contact you by electronic and paper mail.
 
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
 
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
 
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
 
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
 
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
 
=========================================================================
== Siwpas components: ==
=========================================================================
Siwpas includes a number of subcomponents with separate copyright notices
and license terms. Your use of these subcomponents is subject to the terms and
conditions of the following licenses.
 
==========================================================================
== ASL License for ASL Licensed Siwpas components: ==
==========================================================================
 
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
 
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
 
1. Definitions.
 
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
 
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
 
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
 
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
 
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
 
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
 
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
 
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
 
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
 
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
 
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
 
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
 
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
 
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
 
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
 
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
 
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
 
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
 
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
 
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
 
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
 
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
 
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
 
END OF TERMS AND CONDITIONS
 
APPENDIX: How to apply the Apache License to your work.
 
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
 
Copyright [yyyy] [name of copyright owner]
 
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
 
http://www.apache.org/licenses/LICENSE-2.0
 
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
 
=========================================================================
== For the ecj-x.x.x.jar component: ==
=========================================================================
Eclipse Public License - v 1.0
 
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
 
1. DEFINITIONS
 
"Contribution" means:
 
a) in the case of the initial Contributor, the initial code and documentation
distributed under this Agreement, and
 
b) in the case of each subsequent Contributor:
 
i) changes to the Program, and
 
ii) additions to the Program;
 
where such changes and/or additions to the Program originate from and are
distributed by that particular Contributor. A Contribution 'originates' from a
Contributor if it was added to the Program by such Contributor itself or anyone
acting on such Contributor's behalf. Contributions do not include additions to
the Program which: (i) are separate modules of software distributed in
conjunction with the Program under their own license agreement, and (ii) are not
derivative works of the Program.
 
"Contributor" means any person or entity that distributes the Program.
 
"Licensed Patents" mean patent claims licensable by a Contributor which are
necessarily infringed by the use or sale of its Contribution alone or when
combined with the Program.
 
"Program" means the Contributions distributed in accordance with this Agreement.
 
"Recipient" means anyone who receives the Program under this Agreement,
including all Contributors.
 
2. GRANT OF RIGHTS
 
a) Subject to the terms of this Agreement, each Contributor hereby grants
Recipient a non-exclusive, worldwide, royalty-free copyright license to
reproduce, prepare derivative works of, publicly display, publicly perform,
distribute and sublicense the Contribution of such Contributor, if any, and such
derivative works, in source code and object code form.
 
b) Subject to the terms of this Agreement, each Contributor hereby grants
Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed
Patents to make, use, sell, offer to sell, import and otherwise transfer the
Contribution of such Contributor, if any, in source code and object code form.
This patent license shall apply to the combination of the Contribution and the
Program if, at the time the Contribution is added by the Contributor, such
addition of the Contribution causes such combination to be covered by the
Licensed Patents. The patent license shall not apply to any other combinations
which include the Contribution. No hardware per se is licensed hereunder.
 
c) Recipient understands that although each Contributor grants the licenses to
its Contributions set forth herein, no assurances are provided by any
Contributor that the Program does not infringe the patent or other intellectual
property rights of any other entity. Each Contributor disclaims any liability to
Recipient for claims brought by any other entity based on infringement of
intellectual property rights or otherwise. As a condition to exercising the
rights and licenses granted hereunder, each Recipient hereby assumes sole
responsibility to secure any other intellectual property rights needed, if any.
For example, if a third party patent license is required to allow Recipient to
distribute the Program, it is Recipient's responsibility to acquire that license
before distributing the Program.
 
d) Each Contributor represents that to its knowledge it has sufficient copyright
rights in its Contribution, if any, to grant the copyright license set forth in
this Agreement.
 
3. REQUIREMENTS
 
A Contributor may choose to distribute the Program in object code form under its
own license agreement, provided that:
 
a) it complies with the terms and conditions of this Agreement; and
 
b) its license agreement:
 
i) effectively disclaims on behalf of all Contributors all warranties and
conditions, express and implied, including warranties or conditions of title and
non-infringement, and implied warranties or conditions of merchantability and
fitness for a particular purpose;
 
ii) effectively excludes on behalf of all Contributors all liability for
damages, including direct, indirect, special, incidental and consequential
damages, such as lost profits;
 
iii) states that any provisions which differ from this Agreement are offered by
that Contributor alone and not by any other party; and
 
iv) states that source code for the Program is available from such Contributor,
and informs licensees how to obtain it in a reasonable manner on or through a
medium customarily used for software exchange.
 
When the Program is made available in source code form:
 
a) it must be made available under this Agreement; and
 
b) a copy of this Agreement must be included with each copy of the Program.
 
Contributors may not remove or alter any copyright notices contained within the
Program.
 
Each Contributor must identify itself as the originator of its Contribution, if
any, in a manner that reasonably allows subsequent Recipients to identify the
originator of the Contribution.
 
4. COMMERCIAL DISTRIBUTION
 
Commercial distributors of software may accept certain responsibilities with
respect to end users, business partners and the like. While this license is
intended to facilitate the commercial use of the Program, the Contributor who
includes the Program in a commercial product offering should do so in a manner
which does not create potential liability for other Contributors. Therefore, if
a Contributor includes the Program in a commercial product offering, such
Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
every other Contributor ("Indemnified Contributor") against any losses, damages
and costs (collectively "Losses") arising from claims, lawsuits and other legal
actions brought by a third party against the Indemnified Contributor to the
extent caused by the acts or omissions of such Commercial Contributor in
connection with its distribution of the Program in a commercial product
offering. The obligations in this section do not apply to any claims or Losses
relating to any actual or alleged intellectual property infringement. In order
to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
Contributor in writing of such claim, and b) allow the Commercial Contributor
to control, and cooperate with the Commercial Contributor in, the defense and
any related settlement negotiations. The Indemnified Contributor may
participate in any such claim at its own expense.
 
For example, a Contributor might include the Program in a commercial product
offering, Product X. That Contributor is then a Commercial Contributor. If that
Commercial Contributor then makes performance claims, or offers warranties
related to Product X, those performance claims and warranties are such
Commercial Contributor's responsibility alone. Under this section, the
Commercial Contributor would have to defend claims against the other
Contributors related to those performance claims and warranties, and if a court
requires any other Contributor to pay any damages as a result, the Commercial
Contributor must pay those damages.
 
5. NO WARRANTY
 
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
Recipient is solely responsible for determining the appropriateness of using and
distributing the Program and assumes all risks associated with its exercise of
rights under this Agreement , including but not limited to the risks and costs
of program errors, compliance with applicable laws, damage to or loss of data,
programs or equipment, and unavailability or interruption of operations.
 
6. DISCLAIMER OF LIABILITY
 
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
 
7. GENERAL
 
If any provision of this Agreement is invalid or unenforceable under applicable
law, it shall not affect the validity or enforceability of the remainder of the
terms of this Agreement, and without further action by the parties hereto, such
provision shall be reformed to the minimum extent necessary to make such
provision valid and enforceable.
 
If Recipient institutes patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Program itself
(excluding combinations of the Program with other software or hardware)
infringes such Recipient's patent(s), then such Recipient's rights granted under
Section 2(b) shall terminate as of the date such litigation is filed.
 
All Recipient's rights under this Agreement shall terminate if it fails to
comply with any of the material terms or conditions of this Agreement and does
not cure such failure in a reasonable period of time after becoming aware of
such noncompliance. If all Recipient's rights under this Agreement terminate,
Recipient agrees to cease use and distribution of the Program as soon as
reasonably practicable. However, Recipient's obligations under this Agreement
and any licenses granted by Recipient relating to the Program shall continue and
survive.
 
Everyone is permitted to copy and distribute copies of this Agreement, but in
order to avoid inconsistency the Agreement is copyrighted and may only be
modified in the following manner. The Agreement Steward reserves the right to
publish new versions (including revisions) of this Agreement from time to time.
No one other than the Agreement Steward has the right to modify this Agreement.
The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation
may assign the responsibility to serve as the Agreement Steward to a suitable
separate entity. Each new version of the Agreement will be given a
distinguishing version number. The Program (including Contributions) may always
be distributed subject to the version of the Agreement under which it was
received. In addition, after a new version of the Agreement is published,
Contributor may elect to distribute the Program (including its Contributions)
under the new version. Except as expressly stated in Sections 2(a) and 2(b)
above, Recipient receives no rights or licenses to the intellectual property of
any Contributor under this Agreement, whether expressly, by implication,
estoppel or otherwise. All rights in the Program not expressly granted under
this Agreement are reserved.
 
This Agreement is governed by the laws of the State of New York and the
intellectual property laws of the United States of America. No party to this
Agreement will bring a legal action under this Agreement more than one year
after the cause of action arose. Each party waives its rights to a jury trial in
any resulting litigation.
 
=========================================================================
== For the Windows Installer component: ==
=========================================================================
* All NSIS source code, plug-ins, documentation, examples, header files and
graphics, with the exception of the compression modules and where
otherwise noted, are licensed under the zlib/libpng license.
* The zlib compression module for NSIS is licensed under the zlib/libpng
license.
* The bzip2 compression module for NSIS is licensed under the bzip2 license.
* The lzma compression module for NSIS is licensed under the Common Public
License version 1.0.
 
 
=========================================================================
== Installer zlib/libpng license ==
=========================================================================
This software is provided 'as-is', without any express or implied warranty. In
no event will the authors be held liable for any damages arising from the use of
this software.
 
Permission is granted to anyone to use this software for any purpose, including
commercial applications, and to alter it and redistribute it freely, subject to
the following restrictions:
 
1. The origin of this software must not be misrepresented; you must not claim
that you wrote the original software. If you use this software in a
product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
 
 
=========================================================================
== Installer bzip2 license ==
=========================================================================
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
 
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. The origin of this software must not be misrepresented; you must not claim
that you wrote the original software. If you use this software in a
product, an acknowledgment in the product documentation would be
appreciated but is not required.
3. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
4. The name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.
 
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
OF SUCH DAMAGE.
 
Julian Seward, Cambridge, UK.
 
jseward@acm.org
 
================================================================================
== Common Public License version 1.0 ==
================================================================================
 
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC
LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
 
1. DEFINITIONS
 
"Contribution" means:
 
a) in the case of the initial Contributor, the initial code and documentation
distributed under this Agreement, and b) in the case of each subsequent
Contributor:
 
i) changes to the Program, and
 
ii) additions to the Program;
 
where such changes and/or additions to the Program originate from and are
distributed by that particular Contributor. A Contribution 'originates' from a
Contributor if it was added to the Program by such Contributor itself or anyone
acting on such Contributor's behalf. Contributions do not include additions to
the Program which: (i) are separate modules of software distributed in
conjunction with the Program under their own license agreement, and (ii) are not
derivative works of the Program.
 
"Contributor" means any person or entity that distributes the Program.
 
"Licensed Patents " mean patent claims licensable by a Contributor which are
necessarily infringed by the use or sale of its Contribution alone or when
combined with the Program.
 
"Program" means the Contributions distributed in accordance with this Agreement.
 
"Recipient" means anyone who receives the Program under this Agreement,
including all Contributors.
 
2. GRANT OF RIGHTS
 
a) Subject to the terms of this Agreement, each Contributor hereby grants
Recipient a non-exclusive, worldwide, royalty-free copyright license to
reproduce, prepare derivative works of, publicly display, publicly perform,
distribute and sublicense the Contribution of such Contributor, if any, and such
derivative works, in source code and object code form.
 
b) Subject to the terms of this Agreement, each Contributor hereby grants
Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed
Patents to make, use, sell, offer to sell, import and otherwise transfer the
Contribution of such Contributor, if any, in source code and object code form.
This patent license shall apply to the combination of the Contribution and the
Program if, at the time the Contribution is added by the Contributor, such
addition of the Contribution causes such combination to be covered by the
Licensed Patents. The patent license shall not apply to any other combinations
which include the Contribution. No hardware per se is licensed hereunder.
 
c) Recipient understands that although each Contributor grants the licenses to
its Contributions set forth herein, no assurances are provided by any
Contributor that the Program does not infringe the patent or other intellectual
property rights of any other entity. Each Contributor disclaims any liability to
Recipient for claims brought by any other entity based on infringement of
intellectual property rights or otherwise. As a condition to exercising the
rights and licenses granted hereunder, each Recipient hereby assumes sole
responsibility to secure any other intellectual property rights needed, if any.
For example, if a third party patent license is required to allow Recipient to
distribute the Program, it is Recipient's responsibility to acquire that license
before distributing the Program.
 
d) Each Contributor represents that to its knowledge it has sufficient copyright
rights in its Contribution, if any, to grant the copyright license set forth in
this Agreement.
 
3. REQUIREMENTS
 
A Contributor may choose to distribute the Program in object code form under its
own license agreement, provided that:
 
a) it complies with the terms and conditions of this Agreement; and
 
b) its license agreement:
 
i) effectively disclaims on behalf of all Contributors all warranties and
conditions, express and implied, including warranties or conditions of title and
non-infringement, and implied warranties or conditions of merchantability and
fitness for a particular purpose;
 
ii) effectively excludes on behalf of all Contributors all liability for
damages, including direct, indirect, special, incidental and consequential
damages, such as lost profits;
 
iii) states that any provisions which differ from this Agreement are offered by
that Contributor alone and not by any other party; and
 
iv) states that source code for the Program is available from such Contributor,
and informs licensees how to obtain it in a reasonable manner on or through a
medium customarily used for software exchange.
 
When the Program is made available in source code form:
 
a) it must be made available under this Agreement; and
 
b) a copy of this Agreement must be included with each copy of the Program.
 
Contributors may not remove or alter any copyright notices contained within the
Program.
 
Each Contributor must identify itself as the originator of its Contribution, if
any, in a manner that reasonably allows subsequent Recipients to identify the
originator of the Contribution.
 
4. COMMERCIAL DISTRIBUTION
 
Commercial distributors of software may accept certain responsibilities with
respect to end users, business partners and the like. While this license is
intended to facilitate the commercial use of the Program, the Contributor who
includes the Program in a commercial product offering should do so in a manner
which does not create potential liability for other Contributors. Therefore, if
a Contributor includes the Program in a commercial product offering, such
Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
every other Contributor ("Indemnified Contributor") against any losses, damages
and costs (collectively "Losses") arising from claims, lawsuits and other legal
actions brought by a third party against the Indemnified Contributor to the
extent caused by the acts or omissions of such Commercial Contributor in
connection with its distribution of the Program in a commercial product
offering. The obligations in this section do not apply to any claims or Losses
relating to any actual or alleged intellectual property infringement. In order
to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
Contributor in writing of such claim, and b) allow the Commercial Contributor to
control, and cooperate with the Commercial Contributor in, the defense and any
related settlement negotiations. The Indemnified Contributor may participate in
any such claim at its own expense.
 
For example, a Contributor might include the Program in a commercial product
offering, Product X. That Contributor is then a Commercial Contributor. If that
Commercial Contributor then makes performance claims, or offers warranties
related to Product X, those performance claims and warranties are such
Commercial Contributor's responsibility alone. Under this section, the
Commercial Contributor would have to defend claims against the other
Contributors related to those performance claims and warranties, and if a court
requires any other Contributor to pay any damages as a result, the Commercial
Contributor must pay those damages.
 
5. NO WARRANTY
 
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
Recipient is solely responsible for determining the appropriateness of using and
distributing the Program and assumes all risks associated with its exercise of
rights under this Agreement, including but not limited to the risks and costs of
program errors, compliance with applicable laws, damage to or loss of data,
programs or equipment, and unavailability or interruption of operations.
 
6. DISCLAIMER OF LIABILITY
 
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
 
7. GENERAL
 
If any provision of this Agreement is invalid or unenforceable under applicable
law, it shall not affect the validity or enforceability of the remainder of the
terms of this Agreement, and without further action by the parties hereto, such
provision shall be reformed to the minimum extent necessary to make such
provision valid and enforceable.
 
If Recipient institutes patent litigation against a Contributor with respect to
a patent applicable to software (including a cross-claim or counterclaim in a
lawsuit), then any patent licenses granted by that Contributor to such Recipient
under this Agreement shall terminate as of the date such litigation is filed. In
addition, if Recipient institutes patent litigation against any entity
(including a cross-claim or counterclaim in a lawsuit) alleging that the Program
itself (excluding combinations of the Program with other software or hardware)
infringes such Recipient's patent(s), then such Recipient's rights granted under
Section 2(b) shall terminate as of the date such litigation is filed.
 
All Recipient's rights under this Agreement shall terminate if it fails to
comply with any of the material terms or conditions of this Agreement and does
not cure such failure in a reasonable period of time after becoming aware of
such noncompliance. If all Recipient's rights under this Agreement terminate,
Recipient agrees to cease use and distribution of the Program as soon as
reasonably practicable. However, Recipient's obligations under this Agreement
and any licenses granted by Recipient relating to the Program shall continue and
survive.
 
Everyone is permitted to copy and distribute copies of this Agreement, but in
order to avoid inconsistency the Agreement is copyrighted and may only be
modified in the following manner. The Agreement Steward reserves the right to
publish new versions (including revisions) of this Agreement from time to time.
No one other than the Agreement Steward has the right to modify this Agreement.
IBM is the initial Agreement Steward. IBM may assign the responsibility to serve
as the Agreement Steward to a suitable separate entity. Each new version of the
Agreement will be given a distinguishing version number. The Program (including
Contributions) may always be distributed subject to the version of the Agreement
under which it was received. In addition, after a new version of the Agreement
is published, Contributor may elect to distribute the Program (including its
Contributions) under the new version. Except as expressly stated in Sections
2(a) and 2(b) above, Recipient receives no rights or licenses to the
intellectual property of any Contributor under this Agreement, whether
expressly, by implication, estoppel or otherwise. All rights in the Program not
expressly granted under this Agreement are reserved.
 
This Agreement is governed by the laws of the State of New York and the
intellectual property laws of the United States of America. No party to this
Agreement will bring a legal action under this Agreement more than one year
after the cause of action arose. Each party waives its rights to a jury trial in
any resulting litigation.
 
=========================================================================
== Special exception for LZMA compression module ==
=========================================================================
Igor Pavlov and Amir Szekely, the authors of the LZMA compression module for
NSIS, expressly permit you to statically or dynamically link your code (or bind
by name) to the files from the LZMA compression module for NSIS without
subjecting your linked code to the terms of the Common Public license version
1.0. Any modifications or additions to files from the LZMA compression module
for NSIS, however, are subject to the terms of the Common Public License version
1.0.
 
=========================================================================
== CDDL License ==
=========================================================================
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
 
1. Definitions.
 
1.1. Contributor. means each individual or entity that creates or contributes
to the creation of Modifications.
 
1.2. Contributor Version. means the combination of the Original Software,
prior Modifications used by a Contributor (if any), and the
Modifications made by that particular Contributor.
 
1.3. Covered Software. means (a) the Original Software, or (b) Modifications,
or (c) the combination of files containing Original Software with files
containing Modifications, in each case including portions thereof.
 
1.4. Executable. means the Covered Software in any form other than Source
Code.
 
1.5. Initial Developer. means the individual or entity that first makes
Original Software available under this License.
 
1.6. Larger Work. means a work which combines Covered Software or portions
thereof with code not governed by the terms of this License.
 
1.7. License. means this document.
 
1.8. Licensable. means having the right to grant, to the maximum extent
possible, whether at the time of the initial grant or subsequently
acquired, any and all of the rights conveyed herein.
 
1.9. Modifications. means the Source Code and Executable form of any of the
following:
 
A. Any file that results from an addition to, deletion from or
modification of the contents of a file containing Original Software
or previous Modifications;
 
B. Any new file that contains any part of the Original Software or
previous Modification; or
 
C. Any new file that is contributed or otherwise made available under
the terms of this License.
 
1.10. Original Software. means the Source Code and Executable form of
computer software code that is originally released under this License.
 
1.11. Patent Claims. means any patent claim(s), now owned or hereafter
acquired, including without limitation, method, process, and apparatus
claims, in any patent Licensable by grantor.
 
1.12. Source Code. means (a) the common form of computer software code in
which modifications are made and (b) associated documentation included
in or with such code.
 
1.13. You. (or .Your.) means an individual or a legal entity exercising
rights under, and complying with all of the terms of, this License. For
legal entities, .You. includes any entity which controls, is controlled
by, or is under common control with You. For purposes of this
definition, .control. means (a) the power, direct or indirect, to cause
the direction or management of such entity, whether by contract or
otherwise, or (b) ownership of more than fifty percent (50%) of the
outstanding shares or beneficial ownership of such entity.
 
2. License Grants.
 
2.1. The Initial Developer Grant.
 
Conditioned upon Your compliance with Section 3.1 below and subject to
third party intellectual property claims, the Initial Developer hereby
grants You a world-wide, royalty-free, non-exclusive license:
 
(a) under intellectual property rights (other than patent or trademark)
Licensable by Initial Developer, to use, reproduce, modify, display,
perform, sublicense and distribute the Original Software (or
portions thereof), with or without Modifications, and/or as part of
a Larger Work; and
 
(b) under Patent Claims infringed by the making, using or selling of
Original Software, to make, have made, use, practice, sell, and
offer for sale, and/or otherwise dispose of the Original Software
(or portions thereof).
 
(c) The licenses granted in Sections 2.1(a) and (b) are effective on the
date Initial Developer first distributes or otherwise makes the
Original Software available to a third party under the terms of this
License.
 
(d) Notwithstanding Section 2.1(b) above, no patent license is granted:
(1) for code that You delete from the Original Software, or (2) for
infringements caused by: (i) the modification of the Original
Software, or (ii) the combination of the Original Software with
other software or devices.
 
2.2. Contributor Grant.
 
Conditioned upon Your compliance with Section 3.1 below and subject to third
party intellectual property claims, each Contributor hereby grants You a
world-wide, royalty-free, non-exclusive license:
 
(a) under intellectual property rights (other than patent or trademark)
Licensable by Contributor to use, reproduce, modify, display,
perform, sublicense and distribute the Modifications created by such
Contributor (or portions thereof), either on an unmodified basis,
with other Modifications, as Covered Software and/or as part of a
Larger Work; and
 
(b) under Patent Claims infringed by the making, using, or selling of
Modifications made by that Contributor either alone and/or in
combination with its Contributor Version (or portions of such
combination), to make, use, sell, offer for sale, have made, and/or
otherwise dispose of: (1) Modifications made by that Contributor (or
portions thereof); and (2) the combination of Modifications made by
that Contributor with its Contributor Version (or portions of such
combination).
 
(c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on
the date Contributor first distributes or otherwise makes the
Modifications available to a third party.
 
(d) Notwithstanding Section 2.2(b) above, no patent license is granted:
(1) for any code that Contributor has deleted from the Contributor
Version; (2) for infringements caused by: (i) third party
modifications of Contributor Version, or (ii) the combination of
Modifications made by that Contributor with other software (except
as part of the Contributor Version) or other devices; or (3) under
Patent Claims infringed by Covered Software in the absence of
Modifications made by that Contributor.
 
3. Distribution Obligations.
 
3.1. Availability of Source Code.
Any Covered Software that You distribute or otherwise make available in
Executable form must also be made available in Source Code form and that
Source Code form must be distributed only under the terms of this License.
You must include a copy of this License with every copy of the Source Code
form of the Covered Software You distribute or otherwise make available.
You must inform recipients of any such Covered Software in Executable form
as to how they can obtain such Covered Software in Source Code form in a
reasonable manner on or through a medium customarily used for software
exchange.
 
3.2. Modifications.
The Modifications that You create or to which You contribute are governed
by the terms of this License. You represent that You believe Your
Modifications are Your original creation(s) and/or You have sufficient
rights to grant the rights conveyed by this License.
 
3.3. Required Notices.
You must include a notice in each of Your Modifications that identifies
You as the Contributor of the Modification. You may not remove or alter
any copyright, patent or trademark notices contained within the Covered
Software, or any notices of licensing or any descriptive text giving
attribution to any Contributor or the Initial Developer.
 
3.4. Application of Additional Terms.
You may not offer or impose any terms on any Covered Software in Source
Code form that alters or restricts the applicable version of this License
or the recipients. rights hereunder. You may choose to offer, and to
charge a fee for, warranty, support, indemnity or liability obligations to
one or more recipients of Covered Software. However, you may do so only on
Your own behalf, and not on behalf of the Initial Developer or any
Contributor. You must make it absolutely clear that any such warranty,
support, indemnity or liability obligation is offered by You alone, and
You hereby agree to indemnify the Initial Developer and every Contributor
for any liability incurred by the Initial Developer or such Contributor as
a result of warranty, support, indemnity or liability terms You offer.
 
3.5. Distribution of Executable Versions.
You may distribute the Executable form of the Covered Software under the
terms of this License or under the terms of a license of Your choice,
which may contain terms different from this License, provided that You are
in compliance with the terms of this License and that the license for the
Executable form does not attempt to limit or alter the recipient.s rights
in the Source Code form from the rights set forth in this License. If You
distribute the Covered Software in Executable form under a different
license, You must make it absolutely clear that any terms which differ
from this License are offered by You alone, not by the Initial Developer
or Contributor. You hereby agree to indemnify the Initial Developer and
every Contributor for any liability incurred by the Initial Developer or
such Contributor as a result of any such terms You offer.
 
3.6. Larger Works.
You may create a Larger Work by combining Covered Software with other code
not governed by the terms of this License and distribute the Larger Work
as a single product. In such a case, You must make sure the requirements
of this License are fulfilled for the Covered Software.
 
4. Versions of the License.
 
4.1. New Versions.
Sun Microsystems, Inc. is the initial license steward and may publish
revised and/or new versions of this License from time to time. Each
version will be given a distinguishing version number. Except as provided
in Section 4.3, no one other than the license steward has the right to
modify this License.
 
4.2. Effect of New Versions.
You may always continue to use, distribute or otherwise make the Covered
Software available under the terms of the version of the License under
which You originally received the Covered Software. If the Initial
Developer includes a notice in the Original Software prohibiting it from
being distributed or otherwise made available under any subsequent version
of the License, You must distribute and make the Covered Software
available under the terms of the version of the License under which You
originally received the Covered Software. Otherwise, You may also choose
to use, distribute or otherwise make the Covered Software available under
the terms of any subsequent version of the License published by the
license steward.
 
4.3. Modified Versions.
When You are an Initial Developer and You want to create a new license for
Your Original Software, You may create and use a modified version of this
License if You: (a) rename the license and remove any references to the
name of the license steward (except to note that the license differs from
this License); and (b) otherwise make it clear that the license contains
terms which differ from this License.
 
5. DISCLAIMER OF WARRANTY.
 
COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN .AS IS. BASIS, WITHOUT
WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS,
MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK
AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD
ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL
DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY
SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN
ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED
HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
 
6. TERMINATION.
 
6.1. This License and the rights granted hereunder will terminate
automatically if You fail to comply with terms herein and fail to
cure such breach within 30 days of becoming aware of the breach.
Provisions which, by their nature, must remain in effect beyond the
termination of this License shall survive.
 
6.2. If You assert a patent infringement claim (excluding declaratory
judgment actions) against Initial Developer or a Contributor (the
Initial Developer or Contributor against whom You assert such claim
is referred to as .Participant.) alleging that the Participant
Software (meaning the Contributor Version where the Participant is a
Contributor or the Original Software where the Participant is the
Initial Developer) directly or indirectly infringes any patent, then
any and all rights granted directly or indirectly to You by such
Participant, the Initial Developer (if the Initial Developer is not
the Participant) and all Contributors under Sections 2.1 and/or 2.2
of this License shall, upon 60 days notice from Participant terminate
prospectively and automatically at the expiration of such 60 day
notice period, unless if within such 60 day period You withdraw Your
claim with respect to the Participant Software against such
Participant either unilaterally or pursuant to a written agreement
with Participant.
 
6.3. In the event of termination under Sections 6.1 or 6.2 above, all end
user licenses that have been validly granted by You or any
distributor hereunder prior to termination (excluding licenses
granted to You by any distributor) shall survive termination.
 
7. LIMITATION OF LIABILITY.
 
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING
NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY
OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF
ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL,
INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE,
COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR
LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF
SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR
DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY.S NEGLIGENCE TO THE EXTENT
APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS
EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
 
8. U.S. GOVERNMENT END USERS.
 
The Covered Software is a .commercial item,. as that term is defined in 48
C.F.R. 2.101 (Oct. 1995), consisting of .commercial computer software. (as
that term is defined at 48 C.F.R. ? 252.227-7014(a)(1)) and commercial
computer software documentation. as such terms are used in 48 C.F.R. 12.212
(Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered
Software with only those rights set forth herein. This U.S. Government Rights
clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or
provision that addresses Government rights in computer software under this
License.
 
9. MISCELLANEOUS.
 
This License represents the complete agreement concerning subject matter
hereof. If any provision of this License is held to be unenforceable, such
provision shall be reformed only to the extent necessary to make it
enforceable. This License shall be governed by the law of the jurisdiction
specified in a notice contained within the Original Software (except to the
extent applicable law, if any, provides otherwise), excluding such
jurisdiction's conflict-of-law provisions. Any litigation relating to this
License shall be subject to the jurisdiction of the courts located in the
jurisdiction and venue specified in a notice contained within the Original
Software, with the losing party responsible for costs, including, without
limitation, court costs and reasonable attorneys. fees and expenses. The
application of the United Nations Convention on Contracts for the
International Sale of Goods is expressly excluded. Any law or regulation
which provides that the language of a contract shall be construed against
the drafter shall not apply to this License. You agree that You alone are
responsible for compliance with the United States export administration
regulations (and the export control laws and regulation of any other
countries) when You use, distribute or otherwise make available any Covered
Software.
 
10. RESPONSIBILITY FOR CLAIMS.
 
As between Initial Developer and the Contributors, each party is responsible
for claims and damages arising, directly or indirectly, out of its
utilization of rights under this License and You agree to work with Initial
Developer and Contributors to distribute such responsibility on an equitable
basis. Nothing herein is intended or shall be deemed to constitute any
admission of liability.
 
NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION
LICENSE (CDDL)
 
The code released under the CDDL shall be governed by the laws of the State
of California (excluding conflict-of-law provisions). Any litigation relating
to this License shall be subject to the jurisdiction of the Federal Courts of
the Northern District of California and the state courts of the State of
California, with venue lying in Santa Clara County, California.
 
=========================================================================
== CDDL Licensed Artifacts ==
=========================================================================
For the following XML Schemas for Java EE Deployment Descriptors:
- javaee_5.xsd
- javaee_web_services_1_2.xsd
- javaee_web_services_client_1_2.xsd
- javaee_6.xsd
- javaee_web_services_1_3.xsd
- javaee_web_services_client_1_3.xsd
- web-app_3_0.xsd
- web-common_3_0.xsd
- web-fragment_3_0.xsd
 
AND
################## ALSO WITH OPENJPA DEPENDENCIES ########################
orm-xsd.rsrc - included in the openjpa jar, taken from:
http://java.sun.com/xml/ns/persistence/orm_1_0.xsd)
orm_2_0-xsd.rsrc - included in the openjpa jar, taken from:
http://java.sun.com/xml/ns/persistence/orm_2_0.xsd)
persistence-xsd.rsrc - included in the openjpa jar, taken from:
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd)
persistence_2_0-xsd.rsrc - included in the openjpa jar, taken from:
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd)
websphere-uow-api.jar - this jar file contains WebSphere proprietary
API code which is licensed for use when compiling OpenJPA. The
jar is not distributed with OpenJPA and is only included with the
source archive in order to resolve compilation dependencies.
 
AND
############### ALSO WITH JSTL JAR DEPENDENCIES ##########################
Includes jstl-api-1.2.jar, jstl-impl-1.2.jar
 
=========================================================================
== Serp BSD License ==
=========================================================================
Copyright (c) 2002, A. Abram White
All rights reserved.
 
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
 
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of 'serp' nor the names of its contributors may
be used to endorse or promote products derived from this software without
specific prior written permission.
 
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
=========================================================================
== Javassist MPL License ==
=========================================================================
MOZILLA PUBLIC LICENSE
Version 1.1
 
---------------
 
1. Definitions.
 
1.0.1. "Commercial Use" means distribution or otherwise making the
Covered Code available to a third party.
 
1.1. "Contributor" means each entity that creates or contributes to
the creation of Modifications.
 
1.2. "Contributor Version" means the combination of the Original
Code, prior Modifications used by a Contributor, and the Modifications
made by that particular Contributor.
 
1.3. "Covered Code" means the Original Code or Modifications or the
combination of the Original Code and Modifications, in each case
including portions thereof.
 
1.4. "Electronic Distribution Mechanism" means a mechanism generally
accepted in the software development community for the electronic
transfer of data.
 
1.5. "Executable" means Covered Code in any form other than Source
Code.
 
1.6. "Initial Developer" means the individual or entity identified
as the Initial Developer in the Source Code notice required by Exhibit
A.
 
1.7. "Larger Work" means a work which combines Covered Code or
portions thereof with code not governed by the terms of this License.
 
1.8. "License" means this document.
 
1.8.1. "Licensable" means having the right to grant, to the maximum
extent possible, whether at the time of the initial grant or
subsequently acquired, any and all of the rights conveyed herein.
 
1.9. "Modifications" means any addition to or deletion from the
substance or structure of either the Original Code or any previous
Modifications. When Covered Code is released as a series of files, a
Modification is:
A. Any addition to or deletion from the contents of a file
containing Original Code or previous Modifications.
 
B. Any new file that contains any part of the Original Code or
previous Modifications.
 
1.10. "Original Code" means Source Code of computer software code
which is described in the Source Code notice required by Exhibit A as
Original Code, and which, at the time of its release under this
License is not already Covered Code governed by this License.
 
1.10.1. "Patent Claims" means any patent claim(s), now owned or
hereafter acquired, including without limitation, method, process,
and apparatus claims, in any patent Licensable by grantor.
 
1.11. "Source Code" means the preferred form of the Covered Code for
making modifications to it, including all modules it contains, plus
any associated interface definition files, scripts used to control
compilation and installation of an Executable, or source code
differential comparisons against either the Original Code or another
well known, available Covered Code of the Contributor's choice. The
Source Code can be in a compressed or archival form, provided the
appropriate decompression or de-archiving software is widely available
for no charge.
 
1.12. "You" (or "Your") means an individual or a legal entity
exercising rights under, and complying with all of the terms of, this
License or a future version of this License issued under Section 6.1.
For legal entities, "You" includes any entity which controls, is
controlled by, or is under common control with You. For purposes of
this definition, "control" means (a) the power, direct or indirect,
to cause the direction or management of such entity, whether by
contract or otherwise, or (b) ownership of more than fifty percent
(50%) of the outstanding shares or beneficial ownership of such
entity.
 
2. Source Code License.
 
2.1. The Initial Developer Grant.
The Initial Developer hereby grants You a world-wide, royalty-free,
non-exclusive license, subject to third party intellectual property
claims:
(a) under intellectual property rights (other than patent or
trademark) Licensable by Initial Developer to use, reproduce,
modify, display, perform, sublicense and distribute the Original
Code (or portions thereof) with or without Modifications, and/or
as part of a Larger Work; and
 
(b) under Patents Claims infringed by the making, using or
selling of Original Code, to make, have made, use, practice,
sell, and offer for sale, and/or otherwise dispose of the
Original Code (or portions thereof).
 
(c) the licenses granted in this Section 2.1(a) and (b) are
effective on the date Initial Developer first distributes
Original Code under the terms of this License.
 
(d) Notwithstanding Section 2.1(b) above, no patent license is
granted: 1) for code that You delete from the Original Code; 2)
separate from the Original Code; or 3) for infringements caused
by: i) the modification of the Original Code or ii) the
combination of the Original Code with other software or devices.
 
2.2. Contributor Grant.
Subject to third party intellectual property claims, each Contributor
hereby grants You a world-wide, royalty-free, non-exclusive license
 
(a) under intellectual property rights (other than patent or
trademark) Licensable by Contributor, to use, reproduce, modify,
display, perform, sublicense and distribute the Modifications
created by such Contributor (or portions thereof) either on an
unmodified basis, with other Modifications, as Covered Code
and/or as part of a Larger Work; and
 
(b) under Patent Claims infringed by the making, using, or
selling of Modifications made by that Contributor either alone
and/or in combination with its Contributor Version (or portions
of such combination), to make, use, sell, offer for sale, have
made, and/or otherwise dispose of: 1) Modifications made by that
Contributor (or portions thereof); and 2) the combination of
Modifications made by that Contributor with its Contributor
Version (or portions of such combination).
 
(c) the licenses granted in Sections 2.2(a) and 2.2(b) are
effective on the date Contributor first makes Commercial Use of
the Covered Code.
 
(d) Notwithstanding Section 2.2(b) above, no patent license is
granted: 1) for any code that Contributor has deleted from the
Contributor Version; 2) separate from the Contributor Version;
3) for infringements caused by: i) third party modifications of
Contributor Version or ii) the combination of Modifications made
by that Contributor with other software (except as part of the
Contributor Version) or other devices; or 4) under Patent Claims
infringed by Covered Code in the absence of Modifications made by
that Contributor.
 
3. Distribution Obligations.
 
3.1. Application of License.
The Modifications which You create or to which You contribute are
governed by the terms of this License, including without limitation
Section 2.2. The Source Code version of Covered Code may be
distributed only under the terms of this License or a future version
of this License released under Section 6.1, and You must include a
copy of this License with every copy of the Source Code You
distribute. You may not offer or impose any terms on any Source Code
version that alters or restricts the applicable version of this
License or the recipients' rights hereunder. However, You may include
an additional document offering the additional rights described in
Section 3.5.
 
3.2. Availability of Source Code.
Any Modification which You create or to which You contribute must be
made available in Source Code form under the terms of this License
either on the same media as an Executable version or via an accepted
Electronic Distribution Mechanism to anyone to whom you made an
Executable version available; and if made available via Electronic
Distribution Mechanism, must remain available for at least twelve (12)
months after the date it initially became available, or at least six
(6) months after a subsequent version of that particular Modification
has been made available to such recipients. You are responsible for
ensuring that the Source Code version remains available even if the
Electronic Distribution Mechanism is maintained by a third party.
 
3.3. Description of Modifications.
You must cause all Covered Code to which You contribute to contain a
file documenting the changes You made to create that Covered Code and
the date of any change. You must include a prominent statement that
the Modification is derived, directly or indirectly, from Original
Code provided by the Initial Developer and including the name of the
Initial Developer in (a) the Source Code, and (b) in any notice in an
Executable version or related documentation in which You describe the
origin or ownership of the Covered Code.
 
3.4. Intellectual Property Matters
(a) Third Party Claims.
If Contributor has knowledge that a license under a third party's
intellectual property rights is required to exercise the rights
granted by such Contributor under Sections 2.1 or 2.2,
Contributor must include a text file with the Source Code
distribution titled "LEGAL" which describes the claim and the
party making the claim in sufficient detail that a recipient will
know whom to contact. If Contributor obtains such knowledge after
the Modification is made available as described in Section 3.2,
Contributor shall promptly modify the LEGAL file in all copies
Contributor makes available thereafter and shall take other steps
(such as notifying appropriate mailing lists or newsgroups)
reasonably calculated to inform those who received the Covered
Code that new knowledge has been obtained.
 
(b) Contributor APIs.
If Contributor's Modifications include an application programming
interface and Contributor has knowledge of patent licenses which
are reasonably necessary to implement that API, Contributor must
also include this information in the LEGAL file.
 
(c) Representations.
Contributor represents that, except as disclosed pursuant to
Section 3.4(a) above, Contributor believes that Contributor's
Modifications are Contributor's original creation(s) and/or
Contributor has sufficient rights to grant the rights conveyed by
this License.
 
3.5. Required Notices.
You must duplicate the notice in Exhibit A in each file of the Source
Code. If it is not possible to put such notice in a particular Source
Code file due to its structure, then You must include such notice in a
location (such as a relevant directory) where a user would be likely
to look for such a notice. If You created one or more Modification(s)
You may add your name as a Contributor to the notice described in
Exhibit A. You must also duplicate this License in any documentation
for the Source Code where You describe recipients' rights or ownership
rights relating to Covered Code. You may choose to offer, and to
charge a fee for, warranty, support, indemnity or liability
obligations to one or more recipients of Covered Code. However, You
may do so only on Your own behalf, and not on behalf of the Initial
Developer or any Contributor. You must make it absolutely clear than
any such warranty, support, indemnity or liability obligation is
offered by You alone, and You hereby agree to indemnify the Initial
Developer and every Contributor for any liability incurred by the
Initial Developer or such Contributor as a result of warranty,
support, indemnity or liability terms You offer.
 
3.6. Distribution of Executable Versions.
You may distribute Covered Code in Executable form only if the
requirements of Section 3.1-3.5 have been met for that Covered Code,
and if You include a notice stating that the Source Code version of
the Covered Code is available under the terms of this License,
including a description of how and where You have fulfilled the
obligations of Section 3.2. The notice must be conspicuously included
in any notice in an Executable version, related documentation or
collateral in which You describe recipients' rights relating to the
Covered Code. You may distribute the Executable version of Covered
Code or ownership rights under a license of Your choice, which may
contain terms different from this License, provided that You are in
compliance with the terms of this License and that the license for the
Executable version does not attempt to limit or alter the recipient's
rights in the Source Code version from the rights set forth in this
License. If You distribute the Executable version under a different
license You must make it absolutely clear that any terms which differ
from this License are offered by You alone, not by the Initial
Developer or any Contributor. You hereby agree to indemnify the
Initial Developer and every Contributor for any liability incurred by
the Initial Developer or such Contributor as a result of any such
terms You offer.
 
3.7. Larger Works.
You may create a Larger Work by combining Covered Code with other code
not governed by the terms of this License and distribute the Larger
Work as a single product. In such a case, You must make sure the
requirements of this License are fulfilled for the Covered Code.
 
4. Inability to Comply Due to Statute or Regulation.
 
If it is impossible for You to comply with any of the terms of this
License with respect to some or all of the Covered Code due to
statute, judicial order, or regulation then You must: (a) comply with
the terms of this License to the maximum extent possible; and (b)
describe the limitations and the code they affect. Such description
must be included in the LEGAL file described in Section 3.4 and must
be included with all distributions of the Source Code. Except to the
extent prohibited by statute or regulation, such description must be
sufficiently detailed for a recipient of ordinary skill to be able to
understand it.
 
5. Application of this License.
 
This License applies to code to which the Initial Developer has
attached the notice in Exhibit A and to related Covered Code.
 
6. Versions of the License.
 
6.1. New Versions.
Netscape Communications Corporation ("Netscape") may publish revised
and/or new versions of the License from time to time. Each version
will be given a distinguishing version number.
 
6.2. Effect of New Versions.
Once Covered Code has been published under a particular version of the
License, You may always continue to use it under the terms of that
version. You may also choose to use such Covered Code under the terms
of any subsequent version of the License published by Netscape. No one
other than Netscape has the right to modify the terms applicable to
Covered Code created under this License.
 
6.3. Derivative Works.
If You create or use a modified version of this License (which you may
only do in order to apply it to code which is not already Covered Code
governed by this License), You must (a) rename Your license so that
the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
"MPL", "NPL" or any confusingly similar phrase do not appear in your
license (except to note that your license differs from this License)
and (b) otherwise make it clear that Your version of the license
contains terms which differ from the Mozilla Public License and
Netscape Public License. (Filling in the name of the Initial
Developer, Original Code or Contributor in the notice described in
Exhibit A shall not of themselves be deemed to be modifications of
this License.)
 
7. DISCLAIMER OF WARRANTY.
 
COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
 
8. TERMINATION.
 
8.1. This License and the rights granted hereunder will terminate
automatically if You fail to comply with terms herein and fail to cure
such breach within 30 days of becoming aware of the breach. All
sublicenses to the Covered Code which are properly granted shall
survive any termination of this License. Provisions which, by their
nature, must remain in effect beyond the termination of this License
shall survive.
 
8.2. If You initiate litigation by asserting a patent infringement
claim (excluding declatory judgment actions) against Initial Developer
or a Contributor (the Initial Developer or Contributor against whom
You file such action is referred to as "Participant") alleging that:
 
(a) such Participant's Contributor Version directly or indirectly
infringes any patent, then any and all rights granted by such
Participant to You under Sections 2.1 and/or 2.2 of this License
shall, upon 60 days notice from Participant terminate prospectively,
unless if within 60 days after receipt of notice You either: (i)
agree in writing to pay Participant a mutually agreeable reasonable
royalty for Your past and future use of Modifications made by such
Participant, or (ii) withdraw Your litigation claim with respect to
the Contributor Version against such Participant. If within 60 days
of notice, a reasonable royalty and payment arrangement are not
mutually agreed upon in writing by the parties or the litigation claim
is not withdrawn, the rights granted by Participant to You under
Sections 2.1 and/or 2.2 automatically terminate at the expiration of
the 60 day notice period specified above.
 
(b) any software, hardware, or device, other than such Participant's
Contributor Version, directly or indirectly infringes any patent, then
any rights granted to You by such Participant under Sections 2.1(b)
and 2.2(b) are revoked effective as of the date You first made, used,
sold, distributed, or had made, Modifications made by that
Participant.
 
8.3. If You assert a patent infringement claim against Participant
alleging that such Participant's Contributor Version directly or
indirectly infringes any patent where such claim is resolved (such as
by license or settlement) prior to the initiation of patent
infringement litigation, then the reasonable value of the licenses
granted by such Participant under Sections 2.1 or 2.2 shall be taken
into account in determining the amount or value of any payment or
license.
 
8.4. In the event of termination under Sections 8.1 or 8.2 above,
all end user license agreements (excluding distributors and resellers)
which have been validly granted by You or any distributor hereunder
prior to termination shall survive termination.
 
9. LIMITATION OF LIABILITY.
 
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
 
10. U.S. GOVERNMENT END USERS.
 
The Covered Code is a "commercial item," as that term is defined in
48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
software" and "commercial computer software documentation," as such
terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
all U.S. Government End Users acquire Covered Code with only those
rights set forth herein.
 
11. MISCELLANEOUS.
 
This License represents the complete agreement concerning subject
matter hereof. If any provision of this License is held to be
unenforceable, such provision shall be reformed only to the extent
necessary to make it enforceable. This License shall be governed by
California law provisions (except to the extent applicable law, if
any, provides otherwise), excluding its conflict-of-law provisions.
With respect to disputes in which at least one party is a citizen of,
or an entity chartered or registered to do business in the United
States of America, any litigation relating to this License shall be
subject to the jurisdiction of the Federal Courts of the Northern
District of California, with venue lying in Santa Clara County,
California, with the losing party responsible for costs, including
without limitation, court costs and reasonable attorneys' fees and
expenses. The application of the United Nations Convention on
Contracts for the International Sale of Goods is expressly excluded.
Any law or regulation which provides that the language of a contract
shall be construed against the drafter shall not apply to this
License.
 
12. RESPONSIBILITY FOR CLAIMS.
 
As between Initial Developer and the Contributors, each party is
responsible for claims and damages arising, directly or indirectly,
out of its utilization of rights under this License and You agree to
work with Initial Developer and Contributors to distribute such
responsibility on an equitable basis. Nothing herein is intended or
shall be deemed to constitute any admission of liability.
 
13. MULTIPLE-LICENSED CODE.
 
Initial Developer may designate portions of the Covered Code as
"Multiple-Licensed". "Multiple-Licensed" means that the Initial
Developer permits you to utilize portions of the Covered Code under
Your choice of the NPL or the alternative licenses, if any, specified
by the Initial Developer in the file described in Exhibit A.
 
EXHIBIT A -Mozilla Public License.
 
``The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
 
Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
License for the specific language governing rights and limitations
under the License.
 
The Original Code is ______________________________________.
 
The Initial Developer of the Original Code is ________________________.
Portions created by ______________________ are Copyright (C) ______
_______________________. All Rights Reserved.
 
Contributor(s): ______________________________________.
 
Alternatively, the contents of this file may be used under the terms
of the _____ license (the "[___] License"), in which case the
provisions of [______] License are applicable instead of those
above. If you wish to allow use of your version of this file only
under the terms of the [____] License and not to allow others to use
your version of this file under the MPL, indicate your decision by
deleting the provisions above and replace them with the notice and
other provisions required by the [___] License. If you do not delete
the provisions above, a recipient may use your version of this file
under either the MPL or the [___] License."
 
[NOTE: The text of this Exhibit A may differ slightly from the text of
the notices in the Source Code files of the Original Code. You should
use the text of this Exhibit A rather than the text found in the
Original Code Source Code for Your Modifications.]
 
=========================================================================
== HSQLDB License ==
=========================================================================
-----------------------
HSQL Development Group
-----------------------
 
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
 
Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
 
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
 
Neither the name of the HSQL Development Group nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.
 
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL HSQL DEVELOPMENT GROUP, HSQLDB.ORG,
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
---------------------
Hypersonic SQL Group
---------------------
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
 
Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
 
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
 
Neither the name of the Hypersonic SQL Group nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.
 
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE HYPERSONIC SQL GROUP,
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
This software consists of voluntary contributions made by many individuals on
behalf of the Hypersonic SQL Group.
 
=========================================================================
== HOWL License ==
=========================================================================
 
Copyright (c) 2004, Bull S.A.
 
All rights reserved.
 
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
 
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
 
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
 
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
=========================================================================
== SL4J License ==
=========================================================================
 
SLF4J License
 
SLF4J source code and binaries are distributed under the following license.
 
Copyright (c) 2004-2007 QOS.ch All rights reserved. Permission is
hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software. THE
SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
These terms are identical to those of the MIT License, also called the
X License or the X11 License, X11 License, which is a simple,
permissive non-copyleft free software license. It is deemed compatible
with virtually all types of licenses, commercial or otherwise. In
particular, the Free Software Foundation has declared it compatible
with GNU GPL. It is also known to be approved by the Apache Software
Foundation as compatible with Apache Software License.
 
=========================================================================
== WSDL4J License ==
=========================================================================
 
Common Public License - v 1.0
Documented above.
 
=========================================================================
== Syntax Highlighter ==
=========================================================================
 
The MIT License
 
Copyright (c) <year> <copyright holders>
 
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
 
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
 
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
 
=========================================================================
== Code Mirror ==
=========================================================================
 
Copyright (c) 2007-2010 Marijn Haverbeke
 
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
 
Permission is granted to anyone to use this software for any
purpose, including commercial applications, and to alter it and
redistribute it freely, subject to the following restrictions:
 
1. The origin of this software must not be misrepresented; you must
not claim that you wrote the original software. If you use this
software in a product, an acknowledgment in the product
documentation would be appreciated but is not required.
 
2. Altered source versions must be plainly marked as such, and must
not be misrepresented as being the original software.
 
3. This notice may not be removed or altered from any source
distribution.
 
Marijn Haverbeke
marijnh@gmail.com
 
=========================================================================
== Rich Faces ==
=========================================================================
 
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
 
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
 
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
 
Preamble
 
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
 
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
 
When we speak of free software, we are referring to freedom of use,
not price. Our General Public Licenses are designed to make sure that
you have the freedom to distribute copies of free software (and charge
for this service if you wish); that you receive source code or can get
it if you want it; that you can change the software and use pieces of
it in new free programs; and that you are informed that you can do
these things.
 
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
 
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link other code with the library, you must provide
complete object files to the recipients, so that they can relink them
with the library after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
 
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
 
To protect each distributor, we want to make it very clear that
there is no warranty for the free library. Also, if the library is
modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
 
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
restrictive license from a patent holder. Therefore, we insist that
any patent license obtained for a version of the library must be
consistent with the full freedom of use specified in this license.
 
Most GNU software, including some libraries, is covered by the
ordinary GNU General Public License. This license, the GNU Lesser
General Public License, applies to certain designated libraries, and
is quite different from the ordinary General Public License. We use
this license for certain libraries in order to permit linking those
libraries into non-free programs.
 
When a program is linked with a library, whether statically or using
a shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. The Lesser General
Public License permits more lax criteria for linking other code with
the library.
 
We call this license the "Lesser" General Public License because it
does Less to protect the user's freedom than the ordinary General
Public License. It also provides other free software developers Less
of an advantage over competing non-free programs. These disadvantages
are the reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
 
For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it becomes
a de-facto standard. To achieve this, non-free programs must be
allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License.
 
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free software. For example, permission to use the GNU C Library in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
 
Although the Lesser General Public License is Less protective of the
users' freedom, it does ensure that the user of a program that is
linked with the Library has the freedom and the wherewithal to run
that program using a modified version of the Library.
 
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
 
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 
0. This License Agreement applies to any software library or other
program which contains a notice placed by the copyright holder or
other authorized party saying it may be distributed under the terms of
this Lesser General Public License (also called "this License").
Each licensee is addressed as "you".
 
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
 
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
 
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
 
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
 
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
 
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
 
a) The modified work must itself be a software library.
 
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
 
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
 
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
 
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
 
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
 
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
 
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
 
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
 
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
 
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
 
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
 
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
 
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
 
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
 
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
 
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
 
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
 
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
 
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
 
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
 
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a
copy of the library already present on the user's computer system,
rather than copying library functions into the executable, and (2)
will operate properly with a modified version of the library, if
the user installs one, as long as the modified version is
interface-compatible with the version that the work was made with.
 
c) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
 
d) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
 
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
 
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the materials to be distributed need not include anything that is
normally distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
 
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
 
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
 
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
 
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
 
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
 
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
 
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties with
this License.
 
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
 
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
 
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
 
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
 
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
 
13. The Free Software Foundation may publish revised and/or new
versions of the Lesser General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
 
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
 
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
 
NO WARRANTY
 
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
 
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
 
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
 
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
 
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
 
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
 
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
 
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
 
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
Also add information on how to contact you by electronic and paper mail.
 
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
 
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
 
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
 
That's all there is to it!
=========================================================================
== Bouncy Castle ==
=========================================================================
Copyright (c) 2000 - 2011 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
 
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
 
The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.
 
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/ROOT/README.txt
New file
0,0 → 1,303
=========================================================================
================== OW2 Siwpas EE Application Server =====================
== Copyright (c) 2008-2013 MechSoft Mechanical and Software Solutions, ==
== All Rights Reserved. ==
=========================================================================
 
=========================================================================
== License Information ==
=========================================================================
Siwpas is licensed under GNU Lesser General Public License. See LICENSE
file for reading the further license information.
 
=========================================================================
== Siwpas, Simple Web Profile Application Server 6.0.0 Release Notes ==
=========================================================================
[General] This is the first release of OW2 Siwpas as an OW2 incubator project.
 
=========================================================================
== OW2 Siwpas, Simple Web Profile Application Server ==
=========================================================================
Welcome!
 
Thanks for downloading Siwpas. This document is a "Introduction & Getting Started Guide"
for using Siwpas. You can download more detailed user and administration guides from
Siwpas web site, "http://siwpas.mechsoft.com.tr".
 
If you want to immediately learn how to start Siwpas, skip introcution sections
and directly go to the section "Starting & Using Siwpas in 5 Minutes".
Otherwise, continue to read for getting some information about Siwpas.
 
=========================================================================
== What is OW2 Siwpas ? ==
=========================================================================
Siwpas (pronounced as Simple Web Profile Application Server) is a
lightweight Java application server platform for developing enterprise
quality JavaTM Platform, Enterprise Edition 6 (Java EE 6) web applications.
Siwpas integrates Apache Software Foundation(ASF) Java EE 6 related projects
for providing a Java EE Web Profile compatible runtime platform.
 
=========================================================================
== Why Siwpas, Why Another Server? ==
=========================================================================
Good question :)
 
Nowadays, a huge number of application developers and enterprise companies
want to use lightweight application servers for deploying and running their
web applications. They do not want to use heavyweight Java EE Servers that
are fully compliant with Java EE Specifications. They want to manage light
weight, cloud environment friendly servers. Nonetheless, they also need more
technology stack for implementing their web based applications, such as "JPA,
JSF, JTA , EJB etc."
 
Moreover, most of them deploy their critical enterprise web applications into
the Apache Tomcat in their production systems.
 
Siwpas is aimed at providing a lightweight application server runtime based
on Apache Tomcat 7. It also fills web applications technology requirements via
ASF Java EE projects. In summary, Siwpas translates Apache Tomcat 7 into a
more powerful enterprise web server.
 
The benefits of using Siwpas can be listed as follows:
- It has a lightweight but powerful runtime environment
- It is based on the very-well known JSP & Servlet Container,
Apache Tomcat 7
- It consists of Web Profile Specification technology stack
- It consists of powerful, commerical quality ASF Java EE Projects
- It is an open source project
- It is professionally supported by MechSoft (7x24 enterprise support)
- It is light and will be always light
 
=========================================================================
== Siwpas Professional Support ==
=========================================================================
You can get more information from "http://siwpas.mechsoft.com.tr/support/professional-support"
to get more information about Siwpas' professional support.
 
=========================================================================
== Web Profile Compliance ==
=========================================================================
OW2 Siwpas is certified as a Java EE 6 Web Profile Server.
 
=========================================================================
== What is Web Profile? ==
=========================================================================
JavaTM Platform, Enterprise Edition 6 (Java EE 6) Web Profile, a profile
of the JavaTM Platform, Enterprise Edition 6 (Java EE 6) Specification
that includes the web application related technologies.
 
According to the Java EE Web Profile specification, "The Web Profile is
aimed at developers of modern web applications. Aiming "modern" web
applications then implies offering a reasonably complete stack, composed
of standard APIs, and out-of-the-box capability to address the needs of a
large class of web applications".
 
You can download and get more information from the JCP Page of the specification.
JSR 316: JavaTM Platform, Enterprise Edition 6 (Java EE 6) Specification,
http://jcp.org/en/jsr/detail?id=316.
 
=========================================================================
== Web Profile Required Components ==
=========================================================================
Specification NameVersion
- Servlet, 3.0
- Java Server Pages 2.2
- Expression Language 2.2
- Debugging Support for Other Languages 1.0
- Standard Tag Library for JSP 1.2
- Java Server Faces 2.0
- Common Annotations for the Java Platform 1.0
- Enterprise Java Beans Lite 3.1
- Java Transaction API 1.1
- Java Persistence API 2.0
- Bean Validation 1.0
- Managed Beans 1.0
- Interceptors 1.1
- Context and Dependency Injection for Java EE 1.0
- Dependency Injection for Java 1.0
 
=========================================================================
== Apache EE Projects ==
=========================================================================
Siwpas has powered by following Apache Java EE projects,
 
ASF Project Name Web Profile Requirement
- Apache Tomcat 7 Servlet, JSP,EL and related components
- Apache MyFaces 2 Java Server Faces component
- Apache OpenEJB EJB 3.1 Lite and related components
- Apache OpenWebBeans Dependency Injection components
- Apache Bean Validation Validation component
- Apache OpenJPA Persistence API component
 
=========================================================================
== Starting & Using Siwpas in 5 Minutes ==
=========================================================================
In this part, you will learn how to start/stop Siwpas and deploy web appl
ications into Siwpas.
 
=========================================================================
== Platform Requirements ==
=========================================================================
Before you use Siwpas, your environment must have Java JDK or Java JRE.
 
Currently Siwpas only works with with Java JDK/JRE 1.6 or greater.
 
=========================================================================
== (1) Running With JRE 6.0 Or Later ==
=========================================================================
 
(1) Download and Install the Java SE Runtime Environment (JRE)
 
(1.1) Download the Java SE Runtime Environment (JRE),
release version 6.0 or later, from
http://www.oracle.com/technetwork/java/javase/downloads/index.html
 
(1.2) Install the JRE according to the instructions included with the
release.
 
(1.3) Set an environment variable named JRE_HOME to the pathname of
the directory into which you installed the JRE, e.g. c:\jre6.0
or /usr/local/java/jre6.0.
 
NOTE: You may also use the full JDK rather than just the JRE. In this
case set your JAVA_HOME environment variable to the pathname of
the directory into which you installed the JDK, e.g. c:\jdk6.0
or /usr/local/java/jdk6.0.
 
=========================================================================
== (2) Download and Install the Siwpas Binary Distribution ==
=========================================================================
(2.1) Download a binary distribution of Siwpas from:
 
http://siwpas.mechsoft.com.tr/downloads
 
(2.2) Unpack the binary distribution into a convenient location so that the
distribution resides in its own directory (conventionally named
"siwpas-[version]"). For the purposes of the remainder of this document,
the symbolic name "$SIWPAS_HOME" is used to refer to the full
pathname of the release directory.
 
 
=========================================================================
== (3) Start Up Siwpas ==
=========================================================================
Siwpas is based on Apache Tomcat 7. If you have experienced with Tomcat 7,
it is very easy to "start" Siwpas.
 
(3.1) Siwpas can be started by executing the following commands:
 
$SIWPAS_HOME\bin\startup.bat (Windows)
 
$SIWPAS_HOME/bin/startup.sh (Unix)
 
(3.2) After startup, the default web applications included with Siwpas will be
available by visiting:
 
http://localhost:8080/
 
=========================================================================
== (3) Shut Down Siwpas ==
=========================================================================
Siwpas is based on Apache Tomcat 7. If you have experienced with Tomcat 7,
it is very easy to "shutdown" Siwpas.
 
(4.1) Siwpas can be shut down by executing the following command:
 
$SIWPAS_HOME\bin\shutdown (Windows)
 
$SIWPAS_HOME/bin/shutdown.sh (Unix)
=========================================================================
== (4) How to Deploy Collapsed EAR ==
=========================================================================
Collapsed ear is an archive file that contains Web and EJB artifacts.
Therefore you can use EJB Lite functionalities in your web application.
 
Package your application as a WAR archive that may contain
EJBs. WAR archive WEB-INF/ may contain "ejb-jar.xml".
 
Deploy this war archive into the container.
 
- Example
- Archive application as "sample.war",
- Copy sample.war to "$SIWPAS_HOME/webapps" folder,
- Application will be available at "http://localhost:8080/sample"
 
=========================================================================
== Troubleshooting ==
=========================================================================
There are only really 3 things likely to go wrong during the stand-alone
Siwpas install:
 
(1) The most common hiccup is when another web server (or any process for that
matter) has laid claim to port 8080. This is the default HTTP port that
Siwpas attempts to bind to at startup. To change this, open the file:
 
$SIWPAS_HOME/conf/server.xml
 
and search for '8080'. Change it to a port that isn't in use, and is
greater than 1024, as ports less than or equal to 1024 require superuser
access to bind under UNIX.
 
Restart Siwpas and you're in business. Be sure that you replace the "8080"
in the URL you're using to access Siwpas. For example, if you change the
port to 1977, you would request the URL http://localhost:1977/ in your browser.
 
(2) An "out of environment space" error when running the batch files in
Windows 95, 98, or ME operating systems.
 
Right-click on the STARTUP.BAT and SHUTDOWN.BAT files. Click on
"Properties", then on the "Memory" tab. For the "Initial environment" field,
enter in something like 4096.
 
After you click apply, Windows will create shortcuts which you can use
to start and stop the container.
 
(3) The 'localhost' machine isn't found. This could happen if you're behind a
proxy. If that's the case, make sure the proxy configuration for your
browser knows that you shouldn't be going through the proxy to access the
"localhost".
 
In Netscape, this is under Edit/Preferences -> Advanced/Proxies, and in
Internet Explorer, Tools -> Internet Options -> Connections -> LAN Settings.
 
=========================================================================
== Source Code ==
=========================================================================
Source code is always available for Siwpas. Source code is located in OW2
forge location
 
- Source Code : http://forge.ow2.org/plugins/scmsvn/index.php?group_id=422
 
=========================================================================
== Siwpas Links ==
=========================================================================
- Siwpas Home : http://siwpas.mechsoft.com.tr
- Siwpas Forum : http://forge.ow2.org/forum/?group_id=422
- Siwpas Download : http://siwpas.mechsoft.com.tr/downloads
- Siwpas Bug Tracker : http://jira.ow2.org/browse/SIW
- Siwpas Documentation : http://siwpas.mechsoft.com.tr/docs
 
=========================================================================
== OW2 Links ==
=========================================================================
- OW2 Home Page : http://ow2.org
- OW2 Siwpas Page : http://forge.ow2.org/projects/siwpas
- OW2 Siwpas Source : http://forge.ow2.org/plugins/scmsvn/index.php?group_id=422
 
=========================================================================
== ASF Links ==
=========================================================================
- Apache Software Foundation : http://www.apache.org
- Apache Tomcat : http://tomcat.apache.org
- Apache OpenEJB : http://openejb.apache.org
- Apache MyFaces : http://myfaces.apache.org
- Apache OpenJPA : http://openjpa.apache.org
- Apache OpenWebBeans : http://openwebbeans.apache.org
- Apache Bean Validation : http://incubator.bval.apache.org/
 
=========================================================================
== ENJOY :) ==
=========================================================================
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/ROOT/tomcat.css
New file
0,0 → 1,364
/*
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
 
http://www.apache.org/licenses/LICENSE-2.0
 
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
body {
margin: 10px 20px;
text-align: center;
font-family: Arial, sans-serif;
}
 
h1, h2, h3, h4, h5, h6, p, ul, ol {
margin: 0 0 0.5em;
}
h1 {
font-size: 18pt;
margin: 0.5em 0 0;
}
h2 {
font-size: 16pt;
}
h3 {
font-size: 13pt;
}
h4 {
font-size: 12pt;
}
h5 {
font-size: 11pt;
}
p {
font-size: 11pt
}
 
ul {
margin: 0;
padding: 0 0 0 0.25em;
text-indent: 0;
list-style: none;
}
li {
margin: 0;
padding: 0 0 0.25em;
text-indent: 0;
font-size: 80%;
}
 
pre {
text-indent: 0.25em;
width: 90%;
font-size: 90%;
}
 
br.separator {
margin: 0;
padding: 0;
clear: both;
}
 
a img {
border: 0 none;
}
 
.container {
padding: 10px;
margin: 0 0 10px;
}
 
.col20 {
float: left;
width: 20%;
}
 
.col25 {
float: left;
width: 25%;
}
 
#wrapper {
display: block;
margin: 0 auto;
text-align: left;
min-width: 720px;
max-width: 1000px;
}
.curved {
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
}
 
#navigation {
background: #eee url(bg-nav.png) repeat-x top left;
margin: 0 0 10px;
padding: 0;
}
#navigation span {
float: left;
}
#navigation span a {
display: block;
padding: 10px;
font-weight: bold;
text-shadow: 1px 1px 1px #fff;
}
#navigation span a:link,
#navigation span a:visited,
#navigation span a:hover,
#navigation span a:active {
color: #666;
text-decoration: none;
}
#navigation span#nav-help {
float: right;
margin-right: 0;
}
 
#asf-box {
padding: 0 20px;
margin: 0 0 20px;
text-align: left;
}
 
#version {
padding: 6px top left;
float: left;
width: 30%;
}
#version h2 {
padding: 0;
margin: 0;
}
#upper-asf {
float: right;
width: 60%;
text-align: right;
}
 
#upper {
background: #fff url(bg-upper.png) repeat-x top left;
}
 
#congrats {
text-align: center;
padding: 10px;
margin: 0 40px 20px;
background-color: #9c9;
}
#congrats h2 {
font-size: 14pt;
padding: 0;
margin: 0;
color: #fff;
}
 
#notice {
float: left;
width: 560px;
color: #696;
}
#notice a:link,
#notice a:visited,
#notice a:hover,
#notice a:active {
color: #090;
text-decoration: none;
}
#notice img,
#notice #tasks {
float: left;
}
#tasks a:link,
#tasks a:visited,
#tasks a:hover,
#tasks a:active {
text-decoration: underline;
}
#notice img {
margin-right: 20px;
}
 
#actions {
float: right;
width: 140px;
}
 
#actions .button {
display: block;
padding: 0;
height: 36px;
background: url(bg-button.png) no-repeat top left;
}
 
#actions .button a {
display: block;
padding: 0;
}
 
#actions .button a:link,
#actions .button a:visited,
#actions .button a:hover,
#actions .button a:active {
color: #696;
text-decoration: none;
}
 
#actions .button a span {
display: block;
padding: 6px 10px;
color: #666;
text-shadow: 1px 1px 1px #fff;
font-size: 10pt;
font-weight: bold;
}
 
#middle {
background: #eef url(bg-middle.png) repeat-x top left;
margin: 20px 0;
padding: 1px 10px;
}
#middle h3 {
margin: 0 0 10px;
color: #033;
}
#middle p {
font-size: 10pt;
}
#middle a:link,
#middle a:visited,
#middle a:hover,
#middle a:active {
color: #366;
font-weight: bold;
}
#middle .col25 .container {
padding: 0 0 1px;
}
 
#developers {
float: left;
width: 40%;
}
#security {
float: right;
width: 50%;
}
 
#lower {
padding: 0;
}
 
#lower a:link,
#lower a:visited,
#lower a:hover,
#lower a:active {
color: #600;
}
 
#lower strong a:link,
#lower strong a:visited,
#lower strong a:hover,
#lower strong a:active {
color: #c00;
}
 
#lower h3 {
color: #963;
font-size: 14pt;
}
#lower h4 {
font-size: 12pt;
}
#lower ul {
padding: 0;
margin: 0.5em 0;
}
#lower p,
#lower li {
font-size: 9pt;
color: #753;
margin: 0 0 0.25em;
}
#lower li {
padding: 5px;
}
#lower li strong {
color: #a53;
}
#lower li#list-announce {
border: 1px solid #f90;
background-color: #ffe8c8;
}
#lower p {
font-size: 10.5pt;
}
 
#low-manage,
#low-docs,
#low-help {
float: left;
width: 32%;
}
#low-docs {
margin: 0 0 0 2.2%;
}
#low-help {
float: right;
}
 
#low-manage div,
#low-docs div,
#low-help div {
min-height: 300px;
border: 3px solid #ffdc75;
background-color: #fff1c8;
padding: 10px;
}
 
#footer {
padding: 0;
margin: 20px 0;
color: #999;
background-color: #eee;
}
#footer h4 {
margin: 0 0 10px;
font-size: 10pt;
}
#footer p {
margin: 0 0 10px;
font-size: 10pt;
}
#footer ul {
margin: 6px 0 1px;
padding: 0;
}
#footer li {
margin: 0;
font-size: 9pt;
}
 
#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
color: #666;
}
 
.copyright {
font-size: 10pt;
color: #666;
}
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/ROOT/.project
New file
0,0 → 1,36
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>siwpas-root</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/ROOT/bg-button.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:mime-type
+ image/png
/trunk/siwpas-release/assembly/ROOT/tomcat-power.gif
Cannot display: file marked as a binary type.
svn:mime-type = image/gif
Property changes:
Added: svn:mime-type
+ image/gif
/trunk/siwpas-release/assembly/ROOT/WEB-INF/web.xml
New file
0,0 → 1,20
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
@Copyright 2010-2011, MechSoft
MechSoft Mechanical and Software Solutions
-->
 
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0"
metadata-complete="true">
 
<display-name>Welcome to Siwpas</display-name>
<description>
Welcome to Siwpas
</description>
 
</web-app>
/trunk/siwpas-release/assembly/ROOT/bg-nav-item.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:mime-type
+ image/png
/trunk/siwpas-release/assembly/ROOT/siwpas.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:mime-type
+ image/png
/trunk/siwpas-release/assembly/ROOT/asf-logo.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:mime-type
+ image/png
/trunk/siwpas-release/assembly/ROOT/ow2.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:mime-type
+ image/png
/trunk/siwpas-release/assembly/ROOT/bg-nav.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:mime-type
+ image/png
/trunk/siwpas-release/assembly/ROOT/build.xml
New file
0,0 → 1,93
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
 
http://www.apache.org/licenses/LICENSE-2.0
 
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project name="ROOT" default="build-main" basedir=".">
 
 
<!-- ===================== Initialize Property Values =================== -->
 
<!-- See "build.properties.sample" in the top level directory for all -->
<!-- property values you must customize for successful building!!! -->
<property file="build.properties"/>
<property file="../build.properties"/>
<property file="../../build.properties"/>
<property file="${user.home}/build.properties"/>
 
<property name="build.compiler" value="modern"/>
<property name="webapps.build" value="../build"/>
<property name="webapps.dist" value="../dist"/>
<property name="webapp.name" value="ROOT"/>
 
 
<!-- =================== BUILD: Create Directories ====================== -->
<target name="build-prepare">
<mkdir dir="${webapps.build}"/>
<mkdir dir="${webapps.build}/${webapp.name}"/>
</target>
 
 
<!-- ================ BUILD: Copy Static Files ========================== -->
<target name="build-static" depends="build-prepare">
<copy todir="${webapps.build}/${webapp.name}">
<fileset dir=".">
<exclude name="build.*"/>
</fileset>
</copy>
</target>
 
 
<!-- ================= BUILD: Compile Server Components ================= -->
<target name="build-main" depends="build-static"/>
 
 
<!-- ==================== BUILD: Rebuild Everything ===================== -->
<target name="all" depends="build-clean,build-main"
description="Clean and build ROOT webapp"/>
 
 
<!-- ======================= BUILD: Clean Directory ===================== -->
<target name="build-clean">
<delete dir="${webapps.build}/${webapp.name}"/>
</target>
 
 
<!-- ======================= DIST: Create Directories =================== -->
<target name="dist-prepare">
<mkdir dir="${webapps.dist}"/>
</target>
 
 
<!-- ======================= DIST: Create Distribution Files ============ -->
<target name="dist" depends="build-main,dist-prepare"
description="Create ROOT webapp binary distribution">
<jar jarfile="${webapps.dist}/${webapp.name}.war"
basedir="${webapps.build}/${webapp.name}" includes="**"/>
</target>
 
 
<!-- ======================= DIST: Clean Directory ====================== -->
<target name="dist-clean">
<delete dir="${webapps.dist}/${webapp.name}"/>
</target>
 
 
<!-- ====================== Convenient Synonyms ========================= -->
<target name="clean" depends="build-clean,dist-clean"
description="Clean build and dist directories"/>
 
 
</project>
/trunk/siwpas-release/assembly/ROOT/favicon.ico
Cannot display: file marked as a binary type.
svn:mime-type = image/x-icon
Property changes:
Added: svn:mime-type
+ image/x-icon
/trunk/siwpas-release/assembly/ROOT/.classpath
New file
0,0 → 1,15
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/SIwpas">
<attributes>
<attribute name="owner.project.facets" value="#system#;jst.web"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0_23">
<attributes>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="build/classes"/>
</classpath>
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/ROOT/asf-logo-wide.gif
Cannot display: file marked as a binary type.
svn:mime-type = image/gif
Property changes:
Added: svn:mime-type
+ image/gif
/trunk/siwpas-release/assembly/ROOT/index.jsp
New file
0,0 → 1,133
<%--
Copyright (c) 2008-2012 MechSoft Mechanical and Software Solutions
 
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
 
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
 
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
--%>
<!DOCTYPE html>
<%
java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy");
request.setAttribute("year", sdf.format(new java.util.Date()));
request.setAttribute("siwpasUrl", "http://siwpas.mechsoft.com.tr/");
request.setAttribute("tomcat7Url", "http://tomcat.apache.org/");
request.setAttribute("openEjbUrl", "http://openejb.apache.org/");
request.setAttribute("myFacesUrl", "http://myfaces.apache.org/");
request.setAttribute("openJpaUrl", "http://openjpa.apache.org/");
request.setAttribute("openWebBeansUrl", "http://openwebbeans.apache.org/");
request.setAttribute("bValUrl", "http://incubator.bval.apache.org/");
%>
<html lang="en">
<head>
<title>OW2 Siwpas 5.0.0 powered by Apache Tomcat</title>
<link href="favicon.ico" rel="icon" type="image/x-icon" />
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="tomcat.css" rel="stylesheet" type="text/css" />
</head>
 
<body>
<div id="wrapper">
<div id="navigation" class="curved container">
<span id="nav-home"><a href="${siwpasUrl}">Siwpas Web Site</a></span>
<span id="nav-hosts"><a href="http://forge.ow2.org/forum/?group_id=422">User Form</a></span>
<span id="nav-wiki"><a href="${siwpasUrl}docs">Docs</a></span>
<span id="nav-lists"><a href="http://jira.ow2.org/browse/SIW">Bug Tracker</a></span>
<span id="nav-help"><a href="/manager">Admin Console</a></span>
<br class="separator" />
</div>
<div id="asf-box">
<div id="version">
<h2 style="float:left;">OW2 Siwpas<sup>TM</sup> 6.0.0</h2>
<a style="float:left;margin-left:15px;" href="http://tomcat.apache.org/"><img src="tomcat-power.gif" /></a>
</div>
<div style="float:right;">
<a href="http://ow2.org/"><img src="ow2.png" /></a>
</div>
<br class="separator" />
</div>
<div id="upper" class="curved container">
<div id="congrats" class="curved container">
<h2>If you're seeing this, you've successfully installed OW2 Siwpas. Congratulations!</h2>
</div>
<div id="notice">
<img src="siwpas.png" width="248" height="82" alt="[siwpas logo]" />
<div id="tasks">
<h3>Getting Started:</h3>
<h4><a href="${tomcat7DocUrl}README.txt">Siwpas Getting Started Guide</a></h4>
</div>
</div>
<div id="actions">
<div class="button">
<a class="container shadow" href="/manager"><span>Admin Console</span></a>
</div>
</div>
<br class="separator" />
</div>
<div id="lower">
<div id="low-manage" class="">
<div class="curved container">
<h3>Managing Siwpas</h3>
<p>For security, access to the <a href="/manager">manager webapp</a> is restricted.
Default user name and password combination is "admin, admin". Users are defined in:</p>
<pre>$SIWPAS_HOME/conf/siwpas-users.xml</pre>
</div>
</div>
<div id="low-docs" class="">
<div class="curved container">
<h3>Documentation</h3>
<h4><a href="${tomcat7Url}">Apache Tomcat Doc</a></h4>
<h4><a href="${openEjbUrl}">Apache OpenEJB Doc</a></h4>
<h4><a href="${openJpaUrl}">Apache OpenJPA Doc</a></h4>
<h4><a href="${myFacesUrl}">Apache MyFaces Doc</a></h4>
<h4><a href="${openWebBeansUrl}">Apache OpenWebBeans Doc</a></h4>
<h4><a href="${bValUrl}">Apache Bean Validation Doc</a></h4>
<p>Developers may be interested in:</p>
<ul>
<li><a href="http://forge.ow2.org/projects/siwpas">Siwpas OW2 Forge Home</a></li>
<li><a href="${siwpasUrl}">Siwpas Web</a></li>
<li><a href="http://jira.ow2.org/browse/SIW">Siwpas Bug Tracker</a></li>
<li><a href="http://forge.ow2.org/plugins/scmsvn/index.php?group_id=422">Siwpas Source</a></li>
<li><a href="${siwpasUrl}docs">Siwpas Documents</a></li>
</ul>
</div>
</div>
<div id="low-help" class="">
<div class="curved container">
<h3>Getting Help</h3>
<h4><a href="http://forge.ow2.org/forum/?group_id=422">Siwpas Forum</a></h4>
<p>You may be interested in:</p>
<ul>
<li><a href="${siwpasUrl}sales">Siwpas Professional Support</a></li>
</ul>
</div>
</div>
<br class="separator" />
</div>
<h6 style="color:#666666; text-align: justify; padding: 0px 5px; font-weight: bold; font-style: italic;">
Siwpas is trademark of the MechSoft Mechanical and Software Solutions. OW2 and OW2 related project names are trademark of The OW2 Consortium. Apache and Apache related project names are trademark of The Apache Software Foundation. Oracle and Java are registered trademarks of Oracle and/or its affiliates. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
</h6>
<p class="copyright" style="text-align:right;">Copyright &copy;2008-${year} <a href="http://www.mechsoft.com.tr">MechSoft Mechanical and Software Solutions</a>. All Rights Reserved</p>
</div>
</body>
 
</html>
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/ROOT/bg-upper.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:mime-type
+ image/png
/trunk/siwpas-release/assembly/ROOT/bg-middle.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:mime-type
+ image/png
/trunk/siwpas-release/assembly/conf/context.xml
New file
0,0 → 1,35
<?xml version='1.0' encoding='utf-8'?>
<!--
Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<!-- The contents of this file will be loaded for each web application -->
<Context>
 
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
 
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<!--
<Manager pathname="" />
-->
 
<!-- Uncomment this to enable Comet connection tacking (provides events
on session expiration as well as webapp lifecycle) -->
<!--
<Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />
-->
 
</Context>
/trunk/siwpas-release/assembly/conf/siwpas-roles.properties
New file
0,0 → 1,20
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
 
# user=role1 ... roleN,...
guest=guest
jee=jee,guest
nobody=norole
pelin=jee,erdogdu
 
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/conf/siwpas-users.xml
New file
0,0 → 1,42
<?xml version='1.0' encoding='utf-8'?>
<!--
Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<siwpas-users>
<!--
NOTE: By default, no user is included in the "manager-gui" role required
to operate the "administrator console" web application.
If you wish to use this app, you must define such a user - the username
and password are arbitrary.
-->
<!--
NOTE: The sample user and role entries below are wrapped in a comment
and thus are ignored when reading this file. Do not forget to remove
<!.. ..> that surrounds them.
-->
<role rolename="manager-gui"/>
<user username="admin" password="admin" roles="manager-gui"/>
<!--
<role rolename="siwpas"/>
<role rolename="role1"/>
<user username="siwpas" password="siwpas" roles="siwpas"/>
<user username="both" password="siwpas" roles="siwpas,role1"/>
<user username="role1" password="siwpas" roles="role1"/>
<group groupname="group" roles="role1"/>
<user username="sample" groups="group"/>
-->
</siwpas-users>
/trunk/siwpas-release/assembly/conf/server.xml
New file
0,0 → 1,142
<?xml version='1.0' encoding='utf-8'?>
<!--
Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<!-- Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->
<Server port="8005" shutdown="SHUTDOWN">
<!-- Security listener. Documentation at /docs/config/listeners.html
<Listener className="org.apache.catalina.security.SecurityListener" />
-->
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
<Listener className="org.apache.catalina.core.JasperListener" />
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
<!-- Booting the Siwpas Integration-->
<Listener className="org.ow2.siwpas.loader.SiwpasBoot" />
 
<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.ow2.siwpas.integration.security.memory.SiwpasMemoryDatabaseFactory"
pathname="conf/siwpas-users.xml" />
</GlobalNamingResources>
 
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" Note: A "Service" is not itself a "Container",
so you may not define subcomponents such as "Valves" at this level.
Documentation at /docs/config/service.html
-->
<Service name="Catalina">
<!--The connectors can use a shared executor, you can define one or more named thread pools-->
<!--
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="150" minSpareThreads="4"/>
-->
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL HTTP/1.1 Connector on port 8080
-->
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
<!-- Define a SSL HTTP/1.1 Connector on port 8443
This connector uses the JSSE configuration, when using APR, the
connector should be using the OpenSSL style configuration
described in the APR documentation -->
<!--
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
-->
 
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host).
Documentation at /docs/config/engine.html -->
 
<!-- You should set jvmRoute to support load-balancing via AJP ie :
<Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
-->
<Engine name="Catalina" defaultHost="localhost">
 
<!--For clustering, please take a look at documentation at:
/docs/cluster-howto.html (simple how to)
/docs/config/cluster.html (reference documentation) -->
<!--
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
-->
 
<!-- Use the LockOutRealm to prevent attempts to guess user passwords
via a brute-force attack -->
<Realm className="org.apache.catalina.realm.LockOutRealm">
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
</Realm>
 
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
 
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
 
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html
Note: The pattern used is equivalent to using pattern="common" -->
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t &quot;%r&quot; %s %b" resolveHosts="false"/>
 
</Host>
</Engine>
</Service>
</Server>
/trunk/siwpas-release/assembly/conf/catalina.properties
New file
0,0 → 1,196
# Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
 
#
# List of comma-separated packages that start with or equal this string
# will cause a security exception to be thrown when
# passed to checkPackageAccess unless the
# corresponding RuntimePermission ("accessClassInPackage."+package) has
# been granted.
package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
#
# List of comma-separated packages that start with or equal this string
# will cause a security exception to be thrown when
# passed to checkPackageDefinition unless the
# corresponding RuntimePermission ("defineClassInPackage."+package) has
# been granted.
#
# by default, no packages are restricted for definition, and none of
# the class loaders supplied with the JDK call checkPackageDefinition.
#
package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
 
#
#
# List of comma-separated paths defining the contents of the "common"
# classloader. Prefixes should be used to define what is the repository type.
# Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
# If left as blank,the JVM system loader will be used as Catalina's "common"
# loader.
# Examples:
# "foo": Add this folder as a class repository
# "foo/*.jar": Add all the JARs of the specified folder as class
# repositories
# "foo/bar.jar": Add bar.jar as a class repository
common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar
 
#
# List of comma-separated paths defining the contents of the "server"
# classloader. Prefixes should be used to define what is the repository type.
# Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
# If left as blank, the "common" loader will be used as Catalina's "server"
# loader.
# Examples:
# "foo": Add this folder as a class repository
# "foo/*.jar": Add all the JARs of the specified folder as class
# repositories
# "foo/bar.jar": Add bar.jar as a class repository
server.loader=
 
#
# List of comma-separated paths defining the contents of the "shared"
# classloader. Prefixes should be used to define what is the repository type.
# Path may be relative to the CATALINA_BASE path or absolute. If left as blank,
# the "common" loader will be used as Catalina's "shared" loader.
# Examples:
# "foo": Add this folder as a class repository
# "foo/*.jar": Add all the JARs of the specified folder as class
# repositories
# "foo/bar.jar": Add bar.jar as a class repository
# Please note that for single jars, e.g. bar.jar, you need the URL form
# starting with file:.
shared.loader=
 
# List of JAR files that should not be scanned for configuration information
# such as web fragments, TLD files etc. It must be a comma separated list of
# JAR file names.
# The JARs listed below include:
# - Tomcat Bootstrap JARs
# - Tomcat API JARs
# - Catalina JARs
# - Jasper JARs
# - Tomcat JARs
# - Common non-Tomcat JARs
# - Sun JDK JARs
# - Apple JDK JARs
tomcat.util.scan.DefaultJarScanner.jarsToSkip=\
bootstrap.jar,commons-daemon.jar,tomcat-juli.jar,\
annotations-api.jar,el-api.jar,jsp-api.jar,servlet-api.jar,\
catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-tribes.jar,\
jasper.jar,jasper-el.jar,ecj-*.jar,\
tomcat-api.jar,tomcat-util.jar,tomcat-coyote.jar,tomcat-dbcp.jar,\
tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar,\
tomcat-juli-adapters.jar,catalina-jmx-remote.jar,catalina-ws.jar,\
tomcat-jdbc.jar,\
commons-beanutils*.jar,commons-codec*.jar,commons-collections*.jar,\
commons-dbcp*.jar,commons-digester*.jar,commons-fileupload*.jar,\
commons-httpclient*.jar,commons-io*.jar,commons-lang*.jar,commons-logging*.jar,\
commons-math*.jar,commons-pool*.jar,\
jstl.jar,\
geronimo-spec-jaxrpc*.jar,wsdl4j*.jar,\
ant.jar,ant-junit*.jar,aspectj*.jar,jmx.jar,h2*.jar,hibernate*.jar,httpclient*.jar,\
jmx-tools.jar,jta*.jar,log4j*.jar,mail*.jar,slf4j*.jar,\
xercesImpl.jar,xmlParserAPIs.jar,xml-apis.jar,\
dnsns.jar,ldapsec.jar,localedata.jar,sunjce_provider.jar,sunmscapi.jar,\
sunpkcs11.jar,jhall.jar,tools.jar,\
sunec.jar,zipfs.jar,\
apple_provider.jar,AppleScriptEngine.jar,CoreAudio.jar,dns_sd.jar,\
j3daudio.jar,j3dcore.jar,j3dutils.jar,jai_core.jar,jai_codec.jar,\
mlibwrapper_jai.jar,MRJToolkit.jar,vecmath.jar,\
junit.jar,junit-*.jar,ant-launcher.jar,\
agent.jar,\
bval-core.jar,\
bval-jsr303.jar,\
commons-beanutils.jar,\
commons-cli.jar,\
commons-codec.jar,\
commons-collections.jar,\
commons-dbcp.jar,\
commons-digester.jar,\
commons-discovery.jar,\
commons-lang.jar,\
commons-logging.jar,\
commons-math.jar,\
commons-pool.jar,\
el-api.jar,\
geronimo-connector.jar,\
geronimo-mail.jar,\
geronimo-transaction.jar,\
howl.jar,\
hsqldb.jar,\
javaee-api.jar,\
javassist.jar,\
jmcharts.jar,\
log4j.jar,\
myfaces-api.jar,\
openejb-agent.jar,\
openejb-api.jar,\
openejb-core.jar,\
openejb-jee.jar,\
openejb-loader.jar,\
openjpa.jar,\
openwebbeans-ee-common.jar,\
openwebbeans-ee.jar,\
openwebbeans-ejb.jar,\
openwebbeans-impl.jar,\
openwebbeans-jsf.jar,\
openwebbeans-resource.jar,\
openwebbeans-spi.jar,\
openwebbeans-web.jar,\
quartz.jar,\
richfaces-api-3.3.3.Final.jar,\
scannotation.jar,\
serp.jar,\
siwpas-loader.jar,\
siwpas-extras.jar,\
siwpas-websocket.jar,\
siwpas-clustering.jar,\
siwpas-cdi-cluster.jar,\
license.jar,\
bcastlegpg.jar,\
bcastleprov.jar,\
slf4j-api.jar,\
slf4j-log4j12.jar,\
wsdl4j.jar,\
wstx-asl.jar,\
xbean-asm.jar,\
xbean-finder.jar,\
xbean-naming.jar,\
xbean-reflect.jar
 
#If you wish to use strict servlet compliance, comment out
#org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true
 
# String cache configuration.
tomcat.util.buf.StringCache.byte.enabled=true
#tomcat.util.buf.StringCache.char.enabled=true
#tomcat.util.buf.StringCache.trainThreshold=500000
#tomcat.util.buf.StringCache.cacheSize=5000
 
#If you wish to use strict naming rules for java ee, comment out
#siwpas.mechsoft.com.tr.USE_NAMING_JAVAEE_COMPLIANCE=true
 
#WebSocket is enabled by default, but you must uncomment server.xml WsNioProtocol
#If you do not want to support websocket for your contexts, set here to false
#siwpas.mechsoft.com.tr.USE_WEBSOCKET_PROTOCOL=true;
 
#Skip extra libraries for web fragments.
siwpas.mechsoft.com.tr.JARS_SKIP_FOR_WEB_FRAGMENT_SCANNER=jmcharts.jar,\
jstl-api.jar,\
jstl-impl.jar,\
myfaces-impl.jar,\
richfaces-impl-jsf2-3.3.3.Final.jar,\
richfaces-ui-3.3.3.Final.jar,\
jsf-facelets-1.1.15.B1.jar
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/conf/catalina.policy
New file
0,0 → 1,241
// Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
 
// ============================================================================
// catalina.policy - Security Policy Permissions for Siwpas
//
// This file contains a default set of security policies to be enforced (by the
// JVM) when Catalina is executed with the "-security" option. In addition
// to the permissions granted here, the following additional permissions are
// granted to each web application:
//
// * Read access to web application's document root directory
// * Read, write and delete access to web application's working directory
//
// ============================================================================
 
 
// ========== SYSTEM CODE PERMISSIONS =========================================
 
 
// These permissions apply to javac
grant codeBase "file:${java.home}/lib/-" {
permission java.security.AllPermission;
};
 
// These permissions apply to all shared system extensions
grant codeBase "file:${java.home}/jre/lib/ext/-" {
permission java.security.AllPermission;
};
 
// These permissions apply to javac when ${java.home] points at $JAVA_HOME/jre
grant codeBase "file:${java.home}/../lib/-" {
permission java.security.AllPermission;
};
 
// These permissions apply to all shared system extensions when
// ${java.home} points at $JAVA_HOME/jre
grant codeBase "file:${java.home}/lib/ext/-" {
permission java.security.AllPermission;
};
 
 
// ========== CATALINA CODE PERMISSIONS =======================================
 
 
// These permissions apply to the daemon code
grant codeBase "file:${catalina.home}/bin/commons-daemon.jar" {
permission java.security.AllPermission;
};
 
// These permissions apply to the logging API
// Note: If tomcat-juli.jar is in ${catalina.base} and not in ${catalina.home},
// update this section accordingly.
// grant codeBase "file:${catalina.base}/bin/tomcat-juli.jar" {..}
grant codeBase "file:${catalina.home}/bin/tomcat-juli.jar" {
permission java.io.FilePermission
"${java.home}${file.separator}lib${file.separator}logging.properties", "read";
 
permission java.io.FilePermission
"${catalina.base}${file.separator}conf${file.separator}logging.properties", "read";
permission java.io.FilePermission
"${catalina.base}${file.separator}logs", "read, write";
permission java.io.FilePermission
"${catalina.base}${file.separator}logs${file.separator}*", "read, write";
 
permission java.lang.RuntimePermission "shutdownHooks";
permission java.lang.RuntimePermission "getClassLoader";
permission java.lang.RuntimePermission "setContextClassLoader";
 
permission java.util.logging.LoggingPermission "control";
 
permission java.util.PropertyPermission "java.util.logging.config.class", "read";
permission java.util.PropertyPermission "java.util.logging.config.file", "read";
permission java.util.PropertyPermission "catalina.base", "read";
 
// Note: To enable per context logging configuration, permit read access to
// the appropriate file. Be sure that the logging configuration is
// secure before enabling such access.
// E.g. for the examples web application(uncomment and unwrap
// the following to be on a single line):
// permission java.io.FilePermission "${catalina.base}${file.separator}
// webapps${file.separator}examples${file.separator}WEB-INF
// ${file.separator}classes${file.separator}logging.properties", "read";
};
 
// These permissions apply to the server startup code
grant codeBase "file:${catalina.home}/bin/bootstrap.jar" {
permission java.security.AllPermission;
};
 
// These permissions apply to the servlet API classes
// and those that are shared across all class loaders
// located in the "lib" directory
grant codeBase "file:${catalina.home}/lib/-" {
permission java.security.AllPermission;
};
 
 
// If using a per instance lib directory, i.e. ${catalina.base}/lib,
// then the following permission will need to be uncommented
// grant codeBase "file:${catalina.base}/lib/-" {
// permission java.security.AllPermission;
// };
 
 
// ========== WEB APPLICATION PERMISSIONS =====================================
 
 
// These permissions are granted by default to all web applications
// In addition, a web application will be given a read FilePermission
// and JndiPermission for all files and directories in its document root.
grant {
// Required for JNDI lookup of named JDBC DataSource's and
// javamail named MimePart DataSource used to send mail
permission java.util.PropertyPermission "java.home", "read";
permission java.util.PropertyPermission "java.naming.*", "read";
permission java.util.PropertyPermission "javax.sql.*", "read";
 
// OS Specific properties to allow read access
permission java.util.PropertyPermission "os.name", "read";
permission java.util.PropertyPermission "os.version", "read";
permission java.util.PropertyPermission "os.arch", "read";
permission java.util.PropertyPermission "file.separator", "read";
permission java.util.PropertyPermission "path.separator", "read";
permission java.util.PropertyPermission "line.separator", "read";
 
// JVM properties to allow read access
permission java.util.PropertyPermission "java.version", "read";
permission java.util.PropertyPermission "java.vendor", "read";
permission java.util.PropertyPermission "java.vendor.url", "read";
permission java.util.PropertyPermission "java.class.version", "read";
permission java.util.PropertyPermission "java.specification.version", "read";
permission java.util.PropertyPermission "java.specification.vendor", "read";
permission java.util.PropertyPermission "java.specification.name", "read";
 
permission java.util.PropertyPermission "java.vm.specification.version", "read";
permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
permission java.util.PropertyPermission "java.vm.specification.name", "read";
permission java.util.PropertyPermission "java.vm.version", "read";
permission java.util.PropertyPermission "java.vm.vendor", "read";
permission java.util.PropertyPermission "java.vm.name", "read";
 
// Required for OpenJMX
permission java.lang.RuntimePermission "getAttribute";
 
// Allow read of JAXP compliant XML parser debug
permission java.util.PropertyPermission "jaxp.debug", "read";
 
// All JSPs need to be able to read this package
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat";
 
// Precompiled JSPs need access to these packages.
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.el";
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime";
permission java.lang.RuntimePermission
"accessClassInPackage.org.apache.jasper.runtime.*";
 
// Precompiled JSPs need access to these system properties.
permission java.util.PropertyPermission
"org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER", "read";
permission java.util.PropertyPermission
"org.apache.el.parser.COERCE_TO_ZERO", "read";
 
// The cookie code needs these.
permission java.util.PropertyPermission
"org.apache.catalina.STRICT_SERVLET_COMPLIANCE", "read";
permission java.util.PropertyPermission
"org.apache.tomcat.util.http.ServerCookie.STRICT_NAMING", "read";
permission java.util.PropertyPermission
"org.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR", "read";
 
// Applications using Comet need to be able to access this package
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.comet";
};
 
 
// The Manager application needs access to the following packages to support the
// session display functionality. These settings support the following
// configurations:
// - default CATALINA_HOME == CATALINA_BASE
// - CATALINA_HOME != CATALINA_BASE, per instance Manager in CATALINA_BASE
// - CATALINA_HOME != CATALINA_BASE, shared Manager in CATALINA_HOME
grant codeBase "file:${catalina.base}/webapps/manager/-" {
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina";
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.ha.session";
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager";
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager.util";
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.util";
};
grant codeBase "file:${catalina.home}/webapps/manager/-" {
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina";
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.ha.session";
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager";
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager.util";
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.util";
};
 
// You can assign additional permissions to particular web applications by
// adding additional "grant" entries here, based on the code base for that
// application, /WEB-INF/classes/, or /WEB-INF/lib/ jar files.
//
// Different permissions can be granted to JSP pages, classes loaded from
// the /WEB-INF/classes/ directory, all jar files in the /WEB-INF/lib/
// directory, or even to individual jar files in the /WEB-INF/lib/ directory.
//
// For instance, assume that the standard "examples" application
// included a JDBC driver that needed to establish a network connection to the
// corresponding database and used the scrape taglib to get the weather from
// the NOAA web server. You might create a "grant" entries like this:
//
// The permissions granted to the context root directory apply to JSP pages.
// grant codeBase "file:${catalina.base}/webapps/examples/-" {
// permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";
// permission java.net.SocketPermission "*.noaa.gov:80", "connect";
// };
//
// The permissions granted to the context WEB-INF/classes directory
// grant codeBase "file:${catalina.base}/webapps/examples/WEB-INF/classes/-" {
// };
//
// The permission granted to your JDBC driver
// grant codeBase "jar:file:${catalina.base}/webapps/examples/WEB-INF/lib/driver.jar!/-" {
// permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";
// };
// The permission granted to the scrape taglib
// grant codeBase "jar:file:${catalina.base}/webapps/examples/WEB-INF/lib/scrape.jar!/-" {
// permission java.net.SocketPermission "*.noaa.gov:80", "connect";
// };
 
/trunk/siwpas-release/assembly/conf/log4j.properties
New file
0,0 → 1,80
# Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
 
####################################################################################################
######################################## DEFAULT LOG4J CONFIGURATION ###############################
####################################################################################################
 
#Default ROOT logger info. It is disabled currently.
#log4j.rootLogger = info,C
 
#Default Console Log
log4j.appender.C =org.apache.log4j.ConsoleAppender
log4j.appender.C.layout =org.apache.log4j.PatternLayout
log4j.appender.C.layout.ConversionPattern =%d{ABSOLUTE} %5p %c{1}:%L - %m%n
#log4j.appender.C.layout = org.apache.log4j.SimpleLayout
 
#Sample Log4J Log File
log4j.appender.D =org.apache.log4j.RollingFileAppender
log4j.appender.D.layout =org.apache.log4j.PatternLayout
log4j.appender.D.MaxFileSize =1000KB
log4j.appender.D.MaxBackupIndex =7
log4j.appender.D.File =logs/log4j.log
log4j.appender.D.layout.ConversionPattern =%d{ABSOLUTE} %5p %c{1}:%L - %m%n
####################################################################################################
######################################## OPENEJB LOGGING CONFIGURATION #############################
####################################################################################################
 
log4j.category.OpenEJB = warn,R
log4j.category.OpenEJB.options = info
log4j.category.OpenEJB.server = info
log4j.category.OpenEJB.startup = info
log4j.category.OpenEJB.startup.service = info
log4j.category.OpenEJB.startup.config = info
log4j.category.OpenEJB.hsql = info
log4j.category.OpenEJB.ws = info
log4j.category.OpenEJB.siwpas = warn,C
log4j.category.OpenEJB.cluster = info,C
log4j.category.CORBA-Adapter = error,R
log4j.category.Transaction = warn,TX
log4j.category.org.apache.geronimo = error,R
log4j.category.org.apache.geronimo.transaction = warn,TX
log4j.category.org.objectweb.howl.log = warn,TX
log4j.category.openjpa = error,R
log4j.category.org.apache.bval = info,R
 
#Not enable parent appenders
log4j.additivity.org.apache.geronimo.transaction=false
 
#Main OpenEJB Log File
log4j.appender.R =org.apache.log4j.RollingFileAppender
log4j.appender.R.layout =org.apache.log4j.PatternLayout
log4j.appender.R.MaxFileSize =1000KB
log4j.appender.R.MaxBackupIndex =7
log4j.appender.R.File =logs/openejb.log
log4j.appender.R.layout.ConversionPattern=%d - %-5p - %m%n
#Also prints log category
#log4j.appender.R.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
 
#Transaction Log File
log4j.appender.TX =org.apache.log4j.RollingFileAppender
log4j.appender.TX.layout =org.apache.log4j.PatternLayout
log4j.appender.TX.MaxFileSize =1000KB
log4j.appender.TX.MaxBackupIndex =100
log4j.appender.TX.File =logs/transaction.log
log4j.appender.TX.layout.ConversionPattern=%d - %-5p - %m%n
#Also prints log category
#log4j.appender.TX.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
############################################################################################
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/conf/login.config
New file
0,0 → 1,18
SiwpasPropertiesLogin {
org.ow2.siwpas.integration.security.jaas.SiwpasPropertyFilesLoginModule required
Debug=true
UsersFile="siwpas-users.properties"
RolesFile="siwpas-roles.properties";
};
SiwpasUserDatabaseLogin {
org.ow2.siwpas.integration.security.jaas.SiwpasUserDatabaseLoginModule required
Name="Sample User Database"
Debug=true
UsersFile="siwpas-users.xml";
};
SiwpasSQLLogin {
org.ow2.siwpas.integration.security.jaas.SiwpasSQLLoginModule required
dataSourceName="My DataSource"
userSelect="SELECT user, password FROM users WHERE user = ?"
roleSelect="SELECT user, role FROM roles WHERE user = ?";
};
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/conf/web.xml
New file
0,0 → 1,4179
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
 
<!-- ======================== Introduction ============================== -->
<!-- This document defines default values for *all* web applications -->
<!-- loaded into this instance of Tomcat. As each application is -->
<!-- deployed, this file is processed, followed by the -->
<!-- "/WEB-INF/web.xml" deployment descriptor from your own -->
<!-- applications. -->
<!-- -->
<!-- WARNING: Do not configure application-specific resources here! -->
<!-- They should go in the "/WEB-INF/web.xml" file in your application. -->
 
 
<!-- ================== Built In Servlet Definitions ==================== -->
 
 
<!-- The default servlet for all web applications, that serves static -->
<!-- resources. It processes all requests that are not mapped to other -->
<!-- servlets with servlet mappings (defined either here or in your own -->
<!-- web.xml file). This servlet supports the following initialization -->
<!-- parameters (default values are in square brackets): -->
<!-- -->
<!-- debug Debugging detail level for messages logged -->
<!-- by this servlet. [0] -->
<!-- -->
<!-- fileEncoding Encoding to be used to read static resources -->
<!-- [platform default] -->
<!-- -->
<!-- input Input buffer size (in bytes) when reading -->
<!-- resources to be served. [2048] -->
<!-- -->
<!-- listings Should directory listings be produced if there -->
<!-- is no welcome file in this directory? [false] -->
<!-- WARNING: Listings for directories with many -->
<!-- entries can be slow and may consume -->
<!-- significant proportions of server resources. -->
<!-- -->
<!-- output Output buffer size (in bytes) when writing -->
<!-- resources to be served. [2048] -->
<!-- -->
<!-- readonly Is this context "read only", so HTTP -->
<!-- commands like PUT and DELETE are -->
<!-- rejected? [true] -->
<!-- -->
<!-- readmeFile File to display together with the directory -->
<!-- contents. [null] -->
<!-- -->
<!-- sendfileSize If the connector used supports sendfile, this -->
<!-- represents the minimal file size in KB for -->
<!-- which sendfile will be used. Use a negative -->
<!-- value to always disable sendfile. [48] -->
<!-- -->
<!-- useAcceptRanges Should the Accept-Ranges header be included -->
<!-- in responses where appropriate? [true] -->
<!-- -->
<!-- For directory listing customization. Checks localXsltFile, then -->
<!-- globalXsltFile, then defaults to original behavior. -->
<!-- -->
<!-- localXsltFile Make directory listings an XML doc and -->
<!-- pass the result to this style sheet residing -->
<!-- in that directory. This overrides -->
<!-- contextXsltFile and globalXsltFile[null] -->
<!-- -->
<!-- contextXsltFile Make directory listings an XML doc and -->
<!-- pass the result to this style sheet which is -->
<!-- relative to the context root. This overrides -->
<!-- globalXsltFile[null] -->
<!-- -->
<!-- globalXsltFile Site wide configuration version of -->
<!-- localXsltFile This argument is expected -->
<!-- to be a physical file. [null] -->
<!-- -->
<!-- -->
 
<servlet>
<servlet-name>default</servlet-name>
<servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>listings</param-name>
<param-value>false</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
 
 
<!-- The JSP page compiler and execution servlet, which is the mechanism -->
<!-- used by Tomcat to support JSP pages. Traditionally, this servlet -->
<!-- is mapped to the URL pattern "*.jsp". This servlet supports the -->
<!-- following initialization parameters (default values are in square -->
<!-- brackets): -->
<!-- -->
<!-- checkInterval If development is false and checkInterval is -->
<!-- greater than zero, background compilations are -->
<!-- enabled. checkInterval is the time in seconds -->
<!-- between checks to see if a JSP page (and its -->
<!-- dependent files) needs to be recompiled. [0] -->
<!-- -->
<!-- classdebuginfo Should the class file be compiled with -->
<!-- debugging information? [true] -->
<!-- -->
<!-- classpath What class path should I use while compiling -->
<!-- generated servlets? [Created dynamically -->
<!-- based on the current web application] -->
<!-- -->
<!-- compiler Which compiler Ant should use to compile JSP -->
<!-- pages. See the jasper documentation for more -->
<!-- information. -->
<!-- -->
<!-- compilerSourceVM Compiler source VM. [1.6] -->
<!-- -->
<!-- compilerTargetVM Compiler target VM. [1.6] -->
<!-- -->
<!-- development Is Jasper used in development mode? If true, -->
<!-- the frequency at which JSPs are checked for -->
<!-- modification may be specified via the -->
<!-- modificationTestInterval parameter. [true] -->
<!-- -->
<!-- displaySourceFragment -->
<!-- Should a source fragment be included in -->
<!-- exception messages? [true] -->
<!-- -->
<!-- dumpSmap Should the SMAP info for JSR45 debugging be -->
<!-- dumped to a file? [false] -->
<!-- False if suppressSmap is true -->
<!-- -->
<!-- enablePooling Determines whether tag handler pooling is -->
<!-- enabled. This is a compilation option. It will -->
<!-- not alter the behaviour of JSPs that have -->
<!-- already been compiled. [true] -->
<!-- -->
<!-- engineOptionsClass Allows specifying the Options class used to -->
<!-- configure Jasper. If not present, the default -->
<!-- EmbeddedServletOptions will be used. -->
<!-- -->
<!-- errorOnUseBeanInvalidClassAttribute -->
<!-- Should Jasper issue an error when the value of -->
<!-- the class attribute in an useBean action is -->
<!-- not a valid bean class? [true] -->
<!-- -->
<!-- fork Tell Ant to fork compiles of JSP pages so that -->
<!-- a separate JVM is used for JSP page compiles -->
<!-- from the one Tomcat is running in. [true] -->
<!-- -->
<!-- genStringAsCharArray -->
<!-- Should text strings be generated as char -->
<!-- arrays, to improve performance in some cases? -->
<!-- [false] -->
<!-- -->
<!-- ieClassId The class-id value to be sent to Internet -->
<!-- Explorer when using <jsp:plugin> tags. -->
<!-- [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93] -->
<!-- -->
<!-- javaEncoding Java file encoding to use for generating java -->
<!-- source files. [UTF8] -->
<!-- -->
<!-- keepgenerated Should we keep the generated Java source code -->
<!-- for each page instead of deleting it? [true] -->
<!-- -->
<!-- mappedfile Should we generate static content with one -->
<!-- print statement per input line, to ease -->
<!-- debugging? [true] -->
<!-- -->
<!-- maxLoadedJsps The maximum number of JSPs that will be loaded -->
<!-- for a web application. If more than this -->
<!-- number of JSPs are loaded, the least recently -->
<!-- used JSPs will be unloaded so that the number -->
<!-- of JSPs loaded at any one time does not exceed -->
<!-- this limit. A value of zero or less indicates -->
<!-- no limit. [-1] -->
<!-- -->
<!-- jspIdleTimeout The amount of time in seconds a JSP can be -->
<!-- idle before it is unloaded. A value of zero -->
<!-- or less indicates never unload. [-1] -->
<!-- -->
<!-- modificationTestInterval -->
<!-- Causes a JSP (and its dependent files) to not -->
<!-- be checked for modification during the -->
<!-- specified time interval (in seconds) from the -->
<!-- last time the JSP was checked for -->
<!-- modification. A value of 0 will cause the JSP -->
<!-- to be checked on every access. -->
<!-- Used in development mode only. [4] -->
<!-- -->
<!-- recompileOnFail If a JSP compilation fails should the -->
<!-- modificationTestInterval be ignored and the -->
<!-- next access trigger a re-compilation attempt? -->
<!-- Used in development mode only and is disabled -->
<!-- by default as compilation may be expensive and -->
<!-- could lead to excessive resource usage. -->
<!-- [false] -->
<!-- -->
<!-- scratchdir What scratch directory should we use when -->
<!-- compiling JSP pages? [default work directory -->
<!-- for the current web application] -->
<!-- -->
<!-- suppressSmap Should the generation of SMAP info for JSR45 -->
<!-- debugging be suppressed? [false] -->
<!-- -->
<!-- trimSpaces Should white spaces in template text between -->
<!-- actions or directives be trimmed? [false] -->
<!-- -->
<!-- xpoweredBy Determines whether X-Powered-By response -->
<!-- header is added by generated servlet. [false] -->
 
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>fork</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>xpoweredBy</param-name>
<param-value>false</param-value>
</init-param>
<load-on-startup>3</load-on-startup>
</servlet>
 
 
<!-- NOTE: An SSI Filter is also available as an alternative SSI -->
<!-- implementation. Use either the Servlet or the Filter but NOT both. -->
<!-- -->
<!-- Server Side Includes processing servlet, which processes SSI -->
<!-- directives in HTML pages consistent with similar support in web -->
<!-- servers like Apache. Traditionally, this servlet is mapped to the -->
<!-- URL pattern "*.shtml". This servlet supports the following -->
<!-- initialization parameters (default values are in square brackets): -->
<!-- -->
<!-- buffered Should output from this servlet be buffered? -->
<!-- (0=false, 1=true) [0] -->
<!-- -->
<!-- debug Debugging detail level for messages logged -->
<!-- by this servlet. [0] -->
<!-- -->
<!-- expires The number of seconds before a page with SSI -->
<!-- directives will expire. [No default] -->
<!-- -->
<!-- isVirtualWebappRelative -->
<!-- Should "virtual" paths be interpreted as -->
<!-- relative to the context root, instead of -->
<!-- the server root? (0=false, 1=true) [0] -->
<!-- -->
<!-- inputEncoding The encoding to assume for SSI resources if -->
<!-- one is not available from the resource. -->
<!-- [Platform default] -->
<!-- -->
<!-- outputEncoding The encoding to use for the page that results -->
<!-- from the SSI processing. [UTF-8] -->
<!-- -->
<!-- allowExec Is use of the exec command enabled? [false] -->
 
<!--
<servlet>
<servlet-name>ssi</servlet-name>
<servlet-class>
org.apache.catalina.ssi.SSIServlet
</servlet-class>
<init-param>
<param-name>buffered</param-name>
<param-value>1</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>expires</param-name>
<param-value>666</param-value>
</init-param>
<init-param>
<param-name>isVirtualWebappRelative</param-name>
<param-value>0</param-value>
</init-param>
<load-on-startup>4</load-on-startup>
</servlet>
-->
 
 
<!-- Common Gateway Includes (CGI) processing servlet, which supports -->
<!-- execution of external applications that conform to the CGI spec -->
<!-- requirements. Typically, this servlet is mapped to the URL pattern -->
<!-- "/cgi-bin/*", which means that any CGI applications that are -->
<!-- executed must be present within the web application. This servlet -->
<!-- supports the following initialization parameters (default values -->
<!-- are in square brackets): -->
<!-- -->
<!-- cgiPathPrefix The CGI search path will start at -->
<!-- webAppRootDir + File.separator + this prefix. -->
<!-- [WEB-INF/cgi] -->
<!-- -->
<!-- debug Debugging detail level for messages logged -->
<!-- by this servlet. [0] -->
<!-- -->
<!-- executable Name of the executable used to run the -->
<!-- script. [perl] -->
<!-- -->
<!-- parameterEncoding Name of parameter encoding to be used with -->
<!-- CGI servlet. -->
<!-- [System.getProperty("file.encoding","UTF-8")] -->
<!-- -->
<!-- passShellEnvironment Should the shell environment variables (if -->
<!-- any) be passed to the CGI script? [false] -->
<!-- -->
<!-- stderrTimeout The time (in milliseconds) to wait for the -->
<!-- reading of stderr to complete before -->
<!-- terminating the CGI process. [2000] -->
 
<!--
<servlet>
<servlet-name>cgi</servlet-name>
<servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>cgiPathPrefix</param-name>
<param-value>WEB-INF/cgi</param-value>
</init-param>
<load-on-startup>5</load-on-startup>
</servlet>
-->
 
 
<!-- ================ Built In Servlet Mappings ========================= -->
 
 
<!-- The servlet mappings for the built in servlets defined above. Note -->
<!-- that, by default, the CGI and SSI servlets are *not* mapped. You -->
<!-- must uncomment these mappings (or add them to your application's own -->
<!-- web.xml deployment descriptor) to enable these services -->
 
<!-- The mapping for the default servlet -->
<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
 
<!-- The mappings for the JSP servlet -->
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
 
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jspx</url-pattern>
</servlet-mapping>
 
<!-- The mapping for the SSI servlet -->
<!--
<servlet-mapping>
<servlet-name>ssi</servlet-name>
<url-pattern>*.shtml</url-pattern>
</servlet-mapping>
-->
 
<!-- The mapping for the CGI Gateway servlet -->
 
<!--
<servlet-mapping>
<servlet-name>cgi</servlet-name>
<url-pattern>/cgi-bin/*</url-pattern>
</servlet-mapping>
-->
 
 
<!-- ================== Built In Filter Definitions ===================== -->
 
<!-- NOTE: An SSI Servlet is also available as an alternative SSI -->
<!-- implementation. Use either the Servlet or the Filter but NOT both. -->
<!-- -->
<!-- Server Side Includes processing filter, which processes SSI -->
<!-- directives in HTML pages consistent with similar support in web -->
<!-- servers like Apache. Traditionally, this filter is mapped to the -->
<!-- URL pattern "*.shtml", though it can be mapped to "*" as it will -->
<!-- selectively enable/disable SSI processing based on mime types. For -->
<!-- this to work you will need to uncomment the .shtml mime type -->
<!-- definition towards the bottom of this file. -->
<!-- The contentType init param allows you to apply SSI processing to JSP -->
<!-- pages, javascript, or any other content you wish. This filter -->
<!-- supports the following initialization parameters (default values are -->
<!-- in square brackets): -->
<!-- -->
<!-- contentType A regex pattern that must be matched before -->
<!-- SSI processing is applied. -->
<!-- [text/x-server-parsed-html(;.*)?] -->
<!-- -->
<!-- debug Debugging detail level for messages logged -->
<!-- by this servlet. [0] -->
<!-- -->
<!-- expires The number of seconds before a page with SSI -->
<!-- directives will expire. [No default] -->
<!-- -->
<!-- isVirtualWebappRelative -->
<!-- Should "virtual" paths be interpreted as -->
<!-- relative to the context root, instead of -->
<!-- the server root? (0=false, 1=true) [0] -->
<!-- -->
<!-- allowExec Is use of the exec command enabled? [false] -->
 
<!--
<filter>
<filter-name>ssi</filter-name>
<filter-class>
org.apache.catalina.ssi.SSIFilter
</filter-class>
<init-param>
<param-name>contentType</param-name>
<param-value>text/x-server-parsed-html(;.*)?</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>expires</param-name>
<param-value>666</param-value>
</init-param>
<init-param>
<param-name>isVirtualWebappRelative</param-name>
<param-value>0</param-value>
</init-param>
</filter>
-->
 
 
<!-- ==================== Built In Filter Mappings ====================== -->
 
<!-- The mapping for the SSI Filter -->
<!--
<filter-mapping>
<filter-name>ssi</filter-name>
<url-pattern>*.shtml</url-pattern>
</filter-mapping>
-->
 
 
<!-- ==================== Default Session Configuration ================= -->
<!-- You can set the default session timeout (in minutes) for all newly -->
<!-- created sessions by modifying the value below. -->
 
<session-config>
<session-timeout>30</session-timeout>
</session-config>
 
 
<!-- ===================== Default MIME Type Mappings =================== -->
<!-- When serving static resources, Tomcat will automatically generate -->
<!-- a "Content-Type" header based on the resource's filename extension, -->
<!-- based on these mappings. Additional mappings can be added here (to -->
<!-- apply to all web applications), or in your own application's web.xml -->
<!-- deployment descriptor. -->
 
<mime-mapping>
<extension>123</extension>
<mime-type>application/vnd.lotus-1-2-3</mime-type>
</mime-mapping>
<mime-mapping>
<extension>3dml</extension>
<mime-type>text/vnd.in3d.3dml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>3g2</extension>
<mime-type>video/3gpp2</mime-type>
</mime-mapping>
<mime-mapping>
<extension>3gp</extension>
<mime-type>video/3gpp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>7z</extension>
<mime-type>application/x-7z-compressed</mime-type>
</mime-mapping>
<mime-mapping>
<extension>aab</extension>
<mime-type>application/x-authorware-bin</mime-type>
</mime-mapping>
<mime-mapping>
<extension>aac</extension>
<mime-type>audio/x-aac</mime-type>
</mime-mapping>
<mime-mapping>
<extension>aam</extension>
<mime-type>application/x-authorware-map</mime-type>
</mime-mapping>
<mime-mapping>
<extension>aas</extension>
<mime-type>application/x-authorware-seg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>abs</extension>
<mime-type>audio/x-mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>abw</extension>
<mime-type>application/x-abiword</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ac</extension>
<mime-type>application/pkix-attr-cert</mime-type>
</mime-mapping>
<mime-mapping>
<extension>acc</extension>
<mime-type>application/vnd.americandynamics.acc</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ace</extension>
<mime-type>application/x-ace-compressed</mime-type>
</mime-mapping>
<mime-mapping>
<extension>acu</extension>
<mime-type>application/vnd.acucobol</mime-type>
</mime-mapping>
<mime-mapping>
<extension>acutc</extension>
<mime-type>application/vnd.acucorp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>adp</extension>
<mime-type>audio/adpcm</mime-type>
</mime-mapping>
<mime-mapping>
<extension>aep</extension>
<mime-type>application/vnd.audiograph</mime-type>
</mime-mapping>
<mime-mapping>
<extension>afm</extension>
<mime-type>application/x-font-type1</mime-type>
</mime-mapping>
<mime-mapping>
<extension>afp</extension>
<mime-type>application/vnd.ibm.modcap</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ahead</extension>
<mime-type>application/vnd.ahead.space</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ai</extension>
<mime-type>application/postscript</mime-type>
</mime-mapping>
<mime-mapping>
<extension>aif</extension>
<mime-type>audio/x-aiff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>aifc</extension>
<mime-type>audio/x-aiff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>aiff</extension>
<mime-type>audio/x-aiff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>aim</extension>
<mime-type>application/x-aim</mime-type>
</mime-mapping>
<mime-mapping>
<extension>air</extension>
<mime-type>application/vnd.adobe.air-application-installer-package+zip</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ait</extension>
<mime-type>application/vnd.dvb.ait</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ami</extension>
<mime-type>application/vnd.amiga.ami</mime-type>
</mime-mapping>
<mime-mapping>
<extension>anx</extension>
<mime-type>application/annodex</mime-type>
</mime-mapping>
<mime-mapping>
<extension>apk</extension>
<mime-type>application/vnd.android.package-archive</mime-type>
</mime-mapping>
<mime-mapping>
<extension>application</extension>
<mime-type>application/x-ms-application</mime-type>
</mime-mapping>
<mime-mapping>
<extension>apr</extension>
<mime-type>application/vnd.lotus-approach</mime-type>
</mime-mapping>
<mime-mapping>
<extension>art</extension>
<mime-type>image/x-jg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>asc</extension>
<mime-type>application/pgp-signature</mime-type>
</mime-mapping>
<mime-mapping>
<extension>asf</extension>
<mime-type>video/x-ms-asf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>asm</extension>
<mime-type>text/x-asm</mime-type>
</mime-mapping>
<mime-mapping>
<extension>aso</extension>
<mime-type>application/vnd.accpac.simply.aso</mime-type>
</mime-mapping>
<mime-mapping>
<extension>asx</extension>
<mime-type>video/x-ms-asf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>atc</extension>
<mime-type>application/vnd.acucorp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>atom</extension>
<mime-type>application/atom+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>atomcat</extension>
<mime-type>application/atomcat+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>atomsvc</extension>
<mime-type>application/atomsvc+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>atx</extension>
<mime-type>application/vnd.antix.game-component</mime-type>
</mime-mapping>
<mime-mapping>
<extension>au</extension>
<mime-type>audio/basic</mime-type>
</mime-mapping>
<mime-mapping>
<extension>avi</extension>
<mime-type>video/x-msvideo</mime-type>
</mime-mapping>
<mime-mapping>
<extension>avx</extension>
<mime-type>video/x-rad-screenplay</mime-type>
</mime-mapping>
<mime-mapping>
<extension>aw</extension>
<mime-type>application/applixware</mime-type>
</mime-mapping>
<mime-mapping>
<extension>axa</extension>
<mime-type>audio/annodex</mime-type>
</mime-mapping>
<mime-mapping>
<extension>axv</extension>
<mime-type>video/annodex</mime-type>
</mime-mapping>
<mime-mapping>
<extension>azf</extension>
<mime-type>application/vnd.airzip.filesecure.azf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>azs</extension>
<mime-type>application/vnd.airzip.filesecure.azs</mime-type>
</mime-mapping>
<mime-mapping>
<extension>azw</extension>
<mime-type>application/vnd.amazon.ebook</mime-type>
</mime-mapping>
<mime-mapping>
<extension>bat</extension>
<mime-type>application/x-msdownload</mime-type>
</mime-mapping>
<mime-mapping>
<extension>bcpio</extension>
<mime-type>application/x-bcpio</mime-type>
</mime-mapping>
<mime-mapping>
<extension>bdf</extension>
<mime-type>application/x-font-bdf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>bdm</extension>
<mime-type>application/vnd.syncml.dm+wbxml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>bed</extension>
<mime-type>application/vnd.realvnc.bed</mime-type>
</mime-mapping>
<mime-mapping>
<extension>bh2</extension>
<mime-type>application/vnd.fujitsu.oasysprs</mime-type>
</mime-mapping>
<mime-mapping>
<extension>bin</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
<mime-mapping>
<extension>bmi</extension>
<mime-type>application/vnd.bmi</mime-type>
</mime-mapping>
<mime-mapping>
<extension>bmp</extension>
<mime-type>image/bmp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>body</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>book</extension>
<mime-type>application/vnd.framemaker</mime-type>
</mime-mapping>
<mime-mapping>
<extension>box</extension>
<mime-type>application/vnd.previewsystems.box</mime-type>
</mime-mapping>
<mime-mapping>
<extension>boz</extension>
<mime-type>application/x-bzip2</mime-type>
</mime-mapping>
<mime-mapping>
<extension>bpk</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
<mime-mapping>
<extension>btif</extension>
<mime-type>image/prs.btif</mime-type>
</mime-mapping>
<mime-mapping>
<extension>bz</extension>
<mime-type>application/x-bzip</mime-type>
</mime-mapping>
<mime-mapping>
<extension>bz2</extension>
<mime-type>application/x-bzip2</mime-type>
</mime-mapping>
<mime-mapping>
<extension>c</extension>
<mime-type>text/x-c</mime-type>
</mime-mapping>
<mime-mapping>
<extension>c11amc</extension>
<mime-type>application/vnd.cluetrust.cartomobile-config</mime-type>
</mime-mapping>
<mime-mapping>
<extension>c11amz</extension>
<mime-type>application/vnd.cluetrust.cartomobile-config-pkg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>c4d</extension>
<mime-type>application/vnd.clonk.c4group</mime-type>
</mime-mapping>
<mime-mapping>
<extension>c4f</extension>
<mime-type>application/vnd.clonk.c4group</mime-type>
</mime-mapping>
<mime-mapping>
<extension>c4g</extension>
<mime-type>application/vnd.clonk.c4group</mime-type>
</mime-mapping>
<mime-mapping>
<extension>c4p</extension>
<mime-type>application/vnd.clonk.c4group</mime-type>
</mime-mapping>
<mime-mapping>
<extension>c4u</extension>
<mime-type>application/vnd.clonk.c4group</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cab</extension>
<mime-type>application/vnd.ms-cab-compressed</mime-type>
</mime-mapping>
<mime-mapping>
<extension>car</extension>
<mime-type>application/vnd.curl.car</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cat</extension>
<mime-type>application/vnd.ms-pki.seccat</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cc</extension>
<mime-type>text/x-c</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cct</extension>
<mime-type>application/x-director</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ccxml</extension>
<mime-type>application/ccxml+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cdbcmsg</extension>
<mime-type>application/vnd.contact.cmsg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cdf</extension>
<mime-type>application/x-cdf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cdkey</extension>
<mime-type>application/vnd.mediastation.cdkey</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cdmia</extension>
<mime-type>application/cdmi-capability</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cdmic</extension>
<mime-type>application/cdmi-container</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cdmid</extension>
<mime-type>application/cdmi-domain</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cdmio</extension>
<mime-type>application/cdmi-object</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cdmiq</extension>
<mime-type>application/cdmi-queue</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cdx</extension>
<mime-type>chemical/x-cdx</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cdxml</extension>
<mime-type>application/vnd.chemdraw+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cdy</extension>
<mime-type>application/vnd.cinderella</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cer</extension>
<mime-type>application/pkix-cert</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cgm</extension>
<mime-type>image/cgm</mime-type>
</mime-mapping>
<mime-mapping>
<extension>chat</extension>
<mime-type>application/x-chat</mime-type>
</mime-mapping>
<mime-mapping>
<extension>chm</extension>
<mime-type>application/vnd.ms-htmlhelp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>chrt</extension>
<mime-type>application/vnd.kde.kchart</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cif</extension>
<mime-type>chemical/x-cif</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cii</extension>
<mime-type>application/vnd.anser-web-certificate-issue-initiation</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cil</extension>
<mime-type>application/vnd.ms-artgalry</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cla</extension>
<mime-type>application/vnd.claymore</mime-type>
</mime-mapping>
<mime-mapping>
<extension>class</extension>
<mime-type>application/java</mime-type>
</mime-mapping>
<mime-mapping>
<extension>clkk</extension>
<mime-type>application/vnd.crick.clicker.keyboard</mime-type>
</mime-mapping>
<mime-mapping>
<extension>clkp</extension>
<mime-type>application/vnd.crick.clicker.palette</mime-type>
</mime-mapping>
<mime-mapping>
<extension>clkt</extension>
<mime-type>application/vnd.crick.clicker.template</mime-type>
</mime-mapping>
<mime-mapping>
<extension>clkw</extension>
<mime-type>application/vnd.crick.clicker.wordbank</mime-type>
</mime-mapping>
<mime-mapping>
<extension>clkx</extension>
<mime-type>application/vnd.crick.clicker</mime-type>
</mime-mapping>
<mime-mapping>
<extension>clp</extension>
<mime-type>application/x-msclip</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cmc</extension>
<mime-type>application/vnd.cosmocaller</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cmdf</extension>
<mime-type>chemical/x-cmdf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cml</extension>
<mime-type>chemical/x-cml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cmp</extension>
<mime-type>application/vnd.yellowriver-custom-menu</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cmx</extension>
<mime-type>image/x-cmx</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cod</extension>
<mime-type>application/vnd.rim.cod</mime-type>
</mime-mapping>
<mime-mapping>
<extension>com</extension>
<mime-type>application/x-msdownload</mime-type>
</mime-mapping>
<mime-mapping>
<extension>conf</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cpio</extension>
<mime-type>application/x-cpio</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cpp</extension>
<mime-type>text/x-c</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cpt</extension>
<mime-type>application/mac-compactpro</mime-type>
</mime-mapping>
<mime-mapping>
<extension>crd</extension>
<mime-type>application/x-mscardfile</mime-type>
</mime-mapping>
<mime-mapping>
<extension>crl</extension>
<mime-type>application/pkix-crl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>crt</extension>
<mime-type>application/x-x509-ca-cert</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cryptonote</extension>
<mime-type>application/vnd.rig.cryptonote</mime-type>
</mime-mapping>
<mime-mapping>
<extension>csh</extension>
<mime-type>application/x-csh</mime-type>
</mime-mapping>
<mime-mapping>
<extension>csml</extension>
<mime-type>chemical/x-csml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>csp</extension>
<mime-type>application/vnd.commonspace</mime-type>
</mime-mapping>
<mime-mapping>
<extension>css</extension>
<mime-type>text/css</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cst</extension>
<mime-type>application/x-director</mime-type>
</mime-mapping>
<mime-mapping>
<extension>csv</extension>
<mime-type>text/csv</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cu</extension>
<mime-type>application/cu-seeme</mime-type>
</mime-mapping>
<mime-mapping>
<extension>curl</extension>
<mime-type>text/vnd.curl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cww</extension>
<mime-type>application/prs.cww</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cxt</extension>
<mime-type>application/x-director</mime-type>
</mime-mapping>
<mime-mapping>
<extension>cxx</extension>
<mime-type>text/x-c</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dae</extension>
<mime-type>model/vnd.collada+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>daf</extension>
<mime-type>application/vnd.mobius.daf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dataless</extension>
<mime-type>application/vnd.fdsn.seed</mime-type>
</mime-mapping>
<mime-mapping>
<extension>davmount</extension>
<mime-type>application/davmount+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dcr</extension>
<mime-type>application/x-director</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dcurl</extension>
<mime-type>text/vnd.curl.dcurl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dd2</extension>
<mime-type>application/vnd.oma.dd2+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ddd</extension>
<mime-type>application/vnd.fujixerox.ddd</mime-type>
</mime-mapping>
<mime-mapping>
<extension>deb</extension>
<mime-type>application/x-debian-package</mime-type>
</mime-mapping>
<mime-mapping>
<extension>def</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<mime-mapping>
<extension>deploy</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
<mime-mapping>
<extension>der</extension>
<mime-type>application/x-x509-ca-cert</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dfac</extension>
<mime-type>application/vnd.dreamfactory</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dib</extension>
<mime-type>image/bmp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dic</extension>
<mime-type>text/x-c</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dir</extension>
<mime-type>application/x-director</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dis</extension>
<mime-type>application/vnd.mobius.dis</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dist</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
<mime-mapping>
<extension>distz</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
<mime-mapping>
<extension>djv</extension>
<mime-type>image/vnd.djvu</mime-type>
</mime-mapping>
<mime-mapping>
<extension>djvu</extension>
<mime-type>image/vnd.djvu</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dll</extension>
<mime-type>application/x-msdownload</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dmg</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dms</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dna</extension>
<mime-type>application/vnd.dna</mime-type>
</mime-mapping>
<mime-mapping>
<extension>doc</extension>
<mime-type>application/msword</mime-type>
</mime-mapping>
<mime-mapping>
<extension>docm</extension>
<mime-type>application/vnd.ms-word.document.macroenabled.12</mime-type>
</mime-mapping>
<mime-mapping>
<extension>docx</extension>
<mime-type>application/vnd.openxmlformats-officedocument.wordprocessingml.document</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dot</extension>
<mime-type>application/msword</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dotm</extension>
<mime-type>application/vnd.ms-word.template.macroenabled.12</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dotx</extension>
<mime-type>application/vnd.openxmlformats-officedocument.wordprocessingml.template</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dp</extension>
<mime-type>application/vnd.osgi.dp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dpg</extension>
<mime-type>application/vnd.dpgraph</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dra</extension>
<mime-type>audio/vnd.dra</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dsc</extension>
<mime-type>text/prs.lines.tag</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dssc</extension>
<mime-type>application/dssc+der</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dtb</extension>
<mime-type>application/x-dtbook+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dtd</extension>
<mime-type>application/xml-dtd</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dts</extension>
<mime-type>audio/vnd.dts</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dtshd</extension>
<mime-type>audio/vnd.dts.hd</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dump</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dv</extension>
<mime-type>video/x-dv</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dvi</extension>
<mime-type>application/x-dvi</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dwf</extension>
<mime-type>model/vnd.dwf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dwg</extension>
<mime-type>image/vnd.dwg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dxf</extension>
<mime-type>image/vnd.dxf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dxp</extension>
<mime-type>application/vnd.spotfire.dxp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>dxr</extension>
<mime-type>application/x-director</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ecelp4800</extension>
<mime-type>audio/vnd.nuera.ecelp4800</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ecelp7470</extension>
<mime-type>audio/vnd.nuera.ecelp7470</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ecelp9600</extension>
<mime-type>audio/vnd.nuera.ecelp9600</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ecma</extension>
<mime-type>application/ecmascript</mime-type>
</mime-mapping>
<mime-mapping>
<extension>edm</extension>
<mime-type>application/vnd.novadigm.edm</mime-type>
</mime-mapping>
<mime-mapping>
<extension>edx</extension>
<mime-type>application/vnd.novadigm.edx</mime-type>
</mime-mapping>
<mime-mapping>
<extension>efif</extension>
<mime-type>application/vnd.picsel</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ei6</extension>
<mime-type>application/vnd.pg.osasli</mime-type>
</mime-mapping>
<mime-mapping>
<extension>elc</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
<mime-mapping>
<extension>eml</extension>
<mime-type>message/rfc822</mime-type>
</mime-mapping>
<mime-mapping>
<extension>emma</extension>
<mime-type>application/emma+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>eol</extension>
<mime-type>audio/vnd.digital-winds</mime-type>
</mime-mapping>
<mime-mapping>
<extension>eot</extension>
<mime-type>application/vnd.ms-fontobject</mime-type>
</mime-mapping>
<mime-mapping>
<extension>eps</extension>
<mime-type>application/postscript</mime-type>
</mime-mapping>
<mime-mapping>
<extension>epub</extension>
<mime-type>application/epub+zip</mime-type>
</mime-mapping>
<mime-mapping>
<extension>es3</extension>
<mime-type>application/vnd.eszigno3+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>esf</extension>
<mime-type>application/vnd.epson.esf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>et3</extension>
<mime-type>application/vnd.eszigno3+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>etx</extension>
<mime-type>text/x-setext</mime-type>
</mime-mapping>
<mime-mapping>
<extension>exe</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
<mime-mapping>
<extension>exi</extension>
<mime-type>application/exi</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ext</extension>
<mime-type>application/vnd.novadigm.ext</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ez</extension>
<mime-type>application/andrew-inset</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ez2</extension>
<mime-type>application/vnd.ezpix-album</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ez3</extension>
<mime-type>application/vnd.ezpix-package</mime-type>
</mime-mapping>
<mime-mapping>
<extension>f</extension>
<mime-type>text/x-fortran</mime-type>
</mime-mapping>
<mime-mapping>
<extension>f4v</extension>
<mime-type>video/x-f4v</mime-type>
</mime-mapping>
<mime-mapping>
<extension>f77</extension>
<mime-type>text/x-fortran</mime-type>
</mime-mapping>
<mime-mapping>
<extension>f90</extension>
<mime-type>text/x-fortran</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fbs</extension>
<mime-type>image/vnd.fastbidsheet</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fcs</extension>
<mime-type>application/vnd.isac.fcs</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fdf</extension>
<mime-type>application/vnd.fdf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fe_launch</extension>
<mime-type>application/vnd.denovo.fcselayout-link</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fg5</extension>
<mime-type>application/vnd.fujitsu.oasysgp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fgd</extension>
<mime-type>application/x-director</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fh</extension>
<mime-type>image/x-freehand</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fh4</extension>
<mime-type>image/x-freehand</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fh5</extension>
<mime-type>image/x-freehand</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fh7</extension>
<mime-type>image/x-freehand</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fhc</extension>
<mime-type>image/x-freehand</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fig</extension>
<mime-type>application/x-xfig</mime-type>
</mime-mapping>
<mime-mapping>
<extension>flac</extension>
<mime-type>audio/flac</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fli</extension>
<mime-type>video/x-fli</mime-type>
</mime-mapping>
<mime-mapping>
<extension>flo</extension>
<mime-type>application/vnd.micrografx.flo</mime-type>
</mime-mapping>
<mime-mapping>
<extension>flv</extension>
<mime-type>video/x-flv</mime-type>
</mime-mapping>
<mime-mapping>
<extension>flw</extension>
<mime-type>application/vnd.kde.kivio</mime-type>
</mime-mapping>
<mime-mapping>
<extension>flx</extension>
<mime-type>text/vnd.fmi.flexstor</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fly</extension>
<mime-type>text/vnd.fly</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fm</extension>
<mime-type>application/vnd.framemaker</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fnc</extension>
<mime-type>application/vnd.frogans.fnc</mime-type>
</mime-mapping>
<mime-mapping>
<extension>for</extension>
<mime-type>text/x-fortran</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fpx</extension>
<mime-type>image/vnd.fpx</mime-type>
</mime-mapping>
<mime-mapping>
<extension>frame</extension>
<mime-type>application/vnd.framemaker</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fsc</extension>
<mime-type>application/vnd.fsc.weblaunch</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fst</extension>
<mime-type>image/vnd.fst</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ftc</extension>
<mime-type>application/vnd.fluxtime.clip</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fti</extension>
<mime-type>application/vnd.anser-web-funds-transfer-initiation</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fvt</extension>
<mime-type>video/vnd.fvt</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fxp</extension>
<mime-type>application/vnd.adobe.fxp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fxpl</extension>
<mime-type>application/vnd.adobe.fxp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>fzs</extension>
<mime-type>application/vnd.fuzzysheet</mime-type>
</mime-mapping>
<mime-mapping>
<extension>g2w</extension>
<mime-type>application/vnd.geoplan</mime-type>
</mime-mapping>
<mime-mapping>
<extension>g3</extension>
<mime-type>image/g3fax</mime-type>
</mime-mapping>
<mime-mapping>
<extension>g3w</extension>
<mime-type>application/vnd.geospace</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gac</extension>
<mime-type>application/vnd.groove-account</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gdl</extension>
<mime-type>model/vnd.gdl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>geo</extension>
<mime-type>application/vnd.dynageo</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gex</extension>
<mime-type>application/vnd.geometry-explorer</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ggb</extension>
<mime-type>application/vnd.geogebra.file</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ggt</extension>
<mime-type>application/vnd.geogebra.tool</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ghf</extension>
<mime-type>application/vnd.groove-help</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gif</extension>
<mime-type>image/gif</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gim</extension>
<mime-type>application/vnd.groove-identity-message</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gmx</extension>
<mime-type>application/vnd.gmx</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gnumeric</extension>
<mime-type>application/x-gnumeric</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gph</extension>
<mime-type>application/vnd.flographit</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gqf</extension>
<mime-type>application/vnd.grafeq</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gqs</extension>
<mime-type>application/vnd.grafeq</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gram</extension>
<mime-type>application/srgs</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gre</extension>
<mime-type>application/vnd.geometry-explorer</mime-type>
</mime-mapping>
<mime-mapping>
<extension>grv</extension>
<mime-type>application/vnd.groove-injector</mime-type>
</mime-mapping>
<mime-mapping>
<extension>grxml</extension>
<mime-type>application/srgs+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gsf</extension>
<mime-type>application/x-font-ghostscript</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gtar</extension>
<mime-type>application/x-gtar</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gtm</extension>
<mime-type>application/vnd.groove-tool-message</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gtw</extension>
<mime-type>model/vnd.gtw</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gv</extension>
<mime-type>text/vnd.graphviz</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gxt</extension>
<mime-type>application/vnd.geonext</mime-type>
</mime-mapping>
<mime-mapping>
<extension>gz</extension>
<mime-type>application/x-gzip</mime-type>
</mime-mapping>
<mime-mapping>
<extension>h</extension>
<mime-type>text/x-c</mime-type>
</mime-mapping>
<mime-mapping>
<extension>h261</extension>
<mime-type>video/h261</mime-type>
</mime-mapping>
<mime-mapping>
<extension>h263</extension>
<mime-type>video/h263</mime-type>
</mime-mapping>
<mime-mapping>
<extension>h264</extension>
<mime-type>video/h264</mime-type>
</mime-mapping>
<mime-mapping>
<extension>hal</extension>
<mime-type>application/vnd.hal+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>hbci</extension>
<mime-type>application/vnd.hbci</mime-type>
</mime-mapping>
<mime-mapping>
<extension>hdf</extension>
<mime-type>application/x-hdf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>hh</extension>
<mime-type>text/x-c</mime-type>
</mime-mapping>
<mime-mapping>
<extension>hlp</extension>
<mime-type>application/winhlp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>hpgl</extension>
<mime-type>application/vnd.hp-hpgl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>hpid</extension>
<mime-type>application/vnd.hp-hpid</mime-type>
</mime-mapping>
<mime-mapping>
<extension>hps</extension>
<mime-type>application/vnd.hp-hps</mime-type>
</mime-mapping>
<mime-mapping>
<extension>hqx</extension>
<mime-type>application/mac-binhex40</mime-type>
</mime-mapping>
<mime-mapping>
<extension>htc</extension>
<mime-type>text/x-component</mime-type>
</mime-mapping>
<mime-mapping>
<extension>htke</extension>
<mime-type>application/vnd.kenameaapp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>htm</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>hvd</extension>
<mime-type>application/vnd.yamaha.hv-dic</mime-type>
</mime-mapping>
<mime-mapping>
<extension>hvp</extension>
<mime-type>application/vnd.yamaha.hv-voice</mime-type>
</mime-mapping>
<mime-mapping>
<extension>hvs</extension>
<mime-type>application/vnd.yamaha.hv-script</mime-type>
</mime-mapping>
<mime-mapping>
<extension>i2g</extension>
<mime-type>application/vnd.intergeo</mime-type>
</mime-mapping>
<mime-mapping>
<extension>icc</extension>
<mime-type>application/vnd.iccprofile</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ice</extension>
<mime-type>x-conference/x-cooltalk</mime-type>
</mime-mapping>
<mime-mapping>
<extension>icm</extension>
<mime-type>application/vnd.iccprofile</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ico</extension>
<mime-type>image/x-icon</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ics</extension>
<mime-type>text/calendar</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ief</extension>
<mime-type>image/ief</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ifb</extension>
<mime-type>text/calendar</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ifm</extension>
<mime-type>application/vnd.shana.informed.formdata</mime-type>
</mime-mapping>
<mime-mapping>
<extension>iges</extension>
<mime-type>model/iges</mime-type>
</mime-mapping>
<mime-mapping>
<extension>igl</extension>
<mime-type>application/vnd.igloader</mime-type>
</mime-mapping>
<mime-mapping>
<extension>igm</extension>
<mime-type>application/vnd.insors.igm</mime-type>
</mime-mapping>
<mime-mapping>
<extension>igs</extension>
<mime-type>model/iges</mime-type>
</mime-mapping>
<mime-mapping>
<extension>igx</extension>
<mime-type>application/vnd.micrografx.igx</mime-type>
</mime-mapping>
<mime-mapping>
<extension>iif</extension>
<mime-type>application/vnd.shana.informed.interchange</mime-type>
</mime-mapping>
<mime-mapping>
<extension>imp</extension>
<mime-type>application/vnd.accpac.simply.imp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ims</extension>
<mime-type>application/vnd.ms-ims</mime-type>
</mime-mapping>
<mime-mapping>
<extension>in</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ipfix</extension>
<mime-type>application/ipfix</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ipk</extension>
<mime-type>application/vnd.shana.informed.package</mime-type>
</mime-mapping>
<mime-mapping>
<extension>irm</extension>
<mime-type>application/vnd.ibm.rights-management</mime-type>
</mime-mapping>
<mime-mapping>
<extension>irp</extension>
<mime-type>application/vnd.irepository.package+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>iso</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
<mime-mapping>
<extension>itp</extension>
<mime-type>application/vnd.shana.informed.formtemplate</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ivp</extension>
<mime-type>application/vnd.immervision-ivp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ivu</extension>
<mime-type>application/vnd.immervision-ivu</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jad</extension>
<mime-type>text/vnd.sun.j2me.app-descriptor</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jam</extension>
<mime-type>application/vnd.jam</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jar</extension>
<mime-type>application/java-archive</mime-type>
</mime-mapping>
<mime-mapping>
<extension>java</extension>
<mime-type>text/x-java-source</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jisp</extension>
<mime-type>application/vnd.jisp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jlt</extension>
<mime-type>application/vnd.hp-jlyt</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jnlp</extension>
<mime-type>application/x-java-jnlp-file</mime-type>
</mime-mapping>
<mime-mapping>
<extension>joda</extension>
<mime-type>application/vnd.joost.joda-archive</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jpe</extension>
<mime-type>image/jpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jpeg</extension>
<mime-type>image/jpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jpg</extension>
<mime-type>image/jpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jpgm</extension>
<mime-type>video/jpm</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jpgv</extension>
<mime-type>video/jpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jpm</extension>
<mime-type>video/jpm</mime-type>
</mime-mapping>
<mime-mapping>
<extension>js</extension>
<mime-type>application/javascript</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jsf</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<mime-mapping>
<extension>json</extension>
<mime-type>application/json</mime-type>
</mime-mapping>
<mime-mapping>
<extension>jspf</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<mime-mapping>
<extension>kar</extension>
<mime-type>audio/midi</mime-type>
</mime-mapping>
<mime-mapping>
<extension>karbon</extension>
<mime-type>application/vnd.kde.karbon</mime-type>
</mime-mapping>
<mime-mapping>
<extension>kfo</extension>
<mime-type>application/vnd.kde.kformula</mime-type>
</mime-mapping>
<mime-mapping>
<extension>kia</extension>
<mime-type>application/vnd.kidspiration</mime-type>
</mime-mapping>
<mime-mapping>
<extension>kml</extension>
<mime-type>application/vnd.google-earth.kml+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>kmz</extension>
<mime-type>application/vnd.google-earth.kmz</mime-type>
</mime-mapping>
<mime-mapping>
<extension>kne</extension>
<mime-type>application/vnd.kinar</mime-type>
</mime-mapping>
<mime-mapping>
<extension>knp</extension>
<mime-type>application/vnd.kinar</mime-type>
</mime-mapping>
<mime-mapping>
<extension>kon</extension>
<mime-type>application/vnd.kde.kontour</mime-type>
</mime-mapping>
<mime-mapping>
<extension>kpr</extension>
<mime-type>application/vnd.kde.kpresenter</mime-type>
</mime-mapping>
<mime-mapping>
<extension>kpt</extension>
<mime-type>application/vnd.kde.kpresenter</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ksp</extension>
<mime-type>application/vnd.kde.kspread</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ktr</extension>
<mime-type>application/vnd.kahootz</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ktx</extension>
<mime-type>image/ktx</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ktz</extension>
<mime-type>application/vnd.kahootz</mime-type>
</mime-mapping>
<mime-mapping>
<extension>kwd</extension>
<mime-type>application/vnd.kde.kword</mime-type>
</mime-mapping>
<mime-mapping>
<extension>kwt</extension>
<mime-type>application/vnd.kde.kword</mime-type>
</mime-mapping>
<mime-mapping>
<extension>lasxml</extension>
<mime-type>application/vnd.las.las+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>latex</extension>
<mime-type>application/x-latex</mime-type>
</mime-mapping>
<mime-mapping>
<extension>lbd</extension>
<mime-type>application/vnd.llamagraphics.life-balance.desktop</mime-type>
</mime-mapping>
<mime-mapping>
<extension>lbe</extension>
<mime-type>application/vnd.llamagraphics.life-balance.exchange+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>les</extension>
<mime-type>application/vnd.hhe.lesson-player</mime-type>
</mime-mapping>
<mime-mapping>
<extension>lha</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
<mime-mapping>
<extension>link66</extension>
<mime-type>application/vnd.route66.link66+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>list</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<mime-mapping>
<extension>list3820</extension>
<mime-type>application/vnd.ibm.modcap</mime-type>
</mime-mapping>
<mime-mapping>
<extension>listafp</extension>
<mime-type>application/vnd.ibm.modcap</mime-type>
</mime-mapping>
<mime-mapping>
<extension>log</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<mime-mapping>
<extension>lostxml</extension>
<mime-type>application/lost+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>lrf</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
<mime-mapping>
<extension>lrm</extension>
<mime-type>application/vnd.ms-lrm</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ltf</extension>
<mime-type>application/vnd.frogans.ltf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>lvp</extension>
<mime-type>audio/vnd.lucent.voice</mime-type>
</mime-mapping>
<mime-mapping>
<extension>lwp</extension>
<mime-type>application/vnd.lotus-wordpro</mime-type>
</mime-mapping>
<mime-mapping>
<extension>lzh</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
<mime-mapping>
<extension>m13</extension>
<mime-type>application/x-msmediaview</mime-type>
</mime-mapping>
<mime-mapping>
<extension>m14</extension>
<mime-type>application/x-msmediaview</mime-type>
</mime-mapping>
<mime-mapping>
<extension>m1v</extension>
<mime-type>video/mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>m21</extension>
<mime-type>application/mp21</mime-type>
</mime-mapping>
<mime-mapping>
<extension>m2a</extension>
<mime-type>audio/mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>m2v</extension>
<mime-type>video/mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>m3a</extension>
<mime-type>audio/mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>m3u</extension>
<mime-type>audio/x-mpegurl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>m3u8</extension>
<mime-type>application/vnd.apple.mpegurl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>m4a</extension>
<mime-type>audio/mp4</mime-type>
</mime-mapping>
<mime-mapping>
<extension>m4b</extension>
<mime-type>audio/mp4</mime-type>
</mime-mapping>
<mime-mapping>
<extension>m4r</extension>
<mime-type>audio/mp4</mime-type>
</mime-mapping>
<mime-mapping>
<extension>m4u</extension>
<mime-type>video/vnd.mpegurl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>m4v</extension>
<mime-type>video/mp4</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ma</extension>
<mime-type>application/mathematica</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mac</extension>
<mime-type>image/x-macpaint</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mads</extension>
<mime-type>application/mads+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mag</extension>
<mime-type>application/vnd.ecowin.chart</mime-type>
</mime-mapping>
<mime-mapping>
<extension>maker</extension>
<mime-type>application/vnd.framemaker</mime-type>
</mime-mapping>
<mime-mapping>
<extension>man</extension>
<mime-type>text/troff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mathml</extension>
<mime-type>application/mathml+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mb</extension>
<mime-type>application/mathematica</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mbk</extension>
<mime-type>application/vnd.mobius.mbk</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mbox</extension>
<mime-type>application/mbox</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mc1</extension>
<mime-type>application/vnd.medcalcdata</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mcd</extension>
<mime-type>application/vnd.mcd</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mcurl</extension>
<mime-type>text/vnd.curl.mcurl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mdb</extension>
<mime-type>application/x-msaccess</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mdi</extension>
<mime-type>image/vnd.ms-modi</mime-type>
</mime-mapping>
<mime-mapping>
<extension>me</extension>
<mime-type>text/troff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mesh</extension>
<mime-type>model/mesh</mime-type>
</mime-mapping>
<mime-mapping>
<extension>meta4</extension>
<mime-type>application/metalink4+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mets</extension>
<mime-type>application/mets+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mfm</extension>
<mime-type>application/vnd.mfmp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mgp</extension>
<mime-type>application/vnd.osgeo.mapguide.package</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mgz</extension>
<mime-type>application/vnd.proteus.magazine</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mid</extension>
<mime-type>audio/midi</mime-type>
</mime-mapping>
<mime-mapping>
<extension>midi</extension>
<mime-type>audio/midi</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mif</extension>
<mime-type>application/x-mif</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mime</extension>
<mime-type>message/rfc822</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mj2</extension>
<mime-type>video/mj2</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mjp2</extension>
<mime-type>video/mj2</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mlp</extension>
<mime-type>application/vnd.dolby.mlp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mmd</extension>
<mime-type>application/vnd.chipnuts.karaoke-mmd</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mmf</extension>
<mime-type>application/vnd.smaf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mmr</extension>
<mime-type>image/vnd.fujixerox.edmics-mmr</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mny</extension>
<mime-type>application/x-msmoney</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mobi</extension>
<mime-type>application/x-mobipocket-ebook</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mods</extension>
<mime-type>application/mods+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mov</extension>
<mime-type>video/quicktime</mime-type>
</mime-mapping>
<mime-mapping>
<extension>movie</extension>
<mime-type>video/x-sgi-movie</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mp1</extension>
<mime-type>audio/mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mp2</extension>
<mime-type>audio/mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mp21</extension>
<mime-type>application/mp21</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mp2a</extension>
<mime-type>audio/mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mp3</extension>
<mime-type>audio/mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mp4</extension>
<mime-type>video/mp4</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mp4a</extension>
<mime-type>audio/mp4</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mp4s</extension>
<mime-type>application/mp4</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mp4v</extension>
<mime-type>video/mp4</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpa</extension>
<mime-type>audio/mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpc</extension>
<mime-type>application/vnd.mophun.certificate</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpe</extension>
<mime-type>video/mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpeg</extension>
<mime-type>video/mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpega</extension>
<mime-type>audio/x-mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpg</extension>
<mime-type>video/mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpg4</extension>
<mime-type>video/mp4</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpga</extension>
<mime-type>audio/mpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpkg</extension>
<mime-type>application/vnd.apple.installer+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpm</extension>
<mime-type>application/vnd.blueice.multipass</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpn</extension>
<mime-type>application/vnd.mophun.application</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpp</extension>
<mime-type>application/vnd.ms-project</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpt</extension>
<mime-type>application/vnd.ms-project</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpv2</extension>
<mime-type>video/mpeg2</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mpy</extension>
<mime-type>application/vnd.ibm.minipay</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mqy</extension>
<mime-type>application/vnd.mobius.mqy</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mrc</extension>
<mime-type>application/marc</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mrcx</extension>
<mime-type>application/marcxml+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ms</extension>
<mime-type>text/troff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mscml</extension>
<mime-type>application/mediaservercontrol+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mseed</extension>
<mime-type>application/vnd.fdsn.mseed</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mseq</extension>
<mime-type>application/vnd.mseq</mime-type>
</mime-mapping>
<mime-mapping>
<extension>msf</extension>
<mime-type>application/vnd.epson.msf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>msh</extension>
<mime-type>model/mesh</mime-type>
</mime-mapping>
<mime-mapping>
<extension>msi</extension>
<mime-type>application/x-msdownload</mime-type>
</mime-mapping>
<mime-mapping>
<extension>msl</extension>
<mime-type>application/vnd.mobius.msl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>msty</extension>
<mime-type>application/vnd.muvee.style</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mts</extension>
<mime-type>model/vnd.mts</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mus</extension>
<mime-type>application/vnd.musician</mime-type>
</mime-mapping>
<mime-mapping>
<extension>musicxml</extension>
<mime-type>application/vnd.recordare.musicxml+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mvb</extension>
<mime-type>application/x-msmediaview</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mwf</extension>
<mime-type>application/vnd.mfer</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mxf</extension>
<mime-type>application/mxf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mxl</extension>
<mime-type>application/vnd.recordare.musicxml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mxml</extension>
<mime-type>application/xv+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mxs</extension>
<mime-type>application/vnd.triscape.mxs</mime-type>
</mime-mapping>
<mime-mapping>
<extension>mxu</extension>
<mime-type>video/vnd.mpegurl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>n-gage</extension>
<mime-type>application/vnd.nokia.n-gage.symbian.install</mime-type>
</mime-mapping>
<mime-mapping>
<extension>n3</extension>
<mime-type>text/n3</mime-type>
</mime-mapping>
<mime-mapping>
<extension>nb</extension>
<mime-type>application/mathematica</mime-type>
</mime-mapping>
<mime-mapping>
<extension>nbp</extension>
<mime-type>application/vnd.wolfram.player</mime-type>
</mime-mapping>
<mime-mapping>
<extension>nc</extension>
<mime-type>application/x-netcdf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ncx</extension>
<mime-type>application/x-dtbncx+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ngdat</extension>
<mime-type>application/vnd.nokia.n-gage.data</mime-type>
</mime-mapping>
<mime-mapping>
<extension>nlu</extension>
<mime-type>application/vnd.neurolanguage.nlu</mime-type>
</mime-mapping>
<mime-mapping>
<extension>nml</extension>
<mime-type>application/vnd.enliven</mime-type>
</mime-mapping>
<mime-mapping>
<extension>nnd</extension>
<mime-type>application/vnd.noblenet-directory</mime-type>
</mime-mapping>
<mime-mapping>
<extension>nns</extension>
<mime-type>application/vnd.noblenet-sealer</mime-type>
</mime-mapping>
<mime-mapping>
<extension>nnw</extension>
<mime-type>application/vnd.noblenet-web</mime-type>
</mime-mapping>
<mime-mapping>
<extension>npx</extension>
<mime-type>image/vnd.net-fpx</mime-type>
</mime-mapping>
<mime-mapping>
<extension>nsf</extension>
<mime-type>application/vnd.lotus-notes</mime-type>
</mime-mapping>
<mime-mapping>
<extension>oa2</extension>
<mime-type>application/vnd.fujitsu.oasys2</mime-type>
</mime-mapping>
<mime-mapping>
<extension>oa3</extension>
<mime-type>application/vnd.fujitsu.oasys3</mime-type>
</mime-mapping>
<mime-mapping>
<extension>oas</extension>
<mime-type>application/vnd.fujitsu.oasys</mime-type>
</mime-mapping>
<mime-mapping>
<extension>obd</extension>
<mime-type>application/x-msbinder</mime-type>
</mime-mapping>
<mime-mapping>
<extension>oda</extension>
<mime-type>application/oda</mime-type>
</mime-mapping>
<mime-mapping>
<!-- OpenDocument Database -->
<extension>odb</extension>
<mime-type>application/vnd.oasis.opendocument.database</mime-type>
</mime-mapping>
<mime-mapping>
<!-- OpenDocument Chart -->
<extension>odc</extension>
<mime-type>application/vnd.oasis.opendocument.chart</mime-type>
</mime-mapping>
<mime-mapping>
<!-- OpenDocument Formula -->
<extension>odf</extension>
<mime-type>application/vnd.oasis.opendocument.formula</mime-type>
</mime-mapping>
<mime-mapping>
<extension>odft</extension>
<mime-type>application/vnd.oasis.opendocument.formula-template</mime-type>
</mime-mapping>
<mime-mapping>
<!-- OpenDocument Drawing -->
<extension>odg</extension>
<mime-type>application/vnd.oasis.opendocument.graphics</mime-type>
</mime-mapping>
<mime-mapping>
<!-- OpenDocument Image -->
<extension>odi</extension>
<mime-type>application/vnd.oasis.opendocument.image</mime-type>
</mime-mapping>
<mime-mapping>
<!-- OpenDocument Master Document -->
<extension>odm</extension>
<mime-type>application/vnd.oasis.opendocument.text-master</mime-type>
</mime-mapping>
<mime-mapping>
<!-- OpenDocument Presentation -->
<extension>odp</extension>
<mime-type>application/vnd.oasis.opendocument.presentation</mime-type>
</mime-mapping>
<mime-mapping>
<!-- OpenDocument Spreadsheet -->
<extension>ods</extension>
<mime-type>application/vnd.oasis.opendocument.spreadsheet</mime-type>
</mime-mapping>
<mime-mapping>
<!-- OpenDocument Text -->
<extension>odt</extension>
<mime-type>application/vnd.oasis.opendocument.text</mime-type>
</mime-mapping>
<mime-mapping>
<extension>oga</extension>
<mime-type>audio/ogg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ogg</extension>
<mime-type>audio/ogg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ogv</extension>
<mime-type>video/ogg</mime-type>
</mime-mapping>
<mime-mapping>
<!-- xiph mime types -->
<extension>ogx</extension>
<mime-type>application/ogg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>onepkg</extension>
<mime-type>application/onenote</mime-type>
</mime-mapping>
<mime-mapping>
<extension>onetmp</extension>
<mime-type>application/onenote</mime-type>
</mime-mapping>
<mime-mapping>
<extension>onetoc</extension>
<mime-type>application/onenote</mime-type>
</mime-mapping>
<mime-mapping>
<extension>onetoc2</extension>
<mime-type>application/onenote</mime-type>
</mime-mapping>
<mime-mapping>
<extension>opf</extension>
<mime-type>application/oebps-package+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>oprc</extension>
<mime-type>application/vnd.palm</mime-type>
</mime-mapping>
<mime-mapping>
<extension>org</extension>
<mime-type>application/vnd.lotus-organizer</mime-type>
</mime-mapping>
<mime-mapping>
<extension>osf</extension>
<mime-type>application/vnd.yamaha.openscoreformat</mime-type>
</mime-mapping>
<mime-mapping>
<extension>osfpvg</extension>
<mime-type>application/vnd.yamaha.openscoreformat.osfpvg+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>otc</extension>
<mime-type>application/vnd.oasis.opendocument.chart-template</mime-type>
</mime-mapping>
<mime-mapping>
<extension>otf</extension>
<mime-type>application/x-font-otf</mime-type>
</mime-mapping>
<mime-mapping>
<!-- OpenDocument Drawing Template -->
<extension>otg</extension>
<mime-type>application/vnd.oasis.opendocument.graphics-template</mime-type>
</mime-mapping>
<mime-mapping>
<!-- HTML Document Template -->
<extension>oth</extension>
<mime-type>application/vnd.oasis.opendocument.text-web</mime-type>
</mime-mapping>
<mime-mapping>
<extension>oti</extension>
<mime-type>application/vnd.oasis.opendocument.image-template</mime-type>
</mime-mapping>
<mime-mapping>
<!-- OpenDocument Presentation Template -->
<extension>otp</extension>
<mime-type>application/vnd.oasis.opendocument.presentation-template</mime-type>
</mime-mapping>
<mime-mapping>
<!-- OpenDocument Spreadsheet Template -->
<extension>ots</extension>
<mime-type>application/vnd.oasis.opendocument.spreadsheet-template</mime-type>
</mime-mapping>
<mime-mapping>
<!-- OpenDocument Text Template -->
<extension>ott</extension>
<mime-type>application/vnd.oasis.opendocument.text-template</mime-type>
</mime-mapping>
<mime-mapping>
<extension>oxt</extension>
<mime-type>application/vnd.openofficeorg.extension</mime-type>
</mime-mapping>
<mime-mapping>
<extension>p</extension>
<mime-type>text/x-pascal</mime-type>
</mime-mapping>
<mime-mapping>
<extension>p10</extension>
<mime-type>application/pkcs10</mime-type>
</mime-mapping>
<mime-mapping>
<extension>p12</extension>
<mime-type>application/x-pkcs12</mime-type>
</mime-mapping>
<mime-mapping>
<extension>p7b</extension>
<mime-type>application/x-pkcs7-certificates</mime-type>
</mime-mapping>
<mime-mapping>
<extension>p7c</extension>
<mime-type>application/pkcs7-mime</mime-type>
</mime-mapping>
<mime-mapping>
<extension>p7m</extension>
<mime-type>application/pkcs7-mime</mime-type>
</mime-mapping>
<mime-mapping>
<extension>p7r</extension>
<mime-type>application/x-pkcs7-certreqresp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>p7s</extension>
<mime-type>application/pkcs7-signature</mime-type>
</mime-mapping>
<mime-mapping>
<extension>p8</extension>
<mime-type>application/pkcs8</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pas</extension>
<mime-type>text/x-pascal</mime-type>
</mime-mapping>
<mime-mapping>
<extension>paw</extension>
<mime-type>application/vnd.pawaafile</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pbd</extension>
<mime-type>application/vnd.powerbuilder6</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pbm</extension>
<mime-type>image/x-portable-bitmap</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pcf</extension>
<mime-type>application/x-font-pcf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pcl</extension>
<mime-type>application/vnd.hp-pcl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pclxl</extension>
<mime-type>application/vnd.hp-pclxl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pct</extension>
<mime-type>image/pict</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pcurl</extension>
<mime-type>application/vnd.curl.pcurl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pcx</extension>
<mime-type>image/x-pcx</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pdb</extension>
<mime-type>application/vnd.palm</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pdf</extension>
<mime-type>application/pdf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pfa</extension>
<mime-type>application/x-font-type1</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pfb</extension>
<mime-type>application/x-font-type1</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pfm</extension>
<mime-type>application/x-font-type1</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pfr</extension>
<mime-type>application/font-tdpfr</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pfx</extension>
<mime-type>application/x-pkcs12</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pgm</extension>
<mime-type>image/x-portable-graymap</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pgn</extension>
<mime-type>application/x-chess-pgn</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pgp</extension>
<mime-type>application/pgp-encrypted</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pic</extension>
<mime-type>image/pict</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pict</extension>
<mime-type>image/pict</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pkg</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pki</extension>
<mime-type>application/pkixcmp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pkipath</extension>
<mime-type>application/pkix-pkipath</mime-type>
</mime-mapping>
<mime-mapping>
<extension>plb</extension>
<mime-type>application/vnd.3gpp.pic-bw-large</mime-type>
</mime-mapping>
<mime-mapping>
<extension>plc</extension>
<mime-type>application/vnd.mobius.plc</mime-type>
</mime-mapping>
<mime-mapping>
<extension>plf</extension>
<mime-type>application/vnd.pocketlearn</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pls</extension>
<mime-type>audio/x-scpls</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pml</extension>
<mime-type>application/vnd.ctc-posml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>png</extension>
<mime-type>image/png</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pnm</extension>
<mime-type>image/x-portable-anymap</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pnt</extension>
<mime-type>image/x-macpaint</mime-type>
</mime-mapping>
<mime-mapping>
<extension>portpkg</extension>
<mime-type>application/vnd.macports.portpkg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pot</extension>
<mime-type>application/vnd.ms-powerpoint</mime-type>
</mime-mapping>
<mime-mapping>
<extension>potm</extension>
<mime-type>application/vnd.ms-powerpoint.template.macroenabled.12</mime-type>
</mime-mapping>
<mime-mapping>
<extension>potx</extension>
<mime-type>application/vnd.openxmlformats-officedocument.presentationml.template</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ppam</extension>
<mime-type>application/vnd.ms-powerpoint.addin.macroenabled.12</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ppd</extension>
<mime-type>application/vnd.cups-ppd</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ppm</extension>
<mime-type>image/x-portable-pixmap</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pps</extension>
<mime-type>application/vnd.ms-powerpoint</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ppsm</extension>
<mime-type>application/vnd.ms-powerpoint.slideshow.macroenabled.12</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ppsx</extension>
<mime-type>application/vnd.openxmlformats-officedocument.presentationml.slideshow</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ppt</extension>
<mime-type>application/vnd.ms-powerpoint</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pptm</extension>
<mime-type>application/vnd.ms-powerpoint.presentation.macroenabled.12</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pptx</extension>
<mime-type>application/vnd.openxmlformats-officedocument.presentationml.presentation</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pqa</extension>
<mime-type>application/vnd.palm</mime-type>
</mime-mapping>
<mime-mapping>
<extension>prc</extension>
<mime-type>application/x-mobipocket-ebook</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pre</extension>
<mime-type>application/vnd.lotus-freelance</mime-type>
</mime-mapping>
<mime-mapping>
<extension>prf</extension>
<mime-type>application/pics-rules</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ps</extension>
<mime-type>application/postscript</mime-type>
</mime-mapping>
<mime-mapping>
<extension>psb</extension>
<mime-type>application/vnd.3gpp.pic-bw-small</mime-type>
</mime-mapping>
<mime-mapping>
<extension>psd</extension>
<mime-type>image/vnd.adobe.photoshop</mime-type>
</mime-mapping>
<mime-mapping>
<extension>psf</extension>
<mime-type>application/x-font-linux-psf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pskcxml</extension>
<mime-type>application/pskc+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ptid</extension>
<mime-type>application/vnd.pvi.ptid1</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pub</extension>
<mime-type>application/x-mspublisher</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pvb</extension>
<mime-type>application/vnd.3gpp.pic-bw-var</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pwn</extension>
<mime-type>application/vnd.3m.post-it-notes</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pya</extension>
<mime-type>audio/vnd.ms-playready.media.pya</mime-type>
</mime-mapping>
<mime-mapping>
<extension>pyv</extension>
<mime-type>video/vnd.ms-playready.media.pyv</mime-type>
</mime-mapping>
<mime-mapping>
<extension>qam</extension>
<mime-type>application/vnd.epson.quickanime</mime-type>
</mime-mapping>
<mime-mapping>
<extension>qbo</extension>
<mime-type>application/vnd.intu.qbo</mime-type>
</mime-mapping>
<mime-mapping>
<extension>qfx</extension>
<mime-type>application/vnd.intu.qfx</mime-type>
</mime-mapping>
<mime-mapping>
<extension>qps</extension>
<mime-type>application/vnd.publishare-delta-tree</mime-type>
</mime-mapping>
<mime-mapping>
<extension>qt</extension>
<mime-type>video/quicktime</mime-type>
</mime-mapping>
<mime-mapping>
<extension>qti</extension>
<mime-type>image/x-quicktime</mime-type>
</mime-mapping>
<mime-mapping>
<extension>qtif</extension>
<mime-type>image/x-quicktime</mime-type>
</mime-mapping>
<mime-mapping>
<extension>qwd</extension>
<mime-type>application/vnd.quark.quarkxpress</mime-type>
</mime-mapping>
<mime-mapping>
<extension>qwt</extension>
<mime-type>application/vnd.quark.quarkxpress</mime-type>
</mime-mapping>
<mime-mapping>
<extension>qxb</extension>
<mime-type>application/vnd.quark.quarkxpress</mime-type>
</mime-mapping>
<mime-mapping>
<extension>qxd</extension>
<mime-type>application/vnd.quark.quarkxpress</mime-type>
</mime-mapping>
<mime-mapping>
<extension>qxl</extension>
<mime-type>application/vnd.quark.quarkxpress</mime-type>
</mime-mapping>
<mime-mapping>
<extension>qxt</extension>
<mime-type>application/vnd.quark.quarkxpress</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ra</extension>
<mime-type>audio/x-pn-realaudio</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ram</extension>
<mime-type>audio/x-pn-realaudio</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rar</extension>
<mime-type>application/x-rar-compressed</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ras</extension>
<mime-type>image/x-cmu-raster</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rcprofile</extension>
<mime-type>application/vnd.ipunplugged.rcprofile</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rdf</extension>
<mime-type>application/rdf+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rdz</extension>
<mime-type>application/vnd.data-vision.rdz</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rep</extension>
<mime-type>application/vnd.businessobjects</mime-type>
</mime-mapping>
<mime-mapping>
<extension>res</extension>
<mime-type>application/x-dtbresource+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rgb</extension>
<mime-type>image/x-rgb</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rif</extension>
<mime-type>application/reginfo+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rip</extension>
<mime-type>audio/vnd.rip</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rl</extension>
<mime-type>application/resource-lists+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rlc</extension>
<mime-type>image/vnd.fujixerox.edmics-rlc</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rld</extension>
<mime-type>application/resource-lists-diff+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rm</extension>
<mime-type>application/vnd.rn-realmedia</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rmi</extension>
<mime-type>audio/midi</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rmp</extension>
<mime-type>audio/x-pn-realaudio-plugin</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rms</extension>
<mime-type>application/vnd.jcp.javame.midlet-rms</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rnc</extension>
<mime-type>application/relax-ng-compact-syntax</mime-type>
</mime-mapping>
<mime-mapping>
<extension>roff</extension>
<mime-type>text/troff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rp9</extension>
<mime-type>application/vnd.cloanto.rp9</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rpss</extension>
<mime-type>application/vnd.nokia.radio-presets</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rpst</extension>
<mime-type>application/vnd.nokia.radio-preset</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rq</extension>
<mime-type>application/sparql-query</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rs</extension>
<mime-type>application/rls-services+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rsd</extension>
<mime-type>application/rsd+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rss</extension>
<mime-type>application/rss+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rtf</extension>
<mime-type>application/rtf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>rtx</extension>
<mime-type>text/richtext</mime-type>
</mime-mapping>
<mime-mapping>
<extension>s</extension>
<mime-type>text/x-asm</mime-type>
</mime-mapping>
<mime-mapping>
<extension>saf</extension>
<mime-type>application/vnd.yamaha.smaf-audio</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sbml</extension>
<mime-type>application/sbml+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sc</extension>
<mime-type>application/vnd.ibm.secure-container</mime-type>
</mime-mapping>
<mime-mapping>
<extension>scd</extension>
<mime-type>application/x-msschedule</mime-type>
</mime-mapping>
<mime-mapping>
<extension>scm</extension>
<mime-type>application/vnd.lotus-screencam</mime-type>
</mime-mapping>
<mime-mapping>
<extension>scq</extension>
<mime-type>application/scvp-cv-request</mime-type>
</mime-mapping>
<mime-mapping>
<extension>scs</extension>
<mime-type>application/scvp-cv-response</mime-type>
</mime-mapping>
<mime-mapping>
<extension>scurl</extension>
<mime-type>text/vnd.curl.scurl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sda</extension>
<mime-type>application/vnd.stardivision.draw</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sdc</extension>
<mime-type>application/vnd.stardivision.calc</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sdd</extension>
<mime-type>application/vnd.stardivision.impress</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sdkd</extension>
<mime-type>application/vnd.solent.sdkm+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sdkm</extension>
<mime-type>application/vnd.solent.sdkm+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sdp</extension>
<mime-type>application/sdp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sdw</extension>
<mime-type>application/vnd.stardivision.writer</mime-type>
</mime-mapping>
<mime-mapping>
<extension>see</extension>
<mime-type>application/vnd.seemail</mime-type>
</mime-mapping>
<mime-mapping>
<extension>seed</extension>
<mime-type>application/vnd.fdsn.seed</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sema</extension>
<mime-type>application/vnd.sema</mime-type>
</mime-mapping>
<mime-mapping>
<extension>semd</extension>
<mime-type>application/vnd.semd</mime-type>
</mime-mapping>
<mime-mapping>
<extension>semf</extension>
<mime-type>application/vnd.semf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ser</extension>
<mime-type>application/java-serialized-object</mime-type>
</mime-mapping>
<mime-mapping>
<extension>setpay</extension>
<mime-type>application/set-payment-initiation</mime-type>
</mime-mapping>
<mime-mapping>
<extension>setreg</extension>
<mime-type>application/set-registration-initiation</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sfd-hdstx</extension>
<mime-type>application/vnd.hydrostatix.sof-data</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sfs</extension>
<mime-type>application/vnd.spotfire.sfs</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sgl</extension>
<mime-type>application/vnd.stardivision.writer-global</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sgm</extension>
<mime-type>text/sgml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sgml</extension>
<mime-type>text/sgml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sh</extension>
<mime-type>application/x-sh</mime-type>
</mime-mapping>
<mime-mapping>
<extension>shar</extension>
<mime-type>application/x-shar</mime-type>
</mime-mapping>
<mime-mapping>
<extension>shf</extension>
<mime-type>application/shf+xml</mime-type>
</mime-mapping>
<!--
<mime-mapping>
<extension>shtml</extension>
<mime-type>text/x-server-parsed-html</mime-type>
</mime-mapping>
-->
<mime-mapping>
<extension>sig</extension>
<mime-type>application/pgp-signature</mime-type>
</mime-mapping>
<mime-mapping>
<extension>silo</extension>
<mime-type>model/mesh</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sis</extension>
<mime-type>application/vnd.symbian.install</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sisx</extension>
<mime-type>application/vnd.symbian.install</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sit</extension>
<mime-type>application/x-stuffit</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sitx</extension>
<mime-type>application/x-stuffitx</mime-type>
</mime-mapping>
<mime-mapping>
<extension>skd</extension>
<mime-type>application/vnd.koan</mime-type>
</mime-mapping>
<mime-mapping>
<extension>skm</extension>
<mime-type>application/vnd.koan</mime-type>
</mime-mapping>
<mime-mapping>
<extension>skp</extension>
<mime-type>application/vnd.koan</mime-type>
</mime-mapping>
<mime-mapping>
<extension>skt</extension>
<mime-type>application/vnd.koan</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sldm</extension>
<mime-type>application/vnd.ms-powerpoint.slide.macroenabled.12</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sldx</extension>
<mime-type>application/vnd.openxmlformats-officedocument.presentationml.slide</mime-type>
</mime-mapping>
<mime-mapping>
<extension>slt</extension>
<mime-type>application/vnd.epson.salt</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sm</extension>
<mime-type>application/vnd.stepmania.stepchart</mime-type>
</mime-mapping>
<mime-mapping>
<extension>smf</extension>
<mime-type>application/vnd.stardivision.math</mime-type>
</mime-mapping>
<mime-mapping>
<extension>smi</extension>
<mime-type>application/smil+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>smil</extension>
<mime-type>application/smil+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>snd</extension>
<mime-type>audio/basic</mime-type>
</mime-mapping>
<mime-mapping>
<extension>snf</extension>
<mime-type>application/x-font-snf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>so</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
<mime-mapping>
<extension>spc</extension>
<mime-type>application/x-pkcs7-certificates</mime-type>
</mime-mapping>
<mime-mapping>
<extension>spf</extension>
<mime-type>application/vnd.yamaha.smaf-phrase</mime-type>
</mime-mapping>
<mime-mapping>
<extension>spl</extension>
<mime-type>application/x-futuresplash</mime-type>
</mime-mapping>
<mime-mapping>
<extension>spot</extension>
<mime-type>text/vnd.in3d.spot</mime-type>
</mime-mapping>
<mime-mapping>
<extension>spp</extension>
<mime-type>application/scvp-vp-response</mime-type>
</mime-mapping>
<mime-mapping>
<extension>spq</extension>
<mime-type>application/scvp-vp-request</mime-type>
</mime-mapping>
<mime-mapping>
<extension>spx</extension>
<mime-type>audio/ogg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>src</extension>
<mime-type>application/x-wais-source</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sru</extension>
<mime-type>application/sru+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>srx</extension>
<mime-type>application/sparql-results+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sse</extension>
<mime-type>application/vnd.kodak-descriptor</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ssf</extension>
<mime-type>application/vnd.epson.ssf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ssml</extension>
<mime-type>application/ssml+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>st</extension>
<mime-type>application/vnd.sailingtracker.track</mime-type>
</mime-mapping>
<mime-mapping>
<extension>stc</extension>
<mime-type>application/vnd.sun.xml.calc.template</mime-type>
</mime-mapping>
<mime-mapping>
<extension>std</extension>
<mime-type>application/vnd.sun.xml.draw.template</mime-type>
</mime-mapping>
<mime-mapping>
<extension>stf</extension>
<mime-type>application/vnd.wt.stf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sti</extension>
<mime-type>application/vnd.sun.xml.impress.template</mime-type>
</mime-mapping>
<mime-mapping>
<extension>stk</extension>
<mime-type>application/hyperstudio</mime-type>
</mime-mapping>
<mime-mapping>
<extension>stl</extension>
<mime-type>application/vnd.ms-pki.stl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>str</extension>
<mime-type>application/vnd.pg.format</mime-type>
</mime-mapping>
<mime-mapping>
<extension>stw</extension>
<mime-type>application/vnd.sun.xml.writer.template</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sub</extension>
<mime-type>image/vnd.dvb.subtitle</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sus</extension>
<mime-type>application/vnd.sus-calendar</mime-type>
</mime-mapping>
<mime-mapping>
<extension>susp</extension>
<mime-type>application/vnd.sus-calendar</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sv4cpio</extension>
<mime-type>application/x-sv4cpio</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sv4crc</extension>
<mime-type>application/x-sv4crc</mime-type>
</mime-mapping>
<mime-mapping>
<extension>svc</extension>
<mime-type>application/vnd.dvb.service</mime-type>
</mime-mapping>
<mime-mapping>
<extension>svd</extension>
<mime-type>application/vnd.svd</mime-type>
</mime-mapping>
<mime-mapping>
<extension>svg</extension>
<mime-type>image/svg+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>svgz</extension>
<mime-type>image/svg+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>swa</extension>
<mime-type>application/x-director</mime-type>
</mime-mapping>
<mime-mapping>
<extension>swf</extension>
<mime-type>application/x-shockwave-flash</mime-type>
</mime-mapping>
<mime-mapping>
<extension>swi</extension>
<mime-type>application/vnd.aristanetworks.swi</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sxc</extension>
<mime-type>application/vnd.sun.xml.calc</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sxd</extension>
<mime-type>application/vnd.sun.xml.draw</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sxg</extension>
<mime-type>application/vnd.sun.xml.writer.global</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sxi</extension>
<mime-type>application/vnd.sun.xml.impress</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sxm</extension>
<mime-type>application/vnd.sun.xml.math</mime-type>
</mime-mapping>
<mime-mapping>
<extension>sxw</extension>
<mime-type>application/vnd.sun.xml.writer</mime-type>
</mime-mapping>
<mime-mapping>
<extension>t</extension>
<mime-type>text/troff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tao</extension>
<mime-type>application/vnd.tao.intent-module-archive</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tar</extension>
<mime-type>application/x-tar</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tcap</extension>
<mime-type>application/vnd.3gpp2.tcap</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tcl</extension>
<mime-type>application/x-tcl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>teacher</extension>
<mime-type>application/vnd.smart.teacher</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tei</extension>
<mime-type>application/tei+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>teicorpus</extension>
<mime-type>application/tei+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tex</extension>
<mime-type>application/x-tex</mime-type>
</mime-mapping>
<mime-mapping>
<extension>texi</extension>
<mime-type>application/x-texinfo</mime-type>
</mime-mapping>
<mime-mapping>
<extension>texinfo</extension>
<mime-type>application/x-texinfo</mime-type>
</mime-mapping>
<mime-mapping>
<extension>text</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tfi</extension>
<mime-type>application/thraud+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tfm</extension>
<mime-type>application/x-tex-tfm</mime-type>
</mime-mapping>
<mime-mapping>
<extension>thmx</extension>
<mime-type>application/vnd.ms-officetheme</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tif</extension>
<mime-type>image/tiff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tiff</extension>
<mime-type>image/tiff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tmo</extension>
<mime-type>application/vnd.tmobile-livetv</mime-type>
</mime-mapping>
<mime-mapping>
<extension>torrent</extension>
<mime-type>application/x-bittorrent</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tpl</extension>
<mime-type>application/vnd.groove-tool-template</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tpt</extension>
<mime-type>application/vnd.trid.tpt</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tr</extension>
<mime-type>text/troff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tra</extension>
<mime-type>application/vnd.trueapp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>trm</extension>
<mime-type>application/x-msterminal</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tsd</extension>
<mime-type>application/timestamped-data</mime-type>
</mime-mapping>
<mime-mapping>
<extension>tsv</extension>
<mime-type>text/tab-separated-values</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ttc</extension>
<mime-type>application/x-font-ttf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ttf</extension>
<mime-type>application/x-font-ttf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ttl</extension>
<mime-type>text/turtle</mime-type>
</mime-mapping>
<mime-mapping>
<extension>twd</extension>
<mime-type>application/vnd.simtech-mindmapper</mime-type>
</mime-mapping>
<mime-mapping>
<extension>twds</extension>
<mime-type>application/vnd.simtech-mindmapper</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txd</extension>
<mime-type>application/vnd.genomatix.tuxedo</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txf</extension>
<mime-type>application/vnd.mobius.txf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<mime-mapping>
<extension>u32</extension>
<mime-type>application/x-authorware-bin</mime-type>
</mime-mapping>
<mime-mapping>
<extension>udeb</extension>
<mime-type>application/x-debian-package</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ufd</extension>
<mime-type>application/vnd.ufdl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ufdl</extension>
<mime-type>application/vnd.ufdl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ulw</extension>
<mime-type>audio/basic</mime-type>
</mime-mapping>
<mime-mapping>
<extension>umj</extension>
<mime-type>application/vnd.umajin</mime-type>
</mime-mapping>
<mime-mapping>
<extension>unityweb</extension>
<mime-type>application/vnd.unity</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uoml</extension>
<mime-type>application/vnd.uoml+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uri</extension>
<mime-type>text/uri-list</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uris</extension>
<mime-type>text/uri-list</mime-type>
</mime-mapping>
<mime-mapping>
<extension>urls</extension>
<mime-type>text/uri-list</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ustar</extension>
<mime-type>application/x-ustar</mime-type>
</mime-mapping>
<mime-mapping>
<extension>utz</extension>
<mime-type>application/vnd.uiq.theme</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uu</extension>
<mime-type>text/x-uuencode</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uva</extension>
<mime-type>audio/vnd.dece.audio</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvd</extension>
<mime-type>application/vnd.dece.data</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvf</extension>
<mime-type>application/vnd.dece.data</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvg</extension>
<mime-type>image/vnd.dece.graphic</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvh</extension>
<mime-type>video/vnd.dece.hd</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvi</extension>
<mime-type>image/vnd.dece.graphic</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvm</extension>
<mime-type>video/vnd.dece.mobile</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvp</extension>
<mime-type>video/vnd.dece.pd</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvs</extension>
<mime-type>video/vnd.dece.sd</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvt</extension>
<mime-type>application/vnd.dece.ttml+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvu</extension>
<mime-type>video/vnd.uvvu.mp4</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvv</extension>
<mime-type>video/vnd.dece.video</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvva</extension>
<mime-type>audio/vnd.dece.audio</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvvd</extension>
<mime-type>application/vnd.dece.data</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvvf</extension>
<mime-type>application/vnd.dece.data</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvvg</extension>
<mime-type>image/vnd.dece.graphic</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvvh</extension>
<mime-type>video/vnd.dece.hd</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvvi</extension>
<mime-type>image/vnd.dece.graphic</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvvm</extension>
<mime-type>video/vnd.dece.mobile</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvvp</extension>
<mime-type>video/vnd.dece.pd</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvvs</extension>
<mime-type>video/vnd.dece.sd</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvvt</extension>
<mime-type>application/vnd.dece.ttml+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvvu</extension>
<mime-type>video/vnd.uvvu.mp4</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvvv</extension>
<mime-type>video/vnd.dece.video</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvvx</extension>
<mime-type>application/vnd.dece.unspecified</mime-type>
</mime-mapping>
<mime-mapping>
<extension>uvx</extension>
<mime-type>application/vnd.dece.unspecified</mime-type>
</mime-mapping>
<mime-mapping>
<extension>vcd</extension>
<mime-type>application/x-cdlink</mime-type>
</mime-mapping>
<mime-mapping>
<extension>vcf</extension>
<mime-type>text/x-vcard</mime-type>
</mime-mapping>
<mime-mapping>
<extension>vcg</extension>
<mime-type>application/vnd.groove-vcard</mime-type>
</mime-mapping>
<mime-mapping>
<extension>vcs</extension>
<mime-type>text/x-vcalendar</mime-type>
</mime-mapping>
<mime-mapping>
<extension>vcx</extension>
<mime-type>application/vnd.vcx</mime-type>
</mime-mapping>
<mime-mapping>
<extension>vis</extension>
<mime-type>application/vnd.visionary</mime-type>
</mime-mapping>
<mime-mapping>
<extension>viv</extension>
<mime-type>video/vnd.vivo</mime-type>
</mime-mapping>
<mime-mapping>
<extension>vor</extension>
<mime-type>application/vnd.stardivision.writer</mime-type>
</mime-mapping>
<mime-mapping>
<extension>vox</extension>
<mime-type>application/x-authorware-bin</mime-type>
</mime-mapping>
<mime-mapping>
<extension>vrml</extension>
<mime-type>model/vrml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>vsd</extension>
<mime-type>application/vnd.visio</mime-type>
</mime-mapping>
<mime-mapping>
<extension>vsf</extension>
<mime-type>application/vnd.vsf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>vss</extension>
<mime-type>application/vnd.visio</mime-type>
</mime-mapping>
<mime-mapping>
<extension>vst</extension>
<mime-type>application/vnd.visio</mime-type>
</mime-mapping>
<mime-mapping>
<extension>vsw</extension>
<mime-type>application/vnd.visio</mime-type>
</mime-mapping>
<mime-mapping>
<extension>vtu</extension>
<mime-type>model/vnd.vtu</mime-type>
</mime-mapping>
<mime-mapping>
<extension>vxml</extension>
<mime-type>application/voicexml+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>w3d</extension>
<mime-type>application/x-director</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wad</extension>
<mime-type>application/x-doom</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wav</extension>
<mime-type>audio/x-wav</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wax</extension>
<mime-type>audio/x-ms-wax</mime-type>
</mime-mapping>
<mime-mapping>
<!-- Wireless Bitmap -->
<extension>wbmp</extension>
<mime-type>image/vnd.wap.wbmp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wbs</extension>
<mime-type>application/vnd.criticaltools.wbs+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wbxml</extension>
<mime-type>application/vnd.wap.wbxml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wcm</extension>
<mime-type>application/vnd.ms-works</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wdb</extension>
<mime-type>application/vnd.ms-works</mime-type>
</mime-mapping>
<mime-mapping>
<extension>weba</extension>
<mime-type>audio/webm</mime-type>
</mime-mapping>
<mime-mapping>
<extension>webm</extension>
<mime-type>video/webm</mime-type>
</mime-mapping>
<mime-mapping>
<extension>webp</extension>
<mime-type>image/webp</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wg</extension>
<mime-type>application/vnd.pmi.widget</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wgt</extension>
<mime-type>application/widget</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wks</extension>
<mime-type>application/vnd.ms-works</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wm</extension>
<mime-type>video/x-ms-wm</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wma</extension>
<mime-type>audio/x-ms-wma</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wmd</extension>
<mime-type>application/x-ms-wmd</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wmf</extension>
<mime-type>application/x-msmetafile</mime-type>
</mime-mapping>
<mime-mapping>
<!-- WML Source -->
<extension>wml</extension>
<mime-type>text/vnd.wap.wml</mime-type>
</mime-mapping>
<mime-mapping>
<!-- Compiled WML -->
<extension>wmlc</extension>
<mime-type>application/vnd.wap.wmlc</mime-type>
</mime-mapping>
<mime-mapping>
<!-- WML Script Source -->
<extension>wmls</extension>
<mime-type>text/vnd.wap.wmlscript</mime-type>
</mime-mapping>
<mime-mapping>
<!-- Compiled WML Script -->
<extension>wmlsc</extension>
<mime-type>application/vnd.wap.wmlscriptc</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wmv</extension>
<mime-type>video/x-ms-wmv</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wmx</extension>
<mime-type>video/x-ms-wmx</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wmz</extension>
<mime-type>application/x-ms-wmz</mime-type>
</mime-mapping>
<mime-mapping>
<extension>woff</extension>
<mime-type>application/x-font-woff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wpd</extension>
<mime-type>application/vnd.wordperfect</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wpl</extension>
<mime-type>application/vnd.ms-wpl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wps</extension>
<mime-type>application/vnd.ms-works</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wqd</extension>
<mime-type>application/vnd.wqd</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wri</extension>
<mime-type>application/x-mswrite</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wrl</extension>
<mime-type>model/vrml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wsdl</extension>
<mime-type>application/wsdl+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wspolicy</extension>
<mime-type>application/wspolicy+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wtb</extension>
<mime-type>application/vnd.webturbo</mime-type>
</mime-mapping>
<mime-mapping>
<extension>wvx</extension>
<mime-type>video/x-ms-wvx</mime-type>
</mime-mapping>
<mime-mapping>
<extension>x32</extension>
<mime-type>application/x-authorware-bin</mime-type>
</mime-mapping>
<mime-mapping>
<extension>x3d</extension>
<mime-type>application/vnd.hzn-3d-crossword</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xap</extension>
<mime-type>application/x-silverlight-app</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xar</extension>
<mime-type>application/vnd.xara</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xbap</extension>
<mime-type>application/x-ms-xbap</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xbd</extension>
<mime-type>application/vnd.fujixerox.docuworks.binder</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xbm</extension>
<mime-type>image/x-xbitmap</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xdf</extension>
<mime-type>application/xcap-diff+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xdm</extension>
<mime-type>application/vnd.syncml.dm+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xdp</extension>
<mime-type>application/vnd.adobe.xdp+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xdssc</extension>
<mime-type>application/dssc+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xdw</extension>
<mime-type>application/vnd.fujixerox.docuworks</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xenc</extension>
<mime-type>application/xenc+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xer</extension>
<mime-type>application/patch-ops-error+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xfdf</extension>
<mime-type>application/vnd.adobe.xfdf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xfdl</extension>
<mime-type>application/vnd.xfdl</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xht</extension>
<mime-type>application/xhtml+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xhtml</extension>
<mime-type>application/xhtml+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xhvml</extension>
<mime-type>application/xv+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xif</extension>
<mime-type>image/vnd.xiff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xla</extension>
<mime-type>application/vnd.ms-excel</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xlam</extension>
<mime-type>application/vnd.ms-excel.addin.macroenabled.12</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xlc</extension>
<mime-type>application/vnd.ms-excel</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xlm</extension>
<mime-type>application/vnd.ms-excel</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xls</extension>
<mime-type>application/vnd.ms-excel</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xlsb</extension>
<mime-type>application/vnd.ms-excel.sheet.binary.macroenabled.12</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xlsm</extension>
<mime-type>application/vnd.ms-excel.sheet.macroenabled.12</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xlsx</extension>
<mime-type>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xlt</extension>
<mime-type>application/vnd.ms-excel</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xltm</extension>
<mime-type>application/vnd.ms-excel.template.macroenabled.12</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xltx</extension>
<mime-type>application/vnd.openxmlformats-officedocument.spreadsheetml.template</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xlw</extension>
<mime-type>application/vnd.ms-excel</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xml</extension>
<mime-type>application/xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xo</extension>
<mime-type>application/vnd.olpc-sugar</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xop</extension>
<mime-type>application/xop+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xpi</extension>
<mime-type>application/x-xpinstall</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xpm</extension>
<mime-type>image/x-xpixmap</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xpr</extension>
<mime-type>application/vnd.is-xpr</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xps</extension>
<mime-type>application/vnd.ms-xpsdocument</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xpw</extension>
<mime-type>application/vnd.intercon.formnet</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xpx</extension>
<mime-type>application/vnd.intercon.formnet</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xsl</extension>
<mime-type>application/xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xslt</extension>
<mime-type>application/xslt+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xsm</extension>
<mime-type>application/vnd.syncml+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xspf</extension>
<mime-type>application/xspf+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xul</extension>
<mime-type>application/vnd.mozilla.xul+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xvm</extension>
<mime-type>application/xv+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xvml</extension>
<mime-type>application/xv+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xwd</extension>
<mime-type>image/x-xwindowdump</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xyz</extension>
<mime-type>chemical/x-xyz</mime-type>
</mime-mapping>
<mime-mapping>
<extension>yang</extension>
<mime-type>application/yang</mime-type>
</mime-mapping>
<mime-mapping>
<extension>yin</extension>
<mime-type>application/yin+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>z</extension>
<mime-type>application/x-compress</mime-type>
</mime-mapping>
<mime-mapping>
<extension>Z</extension>
<mime-type>application/x-compress</mime-type>
</mime-mapping>
<mime-mapping>
<extension>zaz</extension>
<mime-type>application/vnd.zzazz.deck+xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>zip</extension>
<mime-type>application/zip</mime-type>
</mime-mapping>
<mime-mapping>
<extension>zir</extension>
<mime-type>application/vnd.zul</mime-type>
</mime-mapping>
<mime-mapping>
<extension>zirz</extension>
<mime-type>application/vnd.zul</mime-type>
</mime-mapping>
<mime-mapping>
<extension>zmm</extension>
<mime-type>application/vnd.handheld-entertainment+xml</mime-type>
</mime-mapping>
 
<!-- ==================== Default Welcome File List ===================== -->
<!-- When a request URI refers to a directory, the default servlet looks -->
<!-- for a "welcome file" within that directory and, if present, to the -->
<!-- corresponding resource URI for display. -->
<!-- If no welcome files are present, the default servlet either serves a -->
<!-- directory listing (see default servlet configuration on how to -->
<!-- customize) or returns a 404 status, depending on the value of the -->
<!-- listings setting. -->
<!-- -->
<!-- If you define welcome files in your own application's web.xml -->
<!-- deployment descriptor, that list *replaces* the list configured -->
<!-- here, so be sure to include any of the default values that you wish -->
<!-- to use within your application. -->
 
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
 
</web-app>
/trunk/siwpas-release/assembly/conf/openejb.properties
New file
0,0 → 1,57
# Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
 
# OpenEJB adds these properties into system properties list.
# See http://openejb.apache.org/3.0/index.html to get more information.
 
# Deployment id format for EJB Beans. moduleId is WAR name. ejbName is bean name.
openejb.deploymentId.format={moduleId}/{ejbName}
 
# String EJB 3 rules.
openejb.strict.interface.declaration=true
 
#No need to deploy modules from server classpath.
openejb.deployments.classpath=false
 
#ejb-jar.xml is required for scanning ejb modules.
#If you do not want to deploy ejb modules without ejb-jar.xml
#descriptor, uncomment this line.
#openejb.deployments.classpath.require.descriptor=EJB,CLIENT
 
# Skips annotations of these libraries. Decreases time of scanning.
openejb.annotations.deployer.skiplibs=jmcharts.jar,\
jsf-facelets-1.1.15.B1.jar,\
richfaces-api-3.3.3.Final.jar,\
richfaces-impl-jsf2-3.3.3.Final.jar,\
richfaces-ui-3.3.3.Final.jar
 
#Skip web modules for EJB Beans
openejb.ejbmodule.deployer.skipmodules=ROOT,console,console-doc
 
#Clustering is enabled or nor, default cluster is not enabled
openejb.sfsb.cluster.enabled=false
#Remove stateful beans on other nodes when current node is shut down
openejb.sfsb.cluster.propogateRemoveOnShutdown.enabled=false
#Initial state transfer block size, default 1000 byte chunks
openejb.sfsb.cluster.initialSessionTransfer.sendBlockSize=1000
#Initial state transfer chunk sending waiting time in miliseconds
openejb.sfsb.cluster.initialSessionTransfer.sendBlockWaitTime=2000
#Send initial state at single pass, default is true
openejb.sfsb.cluster.initialSessionTransfer.sendAll=true
#Initial state transfer timeout
openejb.sfsb.cluster.initialSessionTransfer.timeout=10000
 
#Disable antiJarLocking, classloaders are created by Siwpas
antiJarLocking=false
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/conf/siwpas-users.properties
New file
0,0 → 1,19
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
 
# user=password
guest=guest
jee=jee
nobody=nobody
pelin=pelin
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/conf/logging.properties
New file
0,0 → 1,76
# Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
 
####################################################################################################
######################################## TOMCAT 7 LOGGING CONFIGURATION ############################
####################################################################################################
 
handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.FileHandler, 3manager.org.apache.juli.FileHandler, 4host-manager.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
 
.handlers = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
 
############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################
 
1catalina.org.apache.juli.FileHandler.level = FINE
1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
1catalina.org.apache.juli.FileHandler.prefix = catalina.
 
2localhost.org.apache.juli.FileHandler.level = FINE
2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
2localhost.org.apache.juli.FileHandler.prefix = localhost.
 
3manager.org.apache.juli.FileHandler.level = FINE
3manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
3manager.org.apache.juli.FileHandler.prefix = manager.
 
4host-manager.org.apache.juli.FileHandler.level = FINE
4host-manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
4host-manager.org.apache.juli.FileHandler.prefix = host-manager.
 
java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
 
############################################################
# Facility specific properties.
# Provides extra control for each logger.
############################################################
 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 2localhost.org.apache.juli.FileHandler
 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level = INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers = 3manager.org.apache.juli.FileHandler
 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].level = INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].handlers = 4host-manager.org.apache.juli.FileHandler
################################################################
 
# For example, set the org.apache.catalina.util.LifecycleBase logger to log
# each component that extends LifecycleBase changing state:
#org.apache.catalina.util.LifecycleBase.level = FINE
org.apache.myfaces.shared_impl.config.level = SEVERE
org.apache.myfaces.webapp.AbstractFacesInitializer.level=SEVERE
org.apache.myfaces.config.annotation.level=SEVERE
org.apache.commons.digester.Digester.level=WARNING
org.apache.myfaces.config.FacesConfigurator.level=SEVERE
org.apache.myfaces.webapp.WebConfigParamsLogger.level=SEVERE
 
#################For chunked parameter logging####################
org.apache.tomcat.util.http.Parameters.level = SEVERE
# To see debug messages in TldLocationsCache, uncomment the following line:
#org.apache.jasper.compiler.TldLocationsCache.level = FINE
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/conf/openejb.xml
New file
0,0 → 1,333
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<openejb>
 
<!--
 
# This file contains OpenEJB specific configuration.
# It includes Bean container configuration, and default datasource
# configuration.
# See http://openejb.apache.org/3.0/index.html to get more information.
 
-->
 
<!--
# Stateful Container Configuration.
-->
<Container id="My Stateful Container" type="STATEFUL">
# Specifies the maximum time an invocation could wait for the
# stateful bean instance to become available before giving up.
#
# After the timeout is reached a javax.ejb.ConcurrentAccessTimeoutException
# will be thrown.
#
# Usable time units: nanoseconds, microsecons, milliseconds,
# seconds, minutes, hours, days. Or any combination such as
# "1 hour and 27 minutes and 10 seconds"
 
AccessTimeout = 0 milliseconds
 
# The passivator is responsible for writing beans to disk
# at passivation time. Different passivators can be used
# by setting this property to the fully qualified class name
# of the PassivationStrategy implementation. The passivator
# is not responsible for invoking any callbacks or other
# processing, its only responsibly is to write the bean state
# to disk.
#
# Known implementations:
# org.apache.openejb.core.stateful.RAFPassivater
# org.apache.openejb.core.stateful.SimplePassivater
 
Passivator org.apache.openejb.core.stateful.SimplePassivater
 
# Specifies the time to wait between invocations. This
# value is measured in minutes. A value of 5 would
# result in a time-out of 5 minutes between invocations.
# A value of zero would mean no timeout.
 
TimeOut 20
 
# Specifies the size of the bean pools for this
# stateful SessionBean container.
 
Capacity 1000
 
# Property name that specifies the number of instances
# to passivate at one time when doing bulk passivation.
# Must be less than the PoolSize.
 
BulkPassivate 100
 
</Container>
 
<!--
# Stateful Cluster Container Configuration. Uncomment it
to enable clustering configuration.
# To use clustering feature, implement your stateful bean like
# @Stateful
# @@EjbDeployment(container="ClusterContainer")
# public class MyBeans.....
# @EjbDeployment 'container' attribute corresponds to the
# id of the Container.
# For setting more configuration options, see openejb.properties
# file in the conf directory.
-->
<!--
<Container id="ClusterContainer" type="CLUSTERED_STATEFUL">
# Specifies the maximum time an invocation could wait for the
# stateful bean instance to become available before giving up.
#
# After the timeout is reached a javax.ejb.ConcurrentAccessTimeoutException
# will be thrown.
#
# Usable time units: nanoseconds, microsecons, milliseconds,
# seconds, minutes, hours, days. Or any combination such as
# &quot;1 hour and 27 minutes and 10 seconds&quot;
 
AccessTimeout = 0 milliseconds
Cache org.ow2.siwpas.integration.cluster.container.SfsbCache
 
# The passivator is responsible for writing beans to disk
# at passivation time. Different passivators can be used
# by setting this property to the fully qualified class name
# of the PassivationStrategy implementation. The passivator
# is not responsible for invoking any callbacks or other
# processing, its only responsibly is to write the bean state
# to disk.
#
# Known implementations:
# org.apache.openejb.core.stateful.RAFPassivater
# org.apache.openejb.core.stateful.SimplePassivater
 
Passivator org.apache.openejb.core.stateful.SimplePassivater
 
# Specifies the time to wait between invocations. This
# value is measured in minutes. A value of 5 would
# result in a time-out of 5 minutes between invocations.
# A value of zero would mean no timeout.
 
TimeOut 20
 
# Specifies the size of the bean pools for this
# stateful SessionBean container.
 
Capacity 1000
 
# Property name that specifies the number of instances
# to passivate at one time when doing bulk passivation.
# Must be less than the PoolSize.
 
BulkPassivate 100
 
</Container>
-->
 
<!--
# Stateless Container Configuration.
-->
<Container id="My Stateless Container" type="STATELESS">
 
# Specifies the time an invokation should wait for an instance
# of the pool to become available.
#
# After the timeout is reached, if an instance in the pool cannot
# be obtained, the method invocation will fail.
#
# Usable time units: nanoseconds, microsecons, milliseconds,
# seconds, minutes, hours, days. Or any combination such as
# "1 hour and 27 minutes and 10 seconds"
 
AccessTimeout = 0 milliseconds
 
# Specifies the size of the bean pools for this stateless
# SessionBean container. If StrictPooling is not used, instances
# will still be created beyond this number if there is demand, but
# they will not be returned to the pool and instead will be
# immediately destroyed.
 
MaxSize = 10
 
# Specifies the minimum number of bean instances that should be in
# the pool for each bean. Pools are prefilled to the minimum on
# startup. Note this will create start order dependencies between
# other beans that also eagerly start, such as other @Stateless
# beans with a minimum or @Singleton beans using @Startup. The
# @DependsOn annotation can be used to appropriately influence
# start order.
#
# The minimum pool size is rigidly maintained. Instances in the
# minimum side of the pool are not eligible for IdleTimeout or
# GarbageCollection, but are subject to MaxAge and flushing.
#
# If the pool is flushed it is immediately refilled to the minimum
# size with MaxAgeOffset applied. If an instance from the minimum
# side of the pool reaches its MaxAge, it is also immediately
# replaced. Replacement is done in a background queue using the
# number of threads specified by CallbackThreads.
 
MinSize = 0
 
# StrictPooling tells the container what to do when the pool
# reaches it's maximum size and there are incoming requests that
# need instances.
#
# With strict pooling, requests will have to wait for instances to
# become available. The pool size will never grow beyond the the
# set MaxSize value. The maximum amount of time a request should
# wait is specified via the AccessTimeout setting.
#
# Without strict pooling, the container will create temporary
# instances to meet demand. The instances will last for just one
# method invocation and then are removed.
#
# Setting StrictPooling to false and MaxSize to 0 will result in
# no pooling. Instead instances will be created on demand and live
# for exactly one method call before being removed.
 
StrictPooling = true
 
# Specifies the maximum time that an instance should live before
# it should be retired and removed from use. This will happen
# gracefully. Useful for situations where bean instances are
# designed to hold potentially expensive resources such as memory
# or file handles and need to be periodically cleared out.
#
# Usable time units: nanoseconds, microsecons, milliseconds,
# seconds, minutes, hours, days. Or any combination such as
# "1 hour and 27 minutes and 10 seconds"
 
MaxAge = 0 hours
 
# Specifies the maximum time that an instance should be allowed to
# sit idly in the pool without use before it should be retired and
# removed.
#
# Usable time units: nanoseconds, microsecons, milliseconds,
# seconds, minutes, hours, days. Or any combination such as
# "1 hour and 27 minutes and 10 seconds"
 
IdleTimeout = 0 minutes
 
# Allows Garbage Collection to be used as a mechanism for shrinking
# the pool. When set to true all instances in the pool, excluding
# the minimum, are eligible for garbage collection by the virtual
# machine as per the rules of java.lang.ref.SoftReference and can be
# claimed by the JVM to free memory. Instances garbage collected
# will have their @PreDestroy methods called during finalization.
 
GarbageCollection = true
 
</Container>
 
<!--
# Singleton Container Configuration.
-->
<Container id="My Singleton Container" type="SINGLETON">
 
AccessTimeout = 30 seconds
 
</Container>
 
<!--
# Managed Container Configuration.
# Managed Container does not have any configuration properties.
-->
<Container id="My Managed Container" type="MANAGED">
 
</Container>
 
<!--
# For more examples of database configuration see:
# http://openejb.apache.org/3.0/databases.html
-->
 
<!--
# Sample JTA managed datasource.
# You can inject datasource with any of the following way,
#
# @Resource(mappedName="dataSourceId") DataSource ds;
# @Resource DataSource dataSourceId;
# @Resource (name="dataSourceId") DataSource ds;
-->
<Resource id="My DataSource" type="DataSource">
JdbcDriver org.hsqldb.jdbcDriver
JdbcUrl jdbc:hsqldb:file:data/hsqldb/hsqldb
UserName sa
Password
JtaManaged true
</Resource>
 
<!--
# Sample local datasource.
# You can inject datasource with any of the following way,
#
# @Resource(mappedName="dataSourceId") DataSource ds;
# @Resource DataSource dataSourceId;
# @Resource (name="dataSourceId") DataSource ds;
-->
<Resource id="My Unmanaged DataSource" type="DataSource">
JdbcDriver org.hsqldb.jdbcDriver
JdbcUrl jdbc:hsqldb:file:data/hsqldb/hsqldb
UserName sa
Password
JtaManaged false
</Resource>
 
<!--
# Enables Transaction Recovery Used in 2P Commit.
# Uncomment it to use.
# You can inject
# TransactionManager with @Resource(lookup="java:comp/TransactionManager")
# TransactionSynchronizationRegistry with @Resource(lookup="java:comp/TransactionSynchronizationRegistry")
# UserTransaction with @Resource UserTransaction
-->
<!--
<TransactionManager id="MyTransactionManager" type="TransactionManager">
TxRecovery true
</TransactionManager>
-->
 
<!--
# Uncomment it to use ORB.
# ORB is injected into java:comp/ORB
# You can inject it via @Resource(lookup="java:comp/ORB")
-->
<!--
<Resource id="My ORB" type="ORB">
 
</Resource>
-->
 
<!--
# Uncomment it to use Mail Session.
# You can inject mail session with @Resource(lookup="My Mail Session")
# or @Resource(mappedName="My Mail Session")
# You can add properties for your mail provider
# into body of <Resource>.
-->
<!--
<Resource id="My Mail Session" type="javax.mail.Session">
</Resource>
-->
 
</openejb>
/trunk/siwpas-release/assembly/bin/configtest.sh
New file
0,0 → 1,64
#!/bin/sh
 
# Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
 
# -----------------------------------------------------------------------------
# configtest for the SIWPAS Server
# -----------------------------------------------------------------------------
 
# Better OS/400 detection: see Bugzilla 31132
os400=false
darwin=false
case "`uname`" in
CYGWIN*) cygwin=true;;
OS400*) os400=true;;
Darwin*) darwin=true;;
esac
 
# resolve links - $0 may be a softlink
PRG="$0"
 
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
PRGDIR=`dirname "$PRG"`
EXECUTABLE=siwpas.sh
 
# Check that target executable exists
if $os400; then
# -x will Only work on the os400 if the files are:
# 1. owned by the user
# 2. owned by the PRIMARY group of the user
# this will not work if the user belongs in secondary groups
eval
else
if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
echo "Cannot find $PRGDIR/$EXECUTABLE"
echo "The file is absent or does not have execute permission"
echo "This file is needed to run this program"
exit 1
fi
fi
 
exec "$PRGDIR"/"$EXECUTABLE" configtest "$@"
 
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/bin/siwpas.sh
New file
0,0 → 1,540
#!/bin/sh
 
# Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
 
# -----------------------------------------------------------------------------
# Start/Stop Script for the SIWPAS Server
#
# Environment Variable Prerequisites
#
# SIWPAS_HOME May point at your Siwpas "build" directory.
#
# SIWPAS_BASE (Optional) Base directory for resolving dynamic portions
# of a Siwpas installation. If not present, resolves to
# the same directory that SIWPAS_HOME points to.
#
# SIWPAS_OUT (Optional) Full path to a file where stdout and stderr
# will be redirected.
# Default is $SIWPAS_BASE/logs/siwpas.out
#
# SIWPAS_OPTS (Optional) Java runtime options used when the "start",
# or "run" command is executed.
#
# SIWPAS_TMPDIR (Optional) Directory path location of temporary directory
# the JVM should use (java.io.tmpdir). Defaults to
# $SIWPAS_BASE/temp.
#
# JAVA_HOME Must point at your Java Development Kit installation.
# Required to run the with the "debug" argument.
#
# JRE_HOME Must point at your Java Development Kit installation.
# Defaults to JAVA_HOME if empty.
#
# JAVA_OPTS (Optional) Java runtime options used when the "start",
# "stop", or "run" command is executed.
#
# JAVA_ENDORSED_DIRS (Optional) Lists of of colon separated directories
# containing some jars in order to allow replacement of APIs
# created outside of the JCP (i.e. DOM and SAX from W3C).
# It can also be used to update the XML parser implementation.
# Defaults to $SIWPAS_HOME/endorsed.
#
# JPDA_TRANSPORT (Optional) JPDA transport used when the "jpda start"
# command is executed. The default is "dt_socket".
#
# JPDA_ADDRESS (Optional) Java runtime options used when the "jpda start"
# command is executed. The default is 8000.
#
# JPDA_SUSPEND (Optional) Java runtime options used when the "jpda start"
# command is executed. Specifies whether JVM should suspend
# execution immediately after startup. Default is "n".
#
# JPDA_OPTS (Optional) Java runtime options used when the "jpda start"
# command is executed. If used, JPDA_TRANSPORT, JPDA_ADDRESS,
# and JPDA_SUSPEND are ignored. Thus, all required jpda
# options MUST be specified. The default is:
#
# -agentlib:jdwp=transport=$JPDA_TRANSPORT,
# address=$JPDA_ADDRESS,server=y,suspend=$JPDA_SUSPEND
#
# SIWPAS_PID (Optional) Path of the file which should contains the pid
# of the siwpas startup java process, when start (fork) is
# used
#
# LOGGING_CONFIG (Optional) Override Siwpas's logging config file
# Example (all one line)
# LOGGING_CONFIG="-Djava.util.logging.config.file=$SIWPAS_BASE/conf/logging.properties"
#
# JAAS_CONFIG (Optional) Override Siwpas's JAAS config file
# Example (all one line)
# JAAS_CONFIG="-Djava.security.auth.login.config=$SIWPAS_BASE/conf/login.config"
#
# LOGGING_MANAGER (Optional) Override Siwpas's logging manager
# Example (all one line)
# LOGGING_MANAGER="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
#
# -----------------------------------------------------------------------------
 
# OS specific support. $var _must_ be set to either true or false.
cygwin=false
os400=false
darwin=false
case "`uname`" in
CYGWIN*) cygwin=true;;
OS400*) os400=true;;
Darwin*) darwin=true;;
esac
 
# resolve links - $0 may be a softlink
PRG="$0"
 
while [ -h "$PRG" ]; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
 
# Get standard environment variables
PRGDIR=`dirname "$PRG"`
 
# Only set SIWPAS_HOME if not already set
[ -z "$SIWPAS_HOME" ] && SIWPAS_HOME=`cd "$PRGDIR/.." >/dev/null; pwd`
 
# Ensure that any user defined CLASSPATH variables are not used on startup,
# but allow them to be specified in setenv.sh, in rare case when it is needed.
CLASSPATH=
 
SETENVPATH="${SIWPAS_BASE:-$SIWPAS_HOME}"
if [ -r "$SETENVPATH/bin/setenv.sh" ]; then
. "$SETENVPATH/bin/setenv.sh"
elif [ -r "$SIWPAS_HOME/bin/setenv.sh" ]; then
. "$SIWPAS_HOME/bin/setenv.sh"
fi
 
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin; then
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$JRE_HOME" ] && JRE_HOME=`cygpath --unix "$JRE_HOME"`
[ -n "$SIWPAS_HOME" ] && SIWPAS_HOME=`cygpath --unix "$SIWPAS_HOME"`
[ -n "$SIWPAS_BASE" ] && SIWPAS_BASE=`cygpath --unix "$SIWPAS_BASE"`
[ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
fi
 
# For OS400
if $os400; then
# Set job priority to standard for interactive (interactive - 6) by using
# the interactive priority - 6, the helper threads that respond to requests
# will be running at the same priority as interactive jobs.
COMMAND='chgjob job('$JOBNAME') runpty(6)'
system $COMMAND
 
# Enable multi threading
export QIBM_MULTI_THREADED=Y
fi
 
# Get standard Java environment variables
if $os400; then
# -r will Only work on the os400 if the files are:
# 1. owned by the user
# 2. owned by the PRIMARY group of the user
# this will not work if the user belongs in secondary groups
BASEDIR="$SIWPAS_HOME"
. "$SIWPAS_HOME"/bin/setclasspath.sh
else
if [ -r "$SIWPAS_HOME"/bin/setclasspath.sh ]; then
BASEDIR="$SIWPAS_HOME"
. "$SIWPAS_HOME"/bin/setclasspath.sh
else
echo "Cannot find $SIWPAS_HOME/bin/setclasspath.sh"
echo "This file is needed to run this program"
exit 1
fi
fi
 
# Add on extra jar files to CLASSPATH
if [ ! -z "$CLASSPATH" ] ; then
CLASSPATH="$CLASSPATH":
fi
CLASSPATH="$CLASSPATH""$SIWPAS_HOME"/bin/bootstrap.jar:"$SIWPAS_HOME"/bin/license.jar:"$SIWPAS_HOME"/bin/bcastlegpg.jar:"$SIWPAS_HOME"/bin/bcastleprov.jar
 
if [ -z "$SIWPAS_BASE" ] ; then
SIWPAS_BASE="$SIWPAS_HOME"
fi
 
if [ -z "$SIWPAS_OUT" ] ; then
SIWPAS_OUT="$SIWPAS_BASE"/logs/siwpas.out
fi
 
if [ -z "$SIWPAS_TMPDIR" ] ; then
# Define the java.io.tmpdir to use for Siwpas
SIWPAS_TMPDIR="$SIWPAS_BASE"/temp
fi
 
# Add tomcat-juli.jar to classpath
# tomcat-juli.jar can be over-ridden per instance
if [ -r "$SIWPAS_BASE/bin/tomcat-juli.jar" ] ; then
CLASSPATH=$CLASSPATH:$SIWPAS_BASE/bin/tomcat-juli.jar
else
CLASSPATH=$CLASSPATH:$SIWPAS_HOME/bin/tomcat-juli.jar
fi
 
# Bugzilla 37848: When no TTY is available, don't output to console
have_tty=0
if [ "`tty`" != "not a tty" ]; then
have_tty=1
fi
 
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
JRE_HOME=`cygpath --absolute --windows "$JRE_HOME"`
SIWPAS_HOME=`cygpath --absolute --windows "$SIWPAS_HOME"`
SIWPAS_BASE=`cygpath --absolute --windows "$SIWPAS_BASE"`
SIWPAS_TMPDIR=`cygpath --absolute --windows "$SIWPAS_TMPDIR"`
CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
fi
 
# Set juli LogManager config file if it is present and an override has not been issued
if [ -z "$LOGGING_CONFIG" ]; then
if [ -r "$SIWPAS_BASE"/conf/logging.properties ]; then
LOGGING_CONFIG="-Djava.util.logging.config.file=$SIWPAS_BASE/conf/logging.properties"
else
# Bugzilla 45585
LOGGING_CONFIG="-Dnop"
fi
fi
 
# Set JAAS config file if it is present and an override has not been issued
if [ -z "$JAAS_CONFIG" ]; then
if [ -r "$SIWPAS_BASE"/conf/login.config ]; then
JAAS_CONFIG="-Djava.security.auth.login.config=$SIWPAS_BASE/conf/login.config"
else
# Bugzilla 45585
JAAS_CONFIG="-Dnop"
fi
fi
 
if [ -z "$LOGGING_MANAGER" ]; then
JAVA_OPTS="$JAVA_OPTS -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
else
JAVA_OPTS="$JAVA_OPTS $LOGGING_MANAGER"
fi
 
# Uncomment the following line to make the umask available when using the
# org.apache.catalina.security.SecurityListener
#JAVA_OPTS="$JAVA_OPTS -Dorg.apache.catalina.security.SecurityListener.UMASK=`umask`"
 
# Add OpenEJB javaagent
if [ -r "$SIWPAS_HOME"/lib/openejb-agent.jar ]; then
JAVA_OPTS="$JAVA_OPTS -javaagent:$SIWPAS_HOME/lib/openejb-agent.jar=enabled=false,debug=false"
fi
 
# ----- Execute The Requested Command -----------------------------------------
 
# Bugzilla 37848: only output this if we have a TTY
if [ $have_tty -eq 1 ]; then
echo "Using SIWPAS_BASE: $SIWPAS_BASE"
echo "Using SIWPAS_HOME: $SIWPAS_HOME"
echo "Using SIWPAS_TMPDIR: $SIWPAS_TMPDIR"
if [ "$1" = "debug" ] ; then
echo "Using JAVA_HOME: $JAVA_HOME"
else
echo "Using JRE_HOME: $JRE_HOME"
fi
echo "Using CLASSPATH: $CLASSPATH"
if [ ! -z "$SIWPAS_PID" ]; then
echo "Using SIWPAS_PID: $SIWPAS_PID"
fi
fi
 
if [ "$1" = "jpda" ] ; then
if [ -z "$JPDA_TRANSPORT" ]; then
JPDA_TRANSPORT="dt_socket"
fi
if [ -z "$JPDA_ADDRESS" ]; then
JPDA_ADDRESS="8000"
fi
if [ -z "$JPDA_SUSPEND" ]; then
JPDA_SUSPEND="n"
fi
if [ -z "$JPDA_OPTS" ]; then
JPDA_OPTS="-agentlib:jdwp=transport=$JPDA_TRANSPORT,address=$JPDA_ADDRESS,server=y,suspend=$JPDA_SUSPEND"
fi
SIWPAS_OPTS="$SIWPAS_OPTS $JPDA_OPTS"
shift
fi
 
if [ "$1" = "debug" ] ; then
if $os400; then
echo "Debug command not available on OS400"
exit 1
else
shift
if [ "$1" = "-security" ] ; then
if [ $have_tty -eq 1 ]; then
echo "Using Security Manager"
fi
shift
exec "$_RUNJDB" "$JAAS_CONFIG" "$LOGGING_CONFIG" $JAVA_OPTS $SIWPAS_OPTS \
-Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
-sourcepath "$SIWPAS_HOME"/../../java \
-Djava.security.manager \
-Djava.security.policy=="$SIWPAS_BASE"/conf/catalina.policy \
-Dcatalina.base="$SIWPAS_BASE" \
-Dcatalina.home="$SIWPAS_HOME" \
-Djava.io.tmpdir="$SIWPAS_TMPDIR" \
org.apache.catalina.startup.Bootstrap "$@" start
else
exec "$_RUNJDB" "$JAAS_CONFIG" "$LOGGING_CONFIG" $JAVA_OPTS $SIWPAS_OPTS \
-Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
-sourcepath "$SIWPAS_HOME"/../../java \
-Dcatalina.base="$SIWPAS_BASE" \
-Dcatalina.home="$SIWPAS_HOME" \
-Djava.io.tmpdir="$SIWPAS_TMPDIR" \
org.apache.catalina.startup.Bootstrap "$@" start
fi
fi
 
elif [ "$1" = "run" ]; then
 
shift
if [ "$1" = "-security" ] ; then
if [ $have_tty -eq 1 ]; then
echo "Using Security Manager"
fi
shift
eval \"$_RUNJAVA\" \"$JAAS_CONFIG\" \"$LOGGING_CONFIG\" $JAVA_OPTS $SIWPAS_OPTS \
-Djava.endorsed.dirs=\"$JAVA_ENDORSED_DIRS\" -classpath \"$CLASSPATH\" \
-Djava.security.manager \
-Djava.security.policy==\"$SIWPAS_BASE/conf/catalina.policy\" \
-Dcatalina.base=\"$SIWPAS_BASE\" \
-Dcatalina.home=\"$SIWPAS_HOME\" \
-Djava.io.tmpdir=\"$SIWPAS_TMPDIR\" \
org.apache.catalina.startup.Bootstrap "$@" start
else
eval \"$_RUNJAVA\" \"$JAAS_CONFIG\" \"$LOGGING_CONFIG\" $JAVA_OPTS $SIWPAS_OPTS \
-Djava.endorsed.dirs=\"$JAVA_ENDORSED_DIRS\" -classpath \"$CLASSPATH\" \
-Dcatalina.base=\"$SIWPAS_BASE\" \
-Dcatalina.home=\"$SIWPAS_HOME\" \
-Djava.io.tmpdir=\"$SIWPAS_TMPDIR\" \
org.apache.catalina.startup.Bootstrap "$@" start
fi
 
elif [ "$1" = "start" ] ; then
 
if [ ! -z "$SIWPAS_PID" ]; then
if [ -f "$SIWPAS_PID" ]; then
if [ -s "$SIWPAS_PID" ]; then
echo "Existing PID file found during start."
if [ -r "$SIWPAS_PID" ]; then
PID=`cat "$SIWPAS_PID"`
ps -p $PID >/dev/null 2>&1
if [ $? -eq 0 ] ; then
echo "Siwpas appears to still be running with PID $PID. Start aborted."
exit 1
else
echo "Removing/clearing stale PID file."
rm -f "$SIWPAS_PID" >/dev/null 2>&1
if [ $? != 0 ]; then
if [ -w "$SIWPAS_PID" ]; then
cat /dev/null > "$SIWPAS_PID"
else
echo "Unable to remove or clear stale PID file. Start aborted."
exit 1
fi
fi
fi
else
echo "Unable to read PID file. Start aborted."
exit 1
fi
else
rm -f "$SIWPAS_PID" >/dev/null 2>&1
if [ $? != 0 ]; then
if [ ! -w "$SIWPAS_PID" ]; then
echo "Unable to remove or write to empty PID file. Start aborted."
exit 1
fi
fi
fi
fi
fi
 
shift
touch "$SIWPAS_OUT"
if [ "$1" = "-security" ] ; then
if [ $have_tty -eq 1 ]; then
echo "Using Security Manager"
fi
shift
eval \"$_RUNJAVA\" \"$JAAS_CONFIG\" \"$LOGGING_CONFIG\" $JAVA_OPTS $SIWPAS_OPTS \
-Djava.endorsed.dirs=\"$JAVA_ENDORSED_DIRS\" -classpath \"$CLASSPATH\" \
-Djava.security.manager \
-Djava.security.policy==\"$SIWPAS_BASE/conf/catalina.policy\" \
-Dcatalina.base=\"$SIWPAS_BASE\" \
-Dcatalina.home=\"$SIWPAS_HOME\" \
-Djava.io.tmpdir=\"$SIWPAS_TMPDIR\" \
org.apache.catalina.startup.Bootstrap "$@" start \
>> "$SIWPAS_OUT" 2>&1 "&"
 
else
eval \"$_RUNJAVA\" \"$JAAS_CONFIG\" \"$LOGGING_CONFIG\" $JAVA_OPTS $SIWPAS_OPTS \
-Djava.endorsed.dirs=\"$JAVA_ENDORSED_DIRS\" -classpath \"$CLASSPATH\" \
-Dcatalina.base=\"$SIWPAS_BASE\" \
-Dcatalina.home=\"$SIWPAS_HOME\" \
-Djava.io.tmpdir=\"$SIWPAS_TMPDIR\" \
org.apache.catalina.startup.Bootstrap "$@" start \
>> "$SIWPAS_OUT" 2>&1 "&"
 
fi
 
if [ ! -z "$SIWPAS_PID" ]; then
echo $! > "$SIWPAS_PID"
fi
 
elif [ "$1" = "stop" ] ; then
 
shift
 
SLEEP=5
if [ ! -z "$1" ]; then
echo $1 | grep "[^0-9]" >/dev/null 2>&1
if [ $? -gt 0 ]; then
SLEEP=$1
shift
fi
fi
 
FORCE=0
if [ "$1" = "-force" ]; then
shift
FORCE=1
fi
 
if [ ! -z "$SIWPAS_PID" ]; then
if [ -s "$SIWPAS_PID" ]; then
if [ -f "$SIWPAS_PID" ]; then
kill -0 `cat "$SIWPAS_PID"` >/dev/null 2>&1
if [ $? -gt 0 ]; then
echo "PID file found but no matching process was found. Stop aborted."
exit 1
fi
else
echo "\$SIWPAS_PID was set but the specified file does not exist. Is Siwpas running? Stop aborted."
exit 1
fi
else
echo "PID file is empty and has been ignored."
fi
fi
 
eval \"$_RUNJAVA\" $JAVA_OPTS \
-Djava.endorsed.dirs=\"$JAVA_ENDORSED_DIRS\" -classpath \"$CLASSPATH\" \
-Dcatalina.base=\"$SIWPAS_BASE\" \
-Dcatalina.home=\"$SIWPAS_HOME\" \
-Djava.io.tmpdir=\"$SIWPAS_TMPDIR\" \
org.apache.catalina.startup.Bootstrap "$@" stop
 
if [ ! -z "$SIWPAS_PID" ]; then
if [ -f "$SIWPAS_PID" ]; then
while [ $SLEEP -ge 0 ]; do
kill -0 `cat "$SIWPAS_PID"` >/dev/null 2>&1
if [ $? -gt 0 ]; then
rm -f "$SIWPAS_PID" >/dev/null 2>&1
if [ $? != 0 ]; then
if [ -w "$SIWPAS_PID" ]; then
cat /dev/null > "$SIWPAS_PID"
else
echo "Siwpas stopped but the PID file could not be removed or cleared."
fi
fi
break
fi
if [ $SLEEP -gt 0 ]; then
sleep 1
fi
if [ $SLEEP -eq 0 ]; then
if [ $FORCE -eq 0 ]; then
echo "Siwpas did not stop in time. PID file was not removed."
fi
fi
SLEEP=`expr $SLEEP - 1 `
done
fi
fi
 
if [ $FORCE -eq 1 ]; then
if [ -z "$SIWPAS_PID" ]; then
echo "Kill failed: \$SIWPAS_PID not set"
else
if [ -f "$SIWPAS_PID" ]; then
PID=`cat "$SIWPAS_PID"`
echo "Killing Siwpas with the PID: $PID"
kill -9 $PID
rm -f "$SIWPAS_PID" >/dev/null 2>&1
if [ $? != 0 ]; then
echo "Siwpas was killed but the PID file could not be removed."
fi
fi
fi
fi
 
elif [ "$1" = "configtest" ] ; then
 
eval \"$_RUNJAVA\" $JAVA_OPTS $SIWPAS_OPTS \
-Djava.endorsed.dirs=\"$JAVA_ENDORSED_DIRS\" -classpath \"$CLASSPATH\" \
-Dcatalina.base=\"$SIWPAS_BASE\" \
-Dcatalina.home=\"$SIWPAS_HOME\" \
-Djava.io.tmpdir=\"$SIWPAS_TMPDIR\" \
org.apache.catalina.startup.Bootstrap configtest
exit $?
 
elif [ "$1" = "version" ] ; then
 
"$_RUNJAVA" \
-classpath "$SIWPAS_HOME/lib/siwpas-loader.jar" \
org.ow2.siwpas.Version
 
else
 
echo "Usage: siwpas.sh ( commands ... )"
echo "commands:"
if $os400; then
echo " debug Start Siwpas in a debugger (not available on OS400)"
echo " debug -security Debug Siwpas with a security manager (not available on OS400)"
else
echo " debug Start Siwpas in a debugger"
echo " debug -security Debug Siwpas with a security manager"
fi
echo " jpda start Start Siwpas under JPDA debugger"
echo " run Start Siwpas in the current window"
echo " run -security Start in the current window with security manager"
echo " start Start Siwpas in a separate window"
echo " start -security Start in a separate window with security manager"
echo " stop Stop Siwpas, waiting up to 5 seconds for the process to end"
echo " stop n Stop Siwpas, waiting up to n seconds for the process to end"
echo " stop -force Stop Siwpas, wait up to 5 seconds and then use kill -KILL if still running"
echo " stop n -force Stop Siwpas, wait up to n seconds and then use kill -KILL if still running"
echo " version What version of siwpas are you running?"
echo "Note: Waiting for the process to end and use of the -force option require that \$SIWPAS_PID is defined"
exit 1
 
fi
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/bin/shutdown.bat
New file
0,0 → 1,58
@echo off
 
rem Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
rem
rem This program is free software: you can redistribute it and/or modify
rem it under the terms of the GNU Lesser General Public License as published by
rem the Free Software Foundation, either version 3 of the License, or
rem (at your option) any later version.
rem
rem This program is distributed in the hope that it will be useful,
rem but WITHOUT ANY WARRANTY; without even the implied warranty of
rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
rem GNU Lesser General Public License for more details.
rem
rem You should have received a copy of the GNU Lesser General Public License
rem along with this program. If not, see <http://www.gnu.org/licenses/>.
 
if "%OS%" == "Windows_NT" setlocal
rem ---------------------------------------------------------------------------
rem Stop script for the SIWPAS Server
rem ---------------------------------------------------------------------------
 
rem Guess SIWPAS_HOME if not defined
set "CURRENT_DIR=%cd%"
if not "%SIWPAS_HOME%" == "" goto gotHome
set "SIWPAS_HOME=%CURRENT_DIR%"
if exist "%SIWPAS_HOME%\bin\siwpas.bat" goto okHome
cd ..
set "SIWPAS_HOME=%cd%"
cd "%CURRENT_DIR%"
:gotHome
if exist "%SIWPAS_HOME%\bin\siwpas.bat" goto okHome
echo The SIWPAS_HOME environment variable is not defined correctly
echo This environment variable is needed to run this program
goto end
:okHome
 
set "EXECUTABLE=%SIWPAS_HOME%\bin\siwpas.bat"
 
rem Check that target executable exists
if exist "%EXECUTABLE%" goto okExec
echo Cannot find "%EXECUTABLE%"
echo This file is needed to run this program
goto end
:okExec
 
rem Get remaining unshifted command line arguments and save them in the
set CMD_LINE_ARGS=
:setArgs
if ""%1""=="""" goto doneSetArgs
set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
shift
goto setArgs
:doneSetArgs
 
call "%EXECUTABLE%" stop %CMD_LINE_ARGS%
 
:end
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/bin/digest.bat
New file
0,0 → 1,56
@echo off
 
rem Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
rem
rem This program is free software: you can redistribute it and/or modify
rem it under the terms of the GNU Lesser General Public License as published by
rem the Free Software Foundation, either version 3 of the License, or
rem (at your option) any later version.
rem
rem This program is distributed in the hope that it will be useful,
rem but WITHOUT ANY WARRANTY; without even the implied warranty of
rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
rem GNU Lesser General Public License for more details.
rem
rem You should have received a copy of the GNU Lesser General Public License
rem along with this program. If not, see <http://www.gnu.org/licenses/>.
 
if "%OS%" == "Windows_NT" setlocal
rem ---------------------------------------------------------------------------
rem Script to digest password using the algorithm specified
rem
rem ---------------------------------------------------------------------------
 
rem Guess SIWPAS_HOME if not defined
if not "%SIWPAS_HOME%" == "" goto gotHome
set SIWPAS_HOME=.
if exist "%SIWPAS_HOME%\bin\tool-wrapper.bat" goto okHome
set SIWPAS_HOME=..
:gotHome
if exist "%SIWPAS_HOME%\bin\tool-wrapper.bat" goto okHome
echo The SIWPAS_HOME environment variable is not defined correctly
echo This environment variable is needed to run this program
goto end
:okHome
 
set "EXECUTABLE=%SIWPAS_HOME%\bin\tool-wrapper.bat"
 
rem Check that target executable exists
if exist "%EXECUTABLE%" goto okExec
echo Cannot find "%EXECUTABLE%"
echo This file is needed to run this program
goto end
:okExec
 
rem Get remaining unshifted command line arguments and save them in the
set CMD_LINE_ARGS=
:setArgs
if ""%1""=="""" goto doneSetArgs
set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
shift
goto setArgs
:doneSetArgs
 
call "%EXECUTABLE%" -server org.apache.catalina.realm.RealmBase %CMD_LINE_ARGS%
 
:end
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/bin/shutdown.sh
New file
0,0 → 1,46
#!/bin/sh
 
# Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
 
# -----------------------------------------------------------------------------
# Stop script for the SIWPAS Server
# -----------------------------------------------------------------------------
 
# resolve links - $0 may be a softlink
PRG="$0"
 
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
PRGDIR=`dirname "$PRG"`
EXECUTABLE=siwpas.sh
 
# Check that target executable exists
if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
echo "Cannot find $PRGDIR/$EXECUTABLE"
echo "The file is absent or does not have execute permission"
echo "This file is needed to run this program"
exit 1
fi
 
exec "$PRGDIR"/"$EXECUTABLE" stop "$@"
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/bin/digest.sh
New file
0,0 → 1,46
#!/bin/sh
 
# Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
 
# -----------------------------------------------------------------------------
# Script to digest password using the algorithm specified
# -----------------------------------------------------------------------------
 
# resolve links - $0 may be a softlink
PRG="$0"
 
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
PRGDIR=`dirname "$PRG"`
EXECUTABLE=tool-wrapper.sh
 
# Check that target executable exists
if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
echo "Cannot find $PRGDIR/$EXECUTABLE"
echo "The file is absent or does not have execute permission"
echo "This file is needed to run this program"
exit 1
fi
 
exec "$PRGDIR"/"$EXECUTABLE" -server org.apache.catalina.realm.RealmBase "$@"
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/bin/version.bat
New file
0,0 → 1,58
@echo off
 
rem Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
rem
rem This program is free software: you can redistribute it and/or modify
rem it under the terms of the GNU Lesser General Public License as published by
rem the Free Software Foundation, either version 3 of the License, or
rem (at your option) any later version.
rem
rem This program is distributed in the hope that it will be useful,
rem but WITHOUT ANY WARRANTY; without even the implied warranty of
rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
rem GNU Lesser General Public License for more details.
rem
rem You should have received a copy of the GNU Lesser General Public License
rem along with this program. If not, see <http://www.gnu.org/licenses/>.
 
if "%OS%" == "Windows_NT" setlocal
rem ---------------------------------------------------------------------------
rem Version script for the SIWPAS Server
rem ---------------------------------------------------------------------------
 
rem Guess SIWPAS_HOME if not defined
set "CURRENT_DIR=%cd%"
if not "%SIWPAS_HOME%" == "" goto gotHome
set "SIWPAS_HOME=%CURRENT_DIR%"
if exist "%SIWPAS_HOME%\bin\siwpas.bat" goto okHome
cd ..
set "SIWPAS_HOME=%cd%"
cd "%CURRENT_DIR%"
:gotHome
if exist "%SIWPAS_HOME%\bin\siwpas.bat" goto okHome
echo The SIWPAS_HOME environment variable is not defined correctly
echo This environment variable is needed to run this program
goto end
:okHome
 
set "EXECUTABLE=%SIWPAS_HOME%\bin\siwpas.bat"
 
rem Check that target executable exists
if exist "%EXECUTABLE%" goto okExec
echo Cannot find "%EXECUTABLE%"
echo This file is needed to run this program
goto end
:okExec
 
rem Get remaining unshifted command line arguments and save them in the
set CMD_LINE_ARGS=
:setArgs
if ""%1""=="""" goto doneSetArgs
set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
shift
goto setArgs
:doneSetArgs
 
call "%EXECUTABLE%" version %CMD_LINE_ARGS%
 
:end
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/bin/version.sh
New file
0,0 → 1,45
#!/bin/sh
 
# Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
 
# -----------------------------------------------------------------------------
# Version Script for the SIWPAS Server
# -----------------------------------------------------------------------------
 
# resolve links - $0 may be a softlink
PRG="$0"
 
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
 
PRGDIR=`dirname "$PRG"`
EXECUTABLE=catalina.sh
 
# Check that target executable exists
if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
echo "Cannot find $PRGDIR/$EXECUTABLE"
echo "This file is needed to run this program"
exit 1
fi
 
exec "$PRGDIR"/"$EXECUTABLE" version "$@"
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/bin/catalina-tasks.xml
New file
0,0 → 1,60
<?xml version="1.0"?>
<!--
Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<!--
XML file for importing Catalina ant tasks.
<import file="${catalina.home}/bin/catalina-tasks.xml"/>
-->
 
<project name="catalina-tasks">
<description>Catalina Ant Manager, JMX and JSPC Tasks</description>
<!-- set catalina.home if it's not already set -->
<dirname property="catalina.home.bin.dir" file="${ant.file.catalina-tasks}"/>
<property name="catalina.home" value="${catalina.home.bin.dir}/.."/>
<taskdef resource="org/apache/catalina/ant/catalina.tasks">
<classpath>
<fileset file="${catalina.home}/bin/tomcat-juli.jar"/>
<fileset file="${catalina.home}/lib/tomcat-api.jar"/>
<fileset file="${catalina.home}/lib/tomcat-util.jar"/>
<fileset file="${catalina.home}/lib/jasper.jar"/>
<fileset file="${catalina.home}/lib/jasper-el.jar"/>
<fileset file="${catalina.home}/lib/el-api.jar"/>
<fileset file="${catalina.home}/lib/jsp-api.jar"/>
<fileset file="${catalina.home}/lib/servlet-api.jar"/>
<fileset file="${catalina.home}/lib/catalina-ant.jar"/>
</classpath>
</taskdef>
<taskdef resource="org/apache/catalina/ant/jmx/jmxaccessor.tasks">
<classpath>
<fileset file="${catalina.home}/lib/catalina-ant.jar"/>
</classpath>
</taskdef>
<typedef
name="jmxEquals"
classname="org.apache.catalina.ant.jmx.JMXAccessorEqualsCondition">
<classpath>
<fileset file="${catalina.home}/lib/catalina-ant.jar"/>
</classpath>
</typedef>
<typedef
name="jmxCondition"
classname="org.apache.catalina.ant.jmx.JMXAccessorCondition">
<classpath>
<fileset file="${catalina.home}/lib/catalina-ant.jar"/>
</classpath>
</typedef>
</project>
/trunk/siwpas-release/assembly/bin/cpappend.bat
New file
0,0 → 1,34
@echo off
 
rem Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
rem
rem This program is free software: you can redistribute it and/or modify
rem it under the terms of the GNU Lesser General Public License as published by
rem the Free Software Foundation, either version 3 of the License, or
rem (at your option) any later version.
rem
rem This program is distributed in the hope that it will be useful,
rem but WITHOUT ANY WARRANTY; without even the implied warranty of
rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
rem GNU Lesser General Public License for more details.
rem
rem You should have received a copy of the GNU Lesser General Public License
rem along with this program. If not, see <http://www.gnu.org/licenses/>.
 
rem ---------------------------------------------------------------------------
rem Append to CLASSPATH
rem ---------------------------------------------------------------------------
 
rem Process the first argument
if ""%1"" == """" goto end
set CLASSPATH=%CLASSPATH%;%1
shift
 
rem Process the remaining arguments
:setArgs
if ""%1"" == """" goto doneSetArgs
set CLASSPATH=%CLASSPATH% %1
shift
goto setArgs
:doneSetArgs
:end
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/bin/tool-wrapper.bat
New file
0,0 → 1,89
@echo off
 
rem Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
rem
rem This program is free software: you can redistribute it and/or modify
rem it under the terms of the GNU Lesser General Public License as published by
rem the Free Software Foundation, either version 3 of the License, or
rem (at your option) any later version.
rem
rem This program is distributed in the hope that it will be useful,
rem but WITHOUT ANY WARRANTY; without even the implied warranty of
rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
rem GNU Lesser General Public License for more details.
rem
rem You should have received a copy of the GNU Lesser General Public License
rem along with this program. If not, see <http://www.gnu.org/licenses/>.
 
 
if "%OS%" == "Windows_NT" setlocal
rem ---------------------------------------------------------------------------
rem Wrapper script for command line tools
rem
rem Environment Variable Prerequisites
rem
rem SIWPAS_HOME May point at your Siwpas "build" directory.
rem
rem TOOL_OPTS (Optional) Java runtime options used when the "start",
rem "stop", or "run" command is executed.
rem
rem JAVA_HOME Must point at your Java Development Kit installation.
rem
rem JAVA_OPTS (Optional) Java runtime options used when the "start",
rem "stop", or "run" command is executed.
rem ---------------------------------------------------------------------------
 
rem Guess SIWPAS_HOME if not defined
set "CURRENT_DIR=%cd%"
if not "%SIWPAS_HOME%" == "" goto gotHome
set "SIWPAS_HOME=%CURRENT_DIR%"
if exist "%SIWPAS_HOME%\bin\tool-wrapper.bat" goto okHome
cd ..
set "SIWPAS_HOME=%cd%"
cd "%CURRENT_DIR%"
:gotHome
if exist "%SIWPAS_HOME%\bin\tool-wrapper.bat" goto okHome
echo The SIWPAS_HOME environment variable is not defined correctly
echo This environment variable is needed to run this program
goto end
:okHome
 
rem Ensure that any user defined CLASSPATH variables are not used on startup,
rem but allow them to be specified in setenv.bat, in rare case when it is needed.
set CLASSPATH=
 
rem Get standard environment variables
if exist "%SIWPAS_HOME%\bin\setenv.bat" call "%SIWPAS_HOME%\bin\setenv.bat"
 
rem Get standard Java environment variables
if exist "%SIWPAS_HOME%\bin\setclasspath.bat" goto okSetclasspath
echo Cannot find "%SIWPAS_HOME%\bin\setclasspath.bat"
echo This file is needed to run this program
goto end
:okSetclasspath
set "BASEDIR=%SIWPAS_HOME%"
call "%SIWPAS_HOME%\bin\setclasspath.bat" %1
if errorlevel 1 goto end
 
rem Add on extra jar files to CLASSPATH
rem Note that there are no quotes as we do not want to introduce random
rem quotes into the CLASSPATH
if "%CLASSPATH%" == "" goto emptyClasspath
set "CLASSPATH=%CLASSPATH%;"
:emptyClasspath
set "CLASSPATH=%CLASSPATH%%SIWPAS_HOME%\bin\bootstrap.jar;%SIWPAS_HOME%\bin\tomcat-juli.jar;%SIWPAS_HOME%\lib\servlet-api.jar;%SIWPAS_HOME%\bin\license.jar;%SIWPAS_HOME%\bin\bcastlegpg.jar;%SIWPAS_HOME%\bin\bcastleprov.jar"
 
set JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
 
rem Get remaining unshifted command line arguments and save them in the
set CMD_LINE_ARGS=
:setArgs
if ""%1""=="""" goto doneSetArgs
set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
shift
goto setArgs
:doneSetArgs
 
%_RUNJAVA% %JAVA_OPTS% %TOOL_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.home="%SIWPAS_HOME%" org.apache.catalina.startup.Tool %CMD_LINE_ARGS%
 
:end
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/bin/setclasspath.bat
New file
0,0 → 1,83
@echo off
 
rem Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
rem
rem This program is free software: you can redistribute it and/or modify
rem it under the terms of the GNU Lesser General Public License as published by
rem the Free Software Foundation, either version 3 of the License, or
rem (at your option) any later version.
rem
rem This program is distributed in the hope that it will be useful,
rem but WITHOUT ANY WARRANTY; without even the implied warranty of
rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
rem GNU Lesser General Public License for more details.
rem
rem You should have received a copy of the GNU Lesser General Public License
rem along with this program. If not, see <http://www.gnu.org/licenses/>.
 
rem ---------------------------------------------------------------------------
rem Set JAVA_HOME or JRE_HOME if not already set, ensure any provided settings
rem are valid and consistent with the selected start-up options and set up the
rem endorsed directory.
rem ---------------------------------------------------------------------------
 
rem Make sure prerequisite environment variables are set
if not "%JAVA_HOME%" == "" goto gotJdkHome
if not "%JRE_HOME%" == "" goto gotJreHome
echo Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
echo At least one of these environment variable is needed to run this program
goto exit
 
:gotJreHome
if not exist "%JRE_HOME%\bin\java.exe" goto noJavaHome
if not exist "%JRE_HOME%\bin\javaw.exe" goto noJavaHome
if not ""%1"" == ""debug"" goto okJavaHome
echo JAVA_HOME should point to a JDK in order to run in debug mode.
goto exit
 
:gotJdkHome
if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
if not exist "%JAVA_HOME%\bin\javaw.exe" goto noJavaHome
if not exist "%JAVA_HOME%\bin\jdb.exe" goto noJavaHome
if not exist "%JAVA_HOME%\bin\javac.exe" goto noJavaHome
if not "%JRE_HOME%" == "" goto okJavaHome
set "JRE_HOME=%JAVA_HOME%"
goto okJavaHome
 
:noJavaHome
echo The JAVA_HOME environment variable is not defined correctly
echo This environment variable is needed to run this program
echo NB: JAVA_HOME should point to a JDK not a JRE
goto exit
:okJavaHome
 
if not "%BASEDIR%" == "" goto gotBasedir
echo The BASEDIR environment variable is not defined
echo This environment variable is needed to run this program
goto exit
:gotBasedir
if exist "%BASEDIR%\bin\setclasspath.bat" goto okBasedir
echo The BASEDIR environment variable is not defined correctly
echo This environment variable is needed to run this program
goto exit
:okBasedir
 
rem Don't override the endorsed dir if the user has set it previously
if not "%JAVA_ENDORSED_DIRS%" == "" goto gotEndorseddir
rem Set the default -Djava.endorsed.dirs argument
set "JAVA_ENDORSED_DIRS=%BASEDIR%\endorsed"
:gotEndorseddir
 
rem Set standard command for invoking Java.
rem Note that NT requires a window name argument when using start.
rem Also note the quoting as JAVA_HOME may contain spaces.
set _RUNJAVA="%JRE_HOME%\bin\java"
set _RUNJDB="%JAVA_HOME%\bin\jdb"
 
goto end
 
:exit
exit /b 1
 
:end
exit /b 0
Property changes:
Added: svn:eol-style
+ native
/trunk/siwpas-release/assembly/bin/tool-wrapper.sh
New file
0,0 → 1,132
#!/bin/sh
 
# Copyright (c) 2008-2011 MechSoft Mechanical and Software Solutions
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
 
# -----------------------------------------------------------------------------
# Wrapper script for command line tools
#
# Environment Variable Prerequisites
#
# SIWPAS_HOME May point at your Siwpas "build" directory.
#
# TOOL_OPTS (Optional) Java runtime options used when the "start",
# "stop", or "run" command is executed.
#
# JAVA_HOME Must point at your Java Development Kit installation.
#
# JAVA_OPTS (Optional) Java runtime options used when the "start",
# "stop", or "run" command is executed.
# -----------------------------------------------------------------------------
 
# OS specific support. $var _must_ be set to either true or false.
cygwin=false
os400=false
darwin=false
case "`uname`" in
CYGWIN*) cygwin=true;;
OS400*) os400=true;;
Darwin*) darwin=true;;
esac
 
# resolve links - $0 may be a softlink
PRG="$0"
 
while [ -h "$PRG" ]; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
 
# Get standard environment variables
PRGDIR=`dirname "$PRG"`
 
# Only set SIWPAS_HOME if not already set
[ -z "$SIWPAS_HOME" ] && SIWPAS_HOME=`cd "$PRGDIR/.." >/dev/null; pwd`
 
# Ensure that any user defined CLASSPATH variables are not used on startup,
# but allow them to be specified in setenv.sh, in rare case when it is needed.
CLASSPATH=
 
if [ -r "$SIWPAS_HOME/bin/setenv.sh" ]; then
. "$SIWPAS_HOME/bin/setenv.sh"
fi
 
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin; then
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$JRE_HOME" ] && JRE_HOME=`cygpath --unix "$JRE_HOME"`
[ -n "$SIWPAS_HOME" ] && SIWPAS_HOME=`cygpath --unix "$SIWPAS_HOME"`
[ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
fi
 
# For OS400
if $os400; then
# Set job priority to standard for interactive (interactive - 6) by using
# the interactive priority - 6, the helper threads that respond to requests
# will be running at the same priority as interactive jobs.
COMMAND='chgjob job('$JOBNAME') runpty(6)'
system $COMMAND
 
# Enable multi threading
export QIBM_MULTI_THREADED=Y
fi