Can you check other port numbers we use for the sample? IIRC, we use a range
of ports around 808x.
Thanks,
Raymond
--------------------------------------------------
From: "Mark Combellack" <[email protected]>
Sent: Wednesday, June 10, 2009 1:40 PM
To: <[email protected]>
Subject: java.net.BindException: Address already in use - Travel sample uses
port 8080
Hi,
I have been building the travel sample and have been getting test failures
since in some places it uses port 8080 to expose its services. The problem
is that on my machine port 8080 is already in use.
In Tuscany, we generally use port 8085 for exposing web services to avoid
this problem.
The current usages of port 8080 in the travel sample include:
clients/currency-converter-ws-jaxws-client/src/main/resources/wsdl/CurrencyConverter.wsdl:
<SOAP:address location="http://10.10.10.135:8080/CurrencyConverter"/>
contributions/emailgateway-contribution/src/main/resources/EmailGateway.wsdl:
<soap:address location="http://localhost:8080/EmailGateway" />
contributions/creditcard-payment-sdo-contribution/src/main/resources/CreditCardPayment.wsdl:
<soap:address location="http://localhost:8080/CreditCardPayment" />
contributions/payment-java-contribution/src/main/resources/CreditCardPayment.wsdl:
<soap:address location="http://localhost:8080/CreditCardPayment" />
contributions/creditcard-payment-jaxb-contribution/src/main/resources/CreditCardPayment.wsdl:
<soap:address location="http://localhost:8080/CreditCardPayment" />
contributions/payment-spring-contribution/src/main/resources/Payment.wsdl:
<soap:address location="http://localhost:8080/Payment" />
contributions/payment-spring-contribution/src/main/resources/CreditCardPayment.wsdl:
<soap:address location="http://localhost:8080/CreditCardPayment" />
launchers/fullapp-launcher/src/main/resources/cloud/fullapp-ui.composite:
<binding.sca uri="http://localhost:8080"/>
launchers/fullapp-launcher/src/main/java/scatours/LaunchFullAppNode.java:
System.out.println("Point your browser at -
http://localhost:8080/scatours/ ");
scatours-android-ui/src/scatours/SCAToursSearchProxy.java: private
static final String jsonRPCServiceURI =
"http://10.0.2.2:8080/SCAToursComponent/SCAToursSearch";
Unless anyone objects, I would like to update all these port usages to be
consistent with the rest of Tuscany by using port 8085.
Thanks,
Mark