]
Stuart Douglas resolved AS7-1400.
---------------------------------
Resolution: Done
Fixed
Built-in JAX-RS providers registered twice
------------------------------------------
Key: AS7-1400
URL:
https://issues.jboss.org/browse/AS7-1400
Project: Application Server 7
Issue Type: Bug
Components: Web Services
Affects Versions: 7.0.0.Final
Reporter: Jozef Hartinger
Assignee: Stuart Douglas
Fix For: 7.0.1.Final
RESTEasy considers every JAX-RS provider listed in a service loader-like to be a built-in
provider. RESTEasy take care of loading of these providers early in the startup. Once
loaded, these providers are registered with "built-in" flag, which is important
to guarantee that any custom provider is given priority over a built-in one at runtime.
The registration is handled by the RegisterBuiltin class
https://resteasy.svn.sourceforge.net/svnroot/resteasy/trunk/jaxrs/resteas...
However, it seems that AS7 scans resteasy jars for providers and registers the built-in
providers again - as application-provided providers. As a result, every built-in provider
is registered twice. Once as built-in and once as application-provided provider. This has
several consequences. Once of them is that the priority of application-provided providers
is not guaranteed any longer.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: