myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (JIRA)" <...@myfaces.apache.org>
Subject [jira] Resolved: (EXTCDI-38) @ViewAccessScoped creates new conversation context each time it get's involked via GET
Date Fri, 06 Aug 2010 17:55:16 GMT

     [ https://issues.apache.org/jira/browse/EXTCDI-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gerhard Petracek resolved EXTCDI-38.
------------------------------------

    Resolution: Invalid

that's intended - see WindowContextConfig#getMaxWindowContextCount

for your jmeter tests you have to use a custom config or configure it via web.xml (org.apache.myfaces.extensions.cdi.MAX_WINDOW_CONTEXT_COUNT)

maybe we should ignore it in case of ProjectStage#SystemTest and ProjectStage#IntegrationTest

> @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.


Mime
View raw message