DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
| Info | ||
|---|---|---|
| ||
Hi, These last few days I've been looking into calculator2, as suggested by Luciano. I took a list of necessary modules that Adriano sent me from the calculator2 jars and augmented it until the point in which I received the same error stack trace 1 that he reported in this thread. I am now getting the same errors on the Android Emulator 2 and have posted the error stack trace in 3. An excerpt of this trace is included below and a couple of questions follow it afterwards. ERROR/AndroidRuntime(2255): Caused by: org.osoa.sca.ServiceUnavailableException: Service not found for component CalculatorServiceComponent reference setAddService (bindingURI=null operation=add). Ensure that the composite containing the service is loaded and started somewhere in the SCA domain and that if running in a remote node that the interface of the target service marked as @Remotable ERROR/AndroidRuntime(2255): at org.apache.tuscany.sca.binding.sca.impl.RuntimeSCAReferenceBindingProvider.createInvoker(RuntimeSCAReferenceBindingProvider.java:247) ERROR/AndroidRuntime(2255): at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.initInvocationChains(RuntimeWireImpl.java:167) ERROR/AndroidRuntime(2255): at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.getInvocationChain(JDKInvocationHandler.java:243) ERROR/AndroidRuntime(2255): at $Proxy2.add(Native Method) ERROR/AndroidRuntime(2255): at java.lang.reflect.Method.invoke(Method.java:356) ERROR/AndroidRuntime(2255): at org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61) ERROR/AndroidRuntime(2255): at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154) How can I ensure that the composite containing the service is being loaded? The full stack trace includes warnings for CompositeBuilderImpl not having the appropriate component references. This makes me think that the composite is not being created and thus results in the errors above. Am I missing something? Suggestions are welcomed and appreciated. The resulting set of modules is based on the tuscany-runtime2 and tuscany-api jars from revision 673092. In the context of this thread 4 in which grouping and aggregating modules was discussed I am now a user looking to embed Tuscany functionality in Android. The thread helped me to identify the subset of Tuscany to port, it consists of the modules shown below: android-jdk-classes tuscany-contribution-resource tuscany-domain tuscany-implementation-java-xml tuscany-policy-xml 1 http://cwiki.apache.org/confluence/display/TUSCANYWIKI/SCA+Android+Exception+after+revision+674723 |