Simon Laws wrote:
> The original error doesn't look like a platform specific error
> (although it's obviously difficult to be 100% sure. Assuming I get a
> clean build this morning, taking all the changes from the last couple
> of days, I'll push some new snapshots out.
>
> Simon
>
>
Hi!
Thanks, it seems like that helped a lot! :-)
However, there seems to be one final obstacle when I am trying to run
the itest:
First, note the WARNING in the following log, of which there are several
occurrences:
[java] INFO: Loading contribution:
file:/Users/Shared/Devel/Apache/ApacheTuscany/LATEST/tuscany-sca-2.0-SNAPSHOT-src/itest/nodes/helloworld-service/target/classes/
[java] Mar 4, 2010 9:41:42 PM
org.apache.tuscany.sca.binding.sca.provider.DefaultSCABindingMapper <init>
[java] WARNING: Mapped binding for binding.sca is not supported:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}binding.ws
[java] Mar 4, 2010 9:41:42 PM
org.apache.tuscany.sca.endpoint.tribes.ReplicatedEndpointRegistry
addEndpoint
[java] INFO: Add endpoint - (@2775646)Endpoint: URI =
HelloworldService#service-binding(Helloworld/Helloworld)
[java] Mar 4, 2010 9:41:42 PM
org.apache.tuscany.sca.node.launcher.NodeLauncher main
[java] INFO: SCA Node is now started.
Second, there is an exception:
[java] java.lang.IllegalStateException:
org.oasisopen.sca.ServiceUnavailableException:
org.apache.tuscany.sca.core.scope.TargetInitializationException:
org.apache.tuscany.sca.implementation.java.invocation.EventInvocationException:
Exception thrown by event method [initialize]
[java] at
org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:169)
[java] at itest.Client.setUpBeforeClass(Client.java:43)
[java] at itest.Client.main(Client.java:65)
[java] Caused by: org.oasisopen.sca.ServiceUnavailableException:
org.apache.tuscany.sca.core.scope.TargetInitializationException:
org.apache.tuscany.sca.implementation.java.invocation.EventInvocationException:
Exception thrown by event method [initialize]
[java] at
org.apache.tuscany.sca.core.scope.impl.CompositeScopeContainer.getWrapper(CompositeScopeContainer.java:62)
[java] at
org.apache.tuscany.sca.core.scope.impl.CompositeScopeContainer.start(CompositeScopeContainer.java:81)
[java] at
org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.start(CompositeActivatorImpl.java:512)
[java] at
org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.start(CompositeActivatorImpl.java:314)
[java] at
org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:143)
[java] ... 2 more
[java] Caused by:
org.apache.tuscany.sca.core.scope.TargetInitializationException:
org.apache.tuscany.sca.implementation.java.invocation.EventInvocationException:
Exception thrown by event method [initialize]
[java] at
org.apache.tuscany.sca.implementation.java.context.ReflectiveInstanceWrapper.start(ReflectiveInstanceWrapper.java:54)
[java] at
org.apache.tuscany.sca.core.scope.impl.CompositeScopeContainer.getWrapper(CompositeScopeContainer.java:60)
[java] ... 6 more
[java] Caused by:
org.apache.tuscany.sca.implementation.java.invocation.EventInvocationException:
Exception thrown by event method [initialize]
[java] at
org.apache.tuscany.sca.implementation.java.invocation.MethodEventInvoker.invokeEvent(MethodEventInvoker.java:52)
[java] at
org.apache.tuscany.sca.implementation.java.context.ReflectiveInstanceWrapper.start(ReflectiveInstanceWrapper.java:47)
[java] ... 7 more
[java] Caused by: org.oasisopen.sca.ServiceRuntimeException: No
matching operation for sayHello is found in reference
HelloworldClient#service
[java] at
org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointReferenceImpl.initInvocationChains(RuntimeEndpointReferenceImpl.java:276)
[java] at
org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointReferenceImpl.getInvocationChains(RuntimeEndpointReferenceImpl.java:176)
[java] at
org.apache.tuscany.sca.core.invocation.impl.JDKInvocationHandler.getInvocationChain(JDKInvocationHandler.java:195)
[java] at
org.apache.tuscany.sca.core.invocation.impl.JDKInvocationHandler.invoke(JDKInvocationHandler.java:99)
[java] at $Proxy8.sayHello(Unknown Source)
[java] at
itest.nodes.HelloworldImpl.sayHello(HelloworldImpl.java:40)
[java] at
itest.nodes.HelloworldImpl.initialize(HelloworldImpl.java:36)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:592)
[java] at
org.apache.tuscany.sca.implementation.java.invocation.MethodEventInvoker.invokeEvent(MethodEventInvoker.java:43)
[java] ... 8 more
This is very encouraging (the progress, not the errors! :-) ). I'll
look more into this as soon as I have some time (busy week :-P ).
Best wishes,
Ivan