[jboss-user] [EJB 3.0] - Re: Error loading Embeddable EJB3 in JBoss

kc_schaefer do-not-reply at jboss.com
Wed Nov 8 15:54:35 EST 2006


I am trying to run the Embeddable EJB3 with IntelliJ IDEA agaist JBoss and I get the same RuntimeException about a writeToDOM signature in xerces.  I can understand why the person trying to run this agaist Weblogic would have issues with the xerces version incompatability but I don't see why I would have that issue with JBoss.  Any information on why I am getting this exception would be greatly appreciated.

java.lang.RuntimeException: java.lang.VerifyError: (class: org/apache/xerces/impl/xs/XSAnnotationImpl, method: writeToDOM signature: (Lorg/w3c/dom/Node;S)V) Incompatible object argument for function call
	at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:386)
	at gov.dia.gemini.core.ProducerBeanTest.startupEmbeddedJBoss(ProducerBeanTest.java:46)
	at gov.dia.gemini.core.ProducerBeanTest.setUp(ProducerBeanTest.java:35)
	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
	at com.intellij.rt.junit4.Junit4ClassSuite.run(Junit4ClassSuite.java:59)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
Caused by: java.lang.VerifyError: (class: org/apache/xerces/impl/xs/XSAnnotationImpl, method: writeToDOM signature: (Lorg/w3c/dom/Node;S)V) Incompatible object argument for function call
	at org.apache.xerces.impl.xs.traversers.XSDAbstractTraverser.traverseAnnotationDecl(Unknown Source)
	at org.apache.xerces.impl.xs.traversers.XSDHandler.traverseSchemas(Unknown Source)
	at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
	at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
	at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
	at org.apache.xerces.impl.xs.XSLoaderImpl.load(Unknown Source)
	at org.jboss.xb.binding.Util.loadSchema(Util.java:395)
	at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:166)
	at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:137)
	at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resolve(DefaultSchemaResolver.java:248)
	at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:162)
	at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:301)
	at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
	at org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1214)
	at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1806)
	at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:949)
	at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1122)
	at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:138)
	at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:133)
	at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:85)
	at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:373)


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

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



More information about the jboss-user mailing list