so it looks like all that I learned about using JBoss embedded in Seam 1.2.1 
and earlier is null and void.  I see that I need to now figure out a project 
configuration that will copy the bootstrap directory stuff into 
target/test-classes and figure out all the stuff like this:


  | init(com.javaplant.mapper.police.PersistenceUnitConfigurationTest)  Time 
elapsed: 0.008 sec  <<< FAILURE!
  | org.jboss.deployers.spi.IncompleteDeploymentException: Summary of 
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | *** CONTEXTS IN ERROR: Name -> Error
  | ResourcesToDeploy3 -> java.net.MalformedURLException: unknown protocol: 
vfsfile
  | ResourcesToDeploy2 -> java.net.MalformedURLException: unknown protocol: 
vfsfile
  | ResourcesToDeploy -> java.net.MalformedURLException: unknown protocol: 
vfsfile
  |         at org.jboss.embedded.Bootstrap.checkIncomplete(Bootstrap.java:144)
  |         at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:169)
  |         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.TestNGExecutor.executeTestNG(TestNGExecutor.java:161)
  |         at 
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:101)
  |         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)
  | 
  | 

A whole new research project, when I already had a decent working solution for 
testing Seam stuff via maven2 - Totally frustrating!


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100053
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to