-
1. Re: How to view and edit infinispan cache data remotely
nadirx Apr 10, 2015 7:47 AM (in response to sujithps)That's not possible using the MBeans available in WildFly: you need the infinispan-cli-interpreter module and use the Infinispan CLI.
-
2. Re: How to view and edit infinispan cache data remotely
sujithps Apr 10, 2015 9:18 AM (in response to nadirx)So , what are the steps to be done ?
Is there any source [ step by step details ] available for that ?
-
3. Re: How to view and edit infinispan cache data remotely
nadirx Apr 10, 2015 11:43 AM (in response to sujithps)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.
-
4. Re: How to view and edit infinispan cache data remotely
anilaj Oct 8, 2015 4:30 PM (in response to nadirx)Hi Tristan,
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
ModelControllerClient.prototype.refresh@http://localhost:9990/console/components/api/model-controller.service.js:52:17
$scope.login/<@http://localhost:9990/console/login/login.controller.js:20:40
processQueue@http://localhost:9990/console/bower_components/angular/angular.js:14567:28
scheduleProcessQueue/<@http://localhost:9990/console/bower_components/angular/angular.js:14583:27
$RootScopeProvider/this.$get</Scope.prototype.$eval@http://localhost:9990/console/bower_components/angular/angular.js:15846:16
$RootScopeProvider/this.$get</Scope.prototype.$digest@http://localhost:9990/console/bower_components/angular/angular.js:15657:15
$RootScopeProvider/this.$get</Scope.prototype.$evalAsync/<@http://localhost:9990/console/bower_components/angular/angular.js:15885:15
completeOutstandingRequest@http://localhost:9990/console/bower_components/angular/angular.js:5394:7
Browser/self.defer/timeoutId<@http://localhost:9990/console/bower_components/angular/angular.js:5666:7Thanks!
-
5. Re: How to view and edit infinispan cache data remotely
nadirx Oct 9, 2015 3:03 AM (in response to anilaj)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.