hehe, I am one step further now but I ran into the next problem right away :) The TaskLists do work fine now but when a method annotated with @CreateProcess is executed I am getting this Exception again: Caused by: java.lang.IllegalStateException: JbpmContext may only be used inside a transaction | at org.jboss.seam.core.ManagedJbpmContext.getJbpmContext(ManagedJbpmContext.java:71) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | at org.jboss.seam.Component.callComponentMethod(Component.java:1182) | at org.jboss.seam.Component.unwrap(Component.java:1198) | at org.jboss.seam.Component.getInstance(Component.java:1120) | at org.jboss.seam.Component.getInstance(Component.java:1097) | at org.jboss.seam.Component.getInstance(Component.java:1084) | at org.jboss.seam.core.ManagedJbpmContext.instance(ManagedJbpmContext.java:112) | at org.jboss.seam.interceptors.BusinessProcessInterceptor.createProcess(BusinessProcessInterceptor.java:125) | at org.jboss.seam.interceptors.BusinessProcessInterceptor.afterInvocation(BusinessProcessInterceptor.java:107) | at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45) | at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:51) | at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:39) | at com.broadcore.broadview.TaskList$$EnhancerByCGLIB$$f7beb325.createTodo(<generated>) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at com.sun.el.parser.AstValue.invoke(AstValue.java:130) | at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:274) | at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) | at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69) Now I have already tried to annotate the very same method with @Transactional as well as the whole class but the same Exception is thrown no matter what.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939024#3939024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939024 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
