You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by "robertbob (JIRA)" <ji...@apache.org> on 2016/05/31 15:33:13 UTC

[jira] [Comment Edited] (ACE-592) how to use Apache ACE web UI to remotely manage OSGi bundles on many server devices.

    [ https://issues.apache.org/jira/browse/ACE-592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15307923#comment-15307923 ] 

robertbob edited comment on ACE-592 at 5/31/16 3:33 PM:
--------------------------------------------------------

 
    
    My steps are as follows : 
    
        1. Start the ACE server

             C:\ace\server-allinone
 
            java -Dorg.osgi.service.http.port=9000  -Dorg.apache.ace.server=localhost:9000  -Dorg.apache.ace.obr=localhost:9000      -jar server-allinone.jar

        2. Start an ACE target

          C:\ace\target\bin
        java    -Dagent.identification.agentid=target123   -Dagent.discovery.serverurls=http://127.0.0.1:9000  -Ddiscovery=http://127.0.0.1:9000  -jar ace-launcher.jar  fwOption=org.osgi.service.http.port=5678 
  
   
        3.Provisioning software
        
         (1)Go to the ACE web-based UI 
             If your target is up and running, it should be displayed in the "Targets" column with a name of target123;
          
          (2)  。。。。。。
           
         (4) To persist the changes, you can use the Store button at the top of the screen;
   
 THE ERROR MESSAGE:  
--------------------------------------------------------------------------------------
       [ERROR] 15:26:59 (controller) Deployment update aborted due to Exception.
java.io.IOException: Unable to handle server responsecode: 500, for
 http://127.0.0.1:9000/deployment/target123/versions/
        at org.apache.ace.agent.impl.ConnectionUtil.checkConnectionResponse(Conn
ectionUtil.java:67)
---------------------------------------------------------------------------------------
       
    Thank you very much for your reply. 



was (Author: robertbob):
 
    
    My steps are as follows : 
    
        1. Start the ACE server

             C:\ace\server-allinone
 
            java -Dorg.osgi.service.http.port=9000  -Dorg.apache.ace.server=localhost:9000  -Dorg.apache.ace.obr=localhost:9000      -jar server-allinone.jar

        2. Start an ACE target

          C:\ace\target\bin
        java    -Dagent.identification.agentid=target123   -Dagent.discovery.serverurls=http://127.0.0.1:9000  -Ddiscovery=http://127.0.0.1:9000  -jar ace-launcher.jar  fwOption=org.osgi.service.http.port=5678 
  
   
        3.Provisioning software
        
         (1)Go to the ACE web-based UI 
             If your target is up and running, it should be displayed in the "Targets" column with a name of target123;
          
          (2)  。。。。。。
           
         (4) To persist the changes, you can use the Store button at the top of the screen;
   
 THE ERROR MESSAGE:  
       [ERROR] 15:26:59 (controller) Deployment update aborted due to Exception.
java.io.IOException: Unable to handle server responsecode: 500, for
 http://127.0.0.1:9000/deployment/target123/versions/
        at org.apache.ace.agent.impl.ConnectionUtil.checkConnectionResponse(Conn
ectionUtil.java:67)

       
    Thank you very much for your reply. 


>  how to use Apache ACE web UI to remotely manage OSGi bundles on  many server devices.
> --------------------------------------------------------------------------------------
>
>                 Key: ACE-592
>                 URL: https://issues.apache.org/jira/browse/ACE-592
>             Project: ACE
>          Issue Type: Question
>          Components: Deployment
>            Reporter: robertbob
>         Attachments: screenshot-1.png
>
>
>   
>     I'm trying to use Apache ACE web UI to remotely manage OSGi bundles on  many server devices.
>     
>     
>     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
(v6.3.4#6332)