1 Reply Latest reply on Mar 6, 2007 10:54 PM by Jean Safar

    Problem Starting  EJB3StandaloneBootstrap

    Jean Safar Newbie

      Hi,

      Trying out the tutorial (simple-tutorial), I can't seem to make it work in the simplest case. If someone has some clue as to how to progress, I'd appreciate.

      I run this with jdk1.5.0-10 and I have jboss-ejb3-all, hibernate-all, thirdparty-all, jcainflow and jms-ra in that order in my classpath.

      Best Regards,
      Jean

      It fails at the first line of main, EJB3StandaloneBootstrap.boot(null) which eventually fails in line 373:
      deployments.add(0, deployer.deploy(bootstrap));

      The exception stack is:

      ERROR 06-03 22:36:41,437 (Util.java:run:517) -Failed to create schema loader.
      java.lang.ClassCastException: org.apache.xerces.dom.DOMXSImplementationSourceImpl
      at org.w3c.dom.bootstrap.DOMImplementationRegistry.newInstance(DOMImplementationRegistry.java:144)
      at org.jboss.xb.binding.Util$5.run(Util.java:512)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.xb.binding.Util.getXSImplementation(Util.java:488)
      at org.jboss.xb.binding.Util.loadSchema(Util.java:387)
      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.AbstractSAXParser.startElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(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.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)
      at org.jboss.tutorial.simple.Main.main(Main.java:38)