[
https://issues.apache.org/jira/browse/TUSCANY-2806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Becker reopened TUSCANY-2806:
---------------------------------
Raymond, your fix helped and got me further on into a clean build, but I see
the following clean repos build error
[jar] Building jar: E:\t\java\sca\distribution\all\target\apache-tuscany-s
ca-all-2.0-SNAPSHOT-dir\tuscany-sca-2.0-SNAPSHOT\samples\calculator-rmi-referenc
e\target\sample-calculator-rmi-reference.jar
run:
[java] Feb 6, 2009 9:28:05 AM org.apache.tuscany.sca.node.impl.NodeImpl <in
it>
[java] INFO: Creating node: CalculatorRMIReference.composite
[java] Feb 6, 2009 9:28:05 AM org.apache.tuscany.sca.node.impl.NodeImpl con
figureNode
[java] INFO: Loading contribution: file:/E:/t/java/sca/distribution/all/tar
get/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/cal
culator-rmi-reference/target/sample-calculator-rmi-reference.jar
[java] Feb 6, 2009 9:28:06 AM org.apache.tuscany.sca.node.impl.NodeImpl sta
rt
[java] INFO: Starting node: CalculatorRMIReference.composite
[java] Exception in thread "main" java.lang.reflect.InvocationTargetExcepti
on
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at org.apache.tuscany.sca.launcher.LauncherMain.invokeMainMethod
(LauncherMain.java:110)
[java] at org.apache.tuscany.sca.launcher.LauncherMain.main(LauncherMai
n.java:55)
[java] Caused by: org.apache.tuscany.sca.host.rmi.RMIHostRuntimeException:
Connection refused to host: localhost; nested exception is:
[java] java.net.ConnectException: Connection refused: connect
[java] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:
601)
[java] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.
java:198)
[java] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.jav
a:184)
[java] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
[java] at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
[java] at org.apache.tuscany.sca.host.rmi.DefaultRMIHost.findService(De
faultRMIHost.java:106)
[java] at org.apache.tuscany.sca.host.rmi.ExtensibleRMIHost.findService
(ExtensibleRMIHost.java:56)
[java] at org.apache.tuscany.sca.binding.rmi.provider.RMIBindingInvoker
.invokeTarget(RMIBindingInvoker.java:80)
[java] at org.apache.tuscany.sca.binding.rmi.provider.RMIBindingInvoker
.invoke(RMIBindingInvoker.java:54)
[java] at org.apache.tuscany.sca.core.invocation.impl.JDKInvocationHand
ler.invoke(JDKInvocationHandler.java:289)
[java] at org.apache.tuscany.sca.core.invocation.impl.JDKInvocationHand
ler.invoke(JDKInvocationHandler.java:156)
[java] at $Proxy6.add(Unknown Source)
[java] at calculator.CalculatorServiceImpl.add(CalculatorServiceImpl.ja
va:54)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at org.apache.tuscany.sca.implementation.java.invocation.JavaImp
lementationInvoker.invoke(JavaImplementationInvoker.java:132)
[java] at org.apache.tuscany.sca.core.databinding.wire.PassByValueInter
ceptor.invoke(PassByValueInterceptor.java:112)
[java] at org.apache.tuscany.sca.binding.sca.provider.SCABindingInvoker
.invoke(SCABindingInvoker.java:61)
[java] at org.apache.tuscany.sca.core.databinding.wire.PassByValueInter
ceptor.invoke(PassByValueInterceptor.java:112)
[java] at org.apache.tuscany.sca.core.invocation.impl.JDKInvocationHand
ler.invoke(JDKInvocationHandler.java:289)
[java] at org.apache.tuscany.sca.core.invocation.impl.JDKInvocationHand
ler.invoke(JDKInvocationHandler.java:156)
[java] at $Proxy5.add(Unknown Source)
[java] at calculator.CalculatorClient.main(CalculatorClient.java:40)
[java] ... 6 more
[java] Feb 6, 2009 9:28:26 AM org.apache.tuscany.sca.node.launcher.NodeLaun
cher main
[java] INFO: SCA Node is now started.
[java] Feb 6, 2009 9:28:26 AM org.apache.tuscany.sca.node.launcher.NodeLaun
cher main
[java] INFO: Waiting for 4000 milliseconds ...
[java] Feb 6, 2009 9:28:30 AM org.apache.tuscany.sca.node.impl.NodeImpl sto
p
[java] INFO: Stopping node: null
[java] Feb 6, 2009 9:28:30 AM org.apache.tuscany.sca.node.launcher.NodeLaun
cher stopNode
[java] INFO: SCA Node is now stopped.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while exe
cuting this line:
E:\t\java\sca\itest\distribution\calculator-rmi\build.xml:43: The following erro
r occurred while executing this line:
E:\t\java\sca\distribution\all\target\apache-tuscany-sca-all-2.0-SNAPSHOT-dir\tu
scany-sca-2.0-SNAPSHOT\samples\calculator-rmi-reference\build.xml:57: Java retur
ned: 1
This is on Windows/Sun 1.6, trunk revision: 741579.
> Modules in the build depend on modules later on in the build
> -------------------------------------------------------------
>
> Key: TUSCANY-2806
> URL: https://issues.apache.org/jira/browse/TUSCANY-2806
> Project: Tuscany
> Issue Type: Bug
> Reporter: ant elder
> Priority: Blocker
> Fix For: Java-SCA-2.0-M1
>
>
> Modules in the build depend on modules later on in the build which means when
> building them they either fail if its the first time you are building or if
> the later on module has been changed then the change isn't used until a
> subsequent build. I think this is one of the reasons we're having so many
> build problems - you make a change run a build and its fine so check it in,
> but the changed wasn't used and its not till the next build it gets picked up
> and you can see if the change was ok or not.
> I think we need to move some thing out of the sca build into separate build
> and releasable artifacts and other things restructure the build so it runs in
> a better order.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.