You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2014/10/21 11:28:34 UTC
[jira] [Resolved] (TOMEE-1424) JAX-RS Providers in Webapp should be
preferred
[ https://issues.apache.org/jira/browse/TOMEE-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Romain Manni-Bucau resolved TOMEE-1424.
---------------------------------------
Resolution: Invalid
Hi David, it is already the case:
1) we use first webapp providers then we add our internal/container providers
2) spec mandates a sorting of providers CXF does but on this side we can't help
You can ignore scanning and configure it manually if needed using cxf.jaxrs.skip-provider-scanning property in opeenjb-jar.xml
> JAX-RS Providers in Webapp should be preferred
> ----------------------------------------------
>
> Key: TOMEE-1424
> URL: https://issues.apache.org/jira/browse/TOMEE-1424
> Project: TomEE
> Issue Type: Bug
> Affects Versions: 1.7.1
> Reporter: David Blevins
>
> Due to scanning being unordered, it is currently random which provider you get when @Provider is used to find JAX-RS providers.
> We should favor the providers in the application.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)