I'm experiencing the following problem while running the build from the root
directory: in the test phase of iTest Distribution Launcher Embedded JSE at
the sample-binding-rmi-calculator-contribution ant target, the process
hangs... If I Ctrl+C it, I get a weird "Java returned 130" error at line 95
of 
tuscany-sca-2.0-Beta2-src/distribution/all/target/apache-tuscany-sca-all-2.0-Beta2.dir/tuscany-sca-2.0-Beta2/samples/running-tuscany/embedded-jse/build.xml.
After deleting the fork="true" option, i got the following error:

sample-binding-rmi-calculator-contribution:
Jan 31, 2011 11:46:53 PM org.apache.tuscany.sca.node.impl.NodeImpl start
INFO: Starting node:
http://tuscany.apache.org/sca/1.1/nodes/default0domain: default
Jan 31, 2011 11:46:54 PM org.apache.tuscany.sca.node.impl.NodeFactoryImpl
loadContributions
INFO: Loading contribution:
file:/home/fmoga/coding/apache-tuscany/tuscany-sca-2.0-Beta2-src/testing/itest/distribution/launcher-embedded-jse/../../learning-more/binding-rmi/calculator-service-contribution/target/sample-binding-rmi-calculator-service-contribution.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while
executing this line:
/home/fmoga/coding/apache-tuscany/tuscany-sca-2.0-Beta2-src/testing/itest/distribution/launcher-embedded-jse/build.xml:44:
The following error occurred while executing this line:
/home/fmoga/coding/apache-tuscany/tuscany-sca-2.0-Beta2-src/distribution/all/target/apache-tuscany-sca-all-2.0-Beta2.dir/tuscany-sca-2.0-Beta2/samples/running-tuscany/embedded-jse/build.xml:94:
java.lang.IllegalStateException:
org.apache.tuscany.sca.contribution.processor.ContributionReadException:
java.io.FileNotFoundException:
/home/fmoga/coding/apache-tuscany/tuscany-sca-2.0-Beta2-src/*
testing/itest/distribution*/launcher-embedded-jse/*
../../learning-more/binding-rmi/calculator-service-contribution/target/sample-binding-rmi-calculator-service-contribution.jar
* (No such file or directory)

The 
"../../learning-more/binding-rmi/calculator-service-contribution/target/sample-binding-rmi-calculator-service-contribution.jar"
path is hardcoded in
the 
tuscany-sca-2.0-Beta2-src/samples/running-tuscany/embedded-jse/src/main/java/launcher/JSELauncherBindingRMICalculator.java
class. However, JSELauncherBindingSCACalculator.java
and JSELauncherBindingWSCalculator.java use the same hardcoded path and do
not fail loading the contributions. Is that because of the various manifests
that are loaded? Could someone explain to me what exactly happens in the
distribution directory, what is the integration test verifying about it and
what role do manifests have?


On Sun, Jan 30, 2011 at 12:08 PM, ant elder <ant.el...@gmail.com> wrote:

> Please review and vote on RC2 of the Java SCA 2.0 Beta2 release.
>
> The artifacts are at:
>
> http://people.apache.org/~antelder/tuscany/2.0-beta2-RC2/
>
> The release tag is at:
>
> http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/tags/2.0-Beta2-RC2
>
> Here's my +1
>
>  ...ant
>

Reply via email to