Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] New topic in forum Eclipse Communications Framework (ECF), called ECF Generic server is connecting to the wrong host, by Greg Babcock

To avoid connect to the local instance you can filter the services with the target (service.imported=*), for example.

2013/1/18 <webmaster@xxxxxxxxxxx>
Subject: ECF Generic server is connecting to the wrong host Author: Greg Babcock Date: Fri, 18 January 2013 14:05
I have a remote server application running locally and on a remote host ( The client is connecting to the local instance even though I configured it to connect remote instance. Is there something else I need to configure?

	private static final int DEFAULT_PORT = 3787;
	private static String HOST= "";
	private BundleContext bundleContext;
	private RemoteConfigurationUtil proxy;
	private List<IProxyListener> listeners= new ArrayList<>();
	private ServiceTracker<RemoteConfigurationUtil, RemoteConfigurationUtil> st;
	public RemoteServiceTracker() {
		IGenericServerContainerGroup group;
		try {
			ServiceReference<IGenericServerContainerGroupFactory> sr = bundleContext.getServiceReference(IGenericServerContainerGroupFactory.class);
			IGenericServerContainerGroupFactory proxy = bundleContext.getService(sr);
			group = proxy.createContainerGroup(HOST, DEFAULT_PORT, null);
[ Reply ][ Quote ][ View Topic/Message ][ Unsubscribe from this forum ]

ecf-dev mailing list

Pablo García Sánchez
Departamento de Arquitectura y Tecnología de Computadores
Universidad de Granada

Back to the top