glassfish
  1. glassfish
  2. GLASSFISH-2832

JNDI NamingEnumeration close not implemented

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 9.0peur1
    • Fix Version/s: 3.1.2, 4.0
    • Component/s: naming
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      2,832

      Description

      The JNDI close call is not implemented inside the application server.

      I'm running Application Server Platform Edition 9.0_01 (build b02-p01) on
      Windows XP with 1.5.0_11-b03.

      Look at appserv-core/src/java/com/sun/enterprise/naming/NamingManagerImpl.java,
      line 1496, and it explicitly states that close() is not implemented. This is
      part of the NamePairsEnum class and is called as a javax.naming.Context
      interface object.

      This was called from
      org.apache.commons.configuration.JNDIConfiguration.recursiveGetKeys
      (JNDIConfiguration.java:175), part of the Apache Jakarta Commons Configuration
      library.

        Issue Links

          Activity

          Hide
          Cheng Fang added a comment - - edited

          In 3.x workspace the class in question is GlassFishNamingManagerImpl.BindingsIterator, and com.sun.enterprise.naming.impl.NamePairsEnum

          Show
          Cheng Fang added a comment - - edited In 3.x workspace the class in question is GlassFishNamingManagerImpl.BindingsIterator, and com.sun.enterprise.naming.impl.NamePairsEnum
          Hide
          Cheng Fang added a comment -

          Incremental fix, Committed revision 50310. to trunk src/main/java/com/sun/enterprise/naming/impl/GlassfishNamingManagerImpl.java

          Show
          Cheng Fang added a comment - Incremental fix, Committed revision 50310. to trunk src/main/java/com/sun/enterprise/naming/impl/GlassfishNamingManagerImpl.java
          Hide
          Cheng Fang added a comment -

          Committed revision 50331. to branch 3.1.2
          impl/GlassfishNamingManagerImpl.java

          Show
          Cheng Fang added a comment - Committed revision 50331. to branch 3.1.2 impl/GlassfishNamingManagerImpl.java
          Hide
          Cheng Fang added a comment -

          Committed revision 50354. to trunk.
          Sending src/main/java/com/sun/enterprise/naming/impl/GlassfishNamingManagerImpl.java
          Sending src/main/java/com/sun/enterprise/naming/impl/JavaURLContext.java
          Deleting src/main/java/com/sun/enterprise/naming/impl/NamePairsEnum.java
          Sending src/main/java/com/sun/enterprise/naming/impl/SerialContext.java
          Sending src/main/java/com/sun/enterprise/naming/impl/TransientContext.java

          Show
          Cheng Fang added a comment - Committed revision 50354. to trunk. Sending src/main/java/com/sun/enterprise/naming/impl/GlassfishNamingManagerImpl.java Sending src/main/java/com/sun/enterprise/naming/impl/JavaURLContext.java Deleting src/main/java/com/sun/enterprise/naming/impl/NamePairsEnum.java Sending src/main/java/com/sun/enterprise/naming/impl/SerialContext.java Sending src/main/java/com/sun/enterprise/naming/impl/TransientContext.java
          Hide
          Cheng Fang added a comment -

          Committed revision 50355. to branch 3.1.2
          Sending src
          Sending src/main/java/com/sun/enterprise/naming/impl/GlassfishNamingManagerImpl.java
          Sending src/main/java/com/sun/enterprise/naming/impl/JavaURLContext.java
          Deleting src/main/java/com/sun/enterprise/naming/impl/NamePairsEnum.java
          Sending src/main/java/com/sun/enterprise/naming/impl/SerialContext.java
          Sending src/main/java/com/sun/enterprise/naming/impl/TransientContext.java
          Sending src/test/java/com/sun/enterprise/naming/impl/AppTest.java

          Show
          Cheng Fang added a comment - Committed revision 50355. to branch 3.1.2 Sending src Sending src/main/java/com/sun/enterprise/naming/impl/GlassfishNamingManagerImpl.java Sending src/main/java/com/sun/enterprise/naming/impl/JavaURLContext.java Deleting src/main/java/com/sun/enterprise/naming/impl/NamePairsEnum.java Sending src/main/java/com/sun/enterprise/naming/impl/SerialContext.java Sending src/main/java/com/sun/enterprise/naming/impl/TransientContext.java Sending src/test/java/com/sun/enterprise/naming/impl/AppTest.java

            People

            • Assignee:
              Cheng Fang
              Reporter:
              nkunkee
            • Votes:
              4 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: