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

Ignacio Silva-Lepe closed TUSCANY-882.
--------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Java-M2)
                   Java-Mx

This now works with sca\runtime\standalone\assembly

> Async samples fail in stanalone launcher
> ----------------------------------------
>
>                 Key: TUSCANY-882
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-882
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Samples
>    Affects Versions: Java-M2
>            Reporter: ant elder
>         Assigned To: Ignacio Silva-Lepe
>             Fix For: Java-Mx
>
>
> Simplecallback sample fails in stanalone launcher  with the following 
> exception:
> C:\SCA\SVN\TRUNK\samples\sca\simplecallback>java -jar 
> ..\..\..\..\..\StandaloneT\bin\launcher.jar 
> target\sample-simplecallback-1.0-incubator-M2-SNAPSHOT.jar                    
>                                                                           
> Main thread Thread[main,5,main]
> java.lang.IllegalStateException: Scope not running [6]                        
>                                   
>                      at 
> org.apache.tuscany.core.component.scope.AbstractScopeContainer.checkInit(AbstractScopeContainer.java:124)
>                      at 
> org.apache.tuscany.core.component.scope.ModuleScopeContainer.getInstanceWrapper(ModuleScopeContainer.java:118)
>                      at 
> org.apache.tuscany.core.component.scope.AbstractScopeContainer.getInstance(AbstractScopeContainer.java:105)
>  
>                      at 
> org.apache.tuscany.core.implementation.PojoAtomicComponent.getTargetInstance(PojoAtomicComponent.java:117)
>                      at 
> org.apache.tuscany.core.implementation.java.JavaTargetInvoker.getInstance(JavaTargetInvoker.java:94)
>  
>                      at 
> org.apache.tuscany.core.implementation.java.JavaTargetInvoker.invokeTarget(JavaTargetInvoker.java:59)
>                      at 
> org.apache.tuscany.spi.extension.TargetInvokerExtension.invoke(TargetInvokerExtension.java:60)
>  
>                      at 
> org.apache.tuscany.core.wire.InvokerInterceptor.invoke(InvokerInterceptor.java:44)
>  
>                      at 
> org.apache.tuscany.core.wire.NonBlockingBridgingInterceptor$1.run(NonBlockingBridgingInterceptor.java:70)
>                      at 
> org.apache.tuscany.core.services.work.jsr237.Jsr237WorkScheduler$Jsr237Work.run(Jsr237WorkScheduler.java:212)
>  
>                      at 
> org.apache.tuscany.core.services.work.jsr237.workmanager.ThreadPoolWorkManager$DecoratingWork.run(ThreadPoolWorkManager.java:206)
>  
>                      at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)  
>                      at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)           
>                      at java.lang.Thread.run(Unknown Source)                  
>                                                             

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to