myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <>
Subject [jira] Reopened: (EXTCDI-38) @ViewAccessScoped creates new conversation context each time it get's involked via GET
Date Fri, 06 Aug 2010 22:07:17 GMT


Mark Struberg reopened EXTCDI-38:

The problem here is that my page doesn't have any CODI bean at all.

In this case we will get an 'unused' windowContext at the end of the request. We should be
able to clean this up in DefaultWindowContextManager. 

Also I'm not sure if we should really throw an Exception in the case of exceeding the contexts
limit. What about wiping out the context which wasn't used for the longest time instead (+
logging a warning)?

> @ViewAccessScoped creates new conversation context each time it get's involked via GET
> --------------------------------------------------------------------------------------
>                 Key: EXTCDI-38
>                 URL:
>             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(
> 	at org.apache.myfaces.extensions.cdi.javaee.jsf.impl.scope.conversation.DefaultWindowContextManager.createNewWindowContextId(
> 	at org.apache.myfaces.extensions.cdi.javaee.jsf.impl.scope.conversation.DefaultWindowContextManager.getCurrentWindowContext(
> 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.

View raw message