Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:1181137
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
// Using arquillian with tomcat6 embedded with this @Deployment
@Deployment
public static WebArchive createDeployment() {
return ShrinkWrap.create(ExplodedImporter.class, "guvnor-webapp-5.3.0-SNAPSHOT.war")
.importDirectory(new File("target/guvnor-webapp-5.3.0-SNAPSHOT/"))
.as(WebArchive.class);
}
 
 
results in
 
SEVERE: Exception sending context initialized event to listener instance of class org.jboss.weld.environment.servlet.Listener
org.jboss.weld.exceptions.DeploymentException:
WELD-001416 Enabled interceptor class [
<class>org.jboss.seam.transaction.TransactionInterceptor</class>
in jar:file:/home/gdesmet/.m2/repository/org/jboss/seam/security/seam-security/3.1.0.Beta2/seam-security-3.1.0.Beta2.jar!/META-INF/beans.xml@8,
<class>org.jboss.seam.transaction.TransactionInterceptor</class>
in jar:file:/tmp/tomcat-embedded-6/work/arquillian-tomcat-embedded-6/localhost/guvnor-webapp-5.3.0-SNAPSHOT/WEB-INF/lib/seam-security-3.1.0.Beta2.jar!/META-INF/beans.xml@8
] specified twice
at org.jboss.weld.manager.Enabled.createMetadataMap(Enabled.java:147)
 
The seam-security-3.1.0.Beta2.jar from /home/gdesmet/.m2/repository shouldn't be in the tomcat6 deployment classpath.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.