Sorry for not being clear enough. There is also a mistake in my description.
What I mean with invalid jar, is a jar containing only one jar with the same name which finally contains the actual jar content.
E.g. the mvel2.jar contains a mvel2.jar which contains the "META-INF" and an "org" directory.
I have attached a minimal example ear.