[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
|
- From: David Donohue <dd@xxxxxxxxxxxxxxxx>
- Date: Thu, 22 Oct 2009 11:37:57 -0400
- Delivered-to: ecf-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=rfxkE9KPMvbqAgqHxUhNDxmzeyYWTjPDMuqbpjXDR3w=; b=d07OKU4qlF7amvE1TTfKglQCGDHgnoNSaHKyOlzMR9ZdRmoDv3rpEx2lZAzJ32uoWm IYj+nsUdoHaoRH3jPA+4dRPZiIf8U9ZZc+S37yKP2wZSCz+ghYutDzA9mdbzkCmx/hVc CUv/mnCsIZ6ZTZdiLbVIVx+uZUUTZMqPTWDVs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=v8b68ft3Ej9hTD4shTtryksz1WEnrcbQxleGRyJDdpu+IGShoXr4mBvZlKIyQz8ATB 2Y7qCRjVHj+V9OMk3JWgLqmDU47xX/FQ0P4JW1s3lOjItXMRMBdAp+YUoUVXUN3I208S 0II9Gk6xQ/QO12MZ8BlWXCFddcH6eUM0BskUA=
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=[]]]
>