Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 9.1pe
    • Fix Version/s: 9.1pe_dev
    • Component/s: web_container
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1,508
    • Status Whiteboard:
      Hide

      fixed-pwc12

      Show
      fixed-pwc12

      Description

      FileDirContext uses an unsynchronized hash map for its fileCache, which can lead
      to race conditions when access by multiple threads. It should use an instance
      of Collections.synchronizedMap(new WeakHashMap()).

        Activity

        Hide
        jluehe added a comment -

        Checking in FileDirContext.java;
        /cvs/glassfish/appserv-webtier/src/java/org/apache/naming/resources/FileDirContext.java,v
        <-- FileDirContext.java
        new revision: 1.6; previous revision: 1.5
        done

        Show
        jluehe added a comment - Checking in FileDirContext.java; /cvs/glassfish/appserv-webtier/src/java/org/apache/naming/resources/FileDirContext.java,v <-- FileDirContext.java new revision: 1.6; previous revision: 1.5 done
        Hide
        gfbugbridge added a comment -

        <BT6493663>

        Show
        gfbugbridge added a comment - <BT6493663>
        Hide
        kmeduri added a comment -

        Merged the fix to PWC12Dev_Branch:

        Checking in
        appserv-webtier/src/java/org/apache/naming/resources/FileDirContext.java;
        /cvs/glassfish/appserv-webtier/src/java/org/apache/naming/resources/FileDirContext.java,v
        <-- FileDirContext.java
        new revision: 1.5.16.1; previous revision: 1.5
        done

        Show
        kmeduri added a comment - Merged the fix to PWC12Dev_Branch: Checking in appserv-webtier/src/java/org/apache/naming/resources/FileDirContext.java; /cvs/glassfish/appserv-webtier/src/java/org/apache/naming/resources/FileDirContext.java,v <-- FileDirContext.java new revision: 1.5.16.1; previous revision: 1.5 done

          People

          • Assignee:
            jluehe
            Reporter:
            Scott Oaks
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: