[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[ecf-dev] error using multiple ecf.generic.server instances on the same box
|
Hello,
I am trying to have 2 ECF generic servers running on localhost, on 2
different ports (3787 and 3788).
Using identical code to start each server. The first server starts up
fine [initial console output]. The second server starts up fine at
first, and shows the first 2 lines of console output below (ending
with "Host: Hello Service Registered on server:
ecftcp://localhost:3788/server").
But after 20 seconds or so, it reports an error [error line].
My client calls the hello service on each server, but the 3787 server
reports the call twice. It seems as if the ecf.generic.server on two
different ports are conflicting with one another. Any ideas? Is this
the nature of ecf.generic.server?
Thanks!
David Donohue
[initial console output]
[log;-0400 2009.10.22
06:15:23:203;WARNING;org.eclipse.ecf.osgi.services.distribution;org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.osgi.services.distribution;code=2;message=org.eclipse.ecf.internal.osgi.services.distribution.DiscoveredServiceTrackerImpl:handleDiscoveredServiceAvailable:No
RemoteServiceContainers found for
description=ServiceEndpointDescriptionImpl[;providedinterfaces=[org.eclipse.ecf.examples.remoteservices.hello.IHello];location=null;remoteServiceId=0;discoveryServiceID=ServiceID[type=ServiceTypeID[typeName=_osgiservices._tcp.default._iana];location=osgiservices://10.0.1.195:3788;full=_osgiservices._tcp.default._iana@osgiservices://10.0.1.195:3788];endpointID=null;endpointAsID=StringID[ecftcp://localhost:3788/server];connectTargetID=null;remoteServicesFilter=null;props={ecf.rsvc.ns=ecf.namespace.generic.remoteservice,
osgi.remote.service.interfaces=org.eclipse.ecf.examples.remoteservices.hello.IHello,
ecf.sp.cns=org.eclipse.ecf.core.identity.StringID,
ecf.rsvc.id=[B@1576e70,
ecf.sp.cid=[B@11381e7}];severity2;exception=null;children=[]]]
Host: Hello Service Registered on server: ecftcp://localhost:3788/server
[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=[]]]