-
1. I am not able to run jboss-eap-5.1 but its working fine in jboss-5.1.0.GA
aslak Mar 24, 2011 8:08 AM (in response to gopibalagala)The easy and most honest answer is, EAP 5.1 is not currently supported.
It is however possible to get it to run, but it takes some hacking. EAP 5.1 is between JBoss AS 5.1 and 6. So using the JBoss AS 6 Remote contianer, with the EAP 5.1 client lib it should run.
-
2. I am not able to run jboss-eap-5.1 but its working fine in jboss-5.1.0.GA
geuze May 10, 2011 11:00 AM (in response to aslak)Dear Aslak,
I have the same issue. I have Arquillian running on JBoss AS 6. However ascompany we switched to JBoss EAP 5.1.0. I would really like to get my unittests(I wrote many of them) working on EAP 5.1.0.
Therefore can you be more explicit how I should edit my pom.xml to get thisworking. I tried already a few things myself, but I cannot get it working. Iadded my working profile for JBoss AS 6 below.
I really hope you can help.
Greets,
Marinus
<profile>
<id>jbossas-remote-6</id>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-jbossas-remote-6</artifactId>
<version>${arquillian.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.jbossas</groupId>
<artifactId>jboss-as-profileservice-client</artifactId>
<version>6.0.0.Final</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.jboss.jbossas</groupId>
<artifactId>jboss-as-server</artifactId>
<classifier>jmx-invoker-adaptor-client</classifier>
<version>6.0.0.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
<version>1.0.0.Beta4</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
</dependencies>
</profile>
-
3. I am not able to run jboss-eap-5.1 but its working fine in jboss-5.1.0.GA
geuze May 11, 2011 8:33 AM (in response to geuze)Hello everyone,
I've got it working. This is my new profile:
<profile>
<id>jboss-remote-5</id>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-jbossas-remote-5.1</artifactId>
<version>${arquillian.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.jbossas</groupId>
<artifactId>jboss-as-client</artifactId>
<version>5.1.0.GA</version>
<type>pom</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.man</groupId>
<artifactId>jboss-managed</artifactId>
<version>2.1.1.SP2</version>
<scope>system</scope>
<systemPath>D:/JBossEAP51/jboss-as/lib/jboss-managed.jar</systemPath>
</dependency>
<dependency>
<groupId>org.jboss.integration</groupId>
<artifactId>jboss-profileservice-spi</artifactId>
<version>5.1.0.GA</version>
<scope>system</scope>
<systemPath>D:/JBossEAP51/jboss-as/client/jboss-profileservice-client.jar</systemPath>
</dependency>
</dependencies>
</profile>
-
4. Re: I am not able to run jboss-eap-5.1 but its working fine in jboss-5.1.0.GA
simon_jongsma Feb 15, 2012 4:49 AM (in response to aslak)Dear Mr Aslak,
We tried to use the dependencies indicated by Mr Geuze (that worked against JBoss EAP 5.1.0) to get Arquillian to work with JBoss EAP 5.1.2 as well but got the following error:
org.jboss.arquillian.spi.client.container.LifecycleException: Could not connect to container
at org.jboss.arquillian.container.jbossas.remote_5_1.JBossASRemoteContainer.start(JBossASRemoteContainer.java:83)
at org.jboss.arquillian.impl.client.container.ContainerLifecycleController$5.perform(ContainerLifecycleController.java:145)
....
Caused by: java.lang.SecurityException: Authentication exception, principal=null
at org.jboss.aspects.security.AuthenticationInterceptor.authenticate(AuthenticationInterceptor.java:142)
We then replaced jboss-profileservice-client.jar in nexus with the 5.1.2. supplied version: no luck same error.
Are there other jar differences / extra dependencies for 5.1.2. to be expected?