Konstantin Gribov Pull request sent. Feel free to test/verify the proposed solution. Jetty 9.2+ should work out of the box now. In addition, org.jboss.weld.environment.container.class context-param may be used to specify the container manually.
FYI I found out that the class-based detection cannot be used in Jetty (and actually it's not for a long time) because server impl classes are hidden from the web application by default (see also http://www.eclipse.org/jetty/documentation/current/jetty-classloading.html).
|