IOExceptions at startup

2002-05-15 Thread Christoph Göldner
Hello, I get several exeptions when starting my xindice server. I think I've made all the path-settings correctly. How can I solve these problems, here is my stack-trace: java -classpath "c:\extras\j2sdk\server.jar;c:\extras\j2sdk\servlet.jar;c:\extras\j2sdk\classes;c:\extras\j2sdk\lib\xmlrp

XPath Query through Java Applet

2002-05-15 Thread Wei-Chin Hsieh
Hi Xindice users, I convert a small query application to an applet. The application has only a TextField for getting XPath query input and a JEditorPane for showing the results. It works fine. But the applet doesn't work though it appears in the browser. I am hoping someone has done this and can g

Re: Need help creating XML object

2002-05-15 Thread Nutan Kaul
Hi Dirk, I am in the dir where my class file is (org.apache.xindice.examples.XPathQueryXMLObjectNK.class) but I still can not create the object: xindiceadmin add_xmlobject -i org.apache.xindice.examples.XPathQueryXMLObjectNK -n MyXpath1 -c /db/addressbook ERROR : XMLObject Cannot Create Thanks f

AW: Need help creating XML object

2002-05-15 Thread Dirk Bromberg
You don't need to add the .class file to the /lib dir. You yust must do this: xindiceadmin add_xmlobject -i org.apache.xindice.examples.HelloWorldXMLObject -n Hello -c /db/addressbook If you are in the directory where the class file is. (change class name to yours) Greets Dirk Bromberg [EMAIL

Need help creating XML object

2002-05-15 Thread Nutan Kaul
Hi, I am using xindice 1.0 on Unix and trying to build an XML object using the exaples given in the User's guide. I have changed the org.apache.xindice.examples.XPathQueryXMLObject.java to org.apache.xindice.examples.XPathQueryXMLObjectNK.java and have compiled it and copied the XPathQueryXMLObjec

Re: Xpath query syntax

2002-05-15 Thread Nutan Kaul
Carl, Try loading without single quote i.e. product_id="120320". I did it many times since yesterday and it is working. -Nutan - Original Message - From: "clholm" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 14, 2002 5:09 PM Subject: Re: Xpath query syntax > Thanks Nutan, > > The product

Re: Indexer does not work ??!

2002-05-15 Thread Dirk Bromberg
Now I've created a new collection, then I add an indexer for an attribute.. then i add 500.000 test documents which have a counter for the attributevalue 1,2GB Data (500MB for the index) now the search needs 120ms, that's fast I think. great!!! Dirk Bromberg running xindice 1.0 ,1GHZ AMD, IDE HDD

more bind entries in system.xml

2002-05-15 Thread Stefan Lischke
Hi, i configured my system.xml so, that only 127.0.0.1 can connect to my xindice. This works, but my apache(php- xmlrpc) makes connection from the real ip of this host and this connection will be denied. how can i configure that 127.0.0.1 can connect to my xindice and the real ip of this host

RE: Xpath query performance

2002-05-15 Thread John Meyer
For performance reasons, I would not recommend using the //* notation. Its expanded version would like the following: /descendant::node()[attribute::product_id='VPU-1001'] The descendant axis of the root node includes every other node in the tree, which means you would search every single node for

Re: Xpath query performance

2002-05-15 Thread Kevin . Ross
My knowlege is based on my use of the Xalan implementation. I take it you are selecting a product? If so, the second and third query are wrong. I have corrected it to select the same node: /products/[EMAIL PROTECTED]'VPU-1001'] //[EMAIL PROTECTED]'VPU-1001'] The first should be quite a bit fa

Still problem with XUpdate using jdk1.4

2002-05-15 Thread Yun Ding
Hi all, I installed Xindice under jdk1.4.0. Everything ran well except the example XUpdate. The stack traces I got is the following: http://www.xmldb.org/xupdate";> 480-300-3003 org.apache.xindice.client.corba.db.APIException: IDL:org/apache/xindice/client/corba/db/APIException:1.0

Xpath query performance

2002-05-15 Thread Dave Hurrell
Given a large file of which the following is a small sample: http://xml.apache.org/xindice/Query"; src:col="/db/vp" src:key="prods"> Mamadou Ly Mandinka Drum Master Mandinka drumming Tabala Wolof Sufi drumming

Re: Xpath query syntax

2002-05-15 Thread Mark J. Stang
Try: //*/[EMAIL PROTECTED]'VPU-1001'] That should search all attributes... Mark clholm wrote: > Jeff, > > The first of your two suggestions > ( "/products/[EMAIL PROTECTED]'VPU-1001']") > works as expected. > > In my cursory understanding of Xpath I somehow missed the apparent necessity > o

Re: Xpath query syntax

2002-05-15 Thread clholm
Thanks to you as well John! John Fletcher wrote: > >From the looks of your xml doc, product_id is not an attribute of products, > but of product, in which case "/products/[EMAIL PROTECTED]'VPU-1001']" > would work > > John Fletcher > > - Original Message - > From: "clholm" <[EMAIL PROTECT

Re: Xpath query syntax

2002-05-15 Thread clholm
Jeff, The first of your two suggestions ( "/products/[EMAIL PROTECTED]'VPU-1001']") works as expected. In my cursory understanding of Xpath I somehow missed the apparent necessity of including the root element of the XML document in the search string. Many thanks! Carl Holm Jeff Greif wrote

RE: can i Change Collectionhome?

2002-05-15 Thread Zhitao Wang
I made it on winXp by changing the system.xml file on WinXP. The trick is that you need to use RELEATIVE PATH, and you need to COPY the system directory in the original /db collection to your newly created colection. For example: Change the folllowing part in the system.xml as (It is slash /

Re: Xpath query syntax

2002-05-15 Thread John Fletcher
looks like Jeff beat me by a minute! :) John Fletcher - Original Message - From: "Jeff Greif" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 14, 2002 5:11 PM Subject: Re: Xpath query syntax > I think your query is wrong because product_id is an attribute of the > product element, not the p

Re: Xpath query syntax

2002-05-15 Thread John Fletcher

Re: Xpath query syntax

2002-05-15 Thread Jeff Greif
I think your query is wrong because product_id is an attribute of the product element, not the products element. Depending on what you want to retrieve, the query should be either "/products/[EMAIL PROTECTED]'VPU-1001']") or "/[EMAIL PROTECTED]'VPU-1001']" Jeff - Original Message - From