[jboss-jira] [JBoss JIRA] (AS7-3986) Attribute mode unknown for ISPN cache

Heiko Rupp (JIRA) jira-events at lists.jboss.org
Thu Mar 1 11:09:47 EST 2012


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

Heiko Rupp commented on AS7-3986:
---------------------------------

See also 

[standalone at localhost:9999 subsystem=infinispan] :read-resource
{
    "outcome" => "success",
    "result" => {
        "default-cache-container" => "hibernate",
        "cache-container" => {
            "hibernate" => undefined,
            "myCC" => undefined
        }
    }
}
[standalone at localhost:9999 subsystem=infinispan] :write-attribute(name=default-cache-container,value=myCC)
{
    "outcome" => "failed",
    "failure-description" => "JBAS014792: Unknown attribute default-cache-container",
    "rolled-back" => true
}

                
> Attribute mode unknown for ISPN cache
> -------------------------------------
>
>                 Key: AS7-3986
>                 URL: https://issues.jboss.org/browse/AS7-3986
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Clustering, Domain Management
>    Affects Versions: 7.1.0.Final
>            Reporter: Heiko Rupp
>            Assignee: Richard Achmatowicz
>              Labels: rhq
>             Fix For: 7.1.1.Final
>
>
> Domain-API says that the attribute 'mode' for a cache does not exist, while it clearly is shown on a :read-resource operation.
> snert:~/downloads/jboss-eap-6.0 hrupp$ bin/jboss-cli.sh --connect
> [standalone at localhost:9999 /] cd /subsystem=infinispan/cache-container=myContainer/local-cache=aCache
> [standalone at localhost:9999 local-cache=aCache] :read-resource
> read-resource               read-resource-description
> [standalone at localhost:9999 local-cache=aCache] :read-resource
> {
>     "outcome" => "success",
>     "result" => {
>         "batching" => undefined,
>         "eviction" => undefined,
>         "expiration" => undefined,
>         "file-store" => undefined,
>         "indexing" => undefined,
>         "jdbc-store" => undefined,
>         "jndi-name" => undefined,
>         "locking" => undefined,
>         "mode" => "LOCAL",
>         "name" => "aCache",
>         "remote-store" => undefined,
>         "start" => undefined,
>         "store" => undefined,
>         "transaction" => undefined
>     }
> }
> [standalone at localhost:9999 local-cache=aCache] :write-attribute(name=mode,value=SYNC)
> {
>     "outcome" => "failed",
>     "failure-description" => "JBAS014792: Unknown attribute mode",
>     "rolled-back" => true
> }
> same applies for other listed attributes like jdbc-store.

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