[
https://issues.apache.org/jira/browse/TOMEE-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15723739#comment-15723739
]
Romain Manni-Bucau commented on TOMEE-1981:
-------------------------------------------
Hi Robert
We discussed it multiple times on the list, jackson is buggy and needs to grt
fixed. Johnzon has the lowest priority and therefore default setup matches your
description requirement. Workaround until jackson fixes it is to wrap ut and
override consume/produce types.
> 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)