This content has been marked as final.
Show 1 reply
-
1. Re: How to fix BrokenPipeException that occurs in Arquillian after adding jbossweb dependency?
simon.jongsma Aug 17, 2015 9:48 AM (in response to simon.jongsma)Issue was caused by jbossweb using a different xnio version (3.07) than jboss remoting.
A transitive dependency problem between different JBoss modules.
So the new dependency gets 3.07 xnio classes loaded.
Then the call from arquillian to remoting fails because this requires the 3.09 xnio objects to communicate.
Fixed by forcing xnio to 3.09 for jbossweb with this dependency in the top level pom.
<dependencyManagement> <dependencies> <dependency> <groupId>org.jboss.xnio</groupId> <artifactId>xnio-nio</artifactId> <version>3.0.9.GA-redhat-1</version> </dependency> <dependency> <groupId>org.jboss.xnio</groupId> <artifactId>xnio-api</artifactId> <version>3.0.9.GA-redhat-1</version> </dependency> </dependencies> </dependencyManagement>