[jboss-jira] [JBoss JIRA] Commented: (AS7-1414) Almost all configuration attributes for /profile=default/subsystem=web are read-only

Jean-Frederic Clere (JIRA) jira-events at lists.jboss.org
Fri Sep 23 10:35:27 EDT 2011


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

Jean-Frederic Clere commented on AS7-1414:
------------------------------------------

Now I have something like:
+++
[standalone at localhost:9999 subsystem=web] :read-resource(recursive=true)
{
    "outcome" => "success",
    "result" => {
        "default-virtual-server" => "default-host",
        "native" => true,
        "configuration" => {
            "container" => {
                "mime-mapping" => {
                    "ogx" => "application/ogg",
                    "ogg" => "audio/ogg"
                },
                "welcome-file" => [
                    "toto",
                    "titi"
                ]
            },
            "static-resources" => {
                "disabled" => false,
                "listings" => false,
                "max-depth" => 3,
                "read-only" => true,
                "sendfile" => 49152,
                "webdav" => false
            },
            "jsp-configuration" => {
                "check-interval" => 0,
                "development" => "true",
                "disabled" => false,
                "display-source-fragment" => true,
                "dump-smap" => false,
                "error-on-use-bean-invalid-class-attribute" => false,
                "generate-strings-as-char-arrays" => false,
                "java-encoding" => "UTF8",
                "keep-generated" => true,
                "mapped-file" => true,
                "modification-test-interval" => 4,
                "recompile-on-fail" => false,
                "smap" => true,
                "source-vm" => "1.5",
                "tag-pooling" => true,
                "target-vm" => "1.5",
                "trim-spaces" => false,
                "x-powered-by" => true
            }
        },
        "connector" => {"http" => {
            "enable-lookups" => false,
            "enabled" => true,
            "max-post-size" => 2097152,
            "max-save-post-size" => 4096,
            "protocol" => "HTTP/1.1",
            "redirect-port" => 8443,
            "scheme" => "http",
            "secure" => false,
            "socket-binding" => "http",
            "ssl" => undefined,
            "virtual-server" => undefined
        }},
        "virtual-server" => {"default-host" => {
            "alias" => [
                "localhost",
                "example.com"
            ],
            "default-web-module" => "ROOT.war",
            "enable-welcome-root" => true,
            "sso" => undefined,
            "access-log" => {"configuration" => {
                "resolve-hosts" => "true",
                "directory" => {"configuration" => {
                    "path" => "toto",
                    "relative-to" => "bla"
                }}
            }},
            "rewrite" => {
                "rule-1" => {
                    "flags" => "L",
                    "pattern" => "^/hellomonde(.*)",
                    "substitution" => "/hellomonde/test.jsp",
                    "condition" => {
                        "condition-1" => {
                            "flags" => "NC",
                            "pattern" => "toto",
                            "test" => "%{USER}"
                        },
                        "condition-0" => {
                            "flags" => "NC",
                            "pattern" => "off",
                            "test" => "%{HTTPS}"
                        }
                    }
                },
                "rule-0" => {
                    "condition" => undefined,
                    "flags" => "L",
                    "pattern" => "^/helloworld(.*)",
                    "substitution" => "/helloworld/test.jsp"
                }
            }
        }}
    }
}
[standalone at localhost:9999 subsystem=web] 
+++
and:
+++
[standalone at localhost:9999 subsystem=web] /subsystem=web/configuration=static-resources:write-attribute(name=sendfile,value=2000)
{"outcome" => "success"}
[standalone at localhost:9999 subsystem=web] /subsystem=web/configuration=static-resources:read-attribute(name=sendfile)
{
    "outcome" => "success",
    "result" => 2000
}
+++

> Almost all configuration attributes for /profile=default/subsystem=web are read-only
> ------------------------------------------------------------------------------------
>
>                 Key: AS7-1414
>                 URL: https://issues.jboss.org/browse/AS7-1414
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Web
>            Reporter: Heiko Rupp
>            Assignee: Jean-Frederic Clere
>
> If you look at the resource-description for /subsystem=web, all attributes are read-only.
> The administrator can not switch on webdav or disable JSP via the API

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

        


More information about the jboss-jira mailing list