When I try out this sample from the samples directory of a binary
distro using the command ...
..\bin\tuscany.bat contribution-binding-sca-calculator
I see huge numbers of exceptions of the form below, followed by
successful execution of the sample
is anyone else seeing this?
java.net.BindException: Cannot assign requested address: Datagram send failed
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(Unknown Source)
at com.hazelcast.impl.MulticastService.send(MulticastService.java:124)
at com.hazelcast.impl.Node.findMaster(Node.java:409)
at com.hazelcast.impl.Node.joinWithMulticast(Node.java:544)
at com.hazelcast.impl.Node.join(Node.java:517)
at com.hazelcast.impl.Node.start(Node.java:359)
at com.hazelcast.impl.FactoryImpl.<init>(FactoryImpl.java:305)
at
com.hazelcast.impl.FactoryImpl.newHazelcastInstanceProxy(FactoryImpl.java:92)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:341)
at
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry.initHazelcastInstance(HazelcastEndpointRegistry.java:143)
at
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry.start(HazelcastEndpointRegistry.java:101)
at
org.apache.tuscany.sca.runtime.BaseDomainRegistryFactory.getEndpointRegistry(BaseDomainRegistryFactory.java:67)
at
org.apache.tuscany.sca.runtime.ExtensibleDomainRegistryFactory.getEndpointRegistry(ExtensibleDomainRegistryFactory.java:102)
at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:111)
at
org.apache.tuscany.sca.domain.node.DomainNodeMain.main(DomainNodeMain.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.tuscany.sca.launcher.LauncherMain.invokeMainMethod(LauncherMain.java:115)
at
org.apache.tuscany.sca.launcher.LauncherMain.main(LauncherMain.java:56)
21-May-2010 17:00:57 com.hazelcast.impl.Node
INFO: [default]
Members [1] {
Member [9.146.208.219:14820] this
}
21-May-2010 17:00:58 org.apache.tuscany.sca.node.impl.NodeFactoryImpl
loadContributions
INFO: Loading contribution:
file:/C:/Dev5/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT.dir/tuscany-sca-2.0-SNAPSHOT/samp
es/contribution-binding-sca-calculator/
21-May-2010 17:01:00
org.apache.tuscany.sca.definitions.impl.DefinitionsImpl [Extension
points definitions] (DuplicateIntent)
SEVERE: [ASM10001,POL30002] Duplicate intent
{http://tuscany.apache.org/xmlns/sca/1.1}MTOM found in domain
21-May-2010 17:01:00
org.apache.tuscany.sca.definitions.impl.DefinitionsImpl [Extension
points definitions] (DuplicateBindingType)
SEVERE: [POL40020] Duplicate binding type
{http://docs.oasis-open.org/ns/opencsa/sca/200912}binding.ws found in
domain
21-May-2010 17:01:02
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry
addEndpoint
INFO: Add endpoint - (@15434767)Endpoint: URI =
CalculatorServiceComponent#service-binding(CalculatorService/CalculatorService)
21-May-2010 17:01:02
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry
addEndpoint
INFO: Add endpoint - (@26955692)Endpoint: URI =
AddServiceComponent#service-binding(AddService/AddService)
21-May-2010 17:01:02
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry
entryAdded
INFO: Remote endpoint added: (@9505547)Endpoint: URI =
AddServiceComponent#service-binding(AddService/AddService)
21-May-2010 17:01:02
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry
addEndpoint
INFO: Add endpoint - (@120402)Endpoint: URI =
SubtractServiceComponent#service-binding(SubtractService/SubtractService)
21-May-2010 17:01:02
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry
addEndpoint
INFO: Add endpoint - (@2454440)Endpoint: URI =
MultiplyServiceComponent#service-binding(MultiplyService/MultiplyService)
21-May-2010 17:01:02
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry
addEndpoint
INFO: Add endpoint - (@15646487)Endpoint: URI =
DivideServiceComponent#service-binding(DivideService/DivideService)
21-May-2010 17:01:02
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry
addEndpoint
INFO: Add endpoint - (@25604380)Endpoint: URI =
CalculatorClient#service-binding(CalculatorClient/CalculatorClient)
SCA API ClassLoader: java.net.urlclassloa...@190d11
3 + 2=5.0
3 - 2=1.0
3 * 2=6.0
3 / 2=1.5
Hit enter to stop node...
21-May-2010 17:01:05 org.apache.tuscany.sca.node.impl.NodeImpl stop
INFO: Stopping node: http://tuscany.apache.org/sca/1.1/nodes/default0
21-May-2010 17:01:05
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry
removeEndpoint
INFO: Removed endpoint - (@15434767)Endpoint: URI =
CalculatorServiceComponent#service-binding(CalculatorService/CalculatorService)
21-May-2010 17:01:05
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry
removeEndpoint
INFO: Removed endpoint - (@26955692)Endpoint: URI =
AddServiceComponent#service-binding(AddService/AddService)
21-May-2010 17:01:05
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry
entryRemoved
INFO: Remote endpoint removed: (@9497598)Endpoint: URI =
AddServiceComponent#service-binding(AddService/AddService)
21-May-2010 17:01:05
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry
removeEndpoint
INFO: Removed endpoint - (@120402)Endpoint: URI =
SubtractServiceComponent#service-binding(SubtractService/SubtractService)
21-May-2010 17:01:05
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry
entryRemoved
INFO: Remote endpoint removed: (@29824264)Endpoint: URI =
SubtractServiceComponent#service-binding(SubtractService/SubtractService)
21-May-2010 17:01:05
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry
removeEndpoint
INFO: Removed endpoint - (@2454440)Endpoint: URI =
MultiplyServiceComponent#service-binding(MultiplyService/MultiplyService)
21-May-2010 17:01:05
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry
entryRemoved
INFO: Remote endpoint removed: (@5920992)Endpoint: URI =
MultiplyServiceComponent#service-binding(MultiplyService/MultiplyService)
21-May-2010 17:01:05
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry
removeEndpoint
INFO: Removed endpoint - (@15646487)Endpoint: URI =
DivideServiceComponent#service-binding(DivideService/DivideService)
21-May-2010 17:01:05
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry
entryRemoved
INFO: Remote endpoint removed: (@19176986)Endpoint: URI =
DivideServiceComponent#service-binding(DivideService/DivideService)
21-May-2010 17:01:05
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry
removeEndpoint
INFO: Removed endpoint - (@25604380)Endpoint: URI =
CalculatorClient#service-binding(CalculatorClient/CalculatorClient)
21-May-2010 17:01:05
org.apache.tuscany.sca.endpoint.hazelcast.HazelcastEndpointRegistry
entryRemoved
INFO: Remote endpoint removed: (@26153596)Endpoint: URI =
CalculatorClient#service-binding(CalculatorClient/CalculatorClient)
21-May-2010 17:01:11 com.hazelcast.impl.Node
INFO: [default] Hazelcast Shutdown is completed in 5359 ms.
21-May-2010 17:01:11 org.apache.tuscany.sca.http.jetty.JettyServer
removeServletMapping
INFO: Removed Servlet mapping: /dojo
21-May-2010 17:01:11 org.apache.tuscany.sca.http.jetty.JettyServer
removeServletMapping
INFO: Removed Servlet mapping: /dojo/*
21-May-2010 17:01:11 org.apache.tuscany.sca.http.jetty.JettyServer
removeServletMapping
INFO: Removed Servlet mapping: /tuscany
21-May-2010 17:01:11 org.apache.tuscany.sca.http.jetty.JettyServer
removeServletMapping
INFO: Removed Servlet mapping: /tuscany/*
C:\Dev5\sca\distribution\all\target\apache-tuscany-sca-all-2.0-SNAPSHOT.dir\tuscany-sca-2.0-SNAPSHOT\samples>