[jboss-user] [JBoss Seam] - Testng org.jboss.aspects.remoting.Remoting.createPojiProxy n

joeyxxx do-not-reply at jboss.com
Mon Oct 1 11:40:31 EDT 2007


I'm trying to setup testng for a seam-gen generated vanilla project. I've worked thru the embedded, drools and jndi issues and now I have yet another dragon to slay :-(.
I keep getting the following errors in my logs which may indicate that one of my jars may be out of date. Are these benign errors? I'm just invoking a single test generated by seam-gen with no modifications. Ant still returns Build Successful.

  | 
  | [testng] ERROR 01-10 11:27:23,832  [org.jboss.seam.contexts.Contexts.flushAndDestroyContexts():335] could not discover transaction status
  |    [testng] ERROR 01-10 11:27:23,855  [org.jboss.seam.jsf.SeamPhaseListener.beforePhase():122] uncaught exception
  |    [testng] java.lang.RuntimeException: exception invoking: getTransaction
  |    [testng] 	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:135)
  |    [testng] 	at org.jboss.seam.Component.callComponentMethod(Component.java:2083)
  |    [testng] 	at org.jboss.seam.Component.unwrap(Component.java:2109)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1888)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1853)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1830)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1825)
  |    [testng] 	at org.jboss.seam.transaction.Transaction.instance(Transaction.java:36)
  |    [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.restoreViewPhase(BaseSeamTest.java:709)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request.emulateJsfLifecycle(BaseSeamTest.java:576)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request.access$300(BaseSeamTest.java:180)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request$2.doFilter(BaseSeamTest.java:510)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  |    [testng] 	at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  |    [testng] 	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  |    [testng] 	at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request.run(BaseSeamTest.java:505)
  |    [testng] 	at com.baisidirect.test.BalancesActionTest.test(BalancesActionTest.java:10)
  |    [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)
  |    [testng] Caused by: java.lang.reflect.InvocationTargetException
  |    [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.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  |    [testng] 	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
  |    [testng] 	... 54 more
  |    [testng] Caused by: java.lang.NoSuchMethodError: org.jboss.aspects.remoting.Remoting.createPojiProxy(Ljava/lang/Object;[Ljava/lang/Class;Ljava/lang/String;[Lorg/jboss/aop/advice/Interceptor;)Ljava/lang/Object;
  |    [testng] 	at org.jboss.naming.JBossRemotingContextFactory.getInitialContext(JBossRemotingContextFactory.java:166)
  |    [testng] 	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
  |    [testng] 	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
  |    [testng] 	at javax.naming.InitialContext.init(InitialContext.java:223)
  |    [testng] 	at javax.naming.InitialContext.<init>(InitialContext.java:197)
  |    [testng] 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:37)
  |    [testng] 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:50)
  |    [testng] 	at org.jboss.seam.transaction.Transaction.getUserTransaction(Transaction.java:76)
  |    [testng] 	at org.jboss.seam.transaction.Transaction.createUTTransaction(Transaction.java:71)
  |    [testng] 	at org.jboss.seam.transaction.Transaction.getTransaction(Transaction.java:44)
  |    [testng] 	... 60 more
  |    [testng] ERROR 01-10 11:27:23,883  [org.jboss.seam.jsf.SeamPhaseListener.beforePhase():129] swallowing exception
  |    [testng] java.lang.RuntimeException: exception invoking: getTransaction
  |    [testng] 	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:135)
  |    [testng] 	at org.jboss.seam.Component.callComponentMethod(Component.java:2083)
  |    [testng] 	at org.jboss.seam.Component.unwrap(Component.java:2109)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1888)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1853)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1830)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1825)
  |    [testng] 	at org.jboss.seam.transaction.Transaction.instance(Transaction.java:36)
  |    [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.restoreViewPhase(BaseSeamTest.java:709)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request.emulateJsfLifecycle(BaseSeamTest.java:576)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request.access$300(BaseSeamTest.java:180)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request$2.doFilter(BaseSeamTest.java:510)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  |    [testng] 	at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  |    [testng] 	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  |    [testng] 	at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request.run(BaseSeamTest.java:505)
  |    [testng] 	at com.baisidirect.test.BalancesActionTest.test(BalancesActionTest.java:10)
  |    [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)
  |    [testng] Caused by: java.lang.reflect.InvocationTargetException
  |    [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.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  |    [testng] 	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
  |    [testng] 	... 54 more
  |    [testng] Caused by: java.lang.NoSuchMethodError: org.jboss.aspects.remoting.Remoting.createPojiProxy(Ljava/lang/Object;[Ljava/lang/Class;Ljava/lang/String;[Lorg/jboss/aop/advice/Interceptor;)Ljava/lang/Object;
  |    [testng] 	at org.jboss.naming.JBossRemotingContextFactory.getInitialContext(JBossRemotingContextFactory.java:166)
  |    [testng] 	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
  |    [testng] 	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
  |    [testng] 	at javax.naming.InitialContext.init(InitialContext.java:223)
  |    [testng] 	at javax.naming.InitialContext.<init>(InitialContext.java:197)
  |    [testng] 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:37)
  |    [testng] 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:50)
  |    [testng] 	at org.jboss.seam.transaction.Transaction.getUserTransaction(Transaction.java:76)
  |    [testng] 	at org.jboss.seam.transaction.Transaction.createUTTransaction(Transaction.java:71)
  |    [testng] 	at org.jboss.seam.transaction.Transaction.getTransaction(Transaction.java:44)
  |    [testng] 	... 60 more
  |    [testng] ERROR 01-10 11:27:23,905  [org.jboss.seam.jsf.SeamPhaseListener.beforePhase():122] uncaught exception
  |    [testng] java.lang.RuntimeException: exception invoking: getTransaction
  |    [testng] 	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:135)
  |    [testng] 	at org.jboss.seam.Component.callComponentMethod(Component.java:2083)
  |    [testng] 	at org.jboss.seam.Component.unwrap(Component.java:2109)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1888)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1853)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1830)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1825)
  |    [testng] 	at org.jboss.seam.transaction.Transaction.instance(Transaction.java:36)
  |    [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:694)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request.emulateJsfLifecycle(BaseSeamTest.java:579)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request.access$300(BaseSeamTest.java:180)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request$2.doFilter(BaseSeamTest.java:510)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  |    [testng] 	at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  |    [testng] 	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  |    [testng] 	at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request.run(BaseSeamTest.java:505)
  |    [testng] 	at com.baisidirect.test.BalancesActionTest.test(BalancesActionTest.java:10)
  |    [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)
  |    [testng] Caused by: java.lang.reflect.InvocationTargetException
  |    [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.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  |    [testng] 	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
  |    [testng] 	... 54 more
  |    [testng] Caused by: java.lang.NoSuchMethodError: org.jboss.aspects.remoting.Remoting.createPojiProxy(Ljava/lang/Object;[Ljava/lang/Class;Ljava/lang/String;[Lorg/jboss/aop/advice/Interceptor;)Ljava/lang/Object;
  |    [testng] 	at org.jboss.naming.JBossRemotingContextFactory.getInitialContext(JBossRemotingContextFactory.java:166)
  |    [testng] 	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
  |    [testng] 	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
  |    [testng] 	at javax.naming.InitialContext.init(InitialContext.java:223)
  |    [testng] 	at javax.naming.InitialContext.<init>(InitialContext.java:197)
  |    [testng] 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:37)
  |    [testng] 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:50)
  |    [testng] 	at org.jboss.seam.transaction.Transaction.getUserTransaction(Transaction.java:76)
  |    [testng] 	at org.jboss.seam.transaction.Transaction.createUTTransaction(Transaction.java:71)
  |    [testng] 	at org.jboss.seam.transaction.Transaction.getTransaction(Transaction.java:44)
  |    [testng] 	... 60 more
  |    [testng] ERROR 01-10 11:27:23,911  [org.jboss.seam.jsf.SeamPhaseListener.afterPhase():189] uncaught exception
  |    [testng] java.lang.IllegalStateException: Could not commit transaction
  |    [testng] 	at org.jboss.seam.jsf.SeamPhaseListener.commitOrRollback(SeamPhaseListener.java:592)
  |    [testng] 	at org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsAfterPhase(SeamPhaseListener.java:325)
  |    [testng] 	at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:226)
  |    [testng] 	at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:184)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request.applyRequestValuesPhase(BaseSeamTest.java:703)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request.emulateJsfLifecycle(BaseSeamTest.java:579)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request.access$300(BaseSeamTest.java:180)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request$2.doFilter(BaseSeamTest.java:510)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  |    [testng] 	at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  |    [testng] 	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  |    [testng] 	at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |    [testng] 	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest$Request.run(BaseSeamTest.java:505)
  |    [testng] 	at com.baisidirect.test.BalancesActionTest.test(BalancesActionTest.java:10)
  |    [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)
  |    [testng] Caused by: java.lang.RuntimeException: exception invoking: getTransaction
  |    [testng] 	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:135)
  |    [testng] 	at org.jboss.seam.Component.callComponentMethod(Component.java:2083)
  |    [testng] 	at org.jboss.seam.Component.unwrap(Component.java:2109)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1888)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1853)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1830)
  |    [testng] 	at org.jboss.seam.Component.getInstance(Component.java:1825)
  |    [testng] 	at org.jboss.seam.transaction.Transaction.instance(Transaction.java:36)
  |    [testng] 	at org.jboss.seam.jsf.SeamPhaseListener.commitOrRollback(SeamPhaseListener.java:579)
  |    [testng] 	... 47 more
  |    [testng] Caused by: java.lang.reflect.InvocationTargetException
  |    [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.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  |    [testng] 	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
  |    [testng] 	... 55 more
  |    [testng] Caused by: java.lang.NoSuchMethodError: org.jboss.aspects.remoting.Remoting.createPojiProxy(Ljava/lang/Object;[Ljava/lang/Class;Ljava/lang/String;[Lorg/jboss/aop/advice/Interceptor;)Ljava/lang/Object;
  |    [testng] 	at org.jboss.naming.JBossRemotingContextFactory.getInitialContext(JBossRemotingContextFactory.java:166)
  |    [testng] 	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
  |    [testng] 	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
  |    [testng] 	at javax.naming.InitialContext.init(InitialContext.java:223)
  |    [testng] 	at javax.naming.InitialContext.<init>(InitialContext.java:197)
  |    [testng] 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:37)
  |    [testng] 	at org.jboss.seam.util.Naming.getInitialContext(Naming.java:50)
  |    [testng] 	at org.jboss.seam.transaction.Transaction.getUserTransaction(Transaction.java:76)
  |    [testng] 	at org.jboss.seam.transaction.Transaction.createUTTransaction(Transaction.java:71)
  |    [testng] 	at org.jboss.seam.transaction.Transaction.getTransaction(Transaction.java:44)
  |    [testng] 	... 61 more
  |    [testng] ERROR 01-10 11:27:23,913  [org.jboss.seam.contexts.Contexts.flushAndDestroyContexts():335] could not discover transaction status
  | 
  | 
  | 
  | 




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

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



More information about the jboss-user mailing list