Another way is to use an OSGi remote service [1].

ECF has recently created a number of remote management services [2], one of which provides for remote install, update, uninstall [3]. Or you can create and use your own remote service.

Scott

[1] http://wiki.eclipse.org/ECF#OSGi_Remote_Services
[2] https://github.com/ECF/OSGIRemoteManagement
[3] https://github.com/ECF/OSGIRemoteManagement/blob/master/bundles/org.eclipse.ecf.mgmt.framework/src/org/eclipse/ecf/mgmt/framework/IBundleManager.java


On 1/29/2016 6:11 AM, Jean-Baptiste Onofré wrote:
Hi Tho,

You have two ways:

1. Both A and B share the same Maven repository, then it's not really A that upload to B, A and B install bundles from the same repo. Then, it works using JMX or Cellar can "spread" the deployment on A and B (or sync A and B if you prefer). 2. The system and deploy folders of B can be accessed via scp, then, A can copy a bundle to B via scp. It doesn't work via JMX, but do-able using Java or scripting.

Does it answer to your question ?

Regards
JB

On 01/29/2016 02:53 PM, tho huynh ngoc wrote:

Hi,

i have a Karaf on the host A. How to upload a bundle into this host A
from another host (B) ?

With JMX service, i can do that ? Here, i want to write a Java program
to do that.

Regards.

Tho,



Reply via email to