celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bjoern Petri (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CELIX-268) Remote Service Communication fails when starting proxy bundles via config.properties / shell / deployment admin in certain order
Date Thu, 08 Oct 2015 09:54:26 GMT
Bjoern Petri created CELIX-268:
----------------------------------

             Summary: 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


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
(v6.3.4#6332)

Mime
View raw message