Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ecf-dev] Re: error using multiple ecf.generic.server instances on the same box

I was able to get each server (3787 and 3788) to receive a message
from the client.  In the client, I had to do this

IContainerFactory containerFactory =
getContainerManagerService().getContainerFactory();
containerFactory.createContainer(protocol, new Object[]
{"ecftcp://localhost:3787/server", "3787"});

containerFactory = getContainerManagerService().getContainerFactory();
containerFactory.createContainer(protocol, new Object[]
{"ecftcp://localhost:3788/server", "3788"});

So ECF using ecf.generic.server seems to work, connecting to 2
different localhost servers on different ports.  However, I still get
the error message, below [error line].

Any idea why I get the error on starting the second server?

Thanks!
David Donohue

> [error line]
> [log;-0400 2009.10.22
> 06:15:30:973;ERROR;org.eclipse.ecf.osgi.services.distribution;org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.osgi.services.distribution;code=4;message=org.eclipse.ecf.internal.osgi.services.distribution.DiscoveredServiceTrackerImpl:handleDiscoveredServiceAvailable:getRemoteServiceReferences
> result is empty. containerHelper=RemoteServiceContainer
> [containerID=StringID[ecftcp://localhost:3788/server],
> container=org.eclipse.ecf.provider.generic.TCPServerSOContainer@1e0f2f6,
> containerAdapter=org.eclipse.ecf.provider.remoteservice.generic.RegistrySharedObject@153f67e]remoteReferences=null;severity4;exception=null;children=[]]]
>


Back to the top