glassfish
  1. glassfish
  2. GLASSFISH-13026

Infinite recursive calls on failed SerialContext.lookup

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Component/s: naming
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Macintosh

    • Issuezilla Id:
      13,026

      Description

      See log.txt from http://hudson.sfbay.sun.com/job/ejb-devtests-v3 runs #103 & #104.

      SerialConetxt.java line 543 has comments before it:

      public Object lookup(String name) throws NamingException

      { ... }

      catch (Exception ex) {
      _logger.log(Level.SEVERE,
      "enterprise_naming.serialctx_communication_exception", name);
      _logger.log(Level.SEVERE, "", ex);

      // temp fix for 6320008
      // this should be removed once we change the transient NS
      // implementation to persistent
      if (ex instanceof java.rmi.MarshalException
      && ex.getCause() instanceof org.omg.CORBA.COMM_FAILURE)

      { provider = null; _logger.fine("Resetting provider to NULL. Will get new obj ref " + "for provider since previous obj ref was stale..."); return lookup(name); <== line 543 }

      else

      { CommunicationException ce = new CommunicationException( "Communication exception for " + this); ce.initCause(ex); throw ce; }

        Issue Links

          Activity

          Hide
          janey added a comment -

          This is causing CTS failures and delaying MS4 promotion. Increase priority to P1.

          Show
          janey added a comment - This is causing CTS failures and delaying MS4 promotion. Increase priority to P1.
          Hide
          janey added a comment -

          cc'ing myself.

          Show
          janey added a comment - cc'ing myself.
          Hide
          Cheng Fang added a comment -

          cts smoke tests passed for me last night with latest glassfish 3.1 hudson build
          (8/19 02:45 EDT), on solsparc.

          Show
          Cheng Fang added a comment - cts smoke tests passed for me last night with latest glassfish 3.1 hudson build (8/19 02:45 EDT), on solsparc.
          Hide
          Cheng Fang added a comment -

          The similar issue in v2: 10397

          Show
          Cheng Fang added a comment - The similar issue in v2: 10397
          Hide
          janey added a comment -

          FWIW, the Hudson CTS job is running on a Solars-x86.

          Show
          janey added a comment - FWIW, the Hudson CTS job is running on a Solars-x86.
          Hide
          Cheng Fang added a comment -

          Lower the priority to P2. The problem ( Infinite recursive calls on failed
          SerialContext.lookup) is no longer there after we reverted 2 orb check-ins last
          time. Ken is working on the orb fix. Once Ken's fix is in, I will look into it
          again.

          Show
          Cheng Fang added a comment - Lower the priority to P2. The problem ( Infinite recursive calls on failed SerialContext.lookup) is no longer there after we reverted 2 orb check-ins last time. Ken is working on the orb fix. Once Ken's fix is in, I will look into it again.
          Hide
          Ken Cavanaugh added a comment -

          Fixed in GF rev 40424. lookup will now recurse at most 5 times before
          giving up.

          Show
          Ken Cavanaugh added a comment - Fixed in GF rev 40424. lookup will now recurse at most 5 times before giving up.

            People

            • Assignee:
              Cheng Fang
              Reporter:
              marina vatkina
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: