[jboss-jira] [JBoss JIRA] (AS7-932) Expose runtime OSGi Bundle management through management API
David Bosschaert (Commented) (JIRA)
jira-events at lists.jboss.org
Wed Oct 12 07:06:44 EDT 2011
[ https://issues.jboss.org/browse/AS7-932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634134#comment-12634134 ]
David Bosschaert commented on AS7-932:
--------------------------------------
You need to pass in include-runtime=true, e.g.:
{code}
subsystem=osgi] :read-resource(include-runtime=true)
{
"outcome" => "success",
"result" => {
"activation" => "eager",
"startlevel" => 1,
"bundle" => {
"19" => undefined,
"17" => undefined,
"18" => undefined,
{code}
etc...
I see that there is an issue with :read-resource(include-runtime=true,recursive=true). I'll file an issue for this, but you can read all the bundle info with:
{code}
subsystem=osgi] :read-children-resources(include-runtime=true,child-type=bundle)
{
"outcome" => "success",
"result" => {
"0" => {
"id" => 0L,
"startlevel" => 0,
"state" => "ACTIVE",
"symbolic-name" => "system.bundle",
"version" => "0.0.0"
},
"1" => {
"id" => 1L,
"startlevel" => 1,
"state" => "INSTALLED",
"symbolic-name" => "javaee.api",
"version" => "0.0.0"
},
{code}
> Expose runtime OSGi Bundle management through management API
> ------------------------------------------------------------
>
> Key: AS7-932
> URL: https://issues.jboss.org/browse/AS7-932
> Project: Application Server 7
> Issue Type: Sub-task
> Components: OSGi
> Affects Versions: 7.0.0.CR1
> Reporter: David Bosschaert
> Assignee: David Bosschaert
> Priority: Minor
> Fix For: 7.1.0.CR1
>
>
> Bundle runtime management should be exposed through the management API.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list