[jboss-user] [JBoss Seam] - Re: FailedConfiguration while running test

hubaghdadi do-not-reply at jboss.com
Wed Jan 23 01:51:54 EST 2008


I followed the instructions as your blog shows, this time I got this exception:

  |    [testng] FAILED CONFIGURATION: @BeforeClass init
  |    [testng] java.lang.RuntimeException: Unable to bootstrap: 
  |    [testng]     at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:167)
  |    [testng]     at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
  |    [testng]     at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
  |    [testng]     at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
  |    [testng]     at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
  |    [testng]     at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
  |    [testng]     at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  |    [testng] Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/media/sda4/Projects/ArmadaSeamProject/bootstrap/conf/bootstrap-beans.xml at 50,41
  |    [testng]     at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
  |    [testng]     at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:133)
  |    [testng]     at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:86)
  |    [testng]     at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
  |    [testng]     at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
  |    [testng]     ... 28 more
  |    [testng] Caused by: org.jboss.xb.binding.JBossXBRuntimeException: {urn:jboss:bean-deployer:2.0}incallback not found as a child of {urn:jboss:bean-deployer:2.0}bean
  |    [testng]     at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:283)
  |    [testng]     at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:381)
  |    [testng]     at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
  |    [testng]     at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
  |    [testng]     at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
  |    [testng]     at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
  |    [testng]     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
  |    [testng]     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
  |    [testng]     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  |    [testng]     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  |    [testng]     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  |    [testng]     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  |    [testng]     at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
  |    [testng]     at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:169)
  |    [testng]     ... 32 more
  |    [testng] ... Removed 22 stack frames
  |    [testng] SKIPPED CONFIGURATION: @BeforeMethod begin
  |    [testng] SKIPPED CONFIGURATION: @AfterMethod end
  |    [testng] SKIPPED CONFIGURATION: @AfterClass cleanup
  |    [testng] SKIPPED: siimulateBijection
  |    [testng] 
  | 

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

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



More information about the jboss-user mailing list