Hey Bret,
So do we need to change anything in the Default Cluster Engine Configuration
to make Cluster work?
In my case I am deploying services in two different hosts over the network.
one is the cxf-nmr(where i did register my endpoint to
OsgiSimpleClusterRegistration) service in host1 .
and other is the client to call this endpoint from host2. My client thread
looks up for the endpoint.
As below:
Reference ref =
nmr.getEndpointRegistry().lookup(ServiceHelper.createMap(Endpoint.NAME,
"HelloWorld"));
and I get the error as: which clearly means unable to find the endpoint.
org.apache.servicemix.nmr.api.ServiceMixException: Could not dispatch
exchange. No matching endpoints.
at
org.apache.servicemix.nmr.core.FlowRegistryImpl.dispatch(FlowRegistryImpl.java:110)
at
org.apache.servicemix.nmr.core.ChannelImpl.dispatch(ChannelImpl.java:286)
at
org.apache.servicemix.nmr.core.ChannelImpl.sendSync(ChannelImpl.java:141)
at
org.apache.servicemix.nmr.core.ChannelImpl.sendSync(ChannelImpl.java:127)
at
org.apache.servicemix.nmr.examples.nmr.client.Client.run(Client.java:82)
at java.lang.Thread.run(Thread.java:619)
13:58:35,491 | WARN | Thread-26 | NMR |
.servicemix.nmr.core.ChannelImpl 293 | Error processing exchange [
id: bf2191fe-997f-4f92-ba51-4e902653b455
mep: InOut
status: Active
role: Consumer
target: PropertyMatchingReference[{NAME=HelloWorld}]
In: [
content: StringSource[<?xml version="1.0"
encoding="UTF-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:sayHi
xmlns:ns2="http://cxf.examples.servicemix.apache.org/"><arg0>DATATOSENT</arg0></ns2:sayHi></soap:Body></soap:Envelope>]
]
]
Am I missing something here? any help would be much appreciated.
Thanks,
Aditya
allisonsdad wrote:
>
> Got the cluster working OK, thanks.
>
>
--
View this message in context:
http://old.nabble.com/How-do-I-configure-a-cluster-in-Servicemix-4.x---tp28705459p28728229.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.