list archives . users mailing list

Subject: Re: xml queries help (fwd)

Date view Thread view Subject view Author view Attachment view

From: Tom Sugden (tom@epcc.ed.ac.uk)
Date: Feb 14, 2003 10:47

Hi Shishir,

I suspect that this is caused by a few small problems with your configuration.

In your GridDataServiceFactoryConfig, change:

<GDSF:DatabaseManagementSystem name="MyDMBS" location="localhost">

to:

<GDSF:DatabaseManagementSystem name="MyDMBS" type="xindice"
location="localhost:4080">

And in your EX.xml, change:

<query>//lfn[@name="8"</query>

To:

<query>//lfn[@name="8"]</query>

You should also verify that you are using the correct version of the
Xindice.jar. The version contained in the Xindice download, not the OGSA
download, should used. Its file size is 576Kb and it should be stored in
<TOMCAT>/webapps/ogsa/WEB-INF/lib

Please e-mail me back if you have any further questions.

Thanks,
Tom

>---------- Forwarded message ----------
>Date: Thu, 13 Feb 2003 14:11:51 -0800 (PST)
>From: Shishir S. Bharathi <shishir@ISI.EDU>
>To: users@ogsadai.org.uk
>Subject: xml queries help
>
>Hi,
>
> I'm trying to run some xpath queries on xindice. I get the generic
>error:
> faultDetail:
> uk.org.ogsadai.wsdl.GridDataServiceSystemException:
> <description>Exception reading in script or writing out results:
>null</description>
>
> exceptionName: uk.org.ogsadai.wsdl.GridDataServiceSystemException
> stackTrace: AxisFault
> faultCode: {http://xml.apache.org/axis/}Server.generalException
> faultString:
> faultActor: null
> faultDetail:
> exceptionName: uk.org.ogsadai.wsdl.GridDataServiceSystemException
>
>
> at
>uk.org.ogsadai.service.gds.GridDataServiceP2R1.performScript(Unknown
>Source)
>
>
>I'm trying to run the command line equivalent of
>xindice xpath_query -c /db/map -q /map
>
>I have the collection set up and added a document of the form
><map>
> <l1>
> <l2/>
> </l1>
></map>
>
>I'm attaching the GridDataServiceFactoryConfig.xml and the script that I'm
>using.
>
>What does the resourceId element hold ? I have it set to the name of the
>document I stored into the database, but I'm not sure if that should be
>the case.
>
>Thanks and regards,
>Shishir
>
>
>--
>


Date view Thread view Subject view Author view Attachment view
webperson@nesc.ac.uk