geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rex Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-5764) Support Bundles Deployment in deployment command line
Date Wed, 08 Jun 2011 06:51:58 GMT

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

Rex Wang commented on GERONIMO-5764:
------------------------------------

Attached a new patch: GERONIMO-5764-record-bundle.patch

This patch introduces a new GBean named BundleRecorderGBean, it can load var/config/bundle-records.properties
to install all the bundles list there when server starts. The properties file records many
Bundle's URI/startLevel pairs which separated by a "=".

This patch also provides a couple of new CLIs to help record the bundles that user want to
start even after clean the cache. For example:
a) deploy record-bundle --inplace --start --startLevel 90 D:\BlueprintSample\SampleBundles\HelloWorld.jar
This command records the bundle in the above properties file, and start it in osgi framework.

b) deploy operate-record --list
This command can list all the records as following:
--------------------------------------------
Index Installed Started StartLevel URI
1   true    true    70   file:///D:/OSGi/Felix/bundles/BlueprintSample/SampleBundles/BPHelloWorld.jar
2   false   false    80   file:///D:/_g/_tr4bd/impl.jar
3   true    true    90   file:///D:/_g/_tr4bd/user.jar


GEP can use the new GBean to "persist" an OSGi bundle installation.

-Rex

> Support Bundles Deployment in deployment command line
> -----------------------------------------------------
>
>                 Key: GERONIMO-5764
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5764
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands, console, deployment
>    Affects Versions: 3.0
>            Reporter: viola.lu
>            Assignee: Rex Wang
>            Priority: Critical
>             Fix For: 3.0
>
>         Attachments: GERONIMO-5764-record-bundle.patch, GERONIMO-5764.patch
>
>
> Now we have to deploy a regular bundle via karaf shell: osgi:install file:/[bunlde_path],
not deployer command line, so open this jira to track this feature enablement.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message