list archives . users mailing list

Subject: RE: GDS configuration problem

Date view Thread view Subject view Author view Attachment view

From: Andrew Borley (BORLEY@uk.ibm.com)
Date: Feb 19, 2003 16:56

Hi Brian,

I think this is a problem with the fact that the script environment is
trying to add an activity that doesn't exist: in this case the Translation
activity.
The easy fix for this is to comment out the Translation activity from the
list of <GDS:Activity> elements inside the <GDS:ScriptEnvironment> element
in the GridDataServiceFactoryConfig xml.

You may then find that you get the same error for the Cache activity, in
which case, comment that out as well.

Cheers

Andrew

____________________________________________________________

Andrew Borley - Software Engineer
HS&T - Dynamic e-Business
Tel: 245393 Ext: +44 (0) 1962 815393 Mob: +44 (0) 7812 571341
E-mail: borley@uk.ibm.com
Mailpoint 137, IBM (UK) Ltd, Hursley Park, Winchester, Hants, SO21 2JN
____________________________________________________________

|---------+---------------------------->
| | "Brian Hills" |
| | <brianh@nesc.ac.u|
| | k> |
| | Sent by: |
| | owner-users@ogsad|
| | ai.org.uk |
| | |
| | |
| | 19/02/2003 16:02 |
| | |
|---------+---------------------------->
>------------------------------------------------------------------------------------------------------------------------------|
  | |
  | To: Andrew Borley/UK/IBM@IBMGB, "Amrey Krause" <amrey@epcc.ed.ac.uk> |
  | cc: <users@ogsadai.org.uk> |
  | Subject: RE: GDS configuration problem |
  | |
  | |
>------------------------------------------------------------------------------------------------------------------------------|

Thanks guys,

That seems to have fixed the problem, the config defined in the GDSFConfig
was called 'config1' and in the other files 'config'.  However I now get
the following error, which I would guess means I have to check all the
<ScriptEnvironment> tags in the scripts too?

Brian

Error:
AxisFault
 faultCode: http://xml.apache.org/axis/}Server.userException
 faultString: [org.globus.ogsa.GridServiceException]  Problem with
ScriptEnvironment environment1: could not load Translation Activity,
version p2.r1.234 [uk.org.ogsadai.porttype.gds.engine.test.TestActivity]
[chained] -> Problem with ScriptEnvironment environment1: could not load
Translation Activity, version p2.r1.23
4 [uk.org.ogsadai.porttype.gds.engine.test.TestActivity]
 faultActor: null
 faultDetail:
        stackTrace: [org.globus.ogsa.GridServiceException]  Problem with
ScriptEnvironment environment1: could not load Translation Activity,
version p2.r1.234
[uk.org.ogsadai.porttype.gds.engine.test.TestActivity] [chained] -&gt;
Problem with ScriptEnvironment environment1: could not load Translation
Activity, version
 p2.r1.234 [uk.org.ogsadai.porttype.gds.engine.test.TestActivity]
        at
uk.org.ogsadai.service.gdsf.GridDataServiceFactoryP2R1.createServiceO
bject(GridDataServiceFactoryP2R1.java:238)

-----Original Message-----
From: Andrew Borley [mailto:BORLEY@uk.ibm.com]
Sent: 19 February 2003 15:45
To: Brian Hills
Cc: users@ogsadai.org.uk
Subject: Re: GDS configuration problem

Hi Brian,

I think this is a small problem with either your
GridDataServiceFactoryConfig xml (on your server), your
GridDataServiceFactoryScript xml or your GridDataServiceScript xml (both
sent by the client).

In your GridDataServiceFactoryScript xml, the value for the
<GDSFS:CreateGDSWithNamedConfig> element needs to be the same as the value
for the name attribute for the <GDSF:GridDataServiceConfig> element in the
GridDataServiceFactoryConfig xml.

Alternatively (or also), the value of the <Config> element in your
GridDataServiceScript xml needs to be the same as the value for the name
attribute for the <GDSF:GridDataServiceConfig> element in the
GridDataServiceFactoryConfig xml.

So for example if your GridDataServiceFactoryConfig xml contains this:

...
<GDSF:GridDataServiceConfig name="config">
   <GDS:ScriptEnvironment name="environment1" language ="
http://ogsadai.org.uk/language/GridDataServiceScript">
...

then your GridDataServiceFactoryScript xml needs to contain this:

...
<GDSFS:Body>
   <GDSFS:CreateGDSWithNamedConfig>config</GDSFS:CreateGDSWithNamedConfig>
</GDSFS:Body>
...

and your GridDataServiceScript xml needs to contain this:

...
   <Header>
      <Version>
         <Config>config</Config>
....

Hope this helps!
Let us know if you have more problems or if this doesn't work.

Cheers

Andrew

____________________________________________________________

Andrew Borley - Software Engineer
HS&T - Dynamic e-Business
Tel: 245393 Ext: +44 (0) 1962 815393 Mob: +44 (0) 7812 571341
E-mail: borley@uk.ibm.com
Mailpoint 137, IBM (UK) Ltd, Hursley Park, Winchester, Hants, SO21 2JN
____________________________________________________________

|---------+---------------------------->
|         |           "Brian Hills"    |
|         |           <brianh@nesc.ac.u|
|         |           k>
|         |           Sent by:
|         |           owner-users@ogsad|
|         |           ai.org.uk
|         |
|         |
|         |           19/02/2003 14:53
|         |
|---------+---------------------------->
  >
------------------------------------------------------------------------------------------------------------------------------|

|                                                                                                                             

  |       To:       <users@ogsadai.org.uk>
  |       cc:
  |       Subject:  GDS configuration problem

|                                                                                                                             

|                                                                                                                             

  >
------------------------------------------------------------------------------------------------------------------------------|

I have installed  OGSA-DAI on my PC after attending last weeks training
course.

When I try to run  the End to End client I get the following error:

Error:

AxisFault

faultCode:  {http://xml.apache.org/axis/}Server.userException

faultString:  [org.globus.ogsa.GridServiceException] GDS configuration
"config"

could not be found. [chained] -> GDS  configuration "config" could not be
found.

GDS configuration "config" could not be  found.

Sounds  like it may be something I havent altered in a setup file, (I've
been following  the I-guide) does anyone have any suggestions?

Thanks

Brian


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