celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pepijn Noltes (Jira)" <j...@apache.org>
Subject [jira] [Closed] (CELIX-268) Remote Service Communication fails when starting proxy bundles via config.properties / shell / deployment admin in certain order
Date Tue, 17 Sep 2019 17:47:00 GMT

     [ https://issues.apache.org/jira/browse/CELIX-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pepijn Noltes closed CELIX-268.
-------------------------------
    Resolution: Fixed

> Remote Service Communication fails when starting proxy bundles via config.properties
/ shell / deployment admin in certain order
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CELIX-268
>                 URL: https://issues.apache.org/jira/browse/CELIX-268
>             Project: Celix
>          Issue Type: Bug
>          Components: Remote Service Admin
>            Reporter: Bjoern Petri
>            Assignee: Bjoern Petri
>            Priority: Major
>
> Note that this happens only in case the proxy is not available in the endpoints folder.

> Assuming Celix framework A sucessfully exports service S. 
> Now Celix framework B starts with discovery/rsa/tpm first. As soon as discovery is up,
it will find service S and trigger the RSA to import this. The RSA will install a tracker
to pick up the proxy factory service and subsequently use the tracked factory to register
a proxy service. In case the factory service cannot be tracked at this moment the call to
register a proxy service is never happening. 
> Another problem is that dynamically loaded endpoints are expected to be uninstalled by
the RSA which shouldn't be done when they are installed via the deployment admin. 
> I already discussed that with Pepijn and we decided that a proper solution would be to
combine the serialization with the bundles exporting/importing the according service. This
also should be combined with the current rsa_dfi feature to ensure that this also supports
"manual serialization"



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message