-
Bug
-
Resolution: Done
-
Major
-
2.1.0.Final
-
None
The embedded tomcat ftest is broken in the permalink example.
Running
mvn clean verify -Ptomcat -Darquillian=tomcat-embedded-6
will fail the tests with
SEVERE: Exception sending request destroyed lifecycle event to listener instance of class org.jboss.weld.environment.servlet.Listener java.lang.AbstractMethodError: org.apache.catalina.connector.RequestFacade.isAsyncStarted()Z at org.jboss.weld.servlet.HttpContextLifecycle.requestDestroyed(HttpContextLifecycle.java:222) at org.jboss.weld.servlet.WeldInitialListener.requestDestroyed(WeldInitialListener.java:118) at org.jboss.weld.servlet.api.helpers.ForwardingServletListener.requestDestroyed(ForwardingServletListener.java:38) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:204) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:724)
The problem is the servlet api 3 dependency on the classpath when running the embedded test, as it confuses Weld into thinking isAsync is supported on tomcat6.