Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6923

org.omg.CORBA.TIMEOUT is not handled with Jacorb implementation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.6
    • Fix Version/s: 3.0.10, 3.1.7, 3.2.0
    • Component/s: CORBA Binding
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When using Jacorb as ORB implementation at client side:

      System.setProperty("org.omg.CORBA.ORBClass", "org.jacorb.orb.ORB");
      System.setProperty("org.omg.CORBA.ORBSingletonClass", "org.jacorb.orb.ORBSingleton");
      

      we can set jacorb.connection.client.pending_reply_timeout system property that configures client-side to throw org.omg.CORBA.TIMEOUT when timeout occurs while waiting for reply.

      The problem is different implementation of DII request code:

      com.sun.corba.se.impl.corba.RequestImpl#doInvocation()
      } catch( SystemException ex ) {
          _env.exception(ex);
          // NOTE: The exception should not be thrown.
          // However, JDK 1.4 and earlier threw the exception,
          // so we keep the behavior to be compatible.
          throw ex;
      
      org.jacorb.orb.dii.Request#_invoke()
      catch (Exception e)
      {
         if (logger.isDebugEnabled ())
         {
            logger.debug("DII Request caught Exception", e);
         }
          env.exception (e);
          break;
      }
      

      PR + test soon

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ffang Freeman Fang
                Reporter:
                gzres Grzegorz Grzybek
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: