0 Replies Latest reply on Jan 30, 2013 7:20 AM by arjun e

    no transaction: java.lang.UnsupportedOperationException: no transaction

    arjun e Newbie

           Hi Everyone,

       

        

           I am getting the following error when I try to place seam 2.2.0 GA app ( running fine on Jboss 5) on Jboss 7.1.1 final

           ( In this app, Seam uses Asynchronous methods with the Quartz Dispatcher ).

       

           Could anyone help on this ???

       

       

      13:34:18,793 ERROR [com.AddressBatchValidationTask] (DefaultQuartzScheduler_Worker-1) no transaction: java.lang.UnsupportedOperationException: no transaction

      at org.jboss.seam.transaction.NoTransaction.begin(NoTransaction.java:36) [jboss-seam.jar:2.2.0.GA]

      at com.AddressBatchValidationTask$TransactionalOp.startTransaction(AddressBatchValidationTask.java:806) [classes:]

      at com.AddressBatchValidationTask$TransactionalOp.run(AddressBatchValidationTask.java:786) [classes:]

      at com.AddressBatchValidationTask.doValidate(AddressBatchValidationTask.java:322) [classes:]

      at com.AddressBatchValidationTask.validate(AddressBatchValidationTask.java:149) [classes:]

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_21]

      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.6.0_21]

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.6.0_21]

      at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.6.0_21]

      at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam.jar:2.2.0.GA]

      at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32) [jboss-seam.jar:2.2.0.GA]

      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) [jboss-seam.jar:2.2.0.GA]

      at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28) [jboss-seam.jar:2.2.0.GA]

      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam.jar:2.2.0.GA]

      at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77) [jboss-seam.jar:2.2.0.GA]

      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam.jar:2.2.0.GA]

      at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) [jboss-seam.jar:2.2.0.GA]

      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam.jar:2.2.0.GA]

      at org.jboss.seam.async.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:52) [jboss-seam.jar:2.2.0.GA]

      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam.jar:2.2.0.GA]

      at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) [jboss-seam.jar:2.2.0.GA]

      at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185) [jboss-seam.jar:2.2.0.GA]

      at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103) [jboss-seam.jar:2.2.0.GA]

      at com.AddressBatchValidationTask_$$_javassist_seam_26.validate(AddressBatchValidationTask_$$_javassist_seam_26.java) [classes:]

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_21]

      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.6.0_21]

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.6.0_21]

      at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.6.0_21]

      at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam.jar:2.2.0.GA]

      at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam.jar:2.2.0.GA]

      at org.jboss.seam.async.AsynchronousInvocation$1.process(AsynchronousInvocation.java:62) [jboss-seam.jar:2.2.0.GA]

      at org.jboss.seam.async.Asynchronous$ContextualAsynchronousRequest.run(Asynchronous.java:80) [jboss-seam.jar:2.2.0.GA]

      at org.jboss.seam.async.AsynchronousInvocation.execute(AsynchronousInvocation.java:44) [jboss-seam.jar:2.2.0.GA]

      at org.jboss.seam.async.QuartzDispatcher$QuartzJob.execute(QuartzDispatcher.java:243) [jboss-seam.jar:2.2.0.GA]

      at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz.jar:1.6.0]

      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529) [quartz.jar:1.6.0]