[jboss-dev-forums] [Design of JBossXB] - Re: JBossXB-2.0.0.CR5

scott.stark@jboss.org do-not-reply at jboss.com
Fri Oct 5 08:42:15 EDT 2007


See the current org.jboss.test.ejb.metadata.test.EjbJar3xUnitTestCase.testServiceRefs in the jbossxb project. A simple ejb-jar.xml with a session/service-ref is failing with:

anonymous wrote : 
  | Caused by: org.jboss.xb.binding.JBossXBRuntimeException: {http://java.sun.com/xml/ns/javaee}service-ref not found as a child of {http://java.sun.com/xml/ns/javaee}session
  | 	at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:370)
  | 	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
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091969#4091969

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091969



More information about the jboss-dev-forums mailing list