Subject: Re: No factories registered.
- Next message: Alexander Wohrer: "lib not found"
- Previous message: Andrew Borley: "Re: Using GSI with ogsadai"
- In reply to: Charaka Palansuriya: "Re: No factories registered."
- Next in thread: Alexander Wohrer: "lib not found"
- Reply: Alexander Wohrer: "lib not found"
From: Shishir S. Bharathi (shishir@ISI.EDU)
Date: Jan 31, 2003 03:53
Hi,
>
> Not sure whether this is the problem. But I've seen this message when
> CATALINA_OPTS wasn't set. From SunOS I've set this as
>
> export
> CATALINA_OPTS=-Dogsadai.properties.file=$TOMCAT/webapps/ogsa/WEB-INF/etc/ogsadai.properties
>
> and re-started Tomcat and it worked.
This worked. Thanks Charaka.
The INSTALL.TXT in the ogsdai distribution mentions that setting
CATALINA_OPTS is **not** necessary on linux which is what I'm running it
on.
I have a few more questions with the GridDataServiceScript:
1. The User's guide says that only synchronous updates and synchronous
retrieves are supported. What's meant by updates ? Is this just the sql
UPDATE statement or (insertions, deletions, creating new tables etc)
2. When I tried an example similar to the update example that comes with
the disribution, I got an exception:
(Sorry about the rather long description)
Error:
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.generalException
faultString:
faultActor: null
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)
My script has:
<Body>
<Documentation>Update with data delivered in the
script</Documentation>
<DefineParameter name="table">trial</DefineParameter>
<DefineParameter name="newValue">id = 5</DefineParameter>
<DefineParameter name="id">name = "shishir"</DefineParameter>
<Statement name="xyz" dataResource="MyDataResource">
update <UseParameter reference="table"/> set <UseParameter
reference="newValue"/> where <UseParameter reference="id"/>
</Statement>
<Delivery name="delivery">
<Mechanism type="bulk"/>
<Mode type="full"/>
<From>xyz</From>
<To>response</To>
</Delivery>
<Execute name="execute">xyz</Execute>
</Body>
The value in the mysql table is changed, so this has to do with writing
the results out and not reading the script.
3. I also tried using "create" and "insert" statements and they worked.
i.e. the mysql tables were created and entries were added,
but they also gave the same exception as above. What could be wrong ?.
So is the script just a kind of wrapper around sql ?
4. The database scheme returned is similar to that returned with jdbc (to
be expected). So this got me wondering... Are there any limits to what I
can do with ogsadai, compared to what can be done with jdbc (sticking to a
particular dbms, of course)
5. We're interested in performing queries on complex joins. I tried a
couple of simple ones which worked fine. Continuing on from the previous
question, are there any limitations on what I can do ?
Thanks again,
Shishir
- Next message: Alexander Wohrer: "lib not found"
- Previous message: Andrew Borley: "Re: Using GSI with ogsadai"
- In reply to: Charaka Palansuriya: "Re: No factories registered."
- Next in thread: Alexander Wohrer: "lib not found"
- Reply: Alexander Wohrer: "lib not found"