cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26456] - First Xindice DB is created in current directory (instead of WEB-INF?)
Date Sat, 07 Feb 2004 12:17:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26456>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26456

First Xindice DB is created in current directory (instead of WEB-INF?)





------- Additional Comments From vgritsenko@apache.org  2004-02-07 12:17 -------
cocoon-2.1\src\blocks\xmldb\conf\xmldb.xconf:

<?xml version="1.0"?>

<xconf xpath="/cocoon/source-factories" unless="component-instance[@name='xmldb']">

    <!-- xmldb pseudo protocol -->
    <component-instance
class="org.apache.cocoon.components.source.impl.XMLDBSourceFactory" name="xmldb">
      <!--+
          | Xindice 1.1 XML-RPC driver. See Xindice javadoc for configuration
options.
          +-->
      <driver class="org.apache.xindice.client.xmldb.DatabaseImpl" type="xindice">
        <!-- Specifies xindice web application context path.
             Default is "/xindice/".
        <service-location>/xindice/</service-location>
        -->

        <!-- Specifies name of the XML-RPC 'driver' (XML parser) to use.
             Default is "xerces".
        <xmlrpc-driver>xerces</xmlrpc-driver>
        -->
      </driver>

      <!--+
          | Xindice 1.1 Embedded driver. See Xindice javadoc for configuration
options.
          +-->
      <driver class="org.apache.xindice.client.xmldb.DatabaseImpl"
type="xindice-embed">
        <!-- Specifies path to the Xindice configuration file.
             If missing, buit-in configuration defaults will be used.
        <configuration>/opt/xindice/config/system.xml</configuration>
        -->

        <!-- Specifies name of the database instance to mount.
             Default is "db".
        <name>db</name>
        -->

        <!-- Specifies path to the Xindice DB home directory.
             Default is `pwd` (current working directory).
        <db-home>/var/xindice/db</db-home>
        -->
      </driver>

      <!-- Add here other XML:DB compliant databases' drivers -->
    </component-instance>

</xconf>


I'll commit it when 1.1b4 is out.

Vadim

Mime
View raw message