After I updated the ejb container config metadata I started seeing this new error:
anonymous wrote :
| Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to start
{http://java.sun.com/xml/ns/javaee}description: the element is not repeatable, repeatable
parent expected to be a model group but got element
{http://www.jboss.com/xml/ns/javaee}container-configuration
| at
org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endRepeatableParent(SundayContentHandler.java:672)
| at
org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:311)
| at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:402)
| at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
| at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
| at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
| at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
| at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
| at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
| at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:180)
| ... 23 more
| 1687 DEBUG [JBoss5xEverythingUnitTestCase] testEverything took 1672ms
| 1687 DEBUG [JBoss5xEverythingUnitTestCase] ==== Stopping testEverything ====
| 1687 DEBUG [JBoss5xEverythingUnitTestCase] ==== tornDown
org.jboss.test.ejb.metadata.test.JBoss5xEverythingUnitTestCase ====
|
|
I originally saw this problem in the metadata project, but have copied the changes over to
the jbossxb project so that the JBoss5xEverythingUnitTestCase shows the problem.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089014#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...