Hi,

I am (still/always) struggeling with xindice running under TOMCAT on
Windows XP.

I have installed the latest version on the server.

Checking the installation with "debug tool on
http://localhost:5080/Xindice?/db";

Returns:
type Status report
message /Xindice
description The requested resource (/Xindice) is not available.

Problem seems to be that the xindice does not find the db directory. I
tried various directory creation but none worked.

I tried for example creating one in: 

C:/Programme/Tomcat4_1/webapps/xindice/Web-inf
And similar other structures.

Next I tried to hardcode the name in system.xml in the web-inf directory
(into a directory where I have it installed too).

This looks like:

<?xml version="1.0"?>

<!--
  - Version: $Revision: 1.8 $ $Date: 2002/11/02 06:23:50 $
  - Author: Kimbro Staken ([EMAIL PROTECTED])
  -->

<xindice>
   <root-collection dbroot="c:/programme/xindice1.1/db/" name="db">
      <queryengine>
         <resolver autoindex="false"
class="org.apache.xindice.core.query.XPathQueryResolver" />
         <resolver
class="org.apache.xindice.core.xupdate.XUpdateQueryResolver" />
      </queryengine>
   </root-collection>
</xindice> 

But this did not help either.

Interestingly enough the work dir (work/standalone/localhost/xindice) of
Tomcat contains another system.xml for Xindice which looks like that
(and I as said I have a db dir for this too!):

<?xml version="1.0"?>
<xindice>
   <root-collection
dbroot="c:\programme\Tomcat4_1\webapps\Xindice\WEB-INF\db\" name="db">
      <queryengine>
         <resolver autoindex="false"
class="org.apache.xindice.core.query.XPathQueryResolver" />
         <resolver
class="org.apache.xindice.core.xupdate.XUpdateQueryResolver" />
      </queryengine>
   </root-collection>
</xindice>

Tomcats log file says for loading Xindice:
2002-11-15 06:55:19 StandardHost[localhost]: Installing web application
at context path /xindice from URL
file:C:/Programme/Tomcat4_1/webapps/xindice
2002-11-15 06:55:19 WebappLoader[/xindice]: Deploying class repositories
to work directory
C:\Programme\Tomcat4_1\work\Standalone\localhost\xindice
2002-11-15 06:55:19 WebappLoader[/xindice]: Deploy class files
/WEB-INF/classes to
C:\Programme\Tomcat4_1\webapps\xindice\WEB-INF\classes
2002-11-15 06:55:19 WebappLoader[/xindice]: Deploy JAR
/WEB-INF/lib/commons-logging-1.0.1.jar to
C:\Programme\Tomcat4_1\webapps\xindice\WEB-INF\lib\commons-logging-1.0.1
.jar
2002-11-15 06:55:20 WebappLoader[/xindice]: Deploy JAR
/WEB-INF/lib/infozone-tools.jar to
C:\Programme\Tomcat4_1\webapps\xindice\WEB-INF\lib\infozone-tools.jar
2002-11-15 06:55:20 WebappLoader[/xindice]: Deploy JAR
/WEB-INF/lib/xalan-2.4.0.jar to
C:\Programme\Tomcat4_1\webapps\xindice\WEB-INF\lib\xalan-2.4.0.jar
2002-11-15 06:55:20 WebappLoader[/xindice]: Deploy JAR
/WEB-INF/lib/xercesImpl-2.1.0.jar to
C:\Programme\Tomcat4_1\webapps\xindice\WEB-INF\lib\xercesImpl-2.1.0.jar
2002-11-15 06:55:20 WebappLoader[/xindice]: Deploy JAR
/WEB-INF/lib/xindice.jar to
C:\Programme\Tomcat4_1\webapps\xindice\WEB-INF\lib\xindice.jar
2002-11-15 06:55:20 WebappLoader[/xindice]: Deploy JAR
/WEB-INF/lib/xml-apis-1.0b3.jar to
C:\Programme\Tomcat4_1\webapps\xindice\WEB-INF\lib\xml-apis-1.0b3.jar
2002-11-15 06:55:20 WebappLoader[/xindice]: Deploy JAR
/WEB-INF/lib/xmldb-api-20021026.jar to
C:\Programme\Tomcat4_1\webapps\xindice\WEB-INF\lib\xmldb-api-20021026.ja
r
2002-11-15 06:55:20 WebappLoader[/xindice]: Deploy JAR
/WEB-INF/lib/xmldb-sdk.jar to
C:\Programme\Tomcat4_1\webapps\xindice\WEB-INF\lib\xmldb-sdk.jar
2002-11-15 06:55:20 WebappLoader[/xindice]: Deploy JAR
/WEB-INF/lib/xmldb-xupdate.jar to
C:\Programme\Tomcat4_1\webapps\xindice\WEB-INF\lib\xmldb-xupdate.jar
2002-11-15 06:55:20 WebappLoader[/xindice]: Deploy JAR
/WEB-INF/lib/xmlrpc-1.1.jar to
C:\Programme\Tomcat4_1\webapps\xindice\WEB-INF\lib\xmlrpc-1.1.jar
2002-11-15 06:55:20 StandardManager[/xindice]: Seeding random number
generator class java.security.SecureRandom
2002-11-15 06:55:20 StandardManager[/xindice]: Seeding of random number
generator has been completed
2002-11-15 06:55:33 StandardWrapper[/xindice:default]: Loading container
servlet default
2002-11-15 06:55:33 StandardWrapper[/xindice:invoker]: Loading container
servlet invoker

Which looks ok for me.

Has anyone an idea where I have to create the db directory? Or what is
wrong?

Klemens

Dr. Klemens Waldh�r
CTO / Gesch�ftsf�hrer
Heartsome Europe GmbH
www.heartsome.net
e-mail 1: [EMAIL PROTECTED]
e-mail 2: [EMAIL PROTECTED]
Private Homepage: http://www.waldhor.com




Reply via email to