Hi Brian, 

I used to have a similar problem connecting Xindice out of an application.
I solved the problem by renaming the war file under Tomcat. 
Maybe you can try this: 
 - delete the folder under CATALINA_HOME/webapps/xindice-1.1b2 (or 
similar)
- rename the xindice-1.1b2.war into xindice.war
- start Tomcat again and it will then unpack the war into a folder named 
/xindice

Try to access it again..
Hope I was able to help you

Greeting
Markus



On 8 Jan 2004 at 11:30, Brian Burridge wrote:

> To clarify the complete error message is:
> 
> Resource Not Found
> Document xmldb:xindice://localhost:8080/db/restaurants not found
> 
> That error was when I requested:
> http://localhost:8080/cocoon/samples/xmldbTest/db/restaurants
> 
> If I request: (Note: the difference is the trailing slash)
> http://localhost:8080/cocoon/samples/xmldbTest/db/restaurants/
> 
> 
> Then I get:
> Resource Not Found
> Collection xmldb:xindice://localhost:8080/db/restaurants/ not found
> 
> And as I said, its not even hitting the db for some reason.
> 
> Brian
> 
> On Thu, 2004-01-08 at 11:15, Brian Burridge wrote:
> > I didn't have the rpc jar in there, nor was I using the rpc driver
> > (org.apache.xindice.client.xmldb.xmlrpc.DatabaseImpl). I have added
> > them, and I no longer get the blank screen. However, I now get a
> > "Collection xmldb:xindice://localhost:8080/db/restaurants/ not
> > found" error.
> > 
> > I turned on the xindice log, and when I access xindice via the
> > command line tool, or via the url directly I see that xindice is
> > accessed in its log. However, when I try to call the db from cocoon
> > no access is shown in the xindice logs. So its not hitting the db at
> > all.
> > 
> > 
> > Brian
> > 
> > On Thu, 2004-01-08 at 07:59, Philipp Dev wrote:
> > > Hi Brian
> > > 
> > > I think your problem is the missing xindice-1.1b1.jar file
> > > (it comes with xindice %xindice-home%/java/lib/xindice-1.1b1.jar)
> > > 
> > > I have solved my problems, which were very simular to yours by
> > > adding this jar to the coocon jars. Without xml-rpc you get
> > > exactly this strange no-content-html-page
> > > 
> > > It actually the first line Mark wrot:
> > > 
> > > >Please note that since Xindice 1.1 uses xml-rpc,
> > > >you'll need to put xmlrpc-1.1.jar in:
> > > >
> > > >$CATALINA_HOME/webapps/cocoon/WEB-INF/lib
> > > 
> > > I just forgot to do this, maybe the same with you.
> > > 
> > > regards
> > > 




********************************************************************************
Projekt: Produktions- und Lieferkettenmanagement
Markus Exel
Tel.: 06721/409 263
Fax: 06721/409 158


Reply via email to