Apache Solr open-source search software
downgrade of jetty from 6 to 5.1.11RC0
William Auc0df776a1f71
diff --git a/example/etc/LICENSE.javax.servlet.txt b/example/etc/LICENSE.javax.servlet.txtnew file mode 100644index 00000000000..322799e311a--- /dev/null+++ b/example/etc/LICENSE.javax.servlet.txt@@ -0,0 +1,65 @@+/*+ * $Header: /cvsroot/jetty/Jetty/etc/LICENSE.javax.servlet.txt,v 1.2 2001/11/06 00:01:51 gregwilkins Exp $+ * $Revision: 1.2 $+ * $Date: 2001/11/06 00:01:51 $+ *+ * ====================================================================+ *+ * The Apache Software License, Version 1.1+ *+ * Copyright (c) 1999-2001 The Apache Software Foundation. All rights+ * reserved.+ *+ * 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. 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.+ *+ * 3. The end-user documentation included with the redistribution, if+ * any, must include the following acknowlegement:+ * "This product includes software developed by the+ * Apache Software Foundation (http://www.apache.org/)."+ * Alternately, this acknowlegement may appear in the software itself,+ * if and wherever such third-party acknowlegements normally appear.+ *+ * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software+ * Foundation" must not be used to endorse or promote products derived+ * from this software without prior written permission. For written+ * permission, please contact [email protected].+ *+ * 5. Products derived from this software may not be called "Apache"+ * nor may "Apache" appear in their names without prior written+ * permission of the Apache Group.+ *+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR+ * ITS 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 Apache Software Foundation. For more+ * information on the Apache Software Foundation, please see+ * <http://www.apache.org/>.+ *+ */+++++diff --git a/example/etc/LICENSE.javax.xml.html b/example/etc/LICENSE.javax.xml.htmlnew file mode 100644index 00000000000..c833ff7b461--- /dev/null+++ b/example/etc/LICENSE.javax.xml.html@@ -0,0 +1,200 @@+<HTML>+<HEAD>+ <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1">+ <TITLE></TITLE>+ <META NAME="GENERATOR" CONTENT="StarOffice/5.2 (Solaris Sparc)">+ <META NAME="AUTHOR" CONTENT="douglass hall">+ <META NAME="CREATED" CONTENT="20010109;9281200">+ <META NAME="CHANGEDBY" CONTENT=" ">+ <META NAME="CHANGED" CONTENT="20010112;13325200">+</HEAD>+<BODY>+<P ALIGN=CENTER><FONT SIZE=4>Sun Microsystems, Inc.</FONT> <BR><FONT SIZE=4>Binary+Code License Agreement</FONT></P>+<P>READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED SUPPLEMENTAL+LICENSE TERMS (COLLECTIVELY "AGREEMENT") CAREFULLY BEFORE+OPENING THE SOFTWARE MEDIA PACKAGE. BY OPENING THE SOFTWARE+MEDIA PACKAGE, YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU+ARE ACCESSING THE SOFTWARE ELECTRONICALLY, INDICATE YOUR ACCEPTANCE+OF THESE TERMS BY SELECTING THE "ACCEPT" BUTTON AT THE END+OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL THESE TERMS,+PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE OF PURCHASE FOR A+REFUND OR, IF THE SOFTWARE IS ACCESSED ELECTRONICALLY, SELECT THE+"DECLINE" BUTTON AT THE END OF THIS AGREEMENT.+</P>+<P><B>1. LICENSE TO USE.</B> Sun grants you a+non-exclusive and non-transferable license for the internal use only+of the accompanying software and documentation and any error+corrections provided by Sun (collectively "Software"), by+the number of users and the class of computer hardware for which the+corresponding fee has been paid.+</P>+<P><B>2. RESTRICTIONS. </B> Software is confidential and+copyrighted. Title to Software and all associated intellectual+property rights is retained by Sun and/or its licensors. Except+as specifically authorized in any Supplemental License Terms, you may+not make copies of Software, other than a single copy of Software for+archival purposes. Unless enforcement is prohibited by+applicable law, you may not modify, decompile, or reverse engineer+Software. You acknowledge that Software is not designed,+licensed or intended for use in the design, construction, operation+or maintenance of any nuclear facility. Sun disclaims any+express or implied warranty of fitness for such uses. No right,+title or interest in or to any trademark, service mark, logo or trade+name of Sun or its licensors is granted under this Agreement.+</P>+<P><B>3. LIMITED WARRANTY.</B> Sun warrants to you that for a+period of ninety (90) days from the date of purchase, as evidenced by+a copy of the receipt, the media on which Software is furnished (if+any) will be free of defects in materials and workmanship under+normal use. Except for the foregoing, Software is provided "AS+IS". Your exclusive remedy and Sun's entire liability+under this limited warranty will be at Sun's option to replace+Software media or refund the fee paid for Software.+</P>+<P><B>4. DISCLAIMER OF WARRANTY. </B> UNLESS SPECIFIED IN+THIS AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS+AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED,+EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY+INVALID.+</P>+<P><B>5. LIMITATION OF LIABILITY.</B> TO THE EXTENT NOT+PROHIBITED BY LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE+FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT,+CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED+REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF OR RELATED TO+THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED+OF THE POSSIBILITY OF SUCH DAMAGES. In no event will Sun's+liability to you, whether in contract, tort (including negligence),+or otherwise, exceed the amount paid by you for Software under this+Agreement. The foregoing limitations will apply even if the+above stated warranty fails of its essential purpose.+</P>+<P><B>6. Termination.</B> This Agreement is effective+until terminated. You may terminate this Agreement at any time+by destroying all copies of Software. This Agreement will+terminate immediately without notice from Sun if you fail to comply+with any provision of this Agreement. Upon Termination, you+must destroy all copies of Software.+</P>+<P><B>7. Export Regulations.</B> All Software and technical data+delivered under this Agreement are subject to US export control laws+and may be subject to export or import regulations in other+countries. You agree to comply strictly with all such laws and+regulations and acknowledge that you have the responsibility to+obtain such licenses to export, re-export, or import as may be+required after delivery to you.+</P>+<P><B>8. U.S. Government Restricted Rights. </B> If+Software is being acquired by or on behalf of the U.S. Government or+by a U.S. Government prime contractor or subcontractor (at any tier),+then the Government's rights in Software and accompanying+documentation will be only as set forth in this Agreement; this is in+accordance with 48 CFR 227.7201 through 227.7202-4 (for Department of+Defense (DOD) acquisitions) and with 48 CFR 2.101 and 12.212 (for+non-DOD acquisitions).+</P>+<P><B>9. Governing Law.</B> Any action related to this+Agreement will be governed by California law and controlling U.S.+federal law. No choice of law rules of any jurisdiction will+apply.+</P>+<P><B>10. Severability.</B> If any provision of this Agreement+is held to be unenforceable, this Agreement will remain in effect+with the provision omitted, unless omission would frustrate the+intent of the parties, in which case this Agreement will immediately+terminate.+</P>+<P><B>11. Integration.</B> This Agreement is the entire+agreement between you and Sun relating to its subject matter. +It supersedes all prior or contemporaneous oral or written+communications, proposals, representations and warranties and+prevails over any conflicting or additional terms of any quote,+order, acknowledgment, or other communication between the parties+relating to its subject matter during the term of this Agreement. +No modification of this Agreement will be binding, unless in writing+and signed by an authorized representative of each party.+</P>+<P ALIGN=CENTER>JAVA(TM) INTERFACE CLASSES <BR><BR>JAVA API FOR XML+PROCESSING (JAXP), VERSION 1.1 <BR>SUPPLEMENTAL LICENSE TERMS</P>+<P>These supplemental license terms ("Supplemental Terms")+add to or modify the terms of the Binary Code License Agreement+(collectively, the "Agreement"). Capitalized terms not+defined in these Supplemental Terms shall have the same meanings+ascribed to them in the Agreement. These Supplemental Terms shall+supersede any inconsistent or conflicting terms in the Agreement, or+in any license contained within the Software.+</P>+<P><B>1. Software Internal Use and Development License Grant.</B>+Subject to the terms and conditions of this Agreement, including, but+not limited to Section 3 (Java(TM) Technology Restrictions) of these+Supplemental Terms, Sun grants you a non-exclusive, non-transferable,+limited license to reproduce internally and use internally the binary+ form of the Software, complete and unmodified, for the sole purpose+of designing, developing and testing your Java applets and+applications ("Programs").+</P>+<P><B>2. License to Distribute Software.</B> In addition to the+license granted in Section 1 (Software Internal Use and Development+License Grant) of these Supplemental Terms, subject to the terms and+conditions of this Agreement, including but not limited to Section 3+(Java Technology Restrictions), Sun grants you a non-exclusive,+non-transferable, limited license to reproduce and distribute the+Software in binary form, provided that you (i) distribute the+Software complete and unmodified and only bundled as part of your+Programs, (ii) do not distribute additional software intended to+replace any component(s) of the Software, (iii) do not remove or+alter any proprietary legends or notices contained in the Software,+(iv) only distribute the Software subject to a license agreement that+protects Sun's interests consistent with the terms contained in this+Agreement, and (v) agree to defend and indemnify Sun and its+licensors from and against any damages, costs, liabilities,+settlement amounts and/or expenses (including attorneys' fees)+incurred in connection with any claim, lawsuit or action by any third+party that arises or results from the use or distribution of any and+all Programs and/or Software.+</P>+<P><B>3. Java Technology Restrictions.</B> You may not modify the+Java Platform Interface ("JPI", identified as classes+contained within the "java" package or any subpackages of+the "java" package), by creating additional classes within+the JPI or otherwise causing the addition to or modification of the+classes in the JPI. In the event that you create an additional+class and associated API(s) which (i) extends the functionality of+the Java platform, and (ii) is exposed to third party software+developers for the purpose of developing additional software which+invokes such additional API, you must promptly publish broadly an+accurate specification for such API for free use by all developers.+You may not create, or authorize your licensees to create additional+classes, interfaces, or subpackages that are in any way identified as+"java", "javax", "sun" or similar+convention as specified by Sun in any naming convention designation.</P>+<P><B>4. Trademarks and Logos.</B> You acknowledge and agree as+between you and Sun that Sun owns the SUN, SOLARIS, JAVA, JINI,+FORTE, STAROFFICE, STARPORTAL and iPLANET trademarks and all SUN,+SOLARIS, JAVA, JINI, FORTE, STAROFFICE, STARPORTAL and+iPLANET-related trademarks, service marks, logos and other brand+designations ("Sun Marks"), and you agree to comply with+the Sun Trademark and Logo Usage Requirements currently located at+http://www.sun.com/policies/trademarks. Any use you make of the Sun+Marks inures to Sun's benefit.+</P>+<P><B>5. Source Code. </B>Software may contain source code that is+provided for reference purposes pursuant to the terms of this+Agreement. Source code may not be redistributed unless expressly+provided for in this Agreement. <SPAN STYLE="font-weight: medium">Portions+of this download are governed by the Apache Source Code License and+are identified in the Readme file. A copy of the Apache License is+supplied with the Apache Source Code.</SPAN></P>+<P><B>6. Termination for Infringement. </B> Either party may+terminate this Agreement immediately should any Software become, or+in either party's opinion be likely to become, the subject of a claim+of infringement of any intellectual property right.+</P>+<P>For inquiries please contact: Sun Microsystems, Inc. 901 San+Antonio Road, Palo Alto, California 94303 <BR><I><FONT SIZE=2>(Form+last modified 11-03-2000.)</FONT></I>+</P>+</BODY>+</HTML>diff --git a/example/etc/LICENSE.jsse.txt b/example/etc/LICENSE.jsse.txtnew file mode 100644index 00000000000..1c305dce30e--- /dev/null+++ b/example/etc/LICENSE.jsse.txt@@ -0,0 +1,200 @@+Sun Microsystems, Inc.+Binary Code License Agreement++READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED+SUPPLEMENTAL LICENSE TERMS (COLLECTIVELY "AGREEMENT")+CAREFULLY BEFORE OPENING THE SOFTWARE MEDIA PACKAGE. BY+OPENING THE SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE TERMS+OF THIS AGREEMENT. IF YOU ARE ACCESSING THE SOFTWARE+ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY+SELECTING THE "ACCEPT" BUTTON AT THE END OF THIS AGREEMENT.+ IF YOU DO NOT AGREE TO ALL THESE TERMS, PROMPTLY RETURN+THE UNUSED SOFTWARE TO YOUR PLACE OF PURCHASE FOR A REFUND+OR, IF THE SOFTWARE IS ACCESSED ELECTRONICALLY, SELECT THE+"DECLINE" BUTTON AT THE END OF THIS AGREEMENT.++1. LICENSE TO USE. Sun grants you a non-exclusive and+non-transferable license for the internal use only of the+accompanying software and documentation and any error+corrections provided by Sun (collectively "Software"), by+the number of users and the class of computer hardware for+which the corresponding fee has been paid.++2. RESTRICTIONS. Software is confidential and+copyrighted. Title to Software and all associated+intellectual property rights is retained by Sun and/or its+licensors. Except as specifically authorized in any+Supplemental License Terms, you may not make copies of+Software, other than a single copy of Software for archival+purposes. Unless enforcement is prohibited by applicable+law, you may not modify, decompile, or reverse engineer+Software. You acknowledge that Software is not designed,+licensed or intended for use in the design, construction,+operation or maintenance of any nuclear facility. Sun+disclaims any express or implied warranty of fitness for+such uses. No right, title or interest in or to any+trademark, service mark, logo or trade name of Sun or its+licensors is granted under this Agreement.++3. LIMITED WARRANTY. Sun warrants to you that for a period+of ninety (90) days from the date of purchase, as evidenced+by a copy of the receipt, the media on which Software is+furnished (if any) will be free of defects in materials and+workmanship under normal use. Except for the foregoing,+Software is provided "AS IS". Your exclusive remedy and+Sun's entire liability under this limited warranty will be+at Sun's option to replace Software media or refund the fee+paid for Software.++4. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS+AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS,+REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED+WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR+PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE+EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY+INVALID.++5. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED+BY LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR+ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT,+CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER+CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT+OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE,+EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH+DAMAGES. In no event will Sun's liability to you, whether+in contract, tort (including negligence), or otherwise,+exceed the amount paid by you for Software under this+Agreement. The foregoing limitations will apply even if+the above stated warranty fails of its essential purpose.++6. Termination. This Agreement is effective until+terminated. You may terminate this Agreement at any time+by destroying all copies of Software. This Agreement will+terminate immediately without notice from Sun if you fail+to comply with any provision of this Agreement. Upon+Termination, you must destroy all copies of Software.++7. Export Regulations. All Software and technical data+delivered under this Agreement are subject to US export+control laws and may be subject to export or import+regulations in other countries. You agree to comply+strictly with all such laws and regulations and acknowledge+that you have the responsibility to obtain such licenses to+export, re-export, or import as may be required after+delivery to you.++8. U.S. Government Restricted Rights. If Software is+being acquired by or on behalf of the U.S. Government or by+a U.S. Government prime contractor or subcontractor (at any+tier), then the Government's rights in Software and+accompanying documentation will be only as set forth in+this Agreement; this is in accordance with 48 CFR 227.7201+through 227.7202-4 (for Department of Defense (DOD)+acquisitions) and with 48 CFR 2.101 and 12.212 (for non-DOD+acquisitions).++9. Governing Law. Any action related to this Agreement+will be governed by California law and controlling U.S.+federal law. No choice of law rules of any jurisdiction+will apply.++10. Severability. If any provision of this Agreement is+held to be unenforceable, this Agreement will remain in+effect with the provision omitted, unless omission would+frustrate the intent of the parties, in which case this+Agreement will immediately terminate.++11. Integration. This Agreement is the entire agreement+between you and Sun relating to its subject matter. It+supersedes all prior or contemporaneous oral or written+communications, proposals, representations and warranties+and prevails over any conflicting or additional terms of+any quote, order, acknowledgment, or other communication+between the parties relating to its subject matter during+the term of this Agreement. No modification of this+Agreement will be binding, unless in writing and signed by+an authorized representative of each party.++For inquiries please contact: Sun Microsystems, Inc. 901+San Antonio Road, Palo Alto, California 94303++JAVATM DEVELOPMENT OPTIONAL PACKAGES+JAVATM SECURE SOCKET EXTENSION, VERSION 1.0.2++SUPPLEMENTAL LICENSE TERMS++These supplemental license terms ("Supplement") add to or+modify the terms of the Binary Code License Agreement+(collectively, the "Agreement"). Capitalized terms not+defined in this Supplement shall have the same meanings+ascribed to them in the Agreement. These Supplement terms+shall supersede any inconsistent or conflicting terms in+the Agreement, or in any license contained within the+Software.++1. License to Distribute. Sun grants you a non-exclusive,+non-transferable, royalty-free, limited license to (a) use+the binary form of the Software for the sole purpose of+designing, developing and testing your JavaTM applets and+applications intended to run on a compatible Java+environment (the "Programs"), provided that the Programs+add significant and primary functionality to the Software,+and (b) reproduce and distribute the binary form of the+Software through multiple tiers of distribution provided+that you: (i) distribute the Software complete and+unmodified; (ii) do not distribute additional software+intended to supersede any component(s) of the Software;+(iii) do not remove or alter any proprietary+legends or notices contained in or on the Software; and+(iv) only distribute the Software pursuant to a license+agreement that protects Sun's interests consistent with the+terms contained in this Agreement, and provides that Sun is+a third party beneficiary to such license agreement. If you+distribute the Software pursuant to this paragraph, you+must include the following statement as part of product+documentation (whether hard copy or electronic), as a+part of a copyright page or proprietary rights notice+page, in an "About" box or in any other form reasonably+designed to make the statement visible to users of the+Software: "This product includes code licensed from+RSA Data Security".++2. Requirements. In exchange for the licenses granted in+Paragraph 1 above, you agree:++a. not to create, or authorize your licensees to create,+additional classes, interfaces or subpackages that are+contained in the "java," "javax" or "sun" packages, or+similarly named package, as specified by Sun in any naming+convention;++b. that, in the event that you create an API(s) which: (i)+extends the functionality of a Java platform; and (ii) is+distributed to third party software developers for the+purpose of developing software which invokes such+additional API, you must promptly and broadly publish an+accurate specification for such API for free use by all+developers; and++c. to defend and indemnify Sun and its licensors from and+against any damages, costs, liabilities, settlement amounts+and/or expenses (including attorneys' fees) incurred in+connection with any claim, lawsuit or action by any third+party that arises or results from the use or distribution+of any and all Programs and/or Software.++3. Trademarks and Logos. You acknowledge and agree as+between you and Sun that Sun owns the Java trademark and+all Java-related trademarks, service marks, logos and other+brand designations including the Coffee Cup logo and Duke+logo ("Java Marks"), and you agree to comply with the Sun+Trademark and Logo Usage Requirements currently located at+http://www.sun.com/policies/trademarks. Any use you make of+the Java Marks inures to Sun's benefit.++4. Source Code. Software may contain source code that is+provided solely for reference purposes pursuant to the+terms of this Agreement.+++diff --git a/example/etc/admin.xml b/example/etc/admin.xmlnew file mode 100644index 00000000000..18b364eb56f--- /dev/null+++ b/example/etc/admin.xml@@ -0,0 +1,82 @@+<?xml version="1.0" encoding="ISO-8859-1"?>+<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">++<!--+This is a Jetty HTTP admin server configuration file. This configuration+uses the generic org.mortbay.util.XmlConfiguration class to call+the normal org.mortbay.http.HttpServer configuration API from+within an XML script.++The format of this file is described in the configure.dtd file.++The API that can be called by this file is described in the+Javadoc for Jetty.++$Id: admin.xml,v 1.28 2005/01/16 00:22:20 gregwilkins Exp $+-->++<Configure class="org.mortbay.jetty.Server">+ <Call name="addListener">+ <Arg>+ <New class="org.mortbay.http.SocketListener">+ <Set name="Host">localhost</Set>+ <Set name="Port">8081</Set>+ <Set name="MinThreads">1</Set>+ <Set name="MaxThreads">5</Set>+ <Set name="MaxIdleTimeMs">30000</Set>+ </New>+ </Arg>+ </Call>++ <Call name="addRealm">+ <Arg>+ <New class="org.mortbay.http.HashUserRealm">+ <Arg>Admin Realm</Arg>+ <Put name="admin">admin</Put>+ <Call name="addUserToRole"><Arg>admin</Arg><Arg>server-administrator</Arg></Call>+ </New>+ </Arg>+ </Call>++ <Call name="addContext">+ <Arg>/</Arg>+ <Set name="realmName">Admin Realm</Set>+ <Set name="authenticator"><New class="org.mortbay.http.BasicAuthenticator"/></Set>++ <Call name="addHandler">+ <Arg><New class="org.mortbay.http.handler.SecurityHandler"/></Arg>+ </Call>+ <Call name="addSecurityConstraint">+ <Arg>/</Arg>+ <Arg><New class="org.mortbay.http.SecurityConstraint">+ <Arg>Admin</Arg>+ <Arg>server-administrator</Arg>+ </New></Arg>+ </Call>++ <Call name="addServlet">+ <Arg>Admin</Arg>+ <Arg>/</Arg>+ <Arg>org.mortbay.servlet.AdminServlet</Arg>+ </Call>++ <Call name="addServlet">+ <Arg>Debug</Arg>+ <Arg>/debug/*</Arg>+ <Arg>org.mortbay.servlet.Debug</Arg>+ </Call>++ <Call name="setAttribute">+ <Arg>org.mortbay.http.HttpServer</Arg>+ <Arg><Call name="getHttpServer"/></Arg>+ </Call>+ </Call>++ <Set name="anonymous">true</Set>+ <Set name="requestsPerGC">1</Set>++</Configure>++++diff --git a/example/etc/jetty-jmx.xml b/example/etc/jetty-jmx.xmlnew file mode 100644index 00000000000..3ab5e2fdbf4--- /dev/null+++ b/example/etc/jetty-jmx.xml@@ -0,0 +1,37 @@+<?xml version="1.0"?>+<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">+++<!-- =============================================================== -->+<!-- Configure the Jetty Server -->+<!-- =============================================================== -->+<Configure>++ <Call id="jmxserver" class="javax.management.MBeanServerFactory" name="createMBeanServer">++ <Arg>org.mortbay</Arg>++ <Call name="createMBean">+ <Arg>org.mortbay.util.jmx.MX4JHttpAdaptor</Arg>+ <Arg><New class="javax.management.ObjectName"><Arg>mx4j.tools:adaptor=http</Arg></New></Arg>+ <Arg><Array type="java.lang.Object"><Item type="int">8082</Item><Item>localhost</Item></Array></Arg>+ <Arg><Array type="java.lang.String"><Item>int</Item><Item>java.lang.String</Item></Array></Arg>+ </Call>++ <Call name="createMBean">+ <Arg>org.mortbay.jetty.jmx.ServerMBean</Arg>+ <Arg><New class="javax.management.ObjectName"><Arg>org.mortbay:jetty=admin</Arg></New></Arg>+ <Arg><Array type="java.lang.Object"><Item>etc/admin.xml</Item></Array></Arg>+ <Arg><Array type="java.lang.String"><Item>java.lang.String</Item></Array></Arg>+ </Call>++ <Call name="createMBean">+ <Arg>org.mortbay.jetty.jmx.ServerMBean</Arg>+ <Arg><New class="javax.management.ObjectName"><Arg>org.mortbay:jetty=default</Arg></New></Arg>+ <Arg><Array type="java.lang.Object"><Item>etc/jetty.xml</Item></Array></Arg>+ <Arg><Array type="java.lang.String"><Item>java.lang.String</Item></Array></Arg>+ </Call>++ </Call>++</Configure>diff --git a/example/etc/jetty.xml b/example/etc/jetty.xmlindex 6a8e9416ef2..e2070b7c2ba 100755--- a/example/etc/jetty.xml+++ b/example/etc/jetty.xml@@ -1,204 +1,244 @@-<?xml version="1.0"?>+<?xml version="1.0"?><!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">+<!-- =============================================================== --><!-- Configure the Jetty Server --><!-- =============================================================== -->-<Configure id="Server" class="org.mortbay.jetty.Server">-- <!-- =========================================================== -->- <!-- Initialize management framework -->- <!-- =========================================================== -->- <!--- <Call id="MBeanServer" class="javax.management.MBeanServerFactory" name="createMBeanServer">- <Arg>org.mortbay.jetty</Arg>- </Call>- <Get id="Container" name="container"/>- <New class="org.mortbay.management.MBeanContainer">- <Arg><Ref id="MBeanServer" /></Arg>- <Arg><Ref id="Container"/></Arg>- <Set name="managementPort">8985</Set>- <Call name="start" />- </New>- -->-- <!-- =========================================================== -->- <!-- Server Thread Pool -->- <!-- =========================================================== -->- <Set name="ThreadPool">- <New class="org.mortbay.thread.BoundedThreadPool">- <Set name="minThreads">10</Set>- <Set name="maxThreads">100</Set>- </New>- </Set>-- <!-- =========================================================== -->- <!-- Set connectors -->- <!-- =========================================================== -->- <!-- One of each type! -->- <!-- =========================================================== -->- <Set name="connectors">- <Array type="org.mortbay.jetty.Connector">-- <!-- Use this connector if NIO is not available.- -->- <!--- <Item>- <New class="org.mortbay.jetty.bio.SocketConnector">- <Set name="port">8984</Set>- <Set name="maxIdleTime">50000</Set>- </New>- </Item>- -->-- <!-- Use this connector for few very active connections.- <Item>- <New class="org.mortbay.jetty.nio.BlockingChannelConnector">- <Set name="port">8983</Set>+<Configure class="org.mortbay.jetty.Server">++ <!-- =============================================================== -->+ <!-- Configure Logging -->+ <!-- =============================================================== -->+++ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <!-- Configure Jetty Logging. -->+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <!-- Uncomment if using jetty logging.+ <Call class="org.mortbay.log.LogFactory" name="getFactory">+ <Call name="getInstance">+ <Arg/>+ <Call name="reset"/>+ <Call name="add">+ <Arg>+ <New class="org.mortbay.log.OutputStreamLogSink">+ <Set name="filename"><SystemProperty name="jetty.home" default="."/>/logs/yyyy_mm_dd.jetty.log</Set>+ <Set name="retainDays">90</Set>+ <Set name="append">true</Set>+ <Set name="logLabels">true</Set>+ <Set name="logStackSize">true</Set>+ <Set name="logStackTrace">false</Set>+ <Set name="logOneLine">false</Set>+ <Set name="suppressStack">false</Set>+ <Set name="logTimeZone">GMT</Set></New>- </Item>- -->-- <!-- Use this connector for many frequently idle connections- and for threadless continuations.- -->- <Item>- <New class="org.mortbay.jetty.nio.SelectChannelConnector">- <Set name="port">8983</Set>- <Set name="maxIdleTime">30000</Set>- <Set name="Acceptors">10</Set>- </New>- </Item>-- <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->- <!-- Add a HTTPS SSL listener on port 8443 -->- <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->- <!--- <Item>- <New class="org.mortbay.jetty.security.SslSocketConnector">- <Set name="Port">8443</Set>- <Set name="maxIdleTime">30000</Set>- <Set name="Keystore"><SystemProperty name="jetty.home" default="." />/etc/keystore</Set>- <Set name="Password">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>- <Set name="KeyPassword">OBF:1u2u1wml1z7s1z7a1wnl1u2g</Set>- </New>- </Item>- -->- </Array>- </Set>-- <!-- =========================================================== -->- <!-- Set handlers -->- <!-- =========================================================== -->- <Set name="handlers">- <Array type="org.mortbay.jetty.Handler">-- <!-- ======================================================= -->- <!-- Configure a test web application with web.xml -->- <!-- ======================================================= -->- <!--- <Item>- <New id="testWebAppContext" class="org.mortbay.jetty.webapp.WebAppContext">- <Set name="contextPath">/test</Set>- <Set name="war">./webapps/test</Set>- <Set name="VirtualHosts"><Array type="java.lang.String"></Array></Set>- <Get name="SessionHandler">- <Set name="SessionManager"><New class="org.mortbay.jetty.servlet.HashSessionManager"/></Set>- </Get>- </New>- </Item>- -->-- <!-- ======================================================= -->- <!-- Configure a context directly - no XML parser required -->- <!-- ======================================================= -->- <!--- <Item>- <New id="javadocContext" class="org.mortbay.jetty.handler.ContextHandler">- <Set name="contextPath">/javadoc</Set>- <Set name="resourceBase">./javadoc</Set>- <Set name="handler">- <New id="javadocServletHandler" class="org.mortbay.jetty.servlet.ServletHandler">- <Set name="servlets">- <Array type="org.mortbay.jetty.servlet.ServletHolder">- <Item>- <New class="org.mortbay.jetty.servlet.ServletHolder">- <Set name="name">Default</Set>- <Set name="className">org.mortbay.jetty.servlet.DefaultServlet</Set>- </New>- </Item>- </Array>- </Set>-- <Set name="servletMappings">- <Array type="org.mortbay.jetty.servlet.ServletMapping">- <Item>- <New class="org.mortbay.jetty.servlet.ServletMapping">- <Set name="pathSpec">/</Set>- <Set name="servletName">Default</Set>- </New>- </Item>- </Array>- </Set>- </New>- </Set>- </New>- </Item>- -->-- </Array>- </Set>---- <!-- =========================================================== -->- <!-- Additional contexts not defined above -->- <!-- =========================================================== -->- <Call class="org.mortbay.jetty.webapp.WebAppContext" name="addWebApplications">- <Arg><Ref id="Server"/></Arg>- <Arg>./webapps</Arg>- <Arg>org/mortbay/jetty/webapp/webdefault.xml</Arg>- <Arg type="boolean">True</Arg>- <Arg type="boolean">True</Arg>+ </Arg>+ </Call></Call>---- <!-- =========================================================== -->- <!-- Configure Realms -->- <!-- =========================================================== -->- <Set name="UserRealms">- <Array type="org.mortbay.jetty.security.UserRealm">- <Item>- <New class="org.mortbay.jetty.security.HashUserRealm">- <Set name="name">Test Realm</Set>- <Set name="config">etc/realm.properties</Set>- </New>- </Item>+ </Call>+ -->++ <!-- =============================================================== -->+ <!-- Configure the Request Listeners -->+ <!-- =============================================================== -->++ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <!-- Add and configure a HTTP listener to port 8983 -->+ <!-- The default port can be changed using: java -Djetty.port=80 -->+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <Call name="addListener">+ <Arg>+ <New class="org.mortbay.http.SocketListener">+ <Set name="Port"><SystemProperty name="jetty.port" default="8983"/></Set>+ <Set name="PoolName">P1</Set>+ <Set name="MinThreads">20</Set>+ <Set name="MaxThreads">200</Set>+ <Set name="lowResources">50</Set>+ <Set name="MaxIdleTimeMs">30000</Set>+ <Set name="LowResourcePersistTimeMs">2000</Set>+ <Set name="acceptQueueSize">0</Set>+ <Set name="ConfidentialPort">8443</Set>+ <Set name="IntegralPort">8443</Set>+ </New>+ </Arg>+ </Call>+++ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <!-- Add a HTTPS SSL listener on port 8443 -->+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <!-- UNCOMMENT TO ACTIVATE+ <Call name="addListener">+ <Arg>+ <New class="org.mortbay.http.SslListener">+ <Set name="Port">8443</Set>+ <Set name="PoolName">P1</Set>+ <Set name="MaxIdleTimeMs">30000</Set>+ <Set name="lowResources">30</Set>+ <Set name="LowResourcePersistTimeMs">2000</Set>+ <Set name="Keystore"><SystemProperty name="jetty.home" default="."/>/etc/demokeystore</Set>+ <Set name="Password">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>+ <Set name="KeyPassword">OBF:1u2u1wml1z7s1z7a1wnl1u2g</Set>++ <Set name="HttpHandler">+ <New class="org.mortbay.http.handler.MsieSslHandler">+ <Set name="UserAgentSubString">MSIE 5</Set>+ </New>+ </Set>+ </New>+ </Arg>+ </Call>+ -->+++ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <!-- Add a AJP13 listener on port 8009 -->+ <!-- This protocol can be used with mod_jk in apache, IIS etc. -->+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <!--+ <Call name="addListener">+ <Arg>+ <New class="org.mortbay.http.ajp.AJP13Listener">+ <Set name="Port">8009</Set>+ <Set name="MinThreads">5</Set>+ <Set name="MaxThreads">20</Set>+ <Set name="MaxIdleTimeMs">0</Set>+ <Set name="confidentialPort">443</Set>+ </New>+ </Arg>+ </Call>+ -->+++ <!-- =============================================================== -->+ <!-- Set the default web application configuration mechanisms: -->+ <!-- XMLConfiguration - handles WEB-INF/web.xml -->+ <!-- JettyWebConfiguration - handles WEB-INF/jetty-web.xml -->+ <!-- jsr77.Configuration - Adds jsr77 statistics to servlets -->+ <!-- -->+ <!-- Order of these classes is significant. The defaults set here -->+ <!-- can be overridden by calling setConfigurationClassNames() on -->+ <!-- the webapp context. -->+ <!-- The TagLibconfiguration scans any tld files found for -->+ <!-- additional j2ee listener classes - needed for JSF -->+ <!-- The jsr77 configuration requires additional jars on the -->+ <!-- on the classpath and it needs jmx enabled. -->+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <Set name="WebApplicationConfigurationClassNames">+ <Array type="java.lang.String">+ <Item>org.mortbay.jetty.servlet.XMLConfiguration</Item>+ <Item>org.mortbay.jetty.servlet.JettyWebConfiguration</Item>++ <!--+ <Item>org.mortbay.jetty.servlet.TagLibConfiguration</Item>+ <Item>org.mortbay.jetty.servlet.jsr77.Configuration</Item>+ -->+ </Array>+ </Set>+++ <!-- =============================================================== -->+ <!-- Configure the Contexts -->+ <!-- =============================================================== -->+++ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <!-- Add a all web application within the webapps directory. -->+ <!-- + No virtual host specified -->+ <!-- + Look in the webapps directory relative to jetty.home or . -->+ <!-- + Use the webdefault.xml resource for the defaults descriptor -->+ <!-- + Upack the war file -->+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <Set name="rootWebApp">root</Set>++ <Call name="addWebApplications">+ <Arg></Arg>+ <Arg><SystemProperty name="jetty.home" default="."/>/webapps/</Arg>+ <Arg><SystemProperty name="jetty.home" default="."/>/etc/webdefault.xml</Arg>+ <Arg type="boolean">true</Arg><!--extract WARs-->+ <Arg type="boolean">false</Arg><!-- java 2 compliant class loader -->+ </Call>+++ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <!-- Add and configure a specific web application -->+ <!-- + Set Unpack WAR files -->+ <!-- + Set Default Descriptor. Resource, file or URL -->+ <!-- + Set java 2 complaint classloading -->+ <!-- + Set Virtual Hosts. A Null host or empty array means all hosts -->+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <!-- UNCOMMENT TO ACTIVATE+ <Call name="addWebApplication">+ <Arg>/context</Arg>+ <Arg>./webapps/root</Arg>++ <Set name="extractWAR">false</Set>+ <Set name="defaultsDescriptor">org/mortbay/jetty/servlet/webdefault.xml</Set>+ <Set name="classLoaderJava2Compliant">true</Set>++ <Set name="virtualHosts">+ <Array type="java.lang.String">+ <Item></Item>+ <Item>127.0.0.1</Item>+ <Item>localhost</Item>+ <Item>www.acme.com</Item></Array></Set>-- <!-- =========================================================== -->- <!-- Configure Request Log -->- <!-- =========================================================== -->- <!-- uncomment for a request log (and create logs directory)- <Set name="requestLog">- <New id="requestLogImpl" class="org.mortbay.jetty.NCSARequestLog">- <Arg><SystemProperty name="jetty.home" default="."/>/logs/yyyy_mm_dd.request.log</Arg>- <Set name="retainDays">90</Set>- <Set name="append">true</Set>- <Set name="extended">false</Set>- <Set name="LogTimeZone">GMT</Set>- </New>- </Set>- -->-- <!-- =========================================================== -->- <!-- Start the server -->- <!-- =========================================================== -->- <Set name="stopAtShutdown">true</Set>- <Call name="start"/>+ </Call>+ -->++ <!-- =============================================================== -->+ <!-- Configure the Request Log -->+ <!-- =============================================================== -->+ <!-- Uncomment for request logging.+ <Set name="RequestLog">+ <New class="org.mortbay.http.NCSARequestLog">+ <Arg><SystemProperty name="jetty.home" default="."/>/logs/yyyy_mm_dd.request.log</Arg>+ <Set name="retainDays">90</Set>+ <Set name="append">true</Set>+ <Set name="extended">false</Set>+ <Set name="LogTimeZone">GMT</Set>+ </New>+ </Set>+ -->++ <!-- =============================================================== -->+ <!-- Configure the Other Server Options -->+ <!-- =============================================================== -->+ <Set name="requestsPerGC">2000</Set>+ <Set name="statsOn">false</Set>+ <Set class="org.mortbay.util.FileResource" name="checkAliases" type="boolean">true</Set>++ <!-- System classes cannot be overriden by a HttpContext or webapp+ <Set name="systemClasses">+ <Array type="java.lang.String">+ <Item>java.</Item>+ <Item>javax.servlet.</Item>+ <Item>javax.xml.</Item>+ <Item>org.mortbay.</Item>+ <Item>org.xml.</Item>+ <Item>org.w3c.</Item>+ <Item>org.apache.commons.logging.</Item>+ </Array>+ </Set>+ -->++ <!-- Server classes are hidden from a HttpContext or webapp+ <Set name="serverClasses">+ <Array type="java.lang.String">+ <Item>-org.mortbay.http.PathMap</Item>+ <Item>org.mortbay.http.</Item>+ <Item>-org.mortbay.jetty.servlet.Default</Item>+ <Item>-org.mortbay.jetty.servlet.Invoker</Item>+ <Item>-org.mortbay.jetty.servlet.JSR154Filter</Item>+ <Item>org.mortbay.jetty.</Item>+ <Item>org.mortbay.start.</Item>+ <Item>org.mortbay.stop.</Item>+ </Array>+ </Set>+ --></Configure>diff --git a/example/etc/keystore b/example/etc/keystoredeleted file mode 100755index b727bd0fb77..00000000000Binary files a/example/etc/keystore and /dev/null differdiff --git a/example/etc/realm.properties b/example/etc/realm.propertiesdeleted file mode 100755index 7bf9d2e8a12..00000000000--- a/example/etc/realm.properties+++ /dev/null@@ -1,21 +0,0 @@-#-# This file defines users passwords and roles for a HashUserRealm-#-# The format is-# <username>: <password>[,<rolename> ...]-#-# Passwords may be clear text, obfuscated or checksummed. The class-# org.mortbay.util.Password should be used to generate obfuscated-# passwords or password checksums-#-# If DIGEST Authentication is used, the password must be in a recoverable-# format, either plain text or OBF:.-#-jetty: MD5:164c88b302622e17050af52c89945d44,user-admin: CRYPT:adpexzg3FUZAk,server-administrator,content-administrator,admin-other: OBF:1xmk1w261u9r1w1c1xmq-plain: plain-user: password--# This entry is for digest auth. The credential is a MD5 hash of username:realmname:password-digest: MD5:6e120743ad67abfbc385bc2bb754e297diff --git a/example/etc/webdefault.xml b/example/etc/webdefault.xmlnew file mode 100644index 00000000000..b7ba1ca9f2e--- /dev/null+++ b/example/etc/webdefault.xml@@ -0,0 +1,373 @@+<?xml version="1.0" encoding="ISO-8859-1"?>++<!-- ===================================================================== -->+<!-- This file contains the default descriptor for web applications. -->+<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+<!-- The intent of this descriptor is to include jetty specific or common -->+<!-- configuration for all webapps. If a context has a webdefault.xml -->+<!-- descriptor, it is applied before the contexts own web.xml file -->+<!-- -->+<!-- A context may be assigned a default descriptor by: -->+<!-- + Allowing the default defaultweb.xml to be applied -->+<!-- + Calling WebApplicationContext.setDefaultsDescriptor -->+<!-- + Passed an arg to addWebApplications -->+<!-- -->+<!-- If a defaults descriptor is set, it is first looked for as a system -->+<!-- resource. The jetty jar contains a webdefault.xml file as a resource -->+<!-- at "org/mortbay/jetty/servlet/webdefault.xml". If a system resource -->+<!-- is not found, then a normal resource is tried, thus a filename or URL -->+<!-- may be used to specify an arbitrary file. -->+<!-- -->+<!-- ===================================================================== -->+<web-app+ xmlns="http://java.sun.com/xml/ns/j2ee"+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"+ version="2.4">++ <description>+ Default web.xml file.+ This file is applied to a Web application before it's own WEB_INF/web.xml file+ </description>++++ <!-- ==================================================================== -->+ <!-- Context params to control Session Cookies -->+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <!-- UNCOMMENT TO ACTIVATE+ <context-param>+ <param-name>org.mortbay.jetty.servlet.SessionDomain</param-name>+ <param-value>127.0.0.1</param-value>+ </context-param>++ <context-param>+ <param-name>org.mortbay.jetty.servlet.SessionPath</param-name>+ <param-value>/</param-value>+ </context-param>++ <context-param>+ <param-name>org.mortbay.jetty.servlet.MaxAge</param-name>+ <param-value>-1</param-value>+ </context-param>+ -->++++ <!-- ==================================================================== -->+ <!-- The default servlet. -->+ <!-- This servlet, normally mapped to /, provides the handling for static -->+ <!-- content, OPTIONS and TRACE methods for the context. -->+ <!-- The following initParameters are supported: -->+ <!-- -->+ <!-- acceptRanges If true, range requests and responses are -->+ <!-- supported -->+ <!-- -->+ <!-- dirAllowed If true, directory listings are returned if no -->+ <!-- welcome file is found. Else 403 Forbidden. -->+ <!-- -->+ <!-- putAllowed If true, the PUT method is allowed -->+ <!-- -->+ <!-- delAllowed If true, the DELETE method is allowed -->+ <!-- -->+ <!-- redirectWelcome If true, redirect welcome file requests -->+ <!-- else use request dispatcher forwards -->+ <!-- -->+ <!-- minGzipLength If set to a positive integer, then static content -->+ <!-- larger than this will be served as gzip content -->+ <!-- encoded if a matching resource is found ending -->+ <!-- with ".gz" -->+ <!-- -->+ <!-- resoureBase Can be set to replace the context resource base -->+ <!-- -->+ <!-- relativeResourceBase -->+ <!-- Set with a pathname relative to the base of the -->+ <!-- servlet context root. Useful for only serving -->+ <!-- static content from only specific subdirectories. -->+ <!-- -->+ <!-- The MOVE method is allowed if PUT and DELETE are allowed -->+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <servlet>+ <servlet-name>default</servlet-name>+ <servlet-class>org.mortbay.jetty.servlet.Default</servlet-class>+ <init-param>+ <param-name>acceptRanges</param-name>+ <param-value>true</param-value>+ </init-param>+ <init-param>+ <param-name>dirAllowed</param-name>+ <param-value>true</param-value>+ </init-param>+ <init-param>+ <param-name>putAllowed</param-name>+ <param-value>false</param-value>+ </init-param>+ <init-param>+ <param-name>delAllowed</param-name>+ <param-value>false</param-value>+ </init-param>+ <init-param>+ <param-name>redirectWelcome</param-name>+ <param-value>false</param-value>+ </init-param>+ <init-param>+ <param-name>minGzipLength</param-name>+ <param-value>8192</param-value>+ </init-param>+ <load-on-startup>0</load-on-startup>+ </servlet>++ <servlet-mapping> <servlet-name>default</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping>+++ <!-- ==================================================================== -->+ <!-- JSP Servlet -->+ <!-- This is the jasper JSP servlet from the jakarta project -->+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <!-- The JSP page compiler and execution servlet, which is the mechanism -->+ <!-- used by Tomcat to support JSP pages. Traditionally, this servlet -->+ <!-- is mapped to URL patterh "*.jsp". This servlet supports the -->+ <!-- following initialization parameters (default values are in square -->+ <!-- brackets): -->+ <!-- -->+ <!-- checkInterval If development is false and reloading is true, -->+ <!-- background compiles are enabled. checkInterval -->+ <!-- is the time in seconds between checks to see -->+ <!-- if a JSP page needs to be recompiled. [300] -->+ <!-- -->+ <!-- compiler Which compiler Ant should use to compile JSP -->+ <!-- pages. See the Ant documenation for more -->+ <!-- information. [javac] -->+ <!-- -->+ <!-- 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] -->+ <!-- -->+ <!-- development Is Jasper used in development mode (will check -->+ <!-- for JSP modification on every access)? [true] -->+ <!-- -->+ <!-- enablePooling Determines whether tag handler pooling is -->+ <!-- enabled [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] -->+ <!-- -->+ <!-- 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] -->+ <!-- -->+ <!-- logVerbosityLevel The level of detailed messages to be produced -->+ <!-- by this servlet. Increasing levels cause the -->+ <!-- generation of more messages. Valid values are -->+ <!-- FATAL, ERROR, WARNING, INFORMATION, and DEBUG. -->+ <!-- [WARNING] -->+ <!-- -->+ <!-- mappedfile Should we generate static content with one -->+ <!-- print statement per input line, to ease -->+ <!-- debugging? [false] -->+ <!-- -->+ <!-- -->+ <!-- reloading Should Jasper check for modified JSPs? [true] -->+ <!-- -->+ <!-- suppressSmap Should the generation of SMAP info for JSR45 -->+ <!-- debugging be suppressed? [false] -->+ <!-- -->+ <!-- dumpSmap Should the SMAP info for JSR45 debugging be -->+ <!-- dumped to a file? [false] -->+ <!-- False if suppressSmap is true -->+ <!-- -->+ <!-- scratchdir What scratch directory should we use when -->+ <!-- compiling JSP pages? [default work directory -->+ <!-- for the current web application] -->+ <!-- -->+ <!-- tagpoolMaxSize The maximum tag handler pool size [5] -->+ <!-- -->+ <!-- xpoweredBy Determines whether X-Powered-By response -->+ <!-- header is added by generated servlet [false] -->+ <!-- -->+ <!-- If you wish to use Jikes to compile JSP pages: -->+ <!-- Set the init parameter "compiler" to "jikes". Define -->+ <!-- the property "-Dbuild.compiler.emacs=true" when starting Jetty -->+ <!-- to cause Jikes to emit error messages in a format compatible with -->+ <!-- Jasper. -->+ <!-- If you get an error reporting that jikes can't use UTF8 encoding, -->+ <!-- try setting the init parameter "javaEncoding" to "ISO-8859-1". -->+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <servlet>+ <servlet-name>jsp</servlet-name>+ <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>+ <init-param>+ <param-name>logVerbosityLevel</param-name>+ <param-value>DEBUG</param-value>+ </init-param>+ <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>0</load-on-startup>+ </servlet>++ <servlet-mapping> <servlet-name>jsp</servlet-name> <url-pattern>*.jsp</url-pattern> </servlet-mapping>+ <servlet-mapping> <servlet-name>jsp</servlet-name> <url-pattern>*.jspf</url-pattern> </servlet-mapping>+ <servlet-mapping> <servlet-name>jsp</servlet-name> <url-pattern>*.jspx</url-pattern> </servlet-mapping>+ <servlet-mapping> <servlet-name>jsp</servlet-name> <url-pattern>*.xsp</url-pattern> </servlet-mapping>+++ <!-- ==================================================================== -->+ <!-- Dynamic Servlet Invoker. -->+ <!-- This servlet invokes anonymous servlets that have not been defined -->+ <!-- in the web.xml or by other means. The first element of the pathInfo -->+ <!-- of a request passed to the envoker is treated as a servlet name for -->+ <!-- an existing servlet, or as a class name of a new servlet. -->+ <!-- This servlet is normally mapped to /servlet/* -->+ <!-- This servlet support the following initParams: -->+ <!-- -->+ <!-- nonContextServlets If false, the invoker can only load -->+ <!-- servlets from the contexts classloader. -->+ <!-- This is false by default and setting this -->+ <!-- to true may have security implications. -->+ <!-- -->+ <!-- verbose If true, log dynamic loads -->+ <!-- -->+ <!-- * All other parameters are copied to the -->+ <!-- each dynamic servlet as init parameters -->+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <!-- Uncomment for dynamic invocation+ <servlet>+ <servlet-name>invoker</servlet-name>+ <servlet-class>org.mortbay.jetty.servlet.Invoker</servlet-class>+ <init-param>+ <param-name>verbose</param-name>+ <param-value>false</param-value>+ </init-param>+ <init-param>+ <param-name>nonContextServlets</param-name>+ <param-value>false</param-value>+ </init-param>+ <init-param>+ <param-name>dynamicParam</param-name>+ <param-value>anyValue</param-value>+ </init-param>+ <load-on-startup>0</load-on-startup>+ </servlet>++ <servlet-mapping> <servlet-name>invoker</servlet-name> <url-pattern>/servlet/*</url-pattern> </servlet-mapping>+ -->++++ <!-- ==================================================================== -->+ <session-config>+ <session-timeout>30</session-timeout>+ </session-config>++ <!-- ==================================================================== -->+ <!-- Default MIME mappings -->+ <!-- The default MIME mappings are provided by the mime.properties -->+ <!-- resource in the org.mortbay.jetty.jar file. Additional or modified -->+ <!-- mappings may be specified here -->+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <!-- UNCOMMENT TO ACTIVATE+ <mime-mapping>+ <extension>mysuffix</extension>+ <mime-type>mymime/type</mime-type>+ </mime-mapping>+ -->++ <!-- ==================================================================== -->+ <welcome-file-list>+ <welcome-file>index.html</welcome-file>+ <welcome-file>index.htm</welcome-file>+ <welcome-file>index.jsp</welcome-file>+ </welcome-file-list>++ <!-- ==================================================================== -->+ <locale-encoding-mapping-list>+ <locale-encoding-mapping><locale>ar</locale><encoding>ISO-8859-6</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>be</locale><encoding>ISO-8859-5</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>bg</locale><encoding>ISO-8859-5</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>ca</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>cs</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>da</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>de</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>el</locale><encoding>ISO-8859-7</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>en</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>es</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>et</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>fi</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>fr</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>hr</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>hu</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>is</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>it</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>iw</locale><encoding>ISO-8859-8</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>ja</locale><encoding>Shift_JIS</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>ko</locale><encoding>EUC-KR</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>lt</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>lv</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>mk</locale><encoding>ISO-8859-5</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>nl</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>no</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>pl</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>pt</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>ro</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>ru</locale><encoding>ISO-8859-5</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>sh</locale><encoding>ISO-8859-5</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>sk</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>sl</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>sq</locale><encoding>ISO-8859-2</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>sr</locale><encoding>ISO-8859-5</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>sv</locale><encoding>ISO-8859-1</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>tr</locale><encoding>ISO-8859-9</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>uk</locale><encoding>ISO-8859-5</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>zh</locale><encoding>GB2312</encoding></locale-encoding-mapping>+ <locale-encoding-mapping><locale>zh_TW</locale><encoding>Big5</encoding></locale-encoding-mapping>+ </locale-encoding-mapping-list>+++ <!-- ==================================================================== -->+ <!-- JSR154 Stupidness -->+ <!-- This filter implements some of the JSR154 (servlet 2.4) "features", -->+ <!-- which are rather stupid and expensive to implement. Thus they are -->+ <!-- not included in the core Jetty architecture. It is HIGHLY -->+ <!-- RECOMMENDED that this filter NOT be used, unless you need: -->+ <!-- RequestAttributeListeners - If you actually have a real use for -->+ <!-- these, please tell the jetty lists what they are and why you -->+ <!-- can't use a normal filter/wrapper for this? -->+ <!-- SRV.6.2.2 Dispatachers - where the container cannot wrap the -->+ <!-- request or response. See -->+ <!-- http://jetty.mortbay.org/jetty/doc/servlet24.html#d0e711 -->+ <!-- to find out why this is stupid. -->+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->+ <!-- UNCOMMENT For compliant behaviour+ <filter>+ <filter-name>jsr154</filter-name>+ <filter-class>org.mortbay.jetty.servlet.JSR154Filter</filter-class>+ <init-param><param-name>unwrappedDispatch</param-name><param-value>true</param-value></init-param>+ </filter>+ <filter-mapping>+ <filter-name>jsr154</filter-name>+ <url-pattern>/*</url-pattern>+ <dispatcher>REQUEST</dispatcher>+ <dispatcher>FORWARD</dispatcher>+ <dispatcher>INCLUDE</dispatcher>+ <dispatcher>ERROR</dispatcher>+ </filter-mapping>+ -->++</web-app>+diff --git a/example/exampledocs/post.sh b/example/exampledocs/post.shindex 7e06e49c97f..f1a9c16b1ce 100755--- a/example/exampledocs/post.sh+++ b/example/exampledocs/post.sh@@ -1,6 +1,7 @@#!/bin/shFILES=$*-URL=http://localhost:8983/solr/update+#URL=http://localhost:8983/solr/update+URL=http://localhost:7070/updatefor f in $FILES; doecho Posting file $f to $URLdiff --git a/example/ext/ant.jar b/example/ext/ant.jarnew file mode 100644index 00000000000..f66b800e8fe--- /dev/null+++ b/example/ext/ant.jar@@ -0,0 +1,2 @@+AnyObjectId[395544dc9189fe11795250b48adda9e7f24c34bb] was removed in git history.+Apache SVN contains full history.\ No newline at end of filediff --git a/example/lib/jsp/commons-el-1.0.jar b/example/ext/commons-el.jarold mode 100755new mode 100644similarity index 100%rename from example/lib/jsp/commons-el-1.0.jarrename to example/ext/commons-el.jardiff --git a/example/ext/commons-logging.jar b/example/ext/commons-logging.jarnew file mode 100644index 00000000000..f330fde2131--- /dev/null+++ b/example/ext/commons-logging.jar@@ -0,0 +1,2 @@+AnyObjectId[b73a80fab641131e6fbe3ae833549efb3c540d17] was removed in git history.+Apache SVN contains full history.\ No newline at end of filediff --git a/example/ext/jasper-compiler.jar b/example/ext/jasper-compiler.jarnew file mode 100644index 00000000000..48369df2d98--- /dev/null+++ b/example/ext/jasper-compiler.jar@@ -0,0 +1,2 @@+AnyObjectId[96ec53852d45e13723d8b40c83d99ed449a4c83e] was removed in git history.+Apache SVN contains full history.\ No newline at end of filediff --git a/example/ext/jasper-runtime.jar b/example/ext/jasper-runtime.jarnew file mode 100644index 00000000000..d0e39edbead--- /dev/null+++ b/example/ext/jasper-runtime.jar@@ -0,0 +1,2 @@+AnyObjectId[5c3b4bfff7a3bd377802548604a0b28bebab8ea7] was removed in git history.+Apache SVN contains full history.\ No newline at end of filediff --git a/example/ext/mx4j-remote.jar b/example/ext/mx4j-remote.jarnew file mode 100644index 00000000000..b7a97bebb93--- /dev/null+++ b/example/ext/mx4j-remote.jar@@ -0,0 +1,2 @@+AnyObjectId[de7739dba7f3f062240c87ffa37e81b00908ae33] was removed in git history.+Apache SVN contains full history.\ No newline at end of filediff --git a/example/ext/mx4j-tools.jar b/example/ext/mx4j-tools.jarnew file mode 100644index 00000000000..14324bdd6f7--- /dev/null+++ b/example/ext/mx4j-tools.jar@@ -0,0 +1,2 @@+AnyObjectId[87ccc77dd4e61e03d0b4b77265b8f62e7396d0ef] was removed in git history.+Apache SVN contains full history.\ No newline at end of filediff --git a/example/ext/mx4j.jar b/example/ext/mx4j.jarnew file mode 100644index 00000000000..f2eb43a7e2c--- /dev/null+++ b/example/ext/mx4j.jar@@ -0,0 +1,2 @@+AnyObjectId[e5dafc175ada7cf2d3e62cbd409541a8dcf7ad79] was removed in git history.+Apache SVN contains full history.\ No newline at end of filediff --git a/example/lib/javax.servlet.jar b/example/lib/javax.servlet.jarnew file mode 100644index 00000000000..ba6623bf6e0--- /dev/null+++ b/example/lib/javax.servlet.jar@@ -0,0 +1,2 @@+AnyObjectId[8092795672eb0d929e173a3de93c5093a828a78a] was removed in git history.+Apache SVN contains full history.\ No newline at end of filediff --git a/example/lib/jetty.jar b/example/lib/jetty.jardeleted file mode 100755index 55a8cfee288..00000000000--- a/example/lib/jetty.jar+++ /dev/null@@ -1,2 +0,0 @@-AnyObjectId[4d22ecbbbd03d82fe7cf6d8bc58d3ab3acd428c4] was removed in git history.-Apache SVN contains full history.\ No newline at end of filediff --git a/example/lib/jsp/jasper-compiler-5.5.12.jar b/example/lib/jsp/jasper-compiler-5.5.12.jardeleted file mode 100755index ef4c5c925dc..00000000000--- a/example/lib/jsp/jasper-compiler-5.5.12.jar+++ /dev/null@@ -1,2 +0,0 @@-AnyObjectId[2a410b4b58737c345c4504b115439c744e1115fe] was removed in git history.-Apache SVN contains full history.\ No newline at end of filediff --git a/example/lib/jsp/jasper-compiler-jdt-5.5.12.jar b/example/lib/jsp/jasper-compiler-jdt-5.5.12.jardeleted file mode 100755index 99ca637152e..00000000000--- a/example/lib/jsp/jasper-compiler-jdt-5.5.12.jar+++ /dev/null@@ -1,2 +0,0 @@-AnyObjectId[ad70203f6c2f44f8916fb3761b2ac3eaef81c217] was removed in git history.-Apache SVN contains full history.\ No newline at end of filediff --git a/example/lib/jsp/jasper-runtime-5.5.12.jar b/example/lib/jsp/jasper-runtime-5.5.12.jardeleted file mode 100755index d5f535214c4..00000000000--- a/example/lib/jsp/jasper-runtime-5.5.12.jar+++ /dev/null@@ -1,2 +0,0 @@-AnyObjectId[743d906c1fb08289d868175f7fc119e6eadf6bd5] was removed in git history.-Apache SVN contains full history.\ No newline at end of filediff --git a/example/lib/jsp/jcl104-over-slf4j-1.0-rc5.jar b/example/lib/jsp/jcl104-over-slf4j-1.0-rc5.jardeleted file mode 100755index cd94e2dc93e..00000000000--- a/example/lib/jsp/jcl104-over-slf4j-1.0-rc5.jar+++ /dev/null@@ -1,2 +0,0 @@-AnyObjectId[846792e495b7ff2cf1418b46ef255d80c0b9ea0c] was removed in git history.-Apache SVN contains full history.\ No newline at end of filediff --git a/example/lib/jsp/slf4j-simple-1.0-rc5.jar b/example/lib/jsp/slf4j-simple-1.0-rc5.jardeleted file mode 100755index bd3d9e6ba5d..00000000000--- a/example/lib/jsp/slf4j-simple-1.0-rc5.jar+++ /dev/null@@ -1,2 +0,0 @@-AnyObjectId[258bfe24c7399d866f8b62c39c43844826c80c2a] was removed in git history.-Apache SVN contains full history.\ No newline at end of filediff --git a/example/lib/org.mortbay.jetty.jar b/example/lib/org.mortbay.jetty.jarnew file mode 100644index 00000000000..13045763936--- /dev/null+++ b/example/lib/org.mortbay.jetty.jar@@ -0,0 +1,2 @@+AnyObjectId[186a190ce106d61d497e29c713e70ecf14667ef1] was removed in git history.+Apache SVN contains full history.\ No newline at end of filediff --git a/example/lib/org.mortbay.jmx.jar b/example/lib/org.mortbay.jmx.jarnew file mode 100644index 00000000000..f62f14599fc--- /dev/null+++ b/example/lib/org.mortbay.jmx.jar@@ -0,0 +1,2 @@+AnyObjectId[0561a2e877e10128a72424bb368902a11bdc94ab] was removed in git history.+Apache SVN contains full history.\ No newline at end of filediff --git a/example/lib/servlet-api-2.5.jar b/example/lib/servlet-api-2.5.jardeleted file mode 100755index ab966493cac..00000000000--- a/example/lib/servlet-api-2.5.jar+++ /dev/null@@ -1,2 +0,0 @@-AnyObjectId[d259b6d0f91ccc42f1b8fb34036dce4cd148e860] was removed in git history.-Apache SVN contains full history.\ No newline at end of filediff --git a/example/start.jar b/example/start.jarindex fce9c8821a6..02d16d70dc0 100755--- a/example/start.jar+++ b/example/start.jar@@ -1,2 +1,2 @@-AnyObjectId[e63666fb8ffc05af9944c99e2a72ddc81ab447b3] was removed in git history.+AnyObjectId[1145d205a370cefe48580deee1fb6920c3edf0ca] was removed in git history.Apache SVN contains full history.\ No newline at end of file