[jboss-jira] [JBoss JIRA] Resolved: (AS7-274) If a JAX-RS implementation is bundled it can break JAX-RS for other deployments

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Mon Jun 13 21:46:23 EDT 2011


     [ https://issues.jboss.org/browse/AS7-274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas resolved AS7-274.
--------------------------------

    Resolution: Done


This is no longer a problem, as server dependencies are now loaded before bundled classes 

> If a JAX-RS implementation is bundled it can break JAX-RS for other deployments 
> --------------------------------------------------------------------------------
>
>                 Key: AS7-274
>                 URL: https://issues.jboss.org/browse/AS7-274
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: XML Frameworks
>    Affects Versions: 7.0.0.Beta1
>            Reporter: Stuart Douglas
>            Assignee: Stuart Douglas
>             Fix For: 7.0.0.CR1
>
>
> 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