0 Replies Latest reply on Feb 1, 2006 10:09 AM by Nic Holbrook

    Cannot get embedded jboss Alpha4 to boot

    Nic Holbrook Newbie

      I get this error each time I try to run a junit test. My code is based on the example code. Any ideas on how to get this going?

      Thanks in advance

      Nic

      ----------------------------------------------------------------------------------------------------------------------

      java.lang.RuntimeException: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/security/security-domain/target/test-classes/embedded-jboss-beans.xml
      at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:342)
      at com.tess.security.SecurityEjb3EntityTestCase.startupEmbeddedJboss(SecurityEjb3EntityTestCase.java:69)
      at com.tess.security.SecurityEjb3EntityTestCase$1.setUp(SecurityEjb3EntityTestCase.java:48)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/security/security-domain/target/test-classes/embedded-jboss-beans.xml
      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:125)
      at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:136)
      at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:85)
      at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:331)
      ... 8 more
      Caused by: java.lang.NullPointerException
      at org.jboss.kernel.plugins.deployment.xml.BeanSchemaBinding.configureValueBindings(BeanSchemaBinding.java:1150)
      at org.jboss.kernel.plugins.deployment.xml.BeanSchemaBinding.init(BeanSchemaBinding.java:399)
      at org.jboss.kernel.plugins.deployment.xml.BeanSchemaInitializer.init(BeanSchemaInitializer.java:37)
      at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resolve(DefaultSchemaResolver.java:216)
      at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:160)
      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:269)
      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:121)
      ... 11 more