[jboss-jira] [JBoss JIRA] (AS7-2235) OSGi Framework properties not writable through management API

Thomas Diesler (Updated) (JIRA) jira-events at lists.jboss.org
Tue Oct 25 04:09:45 EDT 2011


     [ https://issues.jboss.org/browse/AS7-2235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Diesler updated AS7-2235:
--------------------------------

    Description: 
{code}
[standalone at localhost:9999 /] /subsystem=osgi/property=org.osgi.framework.startlevel.beginning:write-attribute(name=value,value=2)
{
    "outcome" => "failed",
    "failure-description" => "Attribute value is not writeable",
    "rolled-back" => true
}
{code}

  was:
[standalone at localhost:9999 /] /subsystem=osgi/property=org.osgi.framework.startlevel.beginning:write-attribute(name=value,value=2)
{
    "outcome" => "failed",
    "failure-description" => "Attribute value is not writeable",
    "rolled-back" => true
}




The model description reads

{code}
    static final DescriptionProvider PROPERTY_DESCRIPTION = new DescriptionProvider() {
        public ModelNode getModelDescription(Locale locale) {
            final ModelNode node = new ModelNode();
            ResourceBundle resbundle = getResourceBundle(locale);
            node.get(DESCRIPTION).set(resbundle.getString("framework.property"));
            node.get(ATTRIBUTES, ModelConstants.VALUE, ModelDescriptionConstants.DESCRIPTION).set(resbundle.getString("framework.property.value"));
            node.get(ATTRIBUTES, ModelConstants.VALUE, ModelDescriptionConstants.TYPE).set(ModelType.STRING);
            node.get(ATTRIBUTES, ModelConstants.VALUE, ModelDescriptionConstants.REQUIRED).set(true);
            node.get(ATTRIBUTES, ModelConstants.VALUE, ModelDescriptionConstants.ACCESS_TYPE).set(AccessType.READ_WRITE.toString());
            node.get(ATTRIBUTES, ModelConstants.VALUE, ModelDescriptionConstants.RESTART_REQUIRED).set(Flag.RESTART_ALL_SERVICES.toString());
            return node;
        }
    };
{code}
                
> OSGi Framework properties not writable through management API
> -------------------------------------------------------------
>
>                 Key: AS7-2235
>                 URL: https://issues.jboss.org/browse/AS7-2235
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: OSGi
>            Reporter: Thomas Diesler
>            Assignee: Thomas Diesler
>             Fix For: 7.1.0.Beta1
>
>
> {code}
> [standalone at localhost:9999 /] /subsystem=osgi/property=org.osgi.framework.startlevel.beginning:write-attribute(name=value,value=2)
> {
>     "outcome" => "failed",
>     "failure-description" => "Attribute value is not writeable",
>     "rolled-back" => true
> }
> {code}

--
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