[
https://issues.apache.org/jira/browse/TOMEE-1943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Gallimore updated TOMEE-1943:
--------------------------------------
Fix Version/s: (was: 7.0.5)
7.0.6
> 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
> Assignee: Mark Struberg
> Priority: Major
> Fix For: 7.0.6
>
>
> 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
(v7.6.3#76005)