Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5089

ApplicationScoped Object is instantiated twice

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.1.2.Final (EAP)
    • CDI / Weld, REST
    • None
    • Hide

      Deploy attached project to EAP6
      point browser to http://localhost:8080/jboss-javaee6-webapp/rest/events
      As can be seen from the logs EventCache object is instantiated 2 times

      Show
      Deploy attached project to EAP6 point browser to http://localhost:8080/jboss-javaee6-webapp/rest/events As can be seen from the logs EventCache object is instantiated 2 times

      Using the jboss-javaee6-webapp quickstart project
      Created EventCache ApplicationScoped object
      Injected into EventService Rest endpoint
      Deployed to EAP6 using JDStudio

      pointed browser to http://localhost:8080/jboss-javaee6-webapp/rest/events
      As can be seen from the logs EventCache object is instantiated 2 times

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              apovodyrev andrei povodyrev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: