glassfish
  1. glassfish
  2. GLASSFISH-20407

GlassFish "client without the ACC" mode incorrectly returns a value for java:comp/InAppClientContainer

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0_b86_RC2
    • Fix Version/s: 4.0_b87_RC3
    • Component/s: naming
    • Labels:
      None

      Description

      This issue relates to the GlassFish Java SE client, as documented in
      http://docs.oracle.com/cd/E18930_01/html/821-2418/gkusn.html#scrolltoc

      If my application creates an InitialContext and does a JNDI lookup of java:comp/InAppClientContainer then I get a value of false.

      This is incorrect. There should only be a value bound at this location if the application is running in a Java EE container. However this is not a Java EE container. It's (obviously) not a web or EJB container, and the product documentation describes this as "without the ACC" and so this is not an application client container either. So by returning a value at this location GlassFish is returning misleading information, since clients cannot use it to find out which container they are running in.

        Activity

        Hide
        guojun.shan added a comment -

        it seems this is a clarification for GLASSFISH-19052.

        Show
        guojun.shan added a comment - it seems this is a clarification for GLASSFISH-19052 .
        Hide
        guojun.shan added a comment -

        fixed At revision: 61695

        Show
        guojun.shan added a comment - fixed At revision: 61695

          People

          • Assignee:
            guojun.shan
            Reporter:
            Nigel Deakin
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: