If you want to use Arquillian to connect and run against a remote(different JVM, different machine) running previous version of Jboss server, you need to use JNDI properties for that !
In Jboss AS 7, the jndi.properties file is not used... So If you have set the managementAddress configuration option to where the management api is bound, Arquillian should read out from the server (remote or local jvm/machine) where the ip_adress/port_number are bound.
All this configuration is done in the arquillian.xml file as bellow:
For JBoss AS 7.0.0.Final, you need to configure the jmx protocol used by adding:IP_ADR PORT_NUM
under the container tag ...REMOTE
No comments:
Post a Comment