[
https://issues.apache.org/jira/browse/TOMEE-1943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Zowalla resolved TOMEE-1943.
------------------------------------
Assignee: (was: Mark Struberg)
Resolution: Auto Closed
Hi there!
We wanted to reach out and let you know that we're currently working on
cleaning up open issues in Jira that specifically impact unsupported versions,
including 1.7.x, 7.0.x, and 7.1.x.
If you had previously reported this issue on one of these unsupported versions,
we kindly ask you to check if the problem still persists and can be reproduced
on a supported version such as 8.0.x or 9.0.x. If you find that it is indeed
reproducible on a supported version, you're more than welcome to re-open this
issue.
Thanks!
> Tomee blows up when it finds tags in beans.xml which it doesn't know
> --------------------------------------------------------------------
>
> Key: TOMEE-1943
> URL: https://issues.apache.org/jira/browse/TOMEE-1943
> Project: TomEE
> Issue Type: Bug
> Components: TomEE Core Server
> Affects Versions: 1.7.4, 7.0.1
> Reporter: Mark Struberg
> Priority: Major
>
> We blow up heavily if we find a tag in e.g. beans.xml which we don't know.
> This is really sad since OWB has additional tags since many years and Weld
> also has them.
> A hardcoded 'ignore' hack got added for Weld, but not for OWB.
> We must only log out a warning if we detect a tag or attribute we don't know,
> but must not blow up. This really limits us.
> There is a simple trick to work around this:
> @XmlAnyElement(lax = true)
> private List<Object> unknownElements;
> + log out those values manually afterwards.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)