[
https://issues.jboss.org/browse/AS7-4084?page=com.atlassian.jira.plugin.s...
]
Richard Achmatowicz commented on AS7-4084:
------------------------------------------
Implemented the code that Tristan provided into the Infinispan subsystem recently
refactored into resources.
Encountered the following problem:
<quote>
Infinispan and JGroups gather statistics in certain associated services (e.g.
TransactionManager, RpcManager,...). These services are installed
at boot time, but not started until someone deploys a clustering application which uses
them. So, if I try to read one of their read-only
attributes before a deployment has occurred, I throw an OperationFailedException with a
message saying that the required service
has not been started. This works fine and seems to be the right way to proceed.
On the other hand, there is a smoke test case
BasicOperationsUnitTestCase.testRecursiveReadIncludingRuntime() which seems to assume that
all reads of runtime-only resources will succeed.
</quote>
Is it really the case that every read of a read-only attribute should always succeed? If
so, what is the best way to work around this? Can I
somehow return an informational message instead of throwing an exception? Checking these
issues with Emanuel M.
Implement JMX-style management access to Infinispan components
---------------------------------------------------------------
Key: AS7-4084
URL:
https://issues.jboss.org/browse/AS7-4084
Project: Application Server 7
Issue Type: Feature Request
Components: Clustering, Domain Management
Affects Versions: 7.1.0.Final
Reporter: Richard Achmatowicz
Assignee: Richard Achmatowicz
Fix For: 7.2.0.Alpha1
Provide MBean style access to the underlying components of Infinispan.
We should provide at least the access which was formerly provided by JMX.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira