I have downloaded the most recent SEAM release and can successfully build the example applications, deploy them and run them.
However, if I try and run any of the tests: ant testexample on any of the projects the tests fail when trying to launch the embedded JBoss container. I'm running jdk1.5.0_05 on Windows XP. I would expect this to work - there's really not many variables here - just SEAM and Java. I get the following error: | [testng] 23:16:44,450 INFO [Component] Component: register, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.registration.RegisterAction, JNDI: RegisterAction/local | [testng] 23:16:44,465 INFO [Lifecycle] starting up: org.jboss.seam.core.ejb | [testng] 23:16:44,465 INFO [Ejb] starting the embedded EJB container | [testng] 23:16:44,732 ERROR [Util] Failed to create schema loader. | [testng] java.lang.ClassCastException: org.apache.xerces.dom.DOMXSImplementationSourceImpl | [testng] at org.w3c.dom.bootstrap.DOMImplementationRegistry.newInstance(DOMImplementationRegistry.java:144) | [testng] at org.jboss.xb.binding.Util$2.run(Util.java:506) | [testng] at java.security.AccessController.doPrivileged(Native Method) | [testng] at org.jboss.xb.binding.Util.getXSImplementation(Util.java:482) | [testng] at org.jboss.xb.binding.Util.loadSchema(Util.java:381) | [testng] at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:177) | [testng] at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:148) | [testng] at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resolve(DefaultSchemaResolver.java:248) | [testng] at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:159) | [testng] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:299) | [testng] at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) | [testng] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) | [testng] at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(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.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:124) | [testng] at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:132) | [testng] at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:85) | [testng] at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:380) | [testng] at org.jboss.seam.core.Ejb.startup(Ejb.java:42) | [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [testng] at java.lang.reflect.Method.invoke(Method.java:585) | [testng] at org.jboss.seam.util.Reflections.invoke(Reflections.java:18) | [testng] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102) | [testng] at org.jboss.seam.Component.callComponentMethod(Component.java:1791) | [testng] at org.jboss.seam.Component.callCreateMethod(Component.java:1739) | [testng] at org.jboss.seam.Component.newInstance(Component.java:1728) | [testng] at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:152) | [testng] at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:126) | [testng] at org.jboss.seam.init.Initialization.init(Initialization.java:430) | [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:686) | [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [testng] at java.lang.reflect.Method.invoke(Method.java:585) | [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:529) | [testng] at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:311) | [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:149) | [testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:77) | [testng] at org.testng.TestRunner.privateRun(TestRunner.java:614) | [testng] at org.testng.TestRunner.run(TestRunner.java:505) | [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) | [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:147) | [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) | [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:539) | [testng] at org.testng.TestNG.run(TestNG.java:316) | [testng] at org.testng.TestNG.privateMain(TestNG.java:666) | [testng] at org.testng.TestNG.main(TestNG.java:608) | [testng] Creating D:\dev\seam\jboss-seam-1.1.0.GA\examples\registration\test-output\Register.html | [testng] FAILED: org.jboss.seam.mock.SeamTest.init() | [testng] java.lang.RuntimeException: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/D:/dev/seam/jboss-seam-1.1.0.GA/embedded-ejb/conf/[EMAIL PROTECTED],45 | [testng] at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:391) | [testng] at org.jboss.seam.core.Ejb.startup(Ejb.java:42) | [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [testng] at java.lang.reflect.Method.invoke(Method.java:585) | [testng] at org.jboss.seam.util.Reflections.invoke(Reflections.java:18) | [testng] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102) | [testng] at org.jboss.seam.Component.callComponentMethod(Component.java:1791) | [testng] at org.jboss.seam.Component.callCreateMethod(Component.java:1739) | [testng] at org.jboss.seam.Component.newInstance(Component.java:1728) | [testng] at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:152) | [testng] at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:126) | [testng] at org.jboss.seam.init.Initialization.init(Initialization.java:430) | [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:686) | [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [testng] at java.lang.reflect.Method.invoke(Method.java:585) | [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:529) | [testng] at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:311) | [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:149) | [testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:77) | [testng] at org.testng.TestRunner.privateRun(TestRunner.java:614) | [testng] at org.testng.TestRunner.run(TestRunner.java:505) | [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) | [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:147) | [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576) | [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:539) | [testng] at org.testng.TestNG.run(TestNG.java:316) | [testng] at org.testng.TestNG.privateMain(TestNG.java:666) | [testng] at org.testng.TestNG.main(TestNG.java:608) | [testng] Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/D:/dev/seam/jboss-seam-1.1.0.GA/embedded-ejb/conf/[EMAIL PROTECTED],45 | [testng] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:128) | [testng] at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:132) | [testng] at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:85) | [testng] at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:380) | [testng] ... 31 more | [testng] Caused by: java.lang.IllegalStateException: Failed to create schema loader: org.apache.xerces.dom.DOMXSImplementationSourceImpl | [testng] at org.jboss.xb.binding.Util$2.run(Util.java:512) | [testng] at java.security.AccessController.doPrivileged(Native Method) | [testng] at org.jboss.xb.binding.Util.getXSImplementation(Util.java:482) | [testng] at org.jboss.xb.binding.Util.loadSchema(Util.java:381) | [testng] at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:177) | [testng] at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:148) | [testng] at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resolve(DefaultSchemaResolver.java:248) | [testng] at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:159) | [testng] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:299) | [testng] at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) | [testng] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) | [testng] at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(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.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:124) | [testng] ... 34 more | I'm stumped - anyone got any ideas? Benj View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004463#4004463 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004463 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
