[jboss-jira] [JBoss JIRA] (AS7-932) Expose runtime OSGi Bundle management through management API

Thomas Diesler (Issue Comment Edited) (JIRA) jira-events at lists.jboss.org
Wed Oct 12 06:55:16 EDT 2011


    [ https://issues.jboss.org/browse/AS7-932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634130#comment-12634130 ] 

Thomas Diesler edited comment on AS7-932 at 10/12/11 6:53 AM:
--------------------------------------------------------------

/subsystem=osgi:read-resource(recursive=true)

produces 

{code}
{
    "outcome" => "success",
    "result" => {
        "activation" => "lazy",
        "bundle" => undefined,
        "capability" => {
            "org.apache.felix.scr" => {"startlevel" => "2"},
            "org.apache.felix.eventadmin" => {"startlevel" => "2"},
            "org.jboss.osgi.blueprint" => {"startlevel" => "3"},
            "org.jboss.osgi.webapp" => {"startlevel" => "3"},
            "org.jboss.osgi.webconsole" => {},
            "org.apache.felix.metatype" => {"startlevel" => "2"},
            "javax.transaction.api" => {},
            "org.apache.aries.util" => {},
            "org.apache.aries.jmx" => {"startlevel" => "2"},
            "org.jboss.osgi.logging" => {"startlevel" => "1"},
            "javax.servlet.api" => {},
            "org.jboss.as.osgi.configadmin" => {"startlevel" => "1"},
            "org.jboss.osgi.http" => {"startlevel" => "2"},
            "org.jboss.osgi.jmx" => {"startlevel" => "2"},
            "javax.api" => {},
            "org.apache.felix.log" => {"startlevel" => "1"},
            "org.jboss.netty" => {"startlevel" => "2"},
            "org.jboss.osgi.xerces" => {"startlevel" => "3"},
            "org.osgi.compendium" => {},
            "org.projectodd.stilts" => {"startlevel" => "2"},
            "org.apache.felix.webconsole" => {"startlevel" => "2"},
            "org.apache.felix.configadmin" => {"startlevel" => "1"}
        },
        "configuration" => {"org.apache.felix.webconsole.internal.servlet.OsgiManager" => {"entries" => {"manager.root" => "jboss-osgi"}}},
        "framework-property" => {"org.osgi.framework.startlevel.beginning" => {"value" => "1"}}
    }
}
{code}

The bundle resource is undefined.
The current framework startlevel is not exposed
                
      was (Author: thomas.diesler):
    /subsystem=osgi:read-resource(recursive=true)

produces 

{code}
{
    "outcome" => "success",
    "result" => {
        "activation" => "lazy",
        "bundle" => undefined,
        "capability" => {
            "org.apache.felix.scr" => {"startlevel" => "2"},
            "org.apache.felix.eventadmin" => {"startlevel" => "2"},
            "org.jboss.osgi.blueprint" => {"startlevel" => "3"},
            "org.jboss.osgi.webapp" => {"startlevel" => "3"},
            "org.jboss.osgi.webconsole" => {},
            "org.apache.felix.metatype" => {"startlevel" => "2"},
            "javax.transaction.api" => {},
            "org.apache.aries.util" => {},
            "org.apache.aries.jmx" => {"startlevel" => "2"},
            "org.jboss.osgi.logging" => {"startlevel" => "1"},
            "javax.servlet.api" => {},
            "org.jboss.as.osgi.configadmin" => {"startlevel" => "1"},
            "org.jboss.osgi.http" => {"startlevel" => "2"},
            "org.jboss.osgi.jmx" => {"startlevel" => "2"},
            "javax.api" => {},
            "org.apache.felix.log" => {"startlevel" => "1"},
            "org.jboss.netty" => {"startlevel" => "2"},
            "org.jboss.osgi.xerces" => {"startlevel" => "3"},
            "org.osgi.compendium" => {},
            "org.projectodd.stilts" => {"startlevel" => "2"},
            "org.apache.felix.webconsole" => {"startlevel" => "2"},
            "org.apache.felix.configadmin" => {"startlevel" => "1"}
        },
        "configuration" => {"org.apache.felix.webconsole.internal.servlet.OsgiManager" => {"entries" => {"manager.root" => "jboss-osgi"}}},
        "framework-property" => {"org.osgi.framework.startlevel.beginning" => {"value" => "1"}}
    }
}
{code}

The bundle resource is undefined.
Also, the current framework startlevel is not exposed
                  
> 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