4 Replies Latest reply on Sep 21, 2007 7:39 AM by Mike K

    Using JBPM

    Jarkko Lietolahti Novice

      Hello,
      I'm having some problems with using JBPM inside a seam app. My setup is JSR-168 portlet container, with ear packaged jsf facelet seam ejb3 SeamExtendedManagedPersistencePortletPhaseListener portlets, What i did, was simply copied the todo.jpdl.xml,jbpm.cfg.xml and hibernate.cfg.xml from todo seam example app to my EAR root and setup components.xml

      <component class="org.jboss.seam.core.Jbpm">
       <property name="processDefinitions">todo.jpdl.xml</property>
       </component>
      


      On startup the jbpm is initiliazed. It's pretty confusing the a hibernate.cfg.xml laying at the root of you EAR when there're two other persistance.jars there also. Jbpm initalization seems to pickup import.sql from the other p.jar and thus gives schema export failed errors becase naturally there're no such tables in the jbpm db that're mentioned in the import.sql...


      The problem is that adding a new task works ok (some jbpm related rows appear in the db) but after the add operation when refreshing the list of tasks the following huge stack trace appears.. Also if i reload the page the newly added task is visible in the list, however clicking Done( action="#{todoList.done}") in the task list causes yet another exception storm. The second stack trace is from this one.



      Sorry for the extremly long stack trace ;( , maybe we need foldable (AJAX ;) code/code tag which allows closing/opening the snippet.

      407276 14:53:02,410 ERROR [STDERR] org.hibernate.SessionException: Session is closed!
       at org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:49)
       at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:874)
       at org.hibernate.impl.SessionImpl.load(SessionImpl.java:795)
       at org.hibernate.impl.SessionImpl.load(SessionImpl.java:788)
       at org.jbpm.db.GraphSession.loadProcessInstance(GraphSession.java:258)
       at org.jboss.seam.core.ProcessInstance.getProcessInstance(ProcessInstance.java:42)
       at org.jboss.seam.core.ProcessInstance$$EnhancerByCGLIB$$7ed74d08.CGLIB$getProcessInstance$0(<generated>)
       at org.jboss.seam.core.ProcessInstance$$EnhancerByCGLIB$$7ed74d08$$FastClassByCGLIB$$6dc0d11b.invoke(<generated>)
       at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
       at org.jboss.seam.interceptors.JavaBeanInterceptor$1.proceed(JavaBeanInterceptor.java:87)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:54)
       at org.jboss.seam.interceptors.ValidationInterceptor.validateTargetComponent(ValidationInterceptor.java:64)
       at sun.reflect.GeneratedMethodAccessor648.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:21)
       at sun.reflect.GeneratedMethodAccessor647.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:30)
       at sun.reflect.GeneratedMethodAccessor646.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:49)
       at sun.reflect.GeneratedMethodAccessor644.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:58)
       at sun.reflect.GeneratedMethodAccessor643.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:58)
       at sun.reflect.GeneratedMethodAccessor642.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.TransactionInterceptor.doInTransactionIfNecessary(TransactionInterceptor.java:34)
       at sun.reflect.GeneratedMethodAccessor664.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.ConversationalInterceptor.checkConversationForConversationalBean(ConversationalInterceptor.java:80)
       at sun.reflect.GeneratedMethodAccessor641.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
       at sun.reflect.GeneratedMethodAccessor640.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:44)
       at sun.reflect.GeneratedMethodAccessor639.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.ejb.SeamInterceptor.invokeInContexts(SeamInterceptor.java:170)
       at org.jboss.seam.ejb.SeamInterceptor.invoke(SeamInterceptor.java:143)
       at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:130)
       at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:58)
       at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:46)
       at org.jboss.seam.core.ProcessInstance$$EnhancerByCGLIB$$7ed74d08.getProcessInstance(<generated>)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:82)
       at org.jboss.seam.Component.callComponentMethod(Component.java:1545)
       at org.jboss.seam.Component.unwrap(Component.java:1566)
       at org.jboss.seam.Component.getInstance(Component.java:1432)
       at org.jboss.seam.Component.getInstance(Component.java:1400)
       at org.jboss.seam.Component.getInstance(Component.java:1382)
       at org.jboss.seam.core.ProcessInstance.instance(ProcessInstance.java:58)
       at org.jboss.seam.contexts.BusinessProcessContext.getProcessInstance(BusinessProcessContext.java:200)
       at org.jboss.seam.contexts.BusinessProcessContext.getContextInstance(BusinessProcessContext.java:187)
       at org.jboss.seam.contexts.BusinessProcessContext.get(BusinessProcessContext.java:54)
       at org.jboss.seam.contexts.Contexts.lookupInStatefulConte
      407277 14:53:02,411 ERROR [STDERR] xts(Contexts.java:152)
       at org.jboss.seam.Component.getInstance(Component.java:1392)
       at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
       at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
       at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
       at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
       at com.sun.el.parser.AstEmpty.getValue(AstEmpty.java:49)
       at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
       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:1076)
       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.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:580)
       at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:395)
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:265)
       at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235)
       at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
       at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:89)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:295)
       at com.liferay.portlet.CachePortlet.render(CachePortlet.java:155)
       at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:708)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:948)
       at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:123)
       at com.liferay.portlet.layoutconfiguration.util.velocity.PortletColumnLogic.processContent(PortletColumnLogic.java:76)
       at com.liferay.portlet.layoutconfiguration.util.velocity.TemplateProcessor.processColumn(TemplateProcessor.java:58)
       at sun.reflect.GeneratedMethodAccessor601.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
       at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
       at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
       at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
       at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
       at org.apache.velocity.app.Velocity.evaluate(Velocity.java:316)
       at org.apache.velocity.app.Velocity.evaluate(Velocity.java:210)
       at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:165)
       at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:146)
       at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:414)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:63)
       at org.apache.jsp.html.portal.layout_jsp._jspService(layout_jsp.java:417)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:63)
       at org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp._jspService(portal_005fnormal_jsp.java:1024)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at com.liferay.taglib.util.ThemeUtil.includeJSP(ThemeUtil.java:139)
       at com.liferay.taglib.util.ThemeUtil.include(ThemeUtil.java:93)
       at co
      407277 14:53:02,411 ERROR [STDERR] m.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:58)
       at org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_liferay$1theme_include_1(portal_jsp.java:555)
       at org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_c_otherwise_0(portal_jsp.java:527)
       at org.apache.jsp.html.common.themes.portal_jsp._jspService(portal_jsp.java:433)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
       at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:93)
       at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:214)
       at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
       at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)
       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
       at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:189)
       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
       at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:437)
       at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:825)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:94)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:143)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:115)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at com.liferay.portal.servlet.filters.layoutcache.LayoutCacheFilter.doFilter(LayoutCacheFilter.java:205)
       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.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
       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.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:153)
       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(Thread.java:595)
      407277 14:53:02,411 ERROR [GraphSession] org.hibernate.SessionException: Session is closed!
      407295 14:53:02,429 ERROR [ExceptionInterceptor] redirecting to debug page
      org.jbpm.JbpmException: couldn't load process instance '1'
       at org.jbpm.db.GraphSession.loadProcessInstance(GraphSession.java:263)
       at org.jboss.seam.core.ProcessInstance.getProcessInstance(ProcessInstance.java:42)
       at org.jboss.seam.core.ProcessInstance$$EnhancerByCGLIB$$7ed74d08.CGLIB$getProcessInstance$0(<generated>)
       at org.jboss.seam.core.ProcessInstance$$EnhancerByCGLIB$$7ed74d08$$FastClassByCGLIB$$6dc0d11b.invoke(<generated>)
       at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
       at org.jboss.seam.interceptors.JavaBeanInterceptor$1.proceed(JavaBeanInterceptor.java:87)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:54)
       at org.jboss.seam.interceptors.ValidationInterceptor.validateTargetComponent(ValidationInterceptor.java:64)
       at sun.reflect.GeneratedMethodAccessor648.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:21)
       at sun.reflect.GeneratedMethodAccessor647.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:30)
       at sun.reflect.GeneratedMethodAccessor646.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:49)
       at sun.reflect.GeneratedMethodAccessor644.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:58)
       at sun.reflect.GeneratedMethodAccessor643.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:58)
       at sun.reflect.GeneratedMethodAccessor642.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.TransactionInterceptor.doInTransactionIfNecessary(TransactionInterceptor.java:34)
       at sun.reflect.GeneratedMethodAccessor664.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.ConversationalInterceptor.checkConversationForConversationalBean(ConversationalInterceptor.java:80)
       at sun.reflect.GeneratedMethodAccessor641.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
       at sun.reflect.GeneratedMethodAccessor640.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:44)
       at sun.reflect.GeneratedMethodAccessor639.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.ejb.SeamInterceptor.invokeInContexts(SeamInterceptor.java:170)
       at org.jboss.seam.ejb.SeamInterceptor.invoke(SeamInterceptor.java:143)
       at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:130)
       at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:58)
       at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:46)
       at org.jboss.seam.core.ProcessInstance$$EnhancerByCGLIB$$7ed74d08.getProcessInstance(<generated>)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:82)
       at org.jboss.seam.Component.callComponentMethod(Component.java:1545)
       at org.jboss.seam.Component.unwrap(Component.java:1566)
       at org.jboss.seam.Component.getInstance(Component.java:1432)
       at org.jboss.seam.Component.getInstance(Component.java:1400)
       at org.jboss.seam.Component.getInstance(Component.java:1382)
       at org.jboss.seam.core.ProcessInstance.instance(ProcessInstance.java:58)
       at org.jboss.seam.contexts.BusinessProcessContext.getProcessInstance(BusinessProcessContext.java:200)
       at org.jboss.seam.contexts.BusinessProcessContext.getContextInstance(BusinessProcessContext.java:187)
       at org.jboss.seam.contexts.BusinessProcessContext.get(BusinessProcessContext.java:54)
       at org.jboss.seam.contexts.Contexts.lookupInStatefulContexts(Contexts.java:152)
       at org.jboss.seam.Component.getInstance(Component.java:1392)
       at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
       at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
       at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
       at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
       at com.sun.el.parser.AstEmpty.getValue(AstEmpty.java:49)
       at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
       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:1076)
       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.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:580)
       at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:395)
       at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:265)
       at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235)
       at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
       at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:89)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:295)
       at com.liferay.portlet.CachePortlet.render(CachePortlet.java:155)
       at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:708)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:948)
       at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:123)
       at com.liferay.portlet.layoutconfiguration.util.velocity.PortletColumnLogic.processContent(PortletColumnLogic.java:76)
       at com.liferay.portlet.layoutconfiguration.util.velocity.TemplateProcessor.processColumn(TemplateProcessor.java:58)
       at sun.reflect.GeneratedMethodAccessor601.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
       at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
       at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
       at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
       at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
       at org.apache.velocity.app.Velocity.evaluate(Velocity.java:316)
       at org.apache.velocity.app.Velocity.evaluate(Velocity.java:210)
       at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:165)
       at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:146)
       at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:414)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:63)
       at org.apache.jsp.html.portal.layout_jsp._jspService(layout_jsp.java:417)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:63)
       at org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp._jspService(portal_005fnormal_jsp.java:1024)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at com.liferay.taglib.util.ThemeUtil.includeJSP(ThemeUtil.java:139)
       at com.liferay.taglib.util.ThemeUtil.include(ThemeUtil.java:93)
       at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:58)
       at org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_liferay$1theme_include_1(portal_jsp.java:555)
       at org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_c_otherwise_0(portal_jsp.java:527)
       at org.apache.jsp.html.common.themes.portal_jsp._jspService(portal_jsp.java:433)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
       at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:93)
       at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:214)
       at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
       at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)
       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
       at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:189)
       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
       at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:437)
       at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:825)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:94)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:143)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:115)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at com.liferay.portal.servlet.filters.layoutcache.LayoutCacheFilter.doFilter(LayoutCacheFilter.java:205)
       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.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
       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.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:153)
       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(Thread.java:595)
      Caused by: org.hibernate.SessionException: Session is closed!
       at org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:49)
       at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:874)
       at org.hibernate.impl.SessionImpl.load(SessionImpl.java:795)
       at org.hibernate.impl.SessionImpl.load(SessionImpl.java:788)
       at org.jbpm.db.GraphSession.loadProcessInstance(GraphSession.java:258)
       ... 256 more



      Stack trace from what happens when i click "Done" on a single task frm the task list.
      1561895 15:12:17,029 ERROR [ExceptionInterceptor] redirecting to debug page
      java.lang.IllegalStateException: begin method invoked from a long running conversation, try using @Begin(join=true)
       at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:45)
       at sun.reflect.GeneratedMethodAccessor947.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:58)
       at sun.reflect.GeneratedMethodAccessor946.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.TransactionInterceptor.doInTransactionIfNecessary(TransactionInterceptor.java:34)
       at sun.reflect.GeneratedMethodAccessor967.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.ConversationalInterceptor.checkConversationForConversationalBean(ConversationalInterceptor.java:80)
       at sun.reflect.GeneratedMethodAccessor945.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
       at sun.reflect.GeneratedMethodAccessor944.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:44)
       at sun.reflect.GeneratedMethodAccessor943.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
       at org.jboss.seam.ejb.SeamInterceptor.invokeInContexts(SeamInterceptor.java:170)
       at org.jboss.seam.ejb.SeamInterceptor.invoke(SeamInterceptor.java:143)
       at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:130)
       at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:58)
       at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:46)
       at fi.tc.business.TodoListBean$$EnhancerByCGLIB$$77b9f196.done(<generated>)
      


        • 1. Re: Using JBPM
          Gavin King Master

          OK, so the second problem looks like your programming bug, you have an @Begin method being called from the scope of an existing (task) conversation. So that looks easy.

          The first one looks to be something to do with transaction management, but without any code its pretty hard to tell.

          (1) show me the facelets page and the rendered="#{....}" value binding that causes the error

          (2) what happens if you completely remove this rendered attribute?

          (3) How are you doing tx management?

          (4) Please show me a debug-level Seam log.

          • 2. Re: Using JBPM
            Gavin King Master

            wrt (3) Oh, I see you are using SeamExtendedManagedPersistencePortletPhaseListener.

            So:

            (5) What happens if you just use SeamPortletPhaseListener?

            • 3. Re: Using JBPM
              Sebastian Rose Newbie

              hello,

              what have you done to get pageflows work within a portlet? we have a few jsf portlets, but pageflows do not work.

              we are using SeamExtendedManagedPersistencePortletPhaseListener and on startup everything works fine (no exception) and the pageflow stuff is initialized. we have a start method in the session bean with the @begin tag. the pageflow seems to work, but the next page (login.xhtml) in our example is not rendered. instead the browser comes up with a download box and you can choose where to save the page login.xhtml.

              i can't find any example with jsf portlets and pageflows. IPC is another point i try to find information about.

              thanks for any help... regards...

              • 4. Re: Using JBPM
                Mike K Newbie

                Hi I would like to get pageflows running in my portlet!
                Is there anyone who managed that?

                Please advise!

                THX, Mike