list archives . users mailing list

Subject: Re: New to OGSA-DAI .. Installation woes ...

Date view Thread view Subject view Author view Attachment view

From: Brian Mendenhall (brianm@usc.edu)
Date: Jun 25, 2004 18:43

On Fri, Jun 25, 2004 at 10:04:22AM +0100, M.Jackson alleged:

> The "Quick Fix":
>
> The quick way (which avoids having to edit GDSF implementation code) is:
>
> 1-Edit the GDSF registration file - after deployment this is in:
>
> <TOMCAT>/webapps/ogsa/WEB-INF/etc/registrationList.xml.
>
> 2-Just remove the element:
>
> <gdsf:gdsfRegistration name="defaultRegistration"
> gsh="http://localhost:8080/ogsa/services/ogsadai/DAIServiceGroupRegistry"/>
>
> 3-Shutdown and restart Tomcat.
> 4-Call the following to register the GDSF with the DAISGR.
>
> % java org.globus.ogsa.Client.AddService \\
> http://localhost:8080/ogsa/services/ogsadai/GridDataServiceFactory \\
> http://localhost:8080/ogsa/services/ogsadai/DAIServiceGroupRegistry \\
> infinity

I followed these directions, but came across a particularly weird problem:

[root@wave lib]# pwd
/home/brianm/src/ogsadai-3.1/lib
[root@wave lib]# java org.globus.ogsa.Client.AddService http://localhost:8080/ogsa/services/ogsadai/GridDataServiceFactory http://localhost:8080/ogsa/services/ogsadai/DAIServiceGroupRegistry infinity
Exception in thread "main" java.lang.NoClassDefFoundError: org/globus/ogsa/Client/AddService

[root@wave lib]# java org.globus.ogsa.client.AddService http://localhost:8080/ogsa/services/ogsadai/GridDataServiceFactory http://localhost:8080/ogsa/services/ogsadai/DAIServiceGroupRegistry infinity
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/client/Service

Notice the minor change in the above 2 commands (lower case 'c' in the second Client). I had unpacked the ogsa.jar file to try to track down the first error, and saw that the path was with a lowercase c, but even after fixing that, axis seemed to have a simular problem.

Then again, I am not much of a java person, so it might just be way over my head.

I have also tried to enable the logging per the installation instructions, but can't seem to locate the logfile, even after explicitely giving it a full path in the properties file.

---
Brian Mendenhall
Linux/HPCC Administration
USC.edu


Date view Thread view Subject view Author view Attachment view