29.3. JBossWeb, JBoss AS 5.0.x Support
The JBossWeb container is shipped with JBoss AS 5.0.x and higher requires the JBoss Native plugin to enable asynchronous HTTP processing. See the JBoss Web documentation for information about this process.
Your deployed RESTEasy applications must use a different RESTEasy Servlet:
org.jboss.resteasy.plugins.server.servlet.JBossWebDispatcherServlet
. This class is available within the async-http-jbossweb-xxx.jar
(or within the Maven repository under the async-http-jbossweb
artifact ID) in web.xml
:
<servlet> <servlet-name>Resteasy</servlet-name> <servlet-class>org.jboss.resteasy.plugins.server.servlet.JBossWebDispatcherServlet</servlet-class> </servlet>