I am just getting started with remote services in OSGi. To that end, I have downloaded Apache Karaf 4.1.2 and run through the Echo TCP example from the Aries-RSA github page. Here is a link. https://github.com/apache/aries-rsa/tree/master/examples/echotcp
The example ran successfully when running two karaf instances on my single computer. I then ran one karaf instance on another networked computer. The two computers are connected via a LAN that allows all manner of network communication including multicast. When running the "Service" on one computer and the "Consumer" on the other computer, the example does not work. The Consumer bundle stays in a Waiting state. When I run rsa:endpoints on the "Service" computer, I see that the EchoService is correctly bound to a local IP address. When I run rsa:endpoints on the "Consumer" computer, it shows no services. The issue appears to be that the karaf instance on the "Consumer" computer has not found the "Service" endpoint on the other computer. Both computers have multiple NICs and multiple active network connections. Only one connection allows them to talk to each other. It just so happens that the "Service" endpoint is using the right address. I suspect that the "Consumer" karaf instance is not so lucky and is using the wrong NIC. So my question is how can I configure this? I believe this might be a Zookeeper question but I am not clear on how to configure the zookeeper instance that Aries-RSA launches. I appreciate the help. Jonathan
