[ 
https://issues.apache.org/jira/browse/TUSCANY-3277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843686#action_12843686
 ] 

Raymond Feng commented on TUSCANY-3277:
---------------------------------------

We have fixed this problem in 2.x stream. In 2.x, each extension or extension 
point impl can be extending LifeCycleListener so that it will be called unpon 
start/stop.

> Node with RMI services doesn't shut down cleanly
> ------------------------------------------------
>
>                 Key: TUSCANY-3277
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3277
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Misc Binding Extensions
>    Affects Versions: Java-SCA-1.5.1
>         Environment: Windows Vista
>            Reporter: Simon Nash
>             Fix For: Java-SCA-Next
>
>
> In the travel sample, the launchers/currency-converter-rmi module doesn't 
> shut down the node cleanly.  The other launchers/currency-converter-xxx 
> modules all shut down cleanly.  To reproduce the problem, do the fo0llowing:
> 1. Set the TUSCANY environment variable to point to an installation of the 
> Tuscany binary distribution.
> 2. Change directory to launchers/currency-converter-rmi.
> 3. Enter the "ant run" command.  The quick test runs OK.
> 4. Press enter.  The node hangs during shutdown.
> The output produced is as follows:
> F:\book\samp19\travelsample\launchers\currency-converter-rmi>ant run
> Buildfile: build.xml
> run:
>      [java] 16-Sep-2009 08:36:07 org.apache.tuscany.sca.node.impl.NodeImpl 
> <init>
>      [java] INFO: Creating node: currency-converter-rmi.composite
>      [java] 16-Sep-2009 08:36:08 org.apache.tuscany.sca.node.impl.NodeImpl 
> configureNode
>      [java] INFO: Loading contribution: 
> file:/F:/book/samp19/travelsample/launchers/currency-converter-rmi/../../contributions/currency/target/classes/
>      [java] 16-Sep-2009 08:36:08 org.apache.tuscany.sca.node.impl.NodeImpl 
> configureNode
>      [java] INFO: Loading contribution: 
> file:/F:/book/samp19/travelsample/launchers/currency-converter-rmi/../../contributions/currency-rmi/target/classes/
>      [java] 16-Sep-2009 08:36:08 org.apache.tuscany.sca.node.impl.NodeImpl 
> start
>      [java] INFO: Starting node: currency-converter-rmi.composite
>      [java] Quick currency converter test
>      [java] USD -> GBP = 0.5
>      [java] 100 USD = 50.0GBP
>      [java] Node started - Press enter to shutdown.
>      [java] 16-Sep-2009 08:36:10 org.apache.tuscany.sca.node.impl.NodeImpl 
> stop
>      [java] INFO: Stopping node: currency-converter-rmi.composite

-- 
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