Hi,

Problems with XP?. Please accept this kind invitation to join Heartsome
Linux User Group. :) 

Are you really running Tomcat on port 5080 ? 

If in your browser you type http://localhost:8080/Xindice you should see
the "Ugly Database Browser" welcome.

Xindice will automatically create the database under CATALINA_HOME/bin
or from wherever you start Tomcat. If I'm guessing correctly, you are
starting Tomcat as a service, which implies that the db will be created
somewhere out of your control. 

Try the following: 
        * shutdown Tomcat.
        * change to CATALINA_HOME/bin
        * run startup.bat
        * check if ./db is created in the current directory.

According to the Developers list, there is a pending patch to avoid
automatic creation of the database. This will help a little, as
databases will be created only at your command.

Hope this helps,
Rodolfo



 

On Fri, 2002-11-15 at 06:42, Dr. Klemens WaldhÃr wrote:
> 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