[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3449) Upgrade to latest RestEasy beta

Balazs Pataki (JIRA) jira-events at lists.jboss.org
Tue Mar 3 11:07:22 EST 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-3449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12455197#action_12455197 ] 

Balazs Pataki commented on JBSEAM-3449:
---------------------------------------

Regarding asynchronous HTTP processing in Seam+RESTeasy.

It actually seems very easy to implement, the only problem is that there needs to be 3 different implementations for Tomcat6+JBoss 4.2.x, JBoss 5, and Servlet 3.

For me I took the Tomcat6+JBoss 4.2.x implementation of org.jboss.resteasy.plugins.server.servlet.Tomcat6CometDispatcherServlet and based on this I added "implements CometProcessor" to ResteasyDispatcher + copied the event() and createHttpRequest() methods over from Tomcat6CometDispatcherServlet . Then I also added ResteasyAsyncHttpRequest, which is a clone of org.jboss.resteasy.plugins.server.servlet.Tomcat6AsyncHttpRequest. With this setup plus adding the 

<Connector port="8080" address="${jboss.bind.address}"
   emptySessionPath="true" protocol="org.apache.coyote.http11.Http11NioProtocol"
   enableLookups="false" redirectPort="6443" acceptorThreadCount="2" pollerThreadCount="10"
/>

connector instead of the vanilla one to JBOSS_HOME/server/default/deploy/jboss-web.deployer/server.xml seem to make it all work form me.
---
balazs

> Upgrade to latest RestEasy beta
> -------------------------------
>
>                 Key: JBSEAM-3449
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3449
>             Project: Seam
>          Issue Type: Feature Request
>          Components: WS
>    Affects Versions: 2.1.0.BETA1
>            Reporter: Scott Olcott
>            Assignee: Jozef Hartinger
>             Fix For: 2.1.2.GA
>
>         Attachments: jboss-seam-resteasy-2.1.1.CR2.JBSEAM-3449-patched.jar, resteasyBeta-8.txt
>
>
> The latest beta is beta-8

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list