CORBA provider Context doen't release resources.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 1.4.0, 1.4.2_08, 5.0u5
    • Component/s: core-libs
    • None
    • b45
    • x86, sparc
    • solaris_8, windows_xp

      I'am using The CosNaming provider.
      Calling new InitialContext().bind(...) make a new ORB instance to be created.
      This instance is never cleanup. The number of ReaderThread used increases.
      I provide a simple test case that shows the problem.

       // Step 1: Instantiate the Hello servant
                  HelloImpl helloRef = new HelloImpl();

      while(true) {
                      Context initialNamingContext = new InitialContext();
      initialNamingContext.rebind("HelloService", helloRef );
      initialNamingContext.close();
      System.out.println("Press a key to continue. Check thread stack");
      System.in.read();
      }

            Assignee:
            Jayalaxmi Hangal (Inactive)
            Reporter:
            Jean-Francois Denise (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: