Subject: Exception during initial tests
- Next message: Guy Rixon: "Re: Exception during initial tests"
- Previous message: M.Jackson: "RE: Building OGSA-DAI 1.5"
- Next in thread: Guy Rixon: "Re: Exception during initial tests"
- Reply: Guy Rixon: "Re: Exception during initial tests"
- Maybe reply: George Hicken1: "Re: Exception during initial tests"
From: Guy Rixon (gtr@ast.cam.ac.uk)
Date: Mar 19, 2003 14:14
Hi,
I'm trying to run uk.org.ogsadai.client.Client in the -demo mode but with a
GDS script matched to a database I have here at Cambridge instead of the
default database in the example script. Everything works (rather slowly) up
to the point where it says
-------------------------------------------------------------------------------
About to send the new GDS the script:
src/java/uk/org/ogsadai/service/gdsf/test/Example1.xml
for execution and then display the results.
-------------------------------------------------------------------------------
after which I get this exception:
Error:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString:
faultActor: null
faultNode: null
faultDetail:
uk.org.ogsadai.wsdl.GridDataServiceSystemException:
<description>SystemException whilst running script:
java.lang.ClassCastException</description>
exceptionName: uk.org.ogsadai.wsdl.GridDataServiceSystemException
stackTrace: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString:
faultActor: null
faultNode: null
faultDetail:
exceptionName: uk.org.ogsadai.wsdl.GridDataServiceSystemException
at
uk.org.ogsadai.service.gds.GridDataServiceP2R1.performScript(GridDataServiceP2R1.java:146)
...plus many lines of stack-trace.
This is not a helpful error-message. Does anybody recognize this as a known
problem? Is it possible to say whether the error comes from a bug in the
OGSA-DAI code or from a mis-configuration? The GDS script follows.
<?xml version="1.0" encoding="UTF-8"?>
<!-- (c) International Business Machines Corporation, 2002, 2003. (c)
University of Edinburgh 2002, 2003.-->
<!-- See OGSA-DAI-Licence.txt for licencing information.-->
<GridDataServiceScript>
<Header>
<ScriptName>Example 1</ScriptName>
<Version>
<Config>config</Config>
<ScriptEnvironment>environment</ScriptEnvironment>
</Version>
<Originator>GSR of Originator</Originator>
</Header>
<Body>
<Documentation>Select with data delivered with the
response</Documentation>
<DefineParameter name="table">catalogue</DefineParameter>
<DefineParameter name="dec">POS_EQ_DEC > 60</DefineParameter>
<Statement name="xyz" dataResource="MyDataResource">
SELECT * FROM <UseParameter reference="table"/> WHERE
<UseParameter reference="dec"/>
</Statement>
<Delivery name="delivery">
<Mechanism type="bulk"/>
<Mode type="full"/>
<From>xyz</From>
<To>response</To>
</Delivery>
<Execute name="execute">xyz</Execute>
</Body>
</GridDataServiceScript>
Guy Rixon gtr@ast.cam.ac.uk
Institute of Astronomy Tel: +44-1223-337542
Madingley Road, Cambridge, UK, CB3 0HA Fax: +44-1223-337523
- Next message: Guy Rixon: "Re: Exception during initial tests"
- Previous message: M.Jackson: "RE: Building OGSA-DAI 1.5"
- Next in thread: Guy Rixon: "Re: Exception during initial tests"
- Reply: Guy Rixon: "Re: Exception during initial tests"
- Maybe reply: George Hicken1: "Re: Exception during initial tests"