You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mark Struberg (JIRA)" <de...@myfaces.apache.org> on 2010/08/06 16:26:16 UTC
[jira] Commented: (EXTCDI-38) @ViewAccessScoped creates new
conversation context each time it get's involked via GET
[ https://issues.apache.org/jira/browse/EXTCDI-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896045#action_12896045 ]
Mark Struberg commented on EXTCDI-38:
-------------------------------------
here is the full stacktrace. It seems that the DefaultWindowContextManager#cleanup() is a bit too engaged:
java.lang.RuntimeException: Too many active Windows/Tabs have been opened! Please continue with one of the existing windows or wait up to 60 minutes.
at org.apache.myfaces.extensions.cdi.javaee.jsf.impl.util.ExceptionUtils.tooManyOpenWindowException(ExceptionUtils.java:28)
at org.apache.myfaces.extensions.cdi.javaee.jsf.impl.scope.conversation.DefaultWindowContextManager.createNewWindowContextId(DefaultWindowContextManager.java:227)
at org.apache.myfaces.extensions.cdi.javaee.jsf.impl.scope.conversation.DefaultWindowContextManager.getCurrentWindowContext(DefaultWindowContextManager.java:207)
at sun.reflect.GeneratedMethodAccessor465.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.webbeans.intercept.InterceptorHandler.invoke(InterceptorHandler.java:283)
at org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.invoke(NormalScopedBeanInterceptorHandler.java:98)
at org.apache.myfaces.extensions.cdi.javaee.jsf.impl.scope.conversation.DefaultWindowContextManager_$$_javassist_25.getCurrentWindowContext(DefaultWindowContextManager_$$_javassist_25.java)
at org.apache.myfaces.extensions.cdi.javaee.jsf.impl.util.ConversationUtils.restoreInformationOfRequest(ConversationUtils.java:263)
at org.apache.myfaces.extensions.cdi.javaee.jsf.impl.scope.conversation.DefaultWindowContextManager.cleanup(DefaultWindowContextManager.java:124)
at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.webbeans.intercept.InterceptorHandler.invoke(InterceptorHandler.java:283)
at org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.invoke(NormalScopedBeanInterceptorHandler.java:98)
at org.apache.myfaces.extensions.cdi.javaee.jsf.impl.scope.conversation.DefaultWindowContextManager_$$_javassist_25.cleanup(DefaultWindowContextManager_$$_javassist_25.java)
at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:256)
at org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:441)
at org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:401)
at org.apache.webbeans.event.EventImpl.fire(EventImpl.java:74)
at org.apache.myfaces.extensions.cdi.javaee.jsf.impl.listener.phase.JsfRequestLifecycleBroadcaster.broadcastAfterEvent(JsfRequestLifecycleBroadcaster.java:66)
at org.apache.myfaces.extensions.cdi.javaee.jsf.impl.listener.phase.JsfRequestLifecyclePhaseListener.afterPhase(JsfRequestLifecyclePhaseListener.java:44)
at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:111)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:185)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at org.apache.myfaces.extensions.cdi.javaee.jsf2.impl.listener.phase.CodiLifecycleWrapper.execute(CodiLifecycleWrapper.java:55)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
> @ViewAccessScoped creates new conversation context each time it get's involked via GET
> --------------------------------------------------------------------------------------
>
> Key: EXTCDI-38
> URL: https://issues.apache.org/jira/browse/EXTCDI-38
> Project: MyFaces CODI
> Issue Type: Bug
> Components: JEE-JSF12-Module, JEE-JSF20-Module
> Affects Versions: 1.0.0-SNAPSHOT
> Reporter: Mark Struberg
>
> When a page gets invoked via a direct GET, I get the following Exception pretty quickly while testing with jmeter:
> java.lang.RuntimeException: Too many active Windows/Tabs have been opened! Please continue with one of the existing windows or wait up to 60 minutes.
> at org.apache.myfaces.extensions.cdi.javaee.jsf.impl.util.ExceptionUtils.tooManyOpenWindowException(ExceptionUtils.java:28)
> at org.apache.myfaces.extensions.cdi.javaee.jsf.impl.scope.conversation.DefaultWindowContextManager.createNewWindowContextId(DefaultWindowContextManager.java:227)
> at org.apache.myfaces.extensions.cdi.javaee.jsf.impl.scope.conversation.DefaultWindowContextManager.getCurrentWindowContext(DefaultWindowContextManager.java:207)
> My page is a typical search page which is @ViewScoped, so no context handling is needed at all in this case.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.