[jboss-user] [JBoss Seam] - Seam 2.0 Beta booking test

urswag do-not-reply at jboss.com
Fri Aug 10 08:20:04 EDT 2007


When I run the tests for the
booking example of Seam 2.0 is get now an unbound transaction error.
What could be not correctly configured? Thanks


  |    [testng] ERROR 10-08 14:11:44,809 (DebugPageHandler.java:handle:23)  -redirecting to debug page
  |    [testng] javax.naming.NameNotFoundException: EjbTransaction not bound
  |    [testng] 	at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
  |    [testng] 	at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
  |    [testng] 	at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
  |    [testng] 	at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
  |    [testng] 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:628)
  |    [testng] 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:590)
  |    [testng] 	at javax.naming.InitialContext.lookup(InitialContext.java:351)
  |    [testng] 	at org.jboss.seam.Component.instantiateSessionBean(Component.java:1173)
  |    [testng] 	at org.jboss.seam.Component.instantiate(Component.java:1159)
  |    [testng] 	at org.jboss.seam.Component.newInstance(Component.java:1849)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1756)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1735)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1712)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1707)
  |    [testng] 	at org.jboss.seam.transaction.Transaction.instance(Transaction.java:96)
  |    [testng] 	at org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsBeforePhase(SeamPhaseListener.java:301)
  |    [testng] 	at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:142)
  |    [testng] 	at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request.applyRequestValuesPhase(BaseSeamTest.java:657)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request.emulateJsfLifecycle(BaseSeamTest.java:547)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request.run(BaseSeamTest.java:487)
  |    [testng] 	at org.jboss.seam.example.booking.test.ChangePasswordTest.testChangePassword(ChangePasswordTest.java:52)
  |    [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:604)
  |    [testng] 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:470)
  |    [testng] 	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:564)
  |    [testng] 	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:830)
  |    [testng] 	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
  |    [testng] 	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
  |    [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)
  | 

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

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



More information about the jboss-user mailing list