Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-457

we must not create a SessionContext for static resource reqeusts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • None

    Description

      we currently trigger the creation of a new session in WebBeansConfigurationListener#requestInitialized.

      This leads to unnecessarily creating tons of SessionContexts if a static resource like an image gets requested.

      We should seek a way to either configurably exclude paths from this mechanism or to only create the SessionContext if a SessionContext gets requested inside the BeanManager

      Attachments

        1. OWB-457_rohitk.patch
          8 kB
          Rohit Dilip Kelapure
        2. OWB-457.patch
          6 kB
          Mark Struberg

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: