hm, now I am getting this Exception: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.core.PooledTaskInstanceList.getPooledTaskInstanceList(PooledTaskInstanceList.java:33) | at org.jboss.seam.core.PooledTaskInstanceList$$EnhancerByCGLIB$$6b764eda.CGLIB$getPooledTaskInstanceList$0(<generated>) | at org.jboss.seam.core.PooledTaskInstanceList$$EnhancerByCGLIB$$6b764eda$$FastClassByCGLIB$$8400b76c.invoke(<generated>) | at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167) | at org.jboss.seam.interceptors.JavaBeanInterceptor$1.proceed(JavaBeanInterceptor.java:80) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:56) | at org.jboss.seam.interceptors.ValidationInterceptor.validateTargetComponent(ValidationInterceptor.java:64) | 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.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:21) | 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.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:30) | 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.TransactionInterceptor.doInTransactionIfNecessary(TransactionInterceptor.java:35) | 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.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:33) | 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.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:68) | 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.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 org.jboss.seam.core.PooledTaskInstanceList$$EnhancerByCGLIB$$6b764eda.getPooledTaskInstanceList(<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 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:1090) | at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) | at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134) | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:41) | at com.sun.el.parser.AstEmpty.getValue(AstEmpty.java:28) | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:183) | at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56) | at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1151) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:231) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:521) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:372) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:109) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Unknown Source) Do I have to change anything else in order to make it work with your patch? I am still useing the regular SeamPhaseListener, do I have to change that?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938951#3938951 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938951 ------------------------------------------------------- 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
