[jboss-jira] [JBoss JIRA] (AS7-4246) Attribute passivate-events-on-replicate of cluster-passivation-store can't be change via drm or cli

Richard Achmatowicz (JIRA) jira-events at lists.jboss.org
Thu Apr 5 17:02:47 EDT 2012


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

Richard Achmatowicz commented on AS7-4246:
------------------------------------------

I've checked 7.1.2.Final-SNAPSHOT for this issue and all looks to be OK.

The subsystem is implemented using resources, the attribute definition for PASSIVATE_EVENTS_ON_REPLICATE specifies RESTART_NONE and the handler indicates that no restart is required after processing. Using the CLI, I found I was able to change the attribute value from its default to false:
{noformat}
[standalone at localhost:9999 /] /subsystem=ejb3/cluster-passivation-store=infinispan:read-attribute(name=passivate-events-on-replicate)
{
    "outcome" => "success",
    "result" => true
}
[standalone at localhost:9999 /] /subsystem=ejb3/cluster-passivation-store=infinispan:write-attribute(name=passivate-events-on-replicate,value=false)
{"outcome" => "success"}
[standalone at localhost:9999 /] /subsystem=ejb3/cluster-passivation-store=infinispan:read-attribute(name=passivate-events-on-replicate)             
{
    "outcome" => "success",
    "result" => false
}
{noformat}
There is also no reload required message appearing after operations indicating that a reload is required for the changes to take effect.

I'll unzip a copy of 7.1.1 to see if I can reproduce the issue that Ondrej saw.

 
                
> Attribute passivate-events-on-replicate of cluster-passivation-store can't be change via drm or cli
> ---------------------------------------------------------------------------------------------------
>
>                 Key: AS7-4246
>                 URL: https://issues.jboss.org/browse/AS7-4246
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EJB
>    Affects Versions: 7.1.1.Final
>            Reporter: Ondřej Chaloupka
>            Assignee: Richard Achmatowicz
>              Labels: eap6_need_triage
>
> Setting attribute passivate-events-on-replicate via drm or cli does not take affect until operation :reload is used.
> In case that the attribute ( <cluster-passivation-store name="infinispan" cache-container="ejb" passivate-events-on-replicate="false" />) is set directly in standalone*.xml configuration file the supposed functionality is working.
> The test for this could be checked on:
> https://github.com/ochaloup/jboss-as/blob/JBQA-5855-test-migration-passivation-in-cluster/testsuite/integration/clust/src/test/java/org/jboss/as/test/clustering/cluster/ejb3/stateful/passivation/ClusterPassivationTestCase.java

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