Re: Conversation Context not active when method called on conversation

Splash Forums PrettyFaces Users Conversation Context not active when method called on conversation Re: Conversation Context not active when method called on conversation

#23373

jllado
Participant

The stacktrace after first call. Stacktrace is obtained by Thread.currentThread().getStackTrace();

INFO: java.lang.Thread.getStackTrace(Thread.java:1567)
INFO: com.javahelp.backingbeans.UserSessionBean.validateUrlParameters(UserSessionBean.java:359)
INFO: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO: java.lang.reflect.Method.invoke(Method.java:601)
INFO: com.sun.el.parser.AstValue.invoke(AstValue.java:254)
INFO: com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
INFO: org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:39)
INFO: org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
INFO: com.ocpsoft.pretty.faces.util.FacesElUtils.invokeMethod(FacesElUtils.java:70)
INFO: com.ocpsoft.pretty.faces.beans.ParameterValidator.validatePathParams(ParameterValidator.java:95)
INFO: com.ocpsoft.pretty.faces.beans.ParameterValidator.validateParameters(ParameterValidator.java:60)
INFO: com.ocpsoft.pretty.faces.event.PrettyPhaseListener.afterPhase(PrettyPhaseListener.java:93)

INFO: com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:189)
INFO: com.sun.faces.lifecycle.Phase.doPhase(Phase.java:107)
INFO: com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116)
INFO: com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
INFO: javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
INFO: org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
INFO: org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
INFO: org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
INFO: com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:145)
INFO: org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
INFO: org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
INFO: org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:807)
INFO: org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
INFO: org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:505)
INFO: org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:476)
INFO: org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:355)
INFO: org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:305)
INFO: com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:119)
INFO: org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
INFO: org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
INFO: org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
INFO: org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
INFO: org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
INFO: org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
INFO: org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
INFO: org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
INFO: org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
INFO: com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
INFO: com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
INFO: com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
INFO: com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
INFO: com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
INFO: com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
INFO: com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
INFO: com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
INFO: com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
INFO: com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
INFO: com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
INFO: com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
INFO: com.sun.grizzly.ContextTask.run(ContextTask.java:71)
INFO: com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
INFO: com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
INFO: java.lang.Thread.run(Thread.java:722)

The stacktrace after second call. It was needed to restart server:

INFO: java.lang.Thread.getStackTrace(Thread.java:1567)
INFO: com.javahelp.backingbeans.UserSessionBean.validateUrlParameters(UserSessionBean.java:359)
INFO: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO: java.lang.reflect.Method.invoke(Method.java:601)
INFO: com.sun.el.parser.AstValue.invoke(AstValue.java:254)
INFO: com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
INFO: org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:39)
INFO: org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
INFO: com.ocpsoft.pretty.faces.util.FacesElUtils.invokeMethod(FacesElUtils.java:70)
INFO: com.ocpsoft.pretty.faces.beans.ParameterValidator.validatePathParams(ParameterValidator.java:95)
INFO: com.ocpsoft.pretty.faces.beans.ParameterValidator.validateParameters(ParameterValidator.java:60)
INFO: com.ocpsoft.pretty.faces.event.PrettyPhaseListener.afterPhase(PrettyPhaseListener.java:93)
INFO: com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:189)
INFO: com.sun.faces.lifecycle.Phase.doPhase(Phase.java:107)
INFO: com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116)
INFO: com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
INFO: javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
INFO: org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
INFO: org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
INFO: org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
INFO: com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:145)
INFO: org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
INFO: org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
INFO: org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:807)
INFO: org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
INFO: org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:505)
INFO: org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:476)
INFO: org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:355)
INFO: org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:305)
INFO: com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:119)
INFO: org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
INFO: org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
INFO: org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
INFO: org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
INFO: org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
INFO: org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
INFO: org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
INFO: org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
INFO: org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
INFO: com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
INFO: com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
INFO: com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
INFO: com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
INFO: com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
INFO: com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
INFO: com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
INFO: com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
INFO: com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
INFO: com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
INFO: com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
INFO: com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
INFO: com.sun.grizzly.ContextTask.run(ContextTask.java:71)
INFO: com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
INFO: com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
INFO: java.lang.Thread.run(Thread.java:722)