[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [ecf-dev] R-OSGi, Host bind 9278 port on localhost and client could not connect to this
|
- From: Samolisov Pavel <samolisov@xxxxxxxxx>
- Date: Mon, 12 Oct 2009 08:28:04 +0600
- Delivered-to: ecf-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=oHi6rnQ1AHG1lCEgrgWuNiHUsJ+3XGt/a7CWfPJa6rA=; b=DrAQBHhS5Eq/4o25Iek3HQw4AIMzC8RcafyLpI7nl1L7Nj2yEougIdwEPDaW9ZK0F5 2U6ofENf9iKifpeO8cP5YVqB8hh0h4hLqh0ptBVyW9s0CNW2DoyNNo2F7aJZZfh0mpr8 umnFcRX3bJD4VFn5gbHE6fmUPiXFfNLCaHGdY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=ZSEN1T6KucYCZ58hLPv1JBLtzOnmzJAqRJ2/KaKxRStzr1UnLQpAEkpDsBGf5+sui9 e0ZC9rB4cZPflIwgXNbV52yt1+Nr0XRPY/OxsXVJf0xvf23RGugcAmwCMriNLOGhTgV6 zB/TBiuikqfe2evptoIz5APlfUa1+eBl1fd9s=
- User-agent: Thunderbird 2.0.0.22 (X11/20090605)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanks, Scott
But I don't quite understand. One TCP port is single for a machine, What
does process mean?
I try run one Eclipse with
- -Dch.ethz.iks.r_osgi.registerDefaultChannel=false and in this Eclipse
run Host (Host have started on 9278 port). On other Eclipse (with
- -Dch.ethz.iks.r_osgi.registerDefaultChannel=false) also I run Consumer.
But "WARNING: Port 9278 already in use. This instance of R-OSGi is
running on port 9279" too :-(
If add -Dch.ethz.iks.r_osgi.registerDefaultChannel=false to Run
configuration arguments we have exception:
ch.ethz.iks.r_osgi.RemoteOSGiException: No NetworkChannelFactory for
r-osgi found
I understand client and server can't communicate on separate ports, but
I don't know what I should do.
Scott Lewis ÐÐÑÐÑ:
> Hi Pavel,
>
> Samolisov Pavel wrote:
> Hello, all
>
> I try run
> http://wiki.eclipse.org/Getting_Started_with_ECF's_RFC119_Implementation
> example, but I have a problem.
>
> Host registeres IHello service and bind 9278 port on the localhost (I
> have disabled the automatic running of an R-OSGi instance). When I'm
> running example consummer on the localhost, I get this message:
> "WARNING: Port 9278 already in use. This instance of R-OSGi is running
> on port 9279" and customer does not create proxy for IHello service
> (method addingService is not called).
>
> I tried call this code
>
> ID server =
> IDFactory.getDefault().createID(container.getConnectNamespace(),ROSGI_SERVICE_HOST);
>
> container.connect(server, null);
>
> but this does not work, too.
>
> I use last daily build (10/11/2009).
>
> Is this a bug? Or R-OSGi do not works on single mashine, and I should
> use second computer for testing?
>
>
>> For the time being, you should use a second process for testing. Note
>> this can be but doesn't have to be a separate physical computer...i.e.
>> you can just start another process on localhost and disable (or reset)
>> the default port from 9278 to something else. Here is info on how to do
>> that disabling/resetting:
>
>> http://wiki.eclipse.org/Disabling_R-OSGi
>> http://wiki.eclipse.org/R-OSGi_Properties
>
>> There is also this enhancement request for r-OSGi to support specifying
>> a port for separate server instances
>
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=267521
>
>> Scott
>
> Thanks.
>
_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev
- --
Pavel Samolisov
Meet me at:
Vkontakte.ru: http://vkontakte.ru/id3178981
Blog: http://samolisov.blogspot.com
Twitter: http://twitter.com/samolisov
XMPP/Jabber: samolisov@xxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkrSlDQACgkQ20T0Vos3rqDbSQCgwK+V1yiH9grM1TeP3q9Kvgzx
RLwAn2k0Lhv1bdC//QTArUzoH/ya+NJ0
=dkTA
-----END PGP SIGNATURE-----