[
https://jira.jboss.org/jira/browse/JBSEAM-3449?page=com.atlassian.jira.pl...
]
John Sublette updated JBSEAM-3449:
----------------------------------
Attachment: jboss-seam-resteasy-2.1.1.CR2.JBSEAM-3449-patched.jar
To get it to work with the current latest (1.0-RC1), I did the resteasyBeta-8.txt patch,
the @Startup change from Xiaofeng Lin, and also the following change. I just replaced the
class files in the jar with the new ones and tested it out. I'll try to add the jar
file for anyone else with this issue.
Here's ResteasyResourceAdapter.java - Line108 and onward:
HttpRequest in;
ResteasyDispatcher dispatcher =
(ResteasyDispatcher)
Component.getInstance(ResteasyDispatcher.class);
HttpResponse theResponse =
new HttpServletResponseWrapper(response,
dispatcher.getDispatcher().getProviderFactory());
in = new HttpServletInputMessage(
request, theResponse, headers, uriInfo,
request.getMethod().toUpperCase(), (SynchronousDispatcher)dispatcher.getDispatcher());
dispatcher.getDispatcher().invoke(in, theResponse);
}
}.run();
} finally {
ResteasyProviderFactory.clearContextData();
log.debug("completed processing of REST request");
}
}
}
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