[jboss-user] [JBoss Seam] - Re: How do I test simple SLSBs?

chuckadams do-not-reply at jboss.com
Thu Aug 31 15:13:06 EDT 2006


A null test using the embedded-ejb3 in seam results in this result from EJB3StandaloneBootstrap.boot(null):

And no, my tests are not parallel.



  | 11:59:39,223 ERROR [AbstractKernelController] Error installing to Start: name=TransactionManagerInitializer state=Create
  | java.lang.NoSuchFieldError: xidFactory
  | 	at org.jboss.tm.TransactionManagerInitializer.start(TransactionManagerInitializer.java:110)
  | 	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:589)
  | 	at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
  | 	at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:107)
  | 	at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
  | 	at org.jboss.kernel.plugins.dependency.KernelControllerContextActions.dispatchJoinPoint(KernelControllerContextActions.java:100)
  | 	at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$LifecycleAction.installAction(KernelControllerContextActions.java:582)
  | 	at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:175)
  | 	at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | 	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
  | 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593)
  | 	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379)
  | 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225)
  | 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151)
  | 	at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:291)
  | 	at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:261)
  | 	at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:117)
  | 	at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:95)
  | 	at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:380)
  | 	at bizint.fiat.test.AbstractEJB3Test.startupEmbeddedJboss(AbstractEJB3Test.java:17)
  | 	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:589)
  | 	at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:552)
  | 	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:322)
  | 	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:156)
  | 	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:223)
  | 	at org.testng.SuiteRunner.run(SuiteRunner.java:145)
  | 	at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:901)
  | 	at org.testng.TestNG.runSuitesLocally(TestNG.java:863)
  | 	at org.testng.TestNG.run(TestNG.java:613)
  | 	at org.testng.eclipse.runner.RemoteTestNG.run(RemoteTestNG.java:85)
  | 	at org.testng.eclipse.runner.RemoteTestNG.main(RemoteTestNG.java:127)
  | Creating C:\workspace\FiatEJB\test-output\Fiat\All.html
  | FAILED: startupEmbeddedJboss
  | java.lang.RuntimeException: java.lang.IllegalArgumentException: Null name
  | 	at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:391)
  | 	at bizint.fiat.test.AbstractEJB3Test.startupEmbeddedJboss(AbstractEJB3Test.java:17)
  | Caused by: java.lang.IllegalArgumentException: Null name
  | 	at org.jboss.dependency.plugins.AbstractController.getContext(AbstractController.java:101)
  | 	at org.jboss.kernel.plugins.dependency.AbstractKernelController.getContext(AbstractKernelController.java:94)
  | 	at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:229)
  | 	at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:161)
  | 	at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:381)
  | 	... 15 more
  | ... Removed 14 stack frames
  | 
  | 


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

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



More information about the jboss-user mailing list