[
https://issues.apache.org/jira/browse/TUSCANY-3277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Nash updated TUSCANY-3277:
--------------------------------
Component/s: (was: Java SCA Misc Binding Extensions)
Java SCA Travel Sample
I'm reassigning this problem to the Java SCA Travel Sample component as I only
see it when running the RMI currency converter service in the travel sample.
The other RMI samples and tests in the Tuscany build don't seem to have this
problem.
Further investigation is needed to establish why this problem only occurs in
the travel sample scenario. One possibility is that it's related to the direct
use of node-api in the travel sample. The other RMI samples and test cases
seem to be using host-embedded which wraps the Node APIs..
> 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 Travel Sample
> 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.