Details
-
Test
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Java-SCA-1.6.2
-
None
-
windows
Description
this is the structure of my composite file:
<?xml version="1.0" encoding="UTF-8"?><sca:composite xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" name="maths" targetNamespace="http://eclipse.org/sca_maths/src/maths">
<sca:component name="MathServiceComponent">
<sca:implementation.java class="maths.MathServiceImpl"/>
<sca:service name="MathService">
<sca:binding.ws uri="http://aarthi_unsw_pc:8081/MathService"/>
</sca:service>
</sca:component>
</sca:composite>
I am using tuscany 1.6.2 and running the above example on Eclipse helios. The binding.ws does not seem to use the specified port number 8081 and always uses port 8080. Hence, when I run more than one composite, I receive error:
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind:8080
I have the same problem, starting the node using the domain manager. Even though I specify a node uri of http://localhost:8081, tuscany runtime always defaults to 8080. How can I override the default port number ?