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/
Have you tried:
http://localhost:8080/cocoon/samples/xmldbTest/db/
To see if it is hitting ANY database, if not yours.
Regards, Upayavira
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