I'm trying run the tests for booking example in CVS but I keep getting errors when I run the 'test' target. What am I missing? I also check it against Seam2.0B1 and I get the same thing. Thanks.
| E:\Dev\jboss-seam-2.0.0.BETA1\examples\booking>ant testexample | Buildfile: build.xml | | validateexample: | | init: | [echo] Build Seam on JBoss Booking Example 2.0 | | select-compiler: | | compile: | | testexample: | [delete] Deleting directory E:\Dev\jboss-seam-2.0.0.BETA1\examples\booking\te | st-output | [testng] [Parser] Running: | [testng] E:\Dev\jboss-seam-2.0.0.BETA1\examples\booking\src\org\jboss\seam\ | example\booking\test\testng.xml | [testng] | [testng] WARN 15-07 15:06:08,648 [org.jboss.mx.loading.UnifiedLoaderReposito | ry3.addClassLoader():675] Tried to add non-URLClassLoader. Ignored | [testng] ERROR 15-07 15:06:08,959 [org.jboss.dependency.plugins.AbstractContr | oller.incrementState():456] Error installing to Instantiated: name=DeploymentFil | ter state=Described | [testng] java.lang.IllegalStateException: Class not found: [Ljava.lang.String | ; | [testng] at org.jboss.metadata.spi.signature.Signature.stringsToClasses(S | ignature.java:174) | [testng] at org.jboss.metadata.spi.signature.Signature.stringsToClasses(S | ignature.java:125) | [testng] at org.jboss.metadata.spi.signature.Signature.getParametersTypes | (Signature.java:292) | [testng] at org.jboss.metadata.plugins.loader.reflection.AnnotatedElement | MetaDataLoader.getComponentMetaDataRetrieval(AnnotatedElementMetaDataLoader.java | :138) | [testng] at org.jboss.metadata.plugins.context.AbstractMetaDataContext.ge | tComponentMetaDataRetrieval(AbstractMetaDataContext.java:280) | [testng] at org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataB | ridge.getComponentMetaData(MetaDataRetrievalToMetaDataBridge.java:159) | [testng] at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpo | int.methodHasAnnotations(AOPConstructorJoinpoint.java:202) | [testng] at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpo | int.hasMethodMetaData(AOPConstructorJoinpoint.java:172) | [testng] at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpo | int.hasInstanceOrJoinpointMetaData(AOPConstructorJoinpoint.java:152) | [testng] at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpo | int.dispatch(AOPConstructorJoinpoint.java:99) | [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAc | tion.dispatchJoinPoint(KernelControllerContextAction.java:103) | [testng] at org.jboss.kernel.plugins.dependency.InstantiateAction.install | ActionInternal(InstantiateAction.java:52) | [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAc | tion.installAction(KernelControllerContextAction.java:197) | [testng] at org.jboss.kernel.plugins.dependency.KernelControllerContextAc | tion.install(KernelControllerContextAction.java:136) | [testng] at org.jboss.dependency.plugins.AbstractControllerContextActions | .install(AbstractControllerContextActions.java:51) | [testng] at org.jboss.dependency.plugins.AbstractControllerContext.instal | l(AbstractControllerContext.java:233) | [testng] at org.jboss.dependency.plugins.AbstractController.install(Abstr | actController.java:724) | [testng] at org.jboss.dependency.plugins.AbstractController.incrementStat | e(AbstractController.java:445) | [testng] at org.jboss.dependency.plugins.AbstractController.resolveContex | ts(AbstractController.java:555) | [testng] at org.jboss.dependency.plugins.AbstractController.resolveContex | ts(AbstractController.java:489) | [testng] at org.jboss.dependency.plugins.AbstractController.install(Abstr | actController.java:289) | [testng] at org.jboss.dependency.plugins.AbstractController.install(Abstr | actController.java:192) | [testng] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.de | ployBean(AbstractKernelDeployer.java:302) | [testng] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.de | ployBeans(AbstractKernelDeployer.java:272) | [testng] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.de | ploy(AbstractKernelDeployer.java:119) | [testng] at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deplo | y(BeanXMLDeployer.java:96) | [testng] at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap | .java:150) | [testng] at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162) | | [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.BaseSeamTest.startJbossEmbeddedIfNecessar | y(BaseSeamTest.java:919) | [testng] at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:856) | [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42) | [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces | sorImpl.java:39) | [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet | hodAccessorImpl.java:25) | [testng] at java.lang.reflect.Method.invoke(Method.java:597) | [testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.ja | va:604) | [testng] at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker | .java:394) | [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java | :142) | [testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java | :79) | [testng] at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods | (TestMethodWorker.java:165) | [testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.jav | a:103) | [testng] at org.testng.TestRunner.runWorkers(TestRunner.java:678) | [testng] at org.testng.TestRunner.privateRun(TestRunner.java:624) | [testng] at org.testng.TestRunner.run(TestRunner.java:495) | [testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:300) | [testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295) | [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275) | [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190) | [testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792) | [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765) | [testng] at org.testng.TestNG.run(TestNG.java:699) | [testng] at org.testng.TestNG.privateMain(TestNG.java:824) | [testng] at org.testng.TestNG.main(TestNG.java:802) | [testng] Caused by: java.lang.ClassNotFoundException: [Ljava.lang.String; | [testng] at java.net.URLClassLoader$1.run(URLClassLoader.java:200) | [testng] at java.security.AccessController.doPrivileged(Native Method) | [testng] at java.net.URLClassLoader.findClass(URLClassLoader.java:188) | [testng] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) | [testng] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) | | [testng] at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | [testng] at org.jboss.metadata.spi.signature.Signature.stringsToClasses(S | ignature.java:170) | [testng] ... 54 more | [testng] FAILED CONFIGURATION: @BeforeClass init | [testng] org.jboss.deployers.spi.IncompleteDeploymentException: Summary of in | complete deployments (SEE PREVIOUS ERRORS FOR DETAILS): | [testng] | [testng] *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State | :Actual State} | [testng] | [testng] ResourcesToDeploy | [testng] -> DeploymentFilter{Configured:**ERROR**} | [testng] | [testng] ResourcesToDeploy2 | [testng] -> DeploymentFilter{Configured:**ERROR**} | [testng] | [testng] ResourcesToDeploy3 | [testng] -> jboss.kernel:service=Kernel{Configured:**ERROR**} | [testng] -> DeploymentFilter{Configured:**ERROR**} | [testng] | [testng] | [testng] *** CONTEXTS IN ERROR: Name -> Error | [testng] | [testng] DeploymentFilter -> java.lang.ClassNotFoundException: [Ljava.lang.St | ring; | [testng] | [testng] jboss.kernel:service=Kernel -> **ERROR** | [testng] | [testng] | [testng] at org.jboss.embedded.Bootstrap.checkIncomplete(Bootstrap.java:1 | 44) | [testng] at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:169) | | [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.BaseSeamTest.startJbossEmbeddedIfNecessar | y(BaseSeamTest.java:919) | [testng] at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:856) | [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42) | [testng] ... Removed 22 stack frames | [testng] SKIPPED CONFIGURATION: @BeforeMethod begin | [testng] SKIPPED CONFIGURATION: @AfterMethod end | [testng] SKIPPED CONFIGURATION: @BeforeMethod begin | [testng] SKIPPED CONFIGURATION: @AfterMethod end | [testng] SKIPPED CONFIGURATION: @AfterClass cleanup | [testng] SKIPPED: testLogin | [testng] SKIPPED: testLoginComponent | [testng] | [testng] =============================================== | [testng] Login | [testng] Tests run: 2, Failures: 0, Skips: 2 | [testng] Configuration Failures: 1, Skips: 5 | [testng] =============================================== | [testng] | [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.BaseSeamTest.startJbossEmbeddedIfNecessar | y(BaseSeamTest.java:919) | [testng] at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:856) | [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42) | [testng] Caused by: java.lang.IllegalStateException: ServerConfig is already | installed. | [testng] at org.jboss.dependency.plugins.AbstractController.install(Abstr | actController.java:264) | [testng] at org.jboss.dependency.plugins.AbstractController.install(Abstr | actController.java:192) | [testng] at org.jboss.kernel.plugins.dependency.AbstractKernelController. | install(AbstractKernelController.java:84) | [testng] at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:161) | | [testng] ... 27 more | [testng] ... Removed 22 stack frames | [testng] SKIPPED CONFIGURATION: @BeforeMethod begin | [testng] SKIPPED CONFIGURATION: @AfterMethod end | [testng] SKIPPED CONFIGURATION: @AfterClass cleanup | [testng] SKIPPED: testBookHotel | [testng] | [testng] =============================================== | [testng] Booking | [testng] Tests run: 1, Failures: 0, Skips: 1 | [testng] Configuration Failures: 1, Skips: 3 | [testng] =============================================== | [testng] | [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.BaseSeamTest.startJbossEmbeddedIfNecessar | y(BaseSeamTest.java:919) | [testng] at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:856) | [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42) | [testng] Caused by: java.lang.IllegalStateException: ServerConfig is already | installed. | [testng] at org.jboss.dependency.plugins.AbstractController.install(Abstr | actController.java:264) | [testng] at org.jboss.dependency.plugins.AbstractController.install(Abstr | actController.java:192) | [testng] at org.jboss.kernel.plugins.dependency.AbstractKernelController. | install(AbstractKernelController.java:84) | [testng] at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:161) | | [testng] ... 27 more | [testng] ... Removed 22 stack frames | [testng] SKIPPED CONFIGURATION: @BeforeMethod begin | [testng] SKIPPED CONFIGURATION: @AfterMethod end | [testng] SKIPPED CONFIGURATION: @AfterClass cleanup | [testng] SKIPPED: testChangePassword | [testng] | [testng] =============================================== | [testng] Change Password | [testng] Tests run: 1, Failures: 0, Skips: 1 | [testng] Configuration Failures: 1, Skips: 3 | [testng] =============================================== | [testng] | [testng] | [testng] =============================================== | [testng] Hotel Booking | [testng] Total tests run: 4, Failures: 0, Skips: 4 | [testng] Configuration Failures: 3, Skips: 11 | [testng] =============================================== | [testng] | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064340#4064340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064340 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user