Question

I'm trying to use Apache ACE web UI to remotely manage OSGi bundles on Raspberry PI devices. I followed the documentations here but I can't find out how to actually add a target (RPi) to the server (which is my PC).

To be clearer, I downloaded the apache-ace.bin package in my PC and copied a version in the RPi. Then ran the ACE server (java -jar server-allinone.jar) in the PC and the ACE target (java -jar target.jar) in the RPi. Then here, http://127.0.0.1:8080/ace/ I created one sample artifact and target, suppose named target-1. Now my question is how can I bind this target with that target which is running in my RPi? I'm not sure if me or this documentation is missing some points here.

I tried ProSyst mPRM cloud earlier which was very easy to use but I want to try an open source one.

Was it helpful?

Solution

I'm assuming you're using the just released 2.0.1 version. If you create a target called "target-1" in the UI, what you need to do is make sure that the target you start on the RPi is also called "target-1" because by default it will be called "defaultTargetID". You can specify the name as a command line parameter. You probably also need to specify the location of the server (which defaults to localhost):

java -Dagent.identification.agentid=target-1 -Dagent.discovery.serverurls=http://your.ace.host:8080 -jar target.jar

If you want to learn more about running a target and what you can configure, I highly recommend checking out this page/section:

http://ace.apache.org/user-doc/user-guide.html#running-a-target

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top