Community
Participate
Working Groups
The ECF Generic TCP container uses 'localhost' as the identity. This works provided that the machine is indeed localhost, but as soon as you go over a remote system, it doesn't match up. (The Zookeeper advertiser code actually randomly translates 'localhost' to the host name in the strings.) Instead, the generic TCP server should use either the IP address or the (fully qualified) host name in order to advertise services, even locally, so that if those services are remotely advertised containers don't need to resort to string manipulation in order to run.
Hmm. I think this is already working in my experiments with 3.5.1. Perhaps it's just the use of 'localhost' on the command line arguments in the example demos which is confusing me. This might be invalid, e.g. see TCPServerSOContainer.java which looks like it's overriding the default host appropriately.
Maybe this bug should be changed to 'Support dynamic port numbers and update examples to use non-localhost and non-default ports' and priority lowered?
(In reply to Alex Blewitt from comment #2) > Maybe this bug should be changed to 'Support dynamic port numbers and update > examples to use non-localhost and non-default ports' and priority lowered? This functionality is now available with the generic provider...via generic-provider-specific service properties. See under Remote Service Configuration Properties under: http://wiki.eclipse.org/EIG:Configuration_Properties#ECF_generic_provider