[ 
https://issues.apache.org/jira/browse/TUSCANY-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ant elder closed TUSCANY-2274.
------------------------------

    Resolution: Fixed

Fixed in r667046 and r667049 but adding some synchronization clauses

> @Scope vTest failing intermittently 
> ------------------------------------
>
>                 Key: TUSCANY-2274
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2274
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-Next
>            Reporter: Kevin Williams
>             Fix For: Java-SCA-Next
>
>
> The atScope1 vTest fails intermittently like this:
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running 
> org.apache.tuscany.sca.vtest.javaapi.annotations.scope.ScopeAnnotationTestCase
> Setting up
> Apr 26, 2008 5:00:57 PM 
> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime buildComposite
> WARNING: Can't find monitor extension on the classpath
> GService->initGService
> atScope1
> Exception in thread "Thread-5" java.lang.IllegalArgumentException: Invalid 
> phase name: component.implementation
>         at 
> org.apache.tuscany.sca.core.invocation.InvocationChainImpl.addInvoker(InvocationChainImpl.java:106)
>         at 
> org.apache.tuscany.sca.core.invocation.InvocationChainImpl.addInvoker(InvocationChainImpl.java:70)
>         at 
> org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.addImplementationInterceptor(RuntimeWireImpl.java:316)
>         at 
> org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.initInvocationChains(RuntimeWireImpl.java:188)
>         at 
> org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.getInvocationChains(RuntimeWireImpl.java:109)
>         at 
> org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.getInvocationChain(RuntimeWireImpl.java:115)
>         at 
> org.apache.tuscany.sca.core.assembly.RuntimeComponentServiceImpl.getInvocationChain(RuntimeComponentServiceImpl.java:120)
>         at 
> org.apache.tuscany.sca.binding.sca.impl.RuntimeSCAReferenceBindingProvider.getInvoker(RuntimeSCAReferenceBindingProvider.java:232)
> ThreadB1->BService2
> ThreadB2->BService9
>         at 
> org.apache.tuscany.sca.binding.sca.impl.RuntimeSCAReferenceBindingProvider.createInvoker(RuntimeSCAReferenceBindingProvider.java:245)
>         at 
> org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.addReferenceBindingInterceptor(RuntimeWireImpl.java:228)
>         at 
> org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.initInvocationChains(RuntimeWireImpl.java:167)
>         at 
> org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.getInvocationChains(RuntimeWireImpl.java:109)
>         at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.getInvocationChain(JDKInvocationHandler.java:243)
>         at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:148)
>         at $Proxy17.setCurrentState(Unknown Source)
>         at 
> org.apache.tuscany.sca.vtest.javaapi.annotations.scope.ScopeAnnotationTestCase$CThread.run(ScopeAnnotationTestCase.java:359)
> Exception in thread "Thread-4" org.osoa.sca.ServiceUnavailableException: 
> Service not found for component CComponent reference $self$.CService (bi
> ndingURI=/CComponent operation=getName). Ensure that the composite containing 
> the service is loaded and started somewhere in the SCA domain and t
> hat if running in a remote node that the interface of the target service 
> marked as @Remotable
>         at 
> org.apache.tuscany.sca.binding.sca.impl.RuntimeSCAReferenceBindingProvider.createInvoker(RuntimeSCAReferenceBindingProvider.java:247)
>         at 
> org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.addReferenceBindingInterceptor(RuntimeWireImpl.java:228)
>         at 
> org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.initInvocationChains(RuntimeWireImpl.java:167)
>         at 
> org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.getInvocationChains(RuntimeWireImpl.java:109)
>         at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.getInvocationChain(JDKInvocationHandler.java:243)
>         at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:148)
>         at $Proxy17.setCurrentState(Unknown Source)
>         at 
> org.apache.tuscany.sca.vtest.javaapi.annotations.scope.ScopeAnnotationTestCase$CThread.run(ScopeAnnotationTestCase.java:359)
> atScope2
> -------------------------------
> Still not clear if this is a runtime r test setup issue.  I have added Ignore 
> annotation until this is resolved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to