5 Replies Latest reply: Apr 29, 2011 7:22 AM by Marx3 RSS

How to reconfigure Arquillian to non-default configuration?

Marx3 Apprentice

Hello

I have JBoss 4 together with JBoss 6 on the same server, so I reconfigured JBoss 6 to non-default ports set in binding-jboss-beans.xml:

<parameter>${jboss.service.binding.set:ports-02}</parameter>.

Now I have problem with using Arquillian, because I need to define those ports in arquillian.xml.

I've found many different examples with arquillian.xml and they use different syntax. At first they have different namespaces, next they configure ports like this:

 

    <jboss:container>

        <httpPort>8280</httpPort>

 

or like this:

 

<container qualifier="jbossas" default="true">

        <configuration>

            <property name="port">8181</property>

 

There is also "engine" section. Documentation has only parameter description (Table 12.10. Container Configuration Options) but lacks example. The only example (in 4.4. Container configuration) use different parameters.

 

Does anybody know how to properly define different port set in arquillian.xml?