[jboss-user] [JBoss Seam] - Maven 2 Surefire---TestNG---Seam 2.0 Problems

ruettimac do-not-reply at jboss.com
Sat Nov 24 16:48:54 EST 2007


Hi,

I have seen some posts with the same issues, but did not found the solution or the setup those users had for unit testing the seam components. Following my setup:



  | <plugins>
  |     <plugin>
  |     <groupId>org.apache.maven.plugins</groupId>
  |     <artifactId>maven-surefire-plugin</artifactId>
  |     <version>2.4-collab-SNAPSHOT</version>
  |     </plugin>
  | </plugins>
  | <dependencies>
  |     <dependency>
  |         <groupId>org.testng</groupId>
  |         <artifactId>testng</artifactId>
  |         <version>5.5</version>
  |         <classifier>jdk15</classifier>
  |         <scope>test</scope>
  |     </dependency>
  |     <dependency>
  |         <groupId>org.jboss.embedded</groupId>
  |         <artifactId>jboss-embedded</artifactId>
  |         <version>beta2</version>
  |         <scope>test</scope>
  |         <type>pom</type>
  |     </dependency>
  |     <dependency>
  |         <groupId>xerces</groupId>
  |         <artifactId>xercesImpl</artifactId>
  |         <version>2.8.1</version>
  |         <scope>test</scope>
  |     </dependency>
  |     <dependency>
  |         <groupId>com.sun.glassfish</groupId>
  |         <artifactId>jsf-impl</artifactId>
  |         <version>2.0</version>
  |         <scope>test</scope>
  |     </dependency>
  |     <dependency>
  |         <groupId>org.dbunit</groupId>
  |         <artifactId>dbunit</artifactId>
  |         <version>2.2</version>
  |         <scope>test</scope>
  |     </dependency>
  | </dependencies>
  | 

Then I have copied over the bootstrap directory of seam 2.0.GA to src/test/resources.

When I try to run a unit test with maven, the following stack trace appears:


  | WARNING: You are running Maven builds externally, some UI functionality will not be available.
  | Executing:/Applications/maven-2.0.7/bin/mvn test
  | Scanning for projects...
  | ----------------------------------------------------------------------------
  | Building Training Platform EJB Module
  |    task-segment: [test]
  | ----------------------------------------------------------------------------
  | artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from jboss
  | artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from java.net
  | artifact org.apache.maven.plugins:maven-compiler-plugin: checking for updates from jboss
  | artifact org.apache.maven.plugins:maven-compiler-plugin: checking for updates from java.net
  | snapshot org.apache.maven.plugins:maven-surefire-plugin:2.4-collab-SNAPSHOT: checking for updates from apache.snapshots
  | snapshot org.apache.maven.surefire:surefire:2.4-collab-SNAPSHOT: checking for updates from apache.snapshots
  | artifact org.apache.maven.plugins:maven-ejb-plugin: checking for updates from jboss
  | artifact org.apache.maven.plugins:maven-ejb-plugin: checking for updates from java.net
  | Using encoding: 'UTF-8' to copy filtered resources.
  | Nothing to compile - all classes are up to date
  | Using encoding: 'UTF-8' to copy filtered resources.
  | Compiling 1 source file to /Users/cyrill/Documents/Trainingsplattform/NetBeans/TrainingPlatformBuild/TrainingPlatformEJB/target/test-classes
  | snapshot org.apache.maven.surefire:surefire-booter:2.4-collab-SNAPSHOT: checking for updates from apache.snapshots
  | snapshot org.apache.maven.surefire:surefire-api:2.4-collab-SNAPSHOT: checking for updates from apache.snapshots
  | snapshot org.apache.maven.surefire:surefire-testng:2.4-collab-SNAPSHOT: checking for updates from apache.snapshots
  | snapshot org.apache.maven.surefire:surefire-providers:2.4-collab-SNAPSHOT: checking for updates from apache.snapshots
  | Surefire report directory: /Users/cyrill/Documents/Trainingsplattform/NetBeans/TrainingPlatformBuild/TrainingPlatformEJB/target/surefire-reports
  | 
  | -------------------------------------------------------
  |  T E S T S
  | -------------------------------------------------------
  | [Parser] Running:
  |   Command line suite
  | 
  | Running xx.yyy.trainingplatform.training.facade.TrainingFacadeBeanTest
  | ERROR [org.jboss.embedded.DeploymentScanner] Failed to deploy
  | org.jboss.deployers.spi.DeploymentException: Unable to get VirtualFile for url: file:/Users/cyrill/Documents/Trainingsplattform/NetBeans/TrainingPlatformBuild/TrainingPlatformEJB/target/test-classes/conf/jboss-service.xml
  |         at org.jboss.embedded.DeploymentGroup.getVirtualFile(DeploymentGroup.java:190)
  |         at org.jboss.embedded.DeploymentGroup.add(DeploymentGroup.java:176)
  |         at org.jboss.embedded.DeploymentGroup.addResource(DeploymentGroup.java:329)
  |         at org.jboss.embedded.DeploymentScanner.start(DeploymentScanner.java:85)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
  |         at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
  |         at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
  |         at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:145)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
  |         at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  |         at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
  |         at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
  |         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
  |         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
  |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302)
  |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:272)
  |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:119)
  |         at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:96)
  |         at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
  |         at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
  |         at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
  |         at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
  |         at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
  |         at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
  |         at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
  |         at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:645)
  |         at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:385)
  |         at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:141)
  |         at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
  |         at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:158)
  |         at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
  |         at org.testng.TestRunner.runWorkers(TestRunner.java:673)
  |         at org.testng.TestRunner.privateRun(TestRunner.java:620)
  |         at org.testng.TestRunner.run(TestRunner.java:480)
  |         at org.testng.SuiteRunner.runTest(SuiteRunner.java:278)
  |         at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:273)
  |         at org.testng.SuiteRunner.privateRun(SuiteRunner.java:253)
  |         at org.testng.SuiteRunner.run(SuiteRunner.java:168)
  |         at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:987)
  |         at org.testng.TestNG.runSuitesLocally(TestNG.java:951)
  |         at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeTestNG(TestNGDirectoryTestSuite.java:286)
  |         at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:224)
  |         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:275)
  |         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:832)
  | Caused by: java.net.MalformedURLException: unknown protocol: vfsfile
  |         at java.net.URL.<init>(URL.java:574)
  |         at java.net.URL.<init>(URL.java:464)
  |         at java.net.URL.<init>(URL.java:413)
  |         at org.jboss.virtual.plugins.context.file.FileHandler.<init>(FileHandler.java:75)
  |         at org.jboss.virtual.plugins.context.file.FileHandler.<init>(FileHandler.java:89)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:253)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:186)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:150)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:124)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:113)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContextFactory.getVFS(FileSystemContextFactory.java:54)
  |         at org.jboss.virtual.VFS.getVFS(VFS.java:132)
  |         at org.jboss.virtual.VFS.getRoot(VFS.java:146)
  |         at org.jboss.embedded.DeploymentGroup.getVirtualFile(DeploymentGroup.java:186)
  |         ... 62 more
  | ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=ResourcesToDeploy state=Create
  | org.jboss.deployers.spi.DeploymentException: Unable to get VirtualFile for url: file:/Users/cyrill/Documents/Trainingsplattform/NetBeans/TrainingPlatformBuild/TrainingPlatformEJB/target/test-classes/conf/jboss-service.xml
  |         at org.jboss.embedded.DeploymentGroup.getVirtualFile(DeploymentGroup.java:190)
  |         at org.jboss.embedded.DeploymentGroup.add(DeploymentGroup.java:176)
  |         at org.jboss.embedded.DeploymentGroup.addResource(DeploymentGroup.java:329)
  |         at org.jboss.embedded.DeploymentScanner.start(DeploymentScanner.java:85)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
  |         at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
  |         at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
  |         at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:145)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
  |         at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  |         at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
  |         at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
  |         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
  |         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
  |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302)
  |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:272)
  |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:119)
  |         at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:96)
  |         at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
  |         at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
  |         at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
  |         at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
  |         at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
  |         at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
  |         at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
  |         at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:645)
  |         at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:385)
  |         at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:141)
  |         at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
  |         at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:158)
  |         at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
  |         at org.testng.TestRunner.runWorkers(TestRunner.java:673)
  |         at org.testng.TestRunner.privateRun(TestRunner.java:620)
  |         at org.testng.TestRunner.run(TestRunner.java:480)
  |         at org.testng.SuiteRunner.runTest(SuiteRunner.java:278)
  |         at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:273)
  |         at org.testng.SuiteRunner.privateRun(SuiteRunner.java:253)
  |         at org.testng.SuiteRunner.run(SuiteRunner.java:168)
  |         at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:987)
  |         at org.testng.TestNG.runSuitesLocally(TestNG.java:951)
  |         at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeTestNG(TestNGDirectoryTestSuite.java:286)
  |         at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:224)
  |         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:275)
  |         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:832)
  | Caused by: java.net.MalformedURLException: unknown protocol: vfsfile
  |         at java.net.URL.<init>(URL.java:574)
  |         at java.net.URL.<init>(URL.java:464)
  |         at java.net.URL.<init>(URL.java:413)
  |         at org.jboss.virtual.plugins.context.file.FileHandler.<init>(FileHandler.java:75)
  |         at org.jboss.virtual.plugins.context.file.FileHandler.<init>(FileHandler.java:89)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:253)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:186)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:150)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:124)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:113)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContextFactory.getVFS(FileSystemContextFactory.java:54)
  |         at org.jboss.virtual.VFS.getVFS(VFS.java:132)
  |         at org.jboss.virtual.VFS.getRoot(VFS.java:146)
  |         at org.jboss.embedded.DeploymentGroup.getVirtualFile(DeploymentGroup.java:186)
  |         ... 62 more
  | ERROR [org.jboss.embedded.DeploymentScanner] Failed to deploy
  | org.jboss.deployers.spi.DeploymentException: Unable to find deployDir from url: file:/Users/cyrill/Documents/Trainingsplattform/NetBeans/TrainingPlatformBuild/TrainingPlatformEJB/target/test-classes/deployers/
  |         at org.jboss.embedded.DeploymentGroup.getDeployerDirUrls(DeploymentGroup.java:536)
  |         at org.jboss.embedded.DeploymentGroup.getDeployerDirUrlsFromResource(DeploymentGroup.java:522)
  |         at org.jboss.embedded.DeploymentGroup.addDirectoryByResource(DeploymentGroup.java:470)
  |         at org.jboss.embedded.DeploymentScanner.start(DeploymentScanner.java:99)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
  |         at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
  |         at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
  |         at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:145)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
  |         at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  |         at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
  |         at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
  |         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
  |         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
  |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302)
  |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:272)
  |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:119)
  |         at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:96)
  |         at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
  |         at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
  |         at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
  |         at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
  |         at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
  |         at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
  |         at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
  |         at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:645)
  |         at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:385)
  |         at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:141)
  |         at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
  |         at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:158)
  |         at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
  |         at org.testng.TestRunner.runWorkers(TestRunner.java:673)
  |         at org.testng.TestRunner.privateRun(TestRunner.java:620)
  |         at org.testng.TestRunner.run(TestRunner.java:480)
  |         at org.testng.SuiteRunner.runTest(SuiteRunner.java:278)
  |         at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:273)
  |         at org.testng.SuiteRunner.privateRun(SuiteRunner.java:253)
  |         at org.testng.SuiteRunner.run(SuiteRunner.java:168)
  |         at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:987)
  |         at org.testng.TestNG.runSuitesLocally(TestNG.java:951)
  |         at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeTestNG(TestNGDirectoryTestSuite.java:286)
  |         at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:224)
  |         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:275)
  |         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:832)
  | Caused by: java.net.MalformedURLException: unknown protocol: vfsfile
  |         at java.net.URL.<init>(URL.java:574)
  |         at java.net.URL.<init>(URL.java:464)
  |         at java.net.URL.<init>(URL.java:413)
  |         at org.jboss.virtual.plugins.context.file.FileHandler.<init>(FileHandler.java:75)
  |         at org.jboss.virtual.plugins.context.file.FileHandler.<init>(FileHandler.java:89)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:253)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:186)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:150)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:124)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:113)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContextFactory.getVFS(FileSystemContextFactory.java:54)
  |         at org.jboss.virtual.VFS.getVFS(VFS.java:132)
  |         at org.jboss.virtual.VFS.getRoot(VFS.java:146)
  |         at org.jboss.embedded.DeploymentGroup.getDeployerDirUrls(DeploymentGroup.java:532)
  |         ... 62 more
  | ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=ResourcesToDeploy2 state=Create
  | org.jboss.deployers.spi.DeploymentException: Unable to find deployDir from url: file:/Users/cyrill/Documents/Trainingsplattform/NetBeans/TrainingPlatformBuild/TrainingPlatformEJB/target/test-classes/deployers/
  |         at org.jboss.embedded.DeploymentGroup.getDeployerDirUrls(DeploymentGroup.java:536)
  |         at org.jboss.embedded.DeploymentGroup.getDeployerDirUrlsFromResource(DeploymentGroup.java:522)
  |         at org.jboss.embedded.DeploymentGroup.addDirectoryByResource(DeploymentGroup.java:470)
  |         at org.jboss.embedded.DeploymentScanner.start(DeploymentScanner.java:99)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
  |         at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
  |         at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
  |         at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:145)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
  |         at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  |         at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
  |         at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
  |         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
  |         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
  |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302)
  |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:272)
  |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:119)
  |         at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:96)
  |         at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
  |         at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
  |         at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
  |         at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
  |         at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
  |         at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
  |         at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
  |         at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:645)
  |         at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:385)
  |         at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:141)
  |         at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
  |         at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:158)
  |         at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
  |         at org.testng.TestRunner.runWorkers(TestRunner.java:673)
  |         at org.testng.TestRunner.privateRun(TestRunner.java:620)
  |         at org.testng.TestRunner.run(TestRunner.java:480)
  |         at org.testng.SuiteRunner.runTest(SuiteRunner.java:278)
  |         at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:273)
  |         at org.testng.SuiteRunner.privateRun(SuiteRunner.java:253)
  |         at org.testng.SuiteRunner.run(SuiteRunner.java:168)
  |         at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:987)
  |         at org.testng.TestNG.runSuitesLocally(TestNG.java:951)
  |         at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeTestNG(TestNGDirectoryTestSuite.java:286)
  |         at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:224)
  |         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:275)
  |         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:832)
  | Caused by: java.net.MalformedURLException: unknown protocol: vfsfile
  |         at java.net.URL.<init>(URL.java:574)
  |         at java.net.URL.<init>(URL.java:464)
  |         at java.net.URL.<init>(URL.java:413)
  |         at org.jboss.virtual.plugins.context.file.FileHandler.<init>(FileHandler.java:75)
  |         at org.jboss.virtual.plugins.context.file.FileHandler.<init>(FileHandler.java:89)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:253)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:186)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:150)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:124)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:113)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContextFactory.getVFS(FileSystemContextFactory.java:54)
  |         at org.jboss.virtual.VFS.getVFS(VFS.java:132)
  |         at org.jboss.virtual.VFS.getRoot(VFS.java:146)
  |         at org.jboss.embedded.DeploymentGroup.getDeployerDirUrls(DeploymentGroup.java:532)
  |         ... 62 more
  | ERROR [org.jboss.embedded.DeploymentScanner] Failed to deploy
  | org.jboss.deployers.spi.DeploymentException: Unable to find deployDir from url: file:/Users/cyrill/Documents/Trainingsplattform/NetBeans/TrainingPlatformBuild/TrainingPlatformEJB/target/test-classes/deploy/
  |         at org.jboss.embedded.DeploymentGroup.getDeployerDirUrls(DeploymentGroup.java:536)
  |         at org.jboss.embedded.DeploymentGroup.getDeployerDirUrlsFromResource(DeploymentGroup.java:522)
  |         at org.jboss.embedded.DeploymentGroup.addDirectoryByResource(DeploymentGroup.java:470)
  |         at org.jboss.embedded.DeploymentScanner.start(DeploymentScanner.java:99)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
  |         at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
  |         at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
  |         at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:145)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
  |         at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  |         at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
  |         at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
  |         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
  |         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
  |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302)
  |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:272)
  |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:119)
  |         at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:96)
  |         at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
  |         at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
  |         at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
  |         at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
  |         at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
  |         at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
  |         at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
  |         at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:645)
  |         at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:385)
  |         at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:141)
  |         at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
  |         at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:158)
  |         at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
  |         at org.testng.TestRunner.runWorkers(TestRunner.java:673)
  |         at org.testng.TestRunner.privateRun(TestRunner.java:620)
  |         at org.testng.TestRunner.run(TestRunner.java:480)
  |         at org.testng.SuiteRunner.runTest(SuiteRunner.java:278)
  |         at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:273)
  |         at org.testng.SuiteRunner.privateRun(SuiteRunner.java:253)
  |         at org.testng.SuiteRunner.run(SuiteRunner.java:168)
  |         at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:987)
  |         at org.testng.TestNG.runSuitesLocally(TestNG.java:951)
  |         at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeTestNG(TestNGDirectoryTestSuite.java:286)
  |         at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:224)
  |         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:275)
  |         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:832)
  | Caused by: java.net.MalformedURLException: unknown protocol: vfsfile
  |         at java.net.URL.<init>(URL.java:574)
  |         at java.net.URL.<init>(URL.java:464)
  |         at java.net.URL.<init>(URL.java:413)
  |         at org.jboss.virtual.plugins.context.file.FileHandler.<init>(FileHandler.java:75)
  |         at org.jboss.virtual.plugins.context.file.FileHandler.<init>(FileHandler.java:89)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:253)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:186)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:150)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:124)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:113)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContextFactory.getVFS(FileSystemContextFactory.java:54)
  |         at org.jboss.virtual.VFS.getVFS(VFS.java:132)
  |         at org.jboss.virtual.VFS.getRoot(VFS.java:146)
  |         at org.jboss.embedded.DeploymentGroup.getDeployerDirUrls(DeploymentGroup.java:532)
  |         ... 62 more
  | ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=ResourcesToDeploy3 state=Create
  | org.jboss.deployers.spi.DeploymentException: Unable to find deployDir from url: file:/Users/cyrill/Documents/Trainingsplattform/NetBeans/TrainingPlatformBuild/TrainingPlatformEJB/target/test-classes/deploy/
  |         at org.jboss.embedded.DeploymentGroup.getDeployerDirUrls(DeploymentGroup.java:536)
  |         at org.jboss.embedded.DeploymentGroup.getDeployerDirUrlsFromResource(DeploymentGroup.java:522)
  |         at org.jboss.embedded.DeploymentGroup.addDirectoryByResource(DeploymentGroup.java:470)
  |         at org.jboss.embedded.DeploymentScanner.start(DeploymentScanner.java:99)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
  |         at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
  |         at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
  |         at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:145)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
  |         at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  |         at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
  |         at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
  |         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
  |         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
  |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302)
  |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:272)
  |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:119)
  |         at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:96)
  |         at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
  |         at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
  |         at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
  |         at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
  |         at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
  |         at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
  |         at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
  |         at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:645)
  |         at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:385)
  |         at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:141)
  |         at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
  |         at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:158)
  |         at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
  |         at org.testng.TestRunner.runWorkers(TestRunner.java:673)
  |         at org.testng.TestRunner.privateRun(TestRunner.java:620)
  |         at org.testng.TestRunner.run(TestRunner.java:480)
  |         at org.testng.SuiteRunner.runTest(SuiteRunner.java:278)
  |         at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:273)
  |         at org.testng.SuiteRunner.privateRun(SuiteRunner.java:253)
  |         at org.testng.SuiteRunner.run(SuiteRunner.java:168)
  |         at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:987)
  |         at org.testng.TestNG.runSuitesLocally(TestNG.java:951)
  |         at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeTestNG(TestNGDirectoryTestSuite.java:286)
  |         at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:224)
  |         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:275)
  |         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:832)
  | Caused by: java.net.MalformedURLException: unknown protocol: vfsfile
  |         at java.net.URL.<init>(URL.java:574)
  |         at java.net.URL.<init>(URL.java:464)
  |         at java.net.URL.<init>(URL.java:413)
  |         at org.jboss.virtual.plugins.context.file.FileHandler.<init>(FileHandler.java:75)
  |         at org.jboss.virtual.plugins.context.file.FileHandler.<init>(FileHandler.java:89)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:253)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:186)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:150)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:124)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:113)
  |         at org.jboss.virtual.plugins.context.file.FileSystemContextFactory.getVFS(FileSystemContextFactory.java:54)
  |         at org.jboss.virtual.VFS.getVFS(VFS.java:132)
  |         at org.jboss.virtual.VFS.getRoot(VFS.java:146)
  |         at org.jboss.embedded.DeploymentGroup.getDeployerDirUrls(DeploymentGroup.java:532)
  |         ... 62 more
  | Tests run: 2, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 1.879 sec <<< FAILURE!
  | 
  | Results :
  | 
  | Failed tests: 
  |   init(xx.yyy.trainingplatform.training.facade.TrainingFacadeBeanTest)
  | 
  | 
  | ------------------------------------------------------------------------
  | [ERROR]BUILD FAILURE
  | ------------------------------------------------------------------------
  | There are test failures.
  | ------------------------------------------------------------------------
  | For more information, run Maven with the -e switch
  | ------------------------------------------------------------------------
  | Total time: 14 seconds
  | Finished at: Sat Nov 24 20:02:41 CET 2007
  | Final Memory: 5M/14M
  | ------------------------------------------------------------------------
  | 
  | 

To get this up an running, your settings.xml should look this this:


  | <?xml version="1.0" encoding="UTF-8"?>
  | <settings>
  |     <localRepository>/Users/cyrill/Documents/maven_repo</localRepository>
  |     <profiles>
  |         <profile>
  |             <id>defaultrepositories</id>
  |             <repositories>
  |                 <repository>
  |                     <id>jboss</id>
  |                     <name>Repository for JBoss Artifacts</name>
  |                     <url>http://repository.jboss.com/maven2/</url>
  |                     <layout>default</layout>
  |                     <releases>
  |                         <updatePolicy>always</updatePolicy>
  |                         <checksumPolicy>warn</checksumPolicy>
  |                     </releases>
  |                     <snapshots>
  |                         <enabled>false</enabled>
  |                         <updatePolicy>always</updatePolicy>
  |                         <checksumPolicy>warn</checksumPolicy>
  |                     </snapshots>
  |                 </repository>
  |                 <repository>
  |                     <id>java.net</id>
  |                     <url>http://download.java.net/maven/1</url>
  |                     <layout>legacy</layout>
  |                     <releases>
  |                         <updatePolicy>always</updatePolicy>
  |                         <checksumPolicy>warn</checksumPolicy>
  |                     </releases>
  |                     <snapshots>
  |                         <enabled>false</enabled>
  |                         <updatePolicy>always</updatePolicy>
  |                         <checksumPolicy>warn</checksumPolicy>
  |                     </snapshots>
  |                 </repository>
  |             </repositories>
  |             <pluginRepositories>
  |                 <pluginRepository>
  |                     <id>apache.snapshots</id>
  |                     <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
  |                     <releases>
  |                         <enabled>false</enabled>
  |                         <updatePolicy>always</updatePolicy>
  |                         <checksumPolicy>warn</checksumPolicy>
  |                     </releases>
  |                     <snapshots>
  |                         <updatePolicy>always</updatePolicy>
  |                         <checksumPolicy>warn</checksumPolicy>
  |                     </snapshots>
  |                 </pluginRepository>
  |             </pluginRepositories>
  |         </profile>
  |     </profiles>
  | 

I hope I provided enough informations about the setup for others to get started - and enough information to get this issue solved!

Regards,

Cyrill

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

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



More information about the jboss-user mailing list