[
https://issues.apache.org/jira/browse/TUSCANY-3759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925971#action_12925971
]
Simon Nash commented on TUSCANY-3759:
-------------------------------------
After further testing I have seen the same problem with the unit tests hanging
when using the R12B runtime and the older jinterface jar. The problem occurs
less often than with the new runtime but it happens often enough to be a
problem.
>From further investigation it appears that the problem is caused by the unit
>test not reading stdout from the epmd process that it has spawned. This can
>cause the stdout buffers to fill up at which point the epmd process gets hung.
I have written some code to fix this which seems to work. I'll do further
testing tomorrow and check in the fix. If all goes well, this should allow the
Tuscany Erlang binding to work with the latest Erlang/OTP runtime and
jinterface jar.
> binding-erlang-runtime isn't compatible with the current version of Erlang/OTP
> ------------------------------------------------------------------------------
>
> Key: TUSCANY-3759
> URL: https://issues.apache.org/jira/browse/TUSCANY-3759
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Misc Binding Extensions
> Affects Versions: Java-SCA-1.6
> Reporter: Simon Nash
>
> The unit tests in binding-erlang-runtime hang if the current version of
> Erlang/OTP is in the path.
> The binding runtime code and unit tests were originally developed with
> version R12B of the Erlang/OTP runtime and version 1.4.2 of the jinterface
> jar (the Java/Erlang bridge). When run with this combination, the unit tests
> complete successfully.
> Making either or both of the following changes causes the unit tests to hang:
> 1. Upgrading the Erlang/OTP runtime from version R12B to the current version
> R14B.
> 2. Upgrading the jinterface jar from version 1.4.2
> (com/ericsson/otperlang-1.4.2.jar) to the current version 1.5.3.1
> (org/erlang/otp/jinterface-1.5.3.1.jar).
> This implies that there is some code in binding-erlang-runtime that requires
> the older version of the Erlang/OTP runtime and/or the older version of
> jinterface.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.