Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-09 Thread Mark Eggers
Philipp, I added xmldb-common.jar and xmldb-xupdate.jar as well as the two you mentioned. In addition to those, I also replaced xml-apis.jar and xmldb-api-20021118.jar. However, on closer inspection it does not appear that I really needed to update xml-apis.jar and xmldb-api-20021118.jar. /mde/

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-09 Thread Philipp Dev
Hi Brian and Mark > Once I deployed the cocoon war I went back into > cocoon/WEB-INF/lib and replaced all the > xindice-related jars with the distribution I checked > out. Whichs jars did you replace? I just replaced the old (included xindice-1.1b1.jar) xindice with my cvs build one xindice-1.1b

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-08 Thread Brian Burridge
> xml-xindice 1.1b4-dev checked out on 01/03/04 same version, checked out on the 6th > cocoon-2.1.4-dev checked out on 12/15/03 same version check out on the 6th > For cocoon, I built everything (j2sdk 1.4.2_02-b03) > which included xindice 1.1b3. me too > Once I deployed the cocoon war I went b

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-08 Thread Mark Eggers
Weird. I just saved a raw response from my environment and it's plain XML. Firebird 0.7 styles it for me, but viewing it in source shows raw XML. I'm using the following envinronment: xml-xindice 1.1b4-dev checked out on 01/03/04 cocoon-2.1.4-dev checked out on 12/15/03 For cocoon, I built eve

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-08 Thread Brian Burridge
> Here's my basic pipeline: > > > > >src="xmldb:xindice://localhost:8080/db/{../1}#{1}"/> > > >src="xmldb:xindice://localhost:8080/db/{1}"/> > > > > > I found that if you serialize to text the only time > you will see output is if you ask for a particular > document from the col

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-08 Thread Mark Eggers
--- Brian Burridge <[EMAIL PROTECTED]> wrote: > I can run the xindice command line tool like this > and get the proper > responses: > xindice ld -c > xmldb:xindice://localhost:8080/db/restaurants > AND > xindice lc -c xmldb:xindice://localhost:8080/db > > I am using the rpc driver that you sugge

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-08 Thread Brian Burridge
I am not using the embedded version. I'm using xindice deployed as a war under Tomcat. Its accessible via http://localhost:8080/xindice/. It is already populated. I can run the xindice command line tool like this and get the proper responses: xindice ld -c xmldb:xindice://localhost:8080/db/restaur

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-08 Thread Mark Eggers
Brian, If you're using the xmldb samples block, the first thing you will have to do is populate the database. The samples page uses an internal database. If you want to use your own database with the embedded connector, you need to do the following: 1. create or copy the system.xml file for a d

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-08 Thread Brian Burridge
Yes,and I get: Resource Not found Collection xmldb:xindice://localhost:8080/db/ not found Brian On Thu, 2004-01-08 at 11:30, Upayavira wrote: > Brian Burridge wrote: > > >To clarify the complete error message is: > > > >Resource Not Found > >Document xmldb:xindice://localhost:8080/db/restaurant

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-08 Thread Brian Burridge
Thanks, I had already done this, and I can go to localhost:8080/xindice/ and browse the database fine. The problem is connecting to it from cocoon. Brian On Thu, 2004-01-08 at 11:40, Markus Exel wrote: > Hi Brian, > > I used to have a similar problem connecting Xindice out of an application. >

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-08 Thread Markus Exel
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 -

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-08 Thread Upayavira
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 slas

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-08 Thread Brian Burridge
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

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-08 Thread Brian Burridge
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 xindi

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-08 Thread Andy Armstrong
Johnson, John wrote: Please remove me from the email list group [EMAIL PROTECTED] -- Andy Armstrong, Tagish

RE: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-08 Thread Johnson, John
Please remove me from the email list group -Original Message- From: Philipp Dev [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 7:59 AM To: xindice-users@xml.apache.org Subject: Re: Connecting Cocoon 2.1 from cvs with external Xindice Hi Brian I think your problem is the

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-08 Thread Philipp Dev
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-pag

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-07 Thread Brian Burridge
Here is what cocoon produce in the logs when I tried to query the xindice db. Any clues in here? DEBUG (2004-01-07) 16:13.29:547 [sitemap] (/cocoon/samples/xmldbTest/db/restaurants/restaurants) Thread-13/ResourceLimitingPool: Got a org.apache.cocoon.components.pipeline.impl.CachingProcessingPi

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-07 Thread Brian Burridge
I just ran that RetrieveDocument class and it worked fine for me as well. So perhaps Cocoon is getting the xml, but something else is happening after. What's curious is that my brower says its getting xml back, however what I get back is: "". Why would I get back blank html instead of blank xml?

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-07 Thread Mark Eggers
Philipp, I just ran the example RetrieveDocument.java code against my Xindice collection. I am using the 1/3/04 CVS checkout of xindice (1.1b4-dev). I obtained clean XML information printed out. I did a trace as the call was done, but unfortunately the information is compressed and encoded. I'

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-07 Thread Mark Eggers
Currently I am using Xindice 1.1b3 checked out on 12/15/03 against cocoon 2.1.4-dev checked out on 12/15/03. I am fixing to rebuild some software with xindice checked out on 1/3/04 and will post my results and a little snippet of java code shortly. /mde/ __ Do you

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-06 Thread Philipp Dev
Hi everyone I had the exact same bad behaviour with a few day old builds of cocoon and xindice. So my question to Mark: Which version of Xindice are you using? regards Philipp

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-06 Thread Brian Burridge
Ok. Made a little progress. My cocoon.xconf was fine as was my sitemap. I upgraded my cocoon (which was only a few weeks old), but that madea difference. I no longer get an error connecting to the db. I also upgrade xindice, and finally got the commnadline admin tool to work, which never had work

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-05 Thread Mark Eggers
Brian, I just put together a real quick test. I have the following collection: /db/addissue It has 100 very small documents in it. I put the following in my sitemap.xmap: (sorry for the word-wrap problem) I was able to get the listing with: http://localhost/cocoon

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-05 Thread Brian Burridge
I've changed the xmldb samples sitemap to use "xmldb:xindice://localhost:8080/" instead of "xmldb:xindice-embed:///". However, when I do this: "http://localhost:8080/cocoon/samples/xmldb/db/restaurants/"; I get this error: org.apache.cocoon.ResourceNotFoundException: Collection xmldb:xindice://lo

Re: Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-05 Thread Mark Eggers
There's a Wiki entry that is helpful: http://wiki.cocoondev.org/Wiki.jsp?page=XMLIndiceCocoon2.1 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 Here is a snippet from an experimental sitemap I'm playing with at th

Connecting Cocoon 2.1 from cvs with external Xindice

2004-01-05 Thread Brian Burridge
Cocoon, pulled last week from cvs, is working with the embedded Xindice, but I need it to work with the external xindice. I have version 1.1b1 installed in tomcat, and its accessible via http://localhost:8080/xindice. However, all the examples show the connection uri to xindice to be: xmldb:xindic