aslak

Arquillian - EAP 5.1

Jun 8th, 2010
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.68 KB | None | 0 0
  1. jndi.properties
  2. #java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  3. java.naming.factory.initial=org.jboss.security.jndi.LoginInitialContextFactory
  4. java.naming.factory.url.pkgs=org.jboss.naming\:org.jnp.interfaces
  5. java.naming.provider.url=jnp://localhost:1099
  6. java.naming.security.principal=admin
  7. java.naming.security.credentials=admin
  8. java.naming.security.protocol=jmx-console
  9.  
  10. auth.conf
  11. jmx-console {
  12.     org.jboss.security.ClientLoginModule required;
  13. };
  14.  
  15. examples/junit/pom.xml:jbossas-remote-51
  16. <plugin>
  17.     <groupId>org.apache.maven.plugins</groupId>
  18.     <artifactId>maven-surefire-plugin</artifactId>
  19.     <configuration>
  20.         <argLine>-Djava.security.auth.login.config=src/test/jboss-resources/auth.conf</argLine>
  21.         <includes>
  22.             <include>com/acme/ejb/*</include>
  23.             <include>com/acme/jms/*</include>
  24.             <include>com/acme/resources/*</include>
  25.         </includes>
  26.     </configuration>
  27. </plugin>
  28.  
  29.  
  30. org.jboss.profileservice.management.client.upload.DeploymentProgressImpl missing from jboss-as-client:5.1.0.GA. Added to jbossas-remote-51 profile:
  31.  
  32. <dependency>
  33.     <groupId>org.jboss.jbossas</groupId>
  34.     <artifactId>jboss-as-profileservice</artifactId>
  35.     <version>6.0.0.20100429-M3</version>
  36.     <type>jar</type>
  37.     <classifier>client</classifier>
  38. </dependency>
  39.  
  40. Unless you remove this line in the 5.1 container(not sure if it is really needed? This makes it equal to to remote-60 container, but the remote-60 container expects CDI Enrichers which breaks the 5.1 Deployment) the first test case will fail(shows up as the last for some strange reason? Maven surefire test failure/sucess order?)
  41. org.jboss.arquillian.jbossas.remote51.JBossASRemoteContainer.initDeploymentManager -> VFS.init();
Advertisement
Add Comment
Please, Sign In to add comment