infinispan/infinispan-arquillian-container — Issue #16: Unable to reconect to AS7 via remoting-jmx when the server is restarted during a test
Author: mgencur
Created: 2012-01-26 14:24:07+00:00
State: open

RemoteInfinispanServer is injected before each test and internally creates MBeanServerConnection at this time. The problem is that when I restart AS7 server during the test, this MBeanServerConnection gets stale and RemoteInfinispanServer cannot connect to AS via this MBean connection again. This has been happening since remoting-jmx protocol is used for JMX communication with AS.