ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Offermans (JIRA)" <>
Subject [jira] [Commented] (ACE-592) how to use Apache ACE web UI to remotely manage OSGi bundles on many server devices.
Date Sun, 29 May 2016 17:08:12 GMT


Marcel Offermans commented on ACE-592:

Your first few questions I don't quite understand what you are asking for (I'm not a native
speaker, so that could well be my fault). I am guessing you are interested to learn what exactly
the rules are for naming features and distributions? They should be given unique names. Can
you try explaining your question again?

To answer your question about the deployment not working, what set of bundles did you try
to deploy? Are you sure those bundles all resolve (and start)? One thing to diagnose this
issue is to add the "-v" option to the ace-launcher, which will make it a lot more verbose.
Usually then you will be able to figure out what is going wrong. If not, paste the output
here so we can have a look. If possible, then also share the bundles you were trying to deploy.

Your other questions:

(1) Again, not sure what you are asking here. In the ACE UI you can click on a target to see
what distributions, features and artifacts it is linked to (or on any other entity). You cannot
start/stop/uninstall a bundle on the target, but you can remove a bundle from a feature and
store that new configuration to uninstall it from all targets that had that feature installed.

(2) The ace-launcher basically is an instance of Apache Felix with a management agent. So
it already is integrated. What are you looking for? Using the management agent with  a specific
version of Felix, or?

>  how to use Apache ACE web UI to remotely manage OSGi bundles on  many server devices.
> --------------------------------------------------------------------------------------
>                 Key: ACE-592
>                 URL:
>             Project: ACE
>          Issue Type: Question
>          Components: Deployment
>            Reporter: robertbob
>     I'm trying to use Apache ACE web UI to remotely manage OSGi bundles on  many server
>     I followed the documentations   but I can't find out how to actually add a target
 to the server.
>     My steps are as follows : 
>         1. Start the ACE server
>              C:\ace\server-allinone
>              java -Dorg.osgi.service.http.port=8080 -Dorg.apache.ace.server=localhost:8080
-Dorg.apache.ace.obr=localhost:8080  -jar server-allinone.jar
>         2. Start an ACE target
>           C:\ace\target\bin
>           java  -Dagent.identification.agentid=target2  -Dagent.discovery.serverurls=http://localhost:8080
  -jar   ace-launcher.jar   
>         3.Provisioning software
>          (1)Go to the ACE web-based UI, and click Retrieve in order to be sure that
you have the latest version of the repository.
>          If your target is up and running, it should be displayed in the "Targets" column
with a name of target-1;
>           (2) Add the artifacts you want to deploy. This can be done in two ways: either
by dragging-and-dropping them 
>           directly onto the "Actifacts" column (a blue border or line should appear for
the artifacts to be accepted). 
>           Alternatively, you can use the + button above the "Artifacts" column and using
the "Upload" button
>            in the dialog presented for each artifact you want to add;
>            (3) Create a new feature by clicking on the + button above the Features column,
give it a name and acknowledge the dialog;
>                MY QUESTION: What is the rule of data fill  ?
>            (4) Create a distribution by clicking on the + button above the "Distributions"
column, again give it a name 
>            and acknowledge the dialog;
>               MY QUESTION: What is the rule of data fill  ?
>              (5) Next, you can create associations between your artifacts, features,
distributions and targets: 
>              a. select one or more artifacts and drag them onto the feature you created.

>              This will associate these artifacts to your feature; 
>              b. select your feature and drag it onto your distribution, creating an association
between your feature 
>              and distribution; 
>              c. select your distribution and drag it onto your target to associate your
distribution to your target.
> Verify your associations are correct by clicking your artifacts, features and distributions.

>            Doing this should highlight the associations. 
>            (6) To persist the changes, you can use the Store button at the top of
the screen;
> After a couple of seconds, the software is deployed onto the target. 
> If you used the Felix demonstration application, you should be presented with a nice
Swing UI.
>  MY QUESTION:  It doesn't work!   Console does not prompt information  !
>       My other question is: 
>    (1) how to view a TARGET has been installed in the BUNDLE ? 
>          how to  start/stop/uninstall a BUNDLE ?
>     (2)  how to   integration with Apache Felix  using Apache ACE Agent? 
>     Thank you very much for your reply. 

This message was sent by Atlassian JIRA

View raw message