[jboss-jira] [JBoss JIRA] Created: (JBAS-9129) If a JAX-RS is bundled it can break JAX-RS for other deployments
Stuart Douglas (JIRA)
jira-events at lists.jboss.org
Wed Mar 23 19:11:52 EDT 2011
If a JAX-RS is bundled it can break JAX-RS for other deployments
-----------------------------------------------------------------
Key: JBAS-9129
URL: https://issues.jboss.org/browse/JBAS-9129
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: XML Services/Frameworks
Affects Versions: 7.0.0.Beta1
Reporter: Stuart Douglas
Assignee: Stuart Douglas
Fix For: 7.0.0.Final
The JAX-RS API uses a service loader pattern to locate the actual implementation, which is then cached in static values.
Unfortunately the TCCL is used, which results in the deployments CL to be used to load the impl. This means that if a JAX-RS impl is bundled, it's classes will be used for all deployments, rather than using resteasy.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list