Uploaded image for project: 'Seam Faces'
  1. Seam Faces
  2. SEAMFACES-182

BeanManager from ServletContext in RewriteConfiguration is NULL with OWB

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Out of Date
    • Affects Version/s: 3.0.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Tomcat 7, OWB 1.1.0, MyFaces 2.0.5 or 2.1.1, SeamFaces 3.0.1, SeamPersistence 3.0.0, SeamXmlConfig 3.0.0

    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Replace

      BeanManager beanManager = (BeanManager) sc.getAttribute(BeanManagerServletContextListener.BEANMANAGER_SERVLETCONTEXT_KEY);

      with

      BeanManager beanManager = new BeanManagerLocator().getBeanManager();

      Show
      Replace BeanManager beanManager = (BeanManager) sc.getAttribute(BeanManagerServletContextListener.BEANMANAGER_SERVLETCONTEXT_KEY); with BeanManager beanManager = new BeanManagerLocator().getBeanManager();

      Description

      BeanManager from ServletContext in RewriteConfiguration is NULL.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tandraschko Thomas Andraschko
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: