You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by eh...@apache.org on 2007/01/02 17:11:46 UTC
svn commit: r491827 [1/3] - in /incubator/solr/trunk/client/ruby/flare/solr:
etc/ ext/ lib/ lib/jsp/ solr/ solr/bin/ solr/conf/ solr/conf/xslt/
solr/data/ solr/data/index/ webapps/
Author: ehatcher
Date: Tue Jan 2 08:11:42 2007
New Revision: 491827
URL: http://svn.apache.org/viewvc?view=rev&rev=491827
Log:
add a version of Solr under Flare too
Added:
incubator/solr/trunk/client/ruby/flare/solr/etc/
incubator/solr/trunk/client/ruby/flare/solr/etc/LICENSE.javax.servlet.txt
incubator/solr/trunk/client/ruby/flare/solr/etc/LICENSE.javax.xml.html
incubator/solr/trunk/client/ruby/flare/solr/etc/LICENSE.jsse.txt
incubator/solr/trunk/client/ruby/flare/solr/etc/admin.xml
incubator/solr/trunk/client/ruby/flare/solr/etc/jetty-jmx.xml
incubator/solr/trunk/client/ruby/flare/solr/etc/jetty.xml (with props)
incubator/solr/trunk/client/ruby/flare/solr/etc/webdefault.xml
incubator/solr/trunk/client/ruby/flare/solr/ext/
incubator/solr/trunk/client/ruby/flare/solr/ext/ant.jar (with props)
incubator/solr/trunk/client/ruby/flare/solr/ext/commons-el.jar (with props)
incubator/solr/trunk/client/ruby/flare/solr/ext/commons-logging.jar (with props)
incubator/solr/trunk/client/ruby/flare/solr/ext/jasper-compiler.jar (with props)
incubator/solr/trunk/client/ruby/flare/solr/ext/jasper-runtime.jar (with props)
incubator/solr/trunk/client/ruby/flare/solr/ext/mx4j-remote.jar (with props)
incubator/solr/trunk/client/ruby/flare/solr/ext/mx4j-tools.jar (with props)
incubator/solr/trunk/client/ruby/flare/solr/ext/mx4j.jar (with props)
incubator/solr/trunk/client/ruby/flare/solr/lib/
incubator/solr/trunk/client/ruby/flare/solr/lib/javax.servlet.jar (with props)
incubator/solr/trunk/client/ruby/flare/solr/lib/jsp/
incubator/solr/trunk/client/ruby/flare/solr/lib/org.mortbay.jetty.jar (with props)
incubator/solr/trunk/client/ruby/flare/solr/lib/org.mortbay.jmx.jar (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/
incubator/solr/trunk/client/ruby/flare/solr/solr/README.txt
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/abc (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/abo (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/backup (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/backupcleaner (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/commit (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/optimize (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/readercycle (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/rsyncd-disable (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/rsyncd-enable (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/rsyncd-start (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/rsyncd-stop (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/scripts-util (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/snapcleaner (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/snapinstaller (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/snappuller (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/snappuller-disable (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/snappuller-enable (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/bin/snapshooter (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/conf/
incubator/solr/trunk/client/ruby/flare/solr/solr/conf/admin-extra.html
incubator/solr/trunk/client/ruby/flare/solr/solr/conf/protwords.txt
incubator/solr/trunk/client/ruby/flare/solr/solr/conf/schema.xml (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/conf/scripts.conf
incubator/solr/trunk/client/ruby/flare/solr/solr/conf/solrconfig.xml (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/conf/stopwords.txt
incubator/solr/trunk/client/ruby/flare/solr/solr/conf/synonyms.txt
incubator/solr/trunk/client/ruby/flare/solr/solr/conf/xslt/
incubator/solr/trunk/client/ruby/flare/solr/solr/conf/xslt/example.xsl
incubator/solr/trunk/client/ruby/flare/solr/solr/data/
incubator/solr/trunk/client/ruby/flare/solr/solr/data/index/
incubator/solr/trunk/client/ruby/flare/solr/solr/data/index/_0.f0
incubator/solr/trunk/client/ruby/flare/solr/solr/data/index/_0.fdt (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/data/index/_0.fdx (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/data/index/_0.fnm
incubator/solr/trunk/client/ruby/flare/solr/solr/data/index/_0.frq (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/data/index/_0.prx (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/data/index/_0.tii (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/data/index/_0.tis (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/data/index/deletable (with props)
incubator/solr/trunk/client/ruby/flare/solr/solr/data/index/segments (with props)
incubator/solr/trunk/client/ruby/flare/solr/webapps/
incubator/solr/trunk/client/ruby/flare/solr/webapps/solr.war (with props)
Added: incubator/solr/trunk/client/ruby/flare/solr/etc/LICENSE.javax.servlet.txt
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/etc/LICENSE.javax.servlet.txt?view=auto&rev=491827
==============================================================================
--- incubator/solr/trunk/client/ruby/flare/solr/etc/LICENSE.javax.servlet.txt (added)
+++ incubator/solr/trunk/client/ruby/flare/solr/etc/LICENSE.javax.servlet.txt Tue Jan 2 08:11:42 2007
@@ -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 apache@apache.org.
+ *
+ * 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/>.
+ *
+ */
+
+
+
+
+
Added: incubator/solr/trunk/client/ruby/flare/solr/etc/LICENSE.javax.xml.html
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/etc/LICENSE.javax.xml.html?view=auto&rev=491827
==============================================================================
--- incubator/solr/trunk/client/ruby/flare/solr/etc/LICENSE.javax.xml.html (added)
+++ incubator/solr/trunk/client/ruby/flare/solr/etc/LICENSE.javax.xml.html Tue Jan 2 08:11:42 2007
@@ -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>
Added: incubator/solr/trunk/client/ruby/flare/solr/etc/LICENSE.jsse.txt
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/etc/LICENSE.jsse.txt?view=auto&rev=491827
==============================================================================
--- incubator/solr/trunk/client/ruby/flare/solr/etc/LICENSE.jsse.txt (added)
+++ incubator/solr/trunk/client/ruby/flare/solr/etc/LICENSE.jsse.txt Tue Jan 2 08:11:42 2007
@@ -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.
+
+
+
Added: incubator/solr/trunk/client/ruby/flare/solr/etc/admin.xml
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/etc/admin.xml?view=auto&rev=491827
==============================================================================
--- incubator/solr/trunk/client/ruby/flare/solr/etc/admin.xml (added)
+++ incubator/solr/trunk/client/ruby/flare/solr/etc/admin.xml Tue Jan 2 08:11:42 2007
@@ -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>
+
+
+
+
Added: incubator/solr/trunk/client/ruby/flare/solr/etc/jetty-jmx.xml
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/etc/jetty-jmx.xml?view=auto&rev=491827
==============================================================================
--- incubator/solr/trunk/client/ruby/flare/solr/etc/jetty-jmx.xml (added)
+++ incubator/solr/trunk/client/ruby/flare/solr/etc/jetty-jmx.xml Tue Jan 2 08:11:42 2007
@@ -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>
Added: incubator/solr/trunk/client/ruby/flare/solr/etc/jetty.xml
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/etc/jetty.xml?view=auto&rev=491827
==============================================================================
--- incubator/solr/trunk/client/ruby/flare/solr/etc/jetty.xml (added)
+++ incubator/solr/trunk/client/ruby/flare/solr/etc/jetty.xml Tue Jan 2 08:11:42 2007
@@ -0,0 +1,252 @@
+<?xml version="1.0"?>
+<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
+
+
+
+<!-- =============================================================== -->
+<!-- Configure the Jetty Server -->
+<!-- =============================================================== -->
+<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>
+ </Arg>
+ </Call>
+ </Call>
+ </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>
+ </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>
+
+
+
+
+
+
+
+
+
Propchange: incubator/solr/trunk/client/ruby/flare/solr/etc/jetty.xml
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/solr/trunk/client/ruby/flare/solr/etc/webdefault.xml
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/etc/webdefault.xml?view=auto&rev=491827
==============================================================================
--- incubator/solr/trunk/client/ruby/flare/solr/etc/webdefault.xml (added)
+++ incubator/solr/trunk/client/ruby/flare/solr/etc/webdefault.xml Tue Jan 2 08:11:42 2007
@@ -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>
+
Added: incubator/solr/trunk/client/ruby/flare/solr/ext/ant.jar
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/ext/ant.jar?view=auto&rev=491827
==============================================================================
Binary file - no diff available.
Propchange: incubator/solr/trunk/client/ruby/flare/solr/ext/ant.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/solr/trunk/client/ruby/flare/solr/ext/commons-el.jar
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/ext/commons-el.jar?view=auto&rev=491827
==============================================================================
Binary file - no diff available.
Propchange: incubator/solr/trunk/client/ruby/flare/solr/ext/commons-el.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/solr/trunk/client/ruby/flare/solr/ext/commons-logging.jar
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/ext/commons-logging.jar?view=auto&rev=491827
==============================================================================
Binary file - no diff available.
Propchange: incubator/solr/trunk/client/ruby/flare/solr/ext/commons-logging.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/solr/trunk/client/ruby/flare/solr/ext/jasper-compiler.jar
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/ext/jasper-compiler.jar?view=auto&rev=491827
==============================================================================
Binary file - no diff available.
Propchange: incubator/solr/trunk/client/ruby/flare/solr/ext/jasper-compiler.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/solr/trunk/client/ruby/flare/solr/ext/jasper-runtime.jar
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/ext/jasper-runtime.jar?view=auto&rev=491827
==============================================================================
Binary file - no diff available.
Propchange: incubator/solr/trunk/client/ruby/flare/solr/ext/jasper-runtime.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/solr/trunk/client/ruby/flare/solr/ext/mx4j-remote.jar
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/ext/mx4j-remote.jar?view=auto&rev=491827
==============================================================================
Binary file - no diff available.
Propchange: incubator/solr/trunk/client/ruby/flare/solr/ext/mx4j-remote.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/solr/trunk/client/ruby/flare/solr/ext/mx4j-tools.jar
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/ext/mx4j-tools.jar?view=auto&rev=491827
==============================================================================
Binary file - no diff available.
Propchange: incubator/solr/trunk/client/ruby/flare/solr/ext/mx4j-tools.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/solr/trunk/client/ruby/flare/solr/ext/mx4j.jar
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/ext/mx4j.jar?view=auto&rev=491827
==============================================================================
Binary file - no diff available.
Propchange: incubator/solr/trunk/client/ruby/flare/solr/ext/mx4j.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/solr/trunk/client/ruby/flare/solr/lib/javax.servlet.jar
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/lib/javax.servlet.jar?view=auto&rev=491827
==============================================================================
Binary file - no diff available.
Propchange: incubator/solr/trunk/client/ruby/flare/solr/lib/javax.servlet.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/solr/trunk/client/ruby/flare/solr/lib/org.mortbay.jetty.jar
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/lib/org.mortbay.jetty.jar?view=auto&rev=491827
==============================================================================
Binary file - no diff available.
Propchange: incubator/solr/trunk/client/ruby/flare/solr/lib/org.mortbay.jetty.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/solr/trunk/client/ruby/flare/solr/lib/org.mortbay.jmx.jar
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/lib/org.mortbay.jmx.jar?view=auto&rev=491827
==============================================================================
Binary file - no diff available.
Propchange: incubator/solr/trunk/client/ruby/flare/solr/lib/org.mortbay.jmx.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/solr/trunk/client/ruby/flare/solr/solr/README.txt
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/solr/README.txt?view=auto&rev=491827
==============================================================================
--- incubator/solr/trunk/client/ruby/flare/solr/solr/README.txt (added)
+++ incubator/solr/trunk/client/ruby/flare/solr/solr/README.txt Tue Jan 2 08:11:42 2007
@@ -0,0 +1,52 @@
+# 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.
+
+
+Example "Solr Home" Directory
+=============================
+
+This directory is provided as an example of what a "Solr Home" directory
+should look like.
+
+It's not strictly necessary that you copy all of the files in this
+directory when setting up a new instance of Solr, but it is recommended.
+
+
+Basic Directory Structure
+-------------------------
+
+The Solr Home directory typically contains the following subdirectories...
+
+ conf/
+ This directory is mandatory and must contain your solrconfig.xml
+ and schema.xml. Any other optional configuration files would also
+ be kept here.
+
+ data/
+ This directory is the default location where Solr will keep your
+ index, and is used by the replication scripts for dealing with
+ snapshots. You can override this location in the solrconfig.xml
+ and scripts.conf files. Solr will create this directory if it
+ does not already exist.
+
+ lib/
+ This directory is optional. If it exists, Solr will load any Jars
+ found in this directory and use them to resolve any "plugins"
+ specified in your solrconfig.xml or schema.xml (ie: Analyzers,
+ Request Handlers, etc...)
+
+ bin/
+ This directory is optional. It is the default location used for
+ keeping the replication scripts.
Added: incubator/solr/trunk/client/ruby/flare/solr/solr/bin/abc
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/solr/bin/abc?view=auto&rev=491827
==============================================================================
--- incubator/solr/trunk/client/ruby/flare/solr/solr/bin/abc (added)
+++ incubator/solr/trunk/client/ruby/flare/solr/solr/bin/abc Tue Jan 2 08:11:42 2007
@@ -0,0 +1,165 @@
+#!/bin/bash
+#
+# 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.
+#
+# Shell script to make an Atomic Backup after Commit of
+# a Solr Lucene collection.
+
+orig_dir=$(pwd)
+cd ${0%/*}/..
+solr_root=$(pwd)
+cd ${orig_dir}
+
+unset solr_hostname solr_port data_dir webapp_name user verbose debug
+. ${solr_root}/bin/scripts-util
+
+# set up variables
+prog=${0##*/}
+log=${solr_root}/logs/${prog}.log
+
+# define usage string
+USAGE="\
+usage: $prog [-h hostname] [-p port] [-d dir] [-w webappname] [-u username] [-v]
+ -h specify Solr hostname
+ -p specify Solr port number
+ -d specify directory holding index data
+ -w specify name of Solr webapp (defaults to solr)
+ -u specify user to sudo to before running script
+ -v increase verbosity
+ -V output debugging info
+"
+
+# parse args
+while getopts h:p:d:w:u:vV OPTION
+do
+ case $OPTION in
+ h)
+ solr_hostname="$OPTARG"
+ ;;
+ p)
+ solr_port="$OPTARG"
+ ;;
+ d)
+ data_dir="$OPTARG"
+ ;;
+ w)
+ webapp_name="$OPTARG"
+ ;;
+ u)
+ user="$OPTARG"
+ ;;
+ v)
+ verbose="v"
+ ;;
+ V)
+ debug="V"
+ ;;
+ *)
+ echo "$USAGE"
+ exit 1
+ esac
+done
+
+[[ -n $debug ]] && set -x
+
+if [[ -z ${solr_port} ]]
+then
+ echo "Solr port number missing in $confFile or command line."
+ echo "$USAGE"
+ exit 1
+fi
+
+# use default value for data_dir if not specified
+# relative path starts at ${solr_root}
+if [[ -z ${data_dir} ]]
+then
+ data_dir=${solr_root}/data
+elif [[ "`echo ${data_dir}|cut -c1`" != "/" ]]
+then
+ data_dir=${solr_root}/${data_dir}
+fi
+
+# use default hostname if not specified
+if [[ -z ${solr_hostname} ]]
+then
+ solr_hostname=localhost
+fi
+
+# use default webapp name if not specified
+if [[ -z ${webapp_name} ]]
+then
+ webapp_name=solr
+fi
+
+fixUser "$@"
+
+start=`date +"%s"`
+
+logMessage started by $oldwhoami
+logMessage command: $0 $@
+
+logMessage sending commit to Solr server at port ${solr_port}
+rs=`curl http://${solr_hostname}:${solr_port}/solr/update -s -d "<commit/>"`
+if [[ $? != 0 ]]
+then
+ logMessage failed to connect to Solr server at port ${solr_port}
+ logMessage commit failed
+ logExit failed 1
+fi
+
+# check status of commit request
+echo $rs | grep '<result.*status="0"' > /dev/null 2>&1
+if [[ $? != 0 ]]
+then
+ logMessage commit request to Solr at port ${solr_port} failed:
+ logMessage $rs
+ logExit failed 2
+fi
+
+# successful commit creates a snapshot file synchronously
+lastsnap=`ls -drt1 ${data_dir}/snapshot.* 2> /dev/null | tail -1 `
+
+if [[ $lastsnap == "" ]]
+then
+ logMessage commit did not create snapshot at port ${solr_port}, backup failed:
+ logExit failed 3
+fi
+
+name=backup.${lastsnap##*snapshot.}
+temp=temp-${name}
+
+if [[ -d ${data_dir}/${name} ]]
+then
+ logMessage backup directory ${data_dir}/${name} already exists
+ logExit aborted 1
+fi
+
+if [[ -d ${data_dir}/${temp} ]]
+then
+ logMessage backingup of ${data_dir}/${name} in progress
+ logExit aborted 1
+fi
+logMessage making backup ${data_dir}/${name}
+
+# clean up after INT/TERM
+trap 'echo cleaning up, please wait ...;/bin/rm -rf ${data_dir}/${name} ${data_dir}/${temp};logExit aborted 13' INT TERM
+
+# make a backup using hard links into temporary location
+# then move it into place atomically
+cp -lr ${lastsnap} ${data_dir}/${temp}
+mv ${data_dir}/${temp} ${data_dir}/${name}
+
+logExit ended 0
Propchange: incubator/solr/trunk/client/ruby/flare/solr/solr/bin/abc
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/solr/trunk/client/ruby/flare/solr/solr/bin/abo
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/solr/solr/bin/abo?view=auto&rev=491827
==============================================================================
--- incubator/solr/trunk/client/ruby/flare/solr/solr/bin/abo (added)
+++ incubator/solr/trunk/client/ruby/flare/solr/solr/bin/abo Tue Jan 2 08:11:42 2007
@@ -0,0 +1,165 @@
+#!/bin/bash
+#
+# 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.
+#
+# Shell script to make an Atomic Backup after Optimize of
+# a Solr Lucene collection.
+
+orig_dir=$(pwd)
+cd ${0%/*}/..
+solr_root=$(pwd)
+cd ${orig_dir}
+
+unset solr_hostname solr_port data_dir webapp_name user verbose debug
+. ${solr_root}/bin/scripts-util
+
+# set up variables
+prog=${0##*/}
+log=${solr_root}/logs/${prog}.log
+
+# define usage string
+USAGE="\
+usage: $prog [-h hostname] [-p port] [-d dir] [-w webapp_name] [-u username] [-v]
+ -h specify Solr hostname
+ -p specify Solr port number
+ -d specify directory holding index data
+ -w specify name of Solr webapp (defaults to solr)
+ -u specify user to sudo to before running script
+ -v increase verbosity
+ -V output debugging info
+"
+
+# parse args
+while getopts h:p:d:w:u:vV OPTION
+do
+ case $OPTION in
+ h)
+ solr_hostname="$OPTARG"
+ ;;
+ p)
+ solr_port="$OPTARG"
+ ;;
+ d)
+ data_dir="$OPTARG"
+ ;;
+ w)
+ webapp_name="$OPTARG"
+ ;;
+ u)
+ user="$OPTARG"
+ ;;
+ v)
+ verbose="v"
+ ;;
+ V)
+ debug="V"
+ ;;
+ *)
+ echo "$USAGE"
+ exit 1
+ esac
+done
+
+[[ -n $debug ]] && set -x
+
+if [[ -z ${solr_port} ]]
+then
+ echo "Solr port number missing in $confFile or command line."
+ echo "$USAGE"
+ exit 1
+fi
+
+# use default value for data_dir if not specified
+# relative path starts at ${solr_root}
+if [[ -z ${data_dir} ]]
+then
+ data_dir=${solr_root}/data
+elif [[ "`echo ${data_dir}|cut -c1`" != "/" ]]
+then
+ data_dir=${solr_root}/${data_dir}
+fi
+
+# use default hostname if not specified
+if [[ -z ${solr_hostname} ]]
+then
+ solr_hostname=localhost
+fi
+
+# use default webapp name if not specified
+if [[ -z ${webapp_name} ]]
+then
+ webapp_name=solr
+fi
+
+fixUser "$@"
+
+start=`date +"%s"`
+
+logMessage started by $oldwhoami
+logMessage command: $0 $@
+
+logMessage sending optimize to Solr server at port ${solr_port}
+rs=`curl http://${solr_hostname}:${solr_port}/solr/update -s -d "<optimize/>"`
+if [[ $? != 0 ]]
+then
+ logMessage failed to connect to Solr server at port ${solr_port}
+ logMessage optimize failed
+ logExit failed 1
+fi
+
+# check status of optimize request
+echo $rs | grep '<result.*status="0"' > /dev/null 2>&1
+if [[ $? != 0 ]]
+then
+ logMessage optimize request to Solr at port ${solr_port} failed:
+ logMessage $rs
+ logExit failed 2
+fi
+
+# successful optimize creates a snapshot file synchronously
+lastsnap=`ls -drt1 ${data_dir}/snapshot.* | tail -1 `
+
+if [[ $lastsnap == "" ]]
+then
+ logMessage commit did not create snapshot at port ${solr_port}, backup failed:
+ logExit failed 3
+fi
+
+name=backup.${lastsnap##*snapshot.}
+temp=temp-${name}
+
+if [[ -d ${data_dir}/${name} ]]
+then
+ logMessage backup directory ${data_dir}/${name} already exists
+ logExit aborted 1
+fi
+
+if [[ -d ${data_dir}/${temp} ]]
+then
+ logMessage backingup of ${data_dir}/${name} in progress
+ logExit aborted 1
+fi
+logMessage making backup ${data_dir}/${name}
+
+# clean up after INT/TERM
+trap 'echo cleaning up, please wait ...;/bin/rm -rf ${data_dir}/${name} ${data_dir}/${temp};logExit aborted 13' INT TERM
+
+# make a backup using hard links into temporary location
+# then move it into place atomically
+cp -lr ${lastsnap} ${data_dir}/${temp}
+mv ${data_dir}/${temp} ${data_dir}/${name}
+
+logExit ended 0
Propchange: incubator/solr/trunk/client/ruby/flare/solr/solr/bin/abo
------------------------------------------------------------------------------
svn:executable = *