That's not possible using the MBeans available in WildFly: you need the infinispan-cli-interpreter module and use the Infinispan CLI.
So , what are the steps to be done ?
Is there any source [ step by step details ] available for that ?
Not really: you have to add the infinispan-cli-server (infinispan-cli-interpreter since 7.0.0.Final) and all dependent jars as a module to WildFly and add this as a dependency to the infinispan subsystem.
Bear in mind that aside from the above, this is not as simple as you might think: an inspection tool would need access to the classes of which you are storing instances in the cache in order to "show" them to you. As long as they are Java types (Strings, etc) it works easily, but if they are custom, the CLI classloader might not have access to them.
Is it possible to view the cached data through Infinispan server management console?
I have Infinispan Server 8.0.1. I am unable to login to the web based management console.
I added a user using add-user.bat and restarted the server. When trying to login:"NetworkError: 401 Unauthorized - http://ispnadmin:xxx@localhost:9990/management"managementError:
this.server is null
Yes, the Web console is not working correctly in 8.0.x.
We are working on overhauling it for 8.1. As for "viewing" the data, that is non-trivial, as the data might be marshalled with a marshaller unknown to the server, and therefore stored as plain byte arrays. We are however also working on a way to provide a rough interpretation of that data if possible.