Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Problem with Remote Services

Hi Wojciech,

I've updated the getting started code (i.e. adding a little more to the IHello service interface), as well as the launch configs...and added documentation about working around the R-OSGi default port being used (by eclipse or something else). See:

http://wiki.eclipse.org/Getting_Started_with_ECF%27s_RFC119_Implementation

Please let me know if there are other issues we can deal with.

Thanks,

Scott


Wojciech Galanciak wrote:

Maybe, but the same parameter must be set during service registration on the host and in the filter definition in the consumer (now in host is REMOTE_INTERFACE and in consumer is REMOTE).


2009/6/2 Scott Lewis <slewis@xxxxxxxxxxxxxxxxx <mailto:slewis@xxxxxxxxxxxxxxxxx>>

    Hi Wojciech,

    Wojciech Galanciak wrote:

        I found a small bug in filter declaration:
        context.createFilter("(&("+org.osgi.framework.Constants.OBJECTCLASS+"="
        + IHello.class.getName() +")(" + REMOTE + "=*))");
        There should be REMOTE_INTEFACE instead of REMOTE.


    I think this property (REMOTE) is correct.  The idea here is that
    for the consumer the service found should have the "osgi.remote"
    property set to any value.  The RFC119 spec has "osgi.remote"
    currently mean that the service is a remote proxy.  The intention
    here is to only detect services that are registered as remote (not
    locally registered ones).

    Scott


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


------------------------------------------------------------------------

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



Back to the top