[jboss-jira] [JBoss JIRA] (AS7-2421) Common management operations are not applicable to extensions and subsystems

Kabir Khan (Commented) (JIRA) jira-events at lists.jboss.org
Sun Dec 18 17:17:09 EST 2011


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

Kabir Khan commented on AS7-2421:
---------------------------------

My https://github.com/kabir/jboss-as/tree/validate_remove_AS_2421 branch contains tests and fixes for removal for all subsystems apart from web and modcluster.

As mentioned earlier:

Modcluster is a bit weird, here's the model:
{code}
{
   "deployment" => undefined,
   "subsystem" => {"modcluster" => {"mod-cluster-config" => {"configuration" => {
       "advertise" => true,
       "advertise-socket" => "modcluster",
       "auto-enable-contexts" => true,
       "balancer" => "mycluster",
       "excluded-contexts" => "ROOT,admin-console,invoker,jbossws,jmx-console,juddi,web-console",
       "flush-packets" => false,
       "flush-wait" => -1,
       "max-attemps" => 1,
       "node-timeout" => -1,
       "ping" => 10,
       "proxy-list" => "/",
       "socket-timeout" => 20,
       "sticky-session" => 1,
       "sticky-session-force" => true,
       "sticky-session-remove" => false,
       "stop-context-timeout" => 10,
       "ttl" => 60,
       "worker-timeout" => -1,
       "ssl" => {"configuration" => {
           "certificate-key-file" => "${user.home}/.keystore",
           "password" => "toto",
           "protocol" => "TLS"
       }}
   }}}}
}
{code}

There are no add/remove handlers associated with /subsystem=modcluster/mod-cluster-config=configuration, rather all the things are added/removed by handlers on /subststem=modcluster. I don't think we need these extra levels - Heiko will that break you?

Similarly the web subsystem does not have add/remove ops for the resource at 
/subsystem=web/configuration=container
I think that is also true for:
/subsystem=web/configuration=jsp
/subsystem=web/configuration=static-resources

                
> Common management operations are not applicable to extensions and subsystems
> ----------------------------------------------------------------------------
>
>                 Key: AS7-2421
>                 URL: https://issues.jboss.org/browse/AS7-2421
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 7.0.2.Final
>            Reporter: Dmitri Voronov
>            Assignee: Brian Stansberry
>            Priority: Blocker
>             Fix For: 7.1.0.CR1
>
>
> Common management operations are not applicable to extensions and subsystems
> E.g. extensions and subsystem can be added but subsystems cannot be removed and I don't see the reason why.

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