[kepler-dev] Kepler with WSRF web services
Jochen Haemmerle
jochen.haemmerle at ipe.fzk.de
Tue Nov 6 09:14:18 PST 2007
Hi,
I ran into a strange problem. I'm trying to implement an actor which invokes
an WSRF based web service to access my GlobusToolkit WS-Core 4.0.5 .
Therefore I created two classes. One is basically the "Helloworld" Actor from
the "Getting Started" tutorial. I only added the following line to fire()
MyTestClient test = new MyTestClient();
which should create an instance of the following class.
public class MyTestClient extends BaseClient {
public MyTestClient(){
System.out.println("Helloworld");
}
}
If I run my "Helloworld" sample with my actor and a Display actor I get the
Stacktrace below.
Seems like there is something wrong in BaseClient.java. The line where the
exception is thrown looks the following:
protected Object protection = Constants.SIGNATURE;
I've checked my imports and even grepped the entire globus-src but I couldn't
find "Constant.SIGNATURE". Nevertheless this setup works with a commanline
WSRF-Client.
Did anyone already experiment with WSRF-Web Services and Kepler? Maybe I'm
makeing a simple mistake or just didn't see an Actor which already does what
I want to do ;)
Kind regards
Jochen
ptolemy.kernel.util.IllegalActionException: in .<Unnamed Object>.manager
Because:
SIGNATURE
at ptolemy.actor.Manager.execute(Manager.java:446)
at ptolemy.actor.Manager.run(Manager.java:1070)
at ptolemy.actor.Manager$3.run(Manager.java:1111)
Caused by: java.lang.NoSuchFieldError: SIGNATURE
at org.globus.wsrf.client.BaseClient.<init>(BaseClient.java:63)
at org.globus.testclient.MyTestClient.<init>(MyTestclient.java:23)
at org.globus.testclient.Client.fire(Client.java:67)
at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:400)
at
ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticSchedulingDirector.java:170)
at ptolemy.actor.CompositeActor.fire(CompositeActor.java:372)
at ptolemy.actor.Manager.iterate(Manager.java:687)
at ptolemy.actor.Manager.execute(Manager.java:332)
... 2 more
Caused by: java.lang.NoSuchFieldError: SIGNATURE
at org.globus.wsrf.client.BaseClient.<init>(BaseClient.java:63)
at org.globus.testclient.MyTestClient.<init>(MyTestclient.java:23)
at org.globus.testclient.Client.fire(Client.java:67)
at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:400)
at
ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticSchedulingDirector.java:170)
at ptolemy.actor.CompositeActor.fire(CompositeActor.java:372)
at ptolemy.actor.Manager.iterate(Manager.java:687)
at ptolemy.actor.Manager.execute(Manager.java:332)
at ptolemy.actor.Manager.run(Manager.java:1070)
at ptolemy.actor.Manager$3.run(Manager.java:1111)
--
More information about the Kepler-dev
mailing list