Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [ecf-dev] Problem with the connection between two plugins in the same Eclipse instance - Remote Services API

Hi,

 

I have probably never tried to call something local through R-OSGi but I will check that out. Most of the time, I use at least two JVMs (so two Eclipses in your case).

 

Cheers,

 

Jan.

 

From: ecf-dev-bounces@xxxxxxxxxxx [mailto:ecf-dev-bounces@xxxxxxxxxxx] On Behalf Of Wojciech Galanciak
Sent: Dienstag, 14. Juli 2009 09:55
To: Eclipse Communication Framework (ECF) developer mailing list.
Subject: Re: [ecf-dev] Problem with the connection between two plugins in the same Eclipse instance - Remote Services API

 

Yes, it's only for testing.

2009/7/14 Markus Alexander Kuppe <ecf-dev_eclipse.org@lemmster.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Wojciech Galanciak wrote:
> Hi,
> It is possible to establish connection using r-osgi in Remote Services
> API between two plugins which are running in the same Eclipse instance
> (using the same r-OSGi instance? When I'm trying to do this consumer
> can't calls any methods of the remote service using proxy. When I do it
> it throws:
> Exception in thread "WorkerThread1" java.lang.NullPointerException
> at
> ch.ethz.iks.r_osgi.impl.ChannelEndpointImpl.handleMessage(ChannelEndpointImpl.java:1036)
> at
> ch.ethz.iks.r_osgi.impl.ChannelEndpointImpl$2.run(ChannelEndpointImpl.java:288)
> at
> ch.ethz.iks.r_osgi.impl.ChannelEndpointImpl$1.run(ChannelEndpointImpl.java:253)
>
> When I run consumer and host in different machines it works correctly.

Hi Wojciech,

is this for testing reasons or why do you wanna use a service through
r-OSGi even though it's local?

Markus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpcMW4ACgkQH/hL0IhDj1nszgCdGNfI9Uy9KLujnYf/pclSBRHU
I+8AoNC9dMLb0sS0smhREhDTwkGM0Bb1
=Qp5d
-----END PGP SIGNATURE-----

_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev

 


Back to the top