Hello!

I will write a notification producer with java-ws-core, where the class has
the following skelleton:

public class PeerInstance implements Resource, ResourceProperties,
TopicListAccessor
{
  public PeerInstance()
  {
    instance1 = new myClass();
    instance2 = myOtherClass.getInstance();
  }
}

public class myClass
{
  public static myClass getInstance() throws Exception
  {
    return new myClass();
  }
}

The instantiation of instance1 works fine, but the getInstance-call crashes
with:
Failed to start container:  [Caused by:
java.lang.reflect.InvocationTargetException]

Has anybody an idea why?
And is there another tutorial in addition to
http://gdp.globus.org/gt4-tutorial/download/progtutorial-pdf_0.2.1.tar.gz ?

thanks for your help,
  michael

Reply via email to