1 Reply Latest reply on Apr 13, 2010 12:50 PM by Aslak Knutsen

    Jboss 5.1 bootstrap with Arquillian

    Igor Gordiuchuk Newbie

      HI,

        I have few simple question:

       

      1. Can i bootstrap jboss 5.1 from Arquillian. (If yes, how?)
      2. Does it correctly works with clustered Jboss.(Do i need other jndi.properties than in tutorial examples?)

       

      Thanks for any help.

        • 1. Re: Jboss 5.1 bootstrap with Arquillian
          Aslak Knutsen Master

          Igor Gordiuchuk wrote:

           

          1. Can i bootstrap jboss 5.1 from Arquillian. (If yes, how?)

          You can't bootstrap the container itself as of Alpha-1, but you can connect to a booted server.

           

          To connect to a JBoss AS 5.1 server, use the following Maven artifact:

          {code:xml}

          <dependency>
            <groupId>org.jboss.arquillian.container</groupId>
            <artifactId>arquillian-jbossas-remote-51</artifactId>
            <version>1.0.0.Alpha1</version>
          </dependency>
          {code}

           

          Igor Gordiuchuk wrote:

           

          1. Does it correctly works with clustered Jboss.(Do i need other jndi.properties than in tutorial examples?)

          Connecting to a single JBoss instance that is clustered should work just fine using the examples jndi.properties. But Arquillian won't deploy to multiple servers at the same time.