[infinispan-dev] getting ISPN config as XML via JMX

Mircea Markus mircea.markus at jboss.com
Thu Oct 13 09:12:34 EDT 2011


On 13 Oct 2011, at 12:40, Martin Gencur wrote:

> Hi,
> one of our efforts around EDG testing is to test whether all XML
> elements/attributes being set in standalone.xml take effect, i.e.
> whether org.infinispan.config.Configuration, which in turn is used to
> create caches, is populated properly based on the xml config file.
> (this test goal is mentioned in our testplan - second row -
> https://docspace.corp.redhat.com/docs/DOC-79912)
> 
> I think one possible way to test this would be to start EDG with certain
> config. defined in standalone.xml and look at how it was really
> configured via JMX. There's a JIRA I reported last week which shows that
> this is not working currently
> (https://issues.jboss.org/browse/ISPN-1443). Would there be a chance to
> make it work? Or has this ever been working?
Looking at CacheImpl.getConfigurationAsXmlString -> this *should* work based on some changes introduced in 5.0.0 final: https://issues.jboss.org/browse/ISPN-948
Perhaps Pete can keep an eye on this as part of rewriting the configuration parsing? 

> 
> If anyone has any thoughts how to test this in a different way, they can
> tell me. The problem is that we're testing client-server mode where we
> cannot access AdvancedCache and so on, so getting the real configuration
> is hard (if possible at all).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20111013/4610d610/attachment.html 


More information about the infinispan-dev mailing list