[jboss-dev] Re: WebIntegrationUnitTestCase
Alexey Loubyansky
alexey.loubyansky at redhat.com
Fri Nov 28 08:23:54 EST 2008
I guess, it's related to the order in which binding annotations are
processed. So, role-name in the bound schema appears before the description.
In many metadata classes propOrder is still not specified (I've been
adding it to the types I touched during refactorings) and assumed that
the properties will be bound in the order they appear in the class
source and inherited.
Is this reproducible 100% with that JDK version? I'll add the propOrder
to every type where the role-name appears to see if that's the problem.
Alexey
Dimitris Andreadis wrote:
> The org.jboss.test.web.test.WebIntegrationUnitTestCase passes when run
> under jdk5, but break under jdk6:
>
> http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.0.x-TestSuite-jrockit16-jrockit16/lastBuild/testReport/org.jboss.test.web.test/WebIntegrationUnitTestCase/unknown/
>
>
> Something to do with the xml parsing:
>
> vfszip:/qa/hudson_ws/workspace/JBoss-AS-5.0.x-TestSuite-jrockit16-jrockit16/trunk/testsuite/output/lib/jbosstest-web.ear
> -> org.jboss.xb.binding.JBossXBRuntimeException: Requested element
> {http://java.sun.com/xml/ns/j2ee}description is not allowed in this
> position in the sequence. The next element should be
> {http://java.sun.com/xml/ns/j2ee}role-name
>
>
More information about the jboss-development
mailing list