Bug 1038251

Summary: Infinispan clear-cache button not working in admin console
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Jay SenSharma <jsenshar>
Component: Web ConsoleAssignee: Harald Pehl <hpehl>
Status: CLOSED WONTFIX QA Contact: Jakub Cechacek <jcechace>
Severity: high Docs Contact: Russell Dickenson <rdickens>
Priority: medium    
Version: 6.1.1CC: brian.stansberry, hbraun, jkudrnac, sjadhav
Target Milestone: ---Keywords: Reopened
Target Release: TBD EAP 6   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-16 12:34:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jay SenSharma 2013-12-04 17:28:56 UTC
Description of problem:
-----------------------
Nevigate to the following in the admin console and press "Clear Caches" button :
Profile-->Infinispan-->local-cache-->hibernate

Pressing "Clear Cache" button throws following error in console:

Unknown error

Unexpected HTTP response: 500

Request
{
    "address" => [
        ("subsystem" => "infinispan"),
        ("cache-container" => "hibernate"),
        ("local-cache" => "entity")
    ],
    "operation" => "clear"
}

Response

Internal Server Error
{
    "outcome" => "failed",
    "failure-description" => "JBAS014884: No operation named 'clear' exists at address [
    (\"subsystem\" => \"infinispan\"),
    (\"cache-container\" => \"hibernate\"),
    (\"local-cache\" => \"entity\")
]",
    "rolled-back" => true
-----------------------------------

Version-Release number of selected component (if applicable):


How reproducible:

Steps to Reproduce:
1. In Admin Console http://localhost:9990  navigate to Profile-->Infinispan-->local-cache-->hibernate

2. Press "Clear Cache" button

3.

Actual results:
There was supposed to be no error/ Or the "Clear Cache" button was not supposed to be there.

Expected results:


Additional info:

Comment 1 JBoss JIRA Server 2013-12-04 17:51:18 UTC
Jay Kumar SenSharma <jsenshar> made a comment on jira WFLY-2606

- It looks related to [1] Where a feature request was raised to add "Clear Caches" button on the admin console.
[1] https://issues.jboss.org/browse/WFLY-738

Comment 2 Harald Pehl 2014-01-24 14:22:14 UTC
Disabled clear cache button in console until WFLY-738 is fixed

Comment 3 Harald Pehl 2014-05-21 15:43:23 UTC
Depends on upstream WFLY-738.

Comment 5 JBoss JIRA Server 2014-07-09 19:50:32 UTC
Harald Pehl <hpehl> updated the status of jira HAL-318 to Coding In Progress

Comment 6 Harald Pehl 2014-07-10 11:42:44 UTC
Deferred until WFLY-738 is fixed

Comment 7 JBoss JIRA Server 2014-07-10 11:42:50 UTC
Harald Pehl <hpehl> updated the status of jira HAL-318 to Open

Comment 8 Jakub Cechacek 2014-07-16 12:34:39 UTC
This issue is reported against a version which is no longer maintained, which means that it will not receive a fix. Clear-cache button was also removed from newer versions of console.

Comment 9 JBoss JIRA Server 2015-04-15 12:24:34 UTC
Harald Pehl <hpehl> updated the status of jira HAL-318 to Closed