cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/xmldb/lib xmlrpc-1.1.jar
Date Fri, 28 May 2004 12:45:00 GMT
vgritsenko    2004/05/28 05:45:00

  Modified:    lib      jars.xml
               src/blocks/xmldb/conf xmldb.xconf
  Added:       legal    xmlrpc-1.1.license.txt
               src/blocks/xmldb/WEB-INF xindice.xml
               src/blocks/xmldb/conf xindice-mapping.xweb
                        xindice-servlet.xweb
               src/blocks/xmldb/lib xmlrpc-1.1.jar
  Log:
  Deploy Xindice as a XML-RPC server. Connect to the Xindice server
  via embedded protocol in managed mode. By using XindiceServlet,
  default location of Xindice database becomes WEB-INF/db
  (configurable in WEB-INF/xindice.xml)
  
  Revision  Changes    Path
  1.1                  cocoon-2.1/legal/xmlrpc-1.1.license.txt
  
  Index: xmlrpc-1.1.license.txt
  ===================================================================
  /*
   * The Apache Software License, Version 1.1
   *
   *
   * Copyright (c) 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 acknowledgment:  
   *       "This product includes software developed by the
   *        Apache Software Foundation (http://www.apache.org/)."
   *    Alternately, this acknowledgment may appear in the software itself,
   *    if and wherever such third-party acknowledgments normally appear.
   *
   * 4. The names "XML-RPC" 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 name, without prior written
   *    permission of the Apache Software Foundation.
   *
   * 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/>.
   */
  
  
  
  1.219     +20 -5     cocoon-2.1/lib/jars.xml
  
  Index: jars.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/lib/jars.xml,v
  retrieving revision 1.218
  retrieving revision 1.219
  diff -u -r1.218 -r1.219
  --- jars.xml	25 May 2004 14:07:15 -0000	1.218
  +++ jars.xml	28 May 2004 12:45:00 -0000	1.219
  @@ -622,7 +622,7 @@
     </file>
   
     <file>
  -    <title>XML DB APIs</title>
  +    <title>XML:DB APIs</title>
       <description>Database tailored for the storage of XML data.</description>
       <used-by>XML:DB source (xmldb block)</used-by>
       <lib>xmldb/lib/xmldb-api-20030701.jar</lib>
  @@ -630,7 +630,7 @@
     </file>
   
     <file>
  -    <title>XML DB APIs</title>
  +    <title>XML:DB APIs</title>
       <description>Database tailored for the storage of XML data.</description>
       <used-by>XML:DB source (xmldb block)</used-by>
       <lib>xmldb/lib/xmldb-common-20030701.jar</lib>
  @@ -638,7 +638,7 @@
     </file>
   
     <file>
  -    <title>XML DB APIs</title>
  +    <title>XML:DB APIs</title>
       <description>Database tailored for the storage of XML data.</description>
       <used-by>XML:DB source (xmldb block)</used-by>
       <lib>xmldb/lib/xmldb-xupdate-20040205.jar</lib>
  @@ -654,6 +654,17 @@
     </file>
   
     <file>
  +    <title>XML-RPC</title>
  +    <description>
  +      Java implementation of XML-RPC, a popular protocol that uses XML over
  +      HTTP to implement remote procedure calls.
  +    </description>
  +    <used-by>xmldb block</used-by>
  +    <lib>xmldb/lib/xmlrpc-1.1.jar</lib>
  +    <homepage>http://ws.apache.org/xmlrpc/</homepage>
  +  </file>
  +
  +  <file>
       <title>Jakarta Commons JXPath</title>
       <description>XPath interpreter. Work with JavaBeans and DOM nodes</description>
       <used-by>Flow, JXPath logicsheet</used-by>
  @@ -1017,6 +1028,7 @@
       <homepage>http://db.apache.org/ojb/</homepage>
     </file>
     <!-- OJB block end (6-Aug-2003) -->
  +
     <!-- JMS block begin -->
     <file>
       <title>JMS Spec</title>
  @@ -1077,7 +1089,9 @@
       <lib>jms/lib/jndi-1.2.1.jar</lib>
       <homepage>http://java.sun.com/jndi</homepage>
     </file>
  -  JMS block end -->
  +  -->
  +  <!-- JMS block end -->
  +
     <file>
       <title>JSR-168 Portlet Spec</title>
       <description>
  @@ -1100,6 +1114,7 @@
       <lib>portal/lib/pluto-20040310.jar</lib>
       <homepage>http://jakarta.apache.org/pluto/</homepage>
     </file>
  +
     <file>
       <title>Jakarta BCEL</title>
       <description>
  
  
  
  1.1                  cocoon-2.1/src/blocks/xmldb/WEB-INF/xindice.xml
  
  Index: xindice.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <!--
    - Copyright 1999-2004 The Apache Software Foundation.
    -
    - Licensed under the Apache License, Version 2.0 (the "License");
    - you may not use this file except in compliance with the License.
    - You may obtain a copy of the License at
    -
    -     http://www.apache.org/licenses/LICENSE-2.0
    -
    - Unless required by applicable law or agreed to in writing, software
    - distributed under the License is distributed on an "AS IS" BASIS,
    - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    - See the License for the specific language governing permissions and
    - limitations under the License.
    -
    - CVS $Id: xindice.xml,v 1.1 2004/05/28 12:45:00 vgritsenko Exp $
    -->
  
  <!--
    - Xindice Database Configuration File
    -
    - Version: $Revision: 1.1 $ $Date: 2004/05/28 12:45:00 $
    - Author: Kimbro Staken (kstaken@xmldatabases.org)
    - Author: Vadim Gritsenko (vgritsenko@apache.org)
    -->
  <xindice>
  
      <!--
        - Defines the database instance. Xindice server in servlet mode currently
        - supports only one database instance. Attributes:
        -   dbroot:
        -       Identifies location of the database. Relative paths will be
        -       resolved depending on mode of operation.
        -   name:
        -       Name of the database instance.
        -   use-metadata:
        -       When set to 'on', enables external metadata facilities
        -       for this database instance.
        -->
      <root-collection dbroot="./db/" name="db" use-metadata="on">
  
          <!--
            - Query Engine Configuration.
            -->
          <queryengine>
              <!--
                - XPath query engine. Has single configuration parameter.
                -   autoindex:
                -       If true, for every XPath query, XPath query engine will create
                -       all the indexes it can use to evaluate the query.
                -->
              <resolver class="org.apache.xindice.core.query.XPathQueryResolver"
                        autoindex="false"/>
  
              <!--
                - XUpdate engine. Has no configuration parameters.
                -->
              <resolver class="org.apache.xindice.core.xupdate.XUpdateQueryResolver"/>
          </queryengine>
      </root-collection>
  
      <!--
        - Xindice supports multiple DB instances. Uncomment entry below to have
        - second database instance, named 'db2'.
        -
      <root-collection dbroot="./db2/" name="db2" use-metadata="off">
          <queryengine>
              <resolver class="org.apache.xindice.core.query.XPathQueryResolver"
                        autoindex="false"/>
              <resolver class="org.apache.xindice.core.xupdate.XUpdateQueryResolver"/>
          </queryengine>
      </root-collection>
        -->
  
      <!--
        - XML-RPC configuration for the Xindice server. Specifies name of the parser
        - to be used by XML-RPC. Apache XML-RPC knows following parsers:
        -    xerces   org.apache.xerces.parsers.SAXParser
        -    xp       com.jclark.xml.sax.Driver
        -    ibm1     com.ibm.xml.parser.SAXDriver
        -    ibm2     com.ibm.xml.parsers.SAXParser
        -    aelfred  com.microstar.xml.SAXDriver
        -    oracle1  oracle.xml.parser.XMLParser
        -    oracle2  oracle.xml.parser.v2.SAXParser
        -    openxml  org.openxml.parser.XMLSAXParser
        -->
      <xml-rpc>
          <driver name="xerces"/>
      </xml-rpc>
  </xindice>
  
  
  
  1.7       +2 -0      cocoon-2.1/src/blocks/xmldb/conf/xmldb.xconf
  
  Index: xmldb.xconf
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/xmldb/conf/xmldb.xconf,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- xmldb.xconf	20 Apr 2004 19:40:41 -0000	1.6
  +++ xmldb.xconf	28 May 2004 12:45:00 -0000	1.7
  @@ -47,6 +47,8 @@
                Default is `pwd` (current working directory).
           <db-home>/var/xindice/db</db-home>
           -->
  +
  +        <managed>true</managed>
         </driver>
   
         <!-- Add here other XML:DB compliant databases' drivers -->
  
  
  
  1.1                  cocoon-2.1/src/blocks/xmldb/conf/xindice-mapping.xweb
  
  Index: xindice-mapping.xweb
  ===================================================================
  <?xml version="1.0"?>
  <!--
    Copyright 1999-2004 The Apache Software Foundation
  
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
  
        http://www.apache.org/licenses/LICENSE-2.0
  
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
  -->
  
  <xweb xpath="/web-app" 
        unless="comment()[contains(., 'Xindice XML-RPC Server servlet mapping')]" 
        insert-after="servlet-mapping[last()]">
  
    <!-- XMLDB Block, Xindice XML-RPC Server servlet mapping -->
    <servlet-mapping>
      <servlet-name>Xindice</servlet-name>
      <url-pattern>/xindice/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
      <servlet-name>Xindice</servlet-name>
      <url-pattern>/xindice/</url-pattern>
    </servlet-mapping>
  </xweb>
  
  
  
  1.1                  cocoon-2.1/src/blocks/xmldb/conf/xindice-servlet.xweb
  
  Index: xindice-servlet.xweb
  ===================================================================
  <?xml version="1.0"?>
  <!--
    Copyright 1999-2004 The Apache Software Foundation
  
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
  
        http://www.apache.org/licenses/LICENSE-2.0
  
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
  -->
  
  <xweb xpath="/web-app" 
        unless="comment()[contains(., 'Xindice XML-RPC Server servlet configuration')]" 
        insert-after="servlet[last()]">
  
    <!-- XMLDB Block, Xindice XML-RPC Server servlet configuration -->
    <servlet>
      <servlet-name>Xindice</servlet-name>
      <display-name>Xindice XML-RPC Server</display-name>
      <servlet-class>org.apache.xindice.server.XindiceServlet</servlet-class>
  
      <!--
        - This parameter should point to the Xindice Server configuration
        - file. Relative paths resolved relative to webapp context root and
        - must point to the resource within context. Absolute paths
        - (starting with '/') loaded from the file system.
        -->
      <init-param>
        <param-name>xindice.configuration</param-name>
        <param-value>WEB-INF/xindice.xml</param-value>
      </init-param>
  
      <load-on-startup>1</load-on-startup>
    </servlet>
  </xweb>
  
  
  
  1.1                  cocoon-2.1/src/blocks/xmldb/lib/xmlrpc-1.1.jar
  
  	<<Binary file>>
  
  

Mime
View raw message