wildfly - Use Arquillian With Port Offset -
i have working arquillian setup starts wildlfy , runs tests:
<container qualifier="wildfly" default="true"> <configuration> <property name="jbosshome">../target/wildfly-8.1.0.final/</property> <property name="serverconfig">it.xml</property> </configuration> </container>
i wanted change port-offset of wildfly , added:
<property name="javavmarguments">-djboss.socket.binding.port-offset=100 -djboss.management.native.port=9054</property> <property name="managementport">9154</property>
which results in following exception (both when run in ide , via maven):
org.jboss.arquillian.container.spi.client.container.lifecycleexception: not start container caused by: java.util.concurrent.timeoutexception: managed server not started within [60] s
even though server.log shows server started correctly, , in way under 60s. (and why shouldn't it? worked before adding port offset.)
i assume arquillian watching wrong port , not able see wildfly being started.
how make arquillian aware port has changed?
managementport
right way make arquillian aware of port. problem in jboss.management.native.port
part. should changing jboss.management.http.port
instead wildfly.
Comments
Post a Comment