Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4094891

activation: unable to retry call if cached connection to server is used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.2.0
    • 1.1, 1.2.0
    • core-libs
    • None
    • 1.2beta3
    • x86, sparc
    • solaris_2.5, solaris_2.5.1, windows_nt
    • Not verified

      If the transport uses a cached connection and the endpoint of the connection
      has failed, the error shows up as an UnmarshalException and the ActivatableRef
      will not retry the call (it should only retry calls if the call cannot reach
      the server).

      If the StreamRemoteCall flushes the output stream after writing the call
      header, it can throw a java.rmi.ConnectException so that a higher level
      (UnicastRef or ActivatableRef) can attempt to reestablish the connection.

      Also note that in ActivatableRef, a call should not be retried if a
      MarshalException occurs since it is unknown whether the bytes were actually
      deserialized at the server (this preserves "at most once" call semantics).

            acolleysunw Adrian Colley (Inactive)
            awollratsunw Ann Wollrath (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: