[
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
|
-----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-----