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 2016/12/05 23:36:58 UTC

[jira] [Resolved] (TOMEE-1981) Allow to disable TomEEJohnzonProvider

     [ https://issues.apache.org/jira/browse/TOMEE-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau resolved TOMEE-1981.
---------------------------------------
    Resolution: Workaround

> Allow to disable TomEEJohnzonProvider
> -------------------------------------
>
>                 Key: TOMEE-1981
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1981
>             Project: TomEE
>          Issue Type: Improvement
>          Components: TomEE Core Server
>    Affects Versions: 7.0.2
>            Reporter: Robert Panzer
>
> TomEE configures a couple of internal JAX-RS providers, for example:
> - WadlDocumentMessageBodyWriter
> - EJBExceptionMapper
> - ValidationExceptionMapper
> While it is easy to deactivate all these providers by setting the property {{org.apache.johnzon.jaxrs.WadlDocumentMessageBodyWriter.activated=false}} this is not possible for the TomeeJohnzonProvider and the TomeeJsonpProvider.
> For these 2 providers it should also be possible to deactivate them, in particular as it is difficult to get them out of the way when you are using other MessageBodyWriters for Json that should bind to the media type {{*/*}}.
> I already created a PR for that at https://github.com/apache/tomee/pull/53, maybe it is acceptable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)