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

ApplicationScoped Object is instantiated twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • 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

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: