You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Yue Fang (Jira)" <ji...@apache.org> on 2021/04/01 11:49:00 UTC
[jira] [Resolved] (CXF-8446) Inconsistent jaxb validation
[ https://issues.apache.org/jira/browse/CXF-8446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Yue Fang resolved CXF-8446.
-----------------------------------
Resolution: Not A Problem
> Inconsistent jaxb validation
> ----------------------------
>
> Key: CXF-8446
> URL: https://issues.apache.org/jira/browse/CXF-8446
> Project: CXF
> Issue Type: Improvement
> Components: JAXB Databinding
> Affects Versions: 3.3.9
> Reporter: Tomasz Zorawik
> Priority: Major
>
> I experienced the same issue as described here:
> [https://www.mail-archive.com/users@cxf.apache.org/msg44090.html]
> The above thread does not mention the reason but it seems that it is caused by jaxb issue:
> [https://github.com/javaee/jaxb-v2/issues/1139]
> After around 10 failed validations (there is a global static counter, not thread-safe) jaxb validation turns off.
> In my case after a restart of an application (which caused a reset of the counter) requests which were processed correctly before the restart suddenly started to become rejected. It seems that this is not a CXF bug, but I think such behavior can be confusing which is why I decided to report it here. I wonder, maybe by default this unreliable validation should be turned off{color:#172b4d} (set-jaxb-validation-event-handler = false) {color}in future releases of CXF?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)