Uploaded image for project: 'MyFaces CODI'
  1. MyFaces CODI
  2. EXTCDI-38

@ViewAccessScoped creates new conversation context each time it get's involked via GET

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: