RP/TUX 9.1 - Exception in remote operation does not propagate back to the caller with CORBA::ORB::get_next_response

(Doc ID 778234.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Tuxedo / Tuxedo / 9.1
Information in this document applies to any platform

Goal

DESCRIPTION:
With Tuxedo 9.1, Exception in remote operation does NOT propagate back to the caller contrary to prior release.

Find here below client outputs of reproducer.

   With Tuxedo 9.1:
      $ simple2_client
      String?ExceptionToRaise
      before _create_request
      after _create_request
      after send_deferred
      before get_next_response
      after get_next_response
      after env
      No exception raised
      After invoking v_lower : exceptiontoraise
      $ 

   With prior release:
      $ simple2_client
      String?ExceptionToRaise
      before _create_request
      after _create_request
      after send_deferred
      before get_next_response
      after get_next_response
      after env
      EXCEPTION raised  :   IDL:beasys.com/Simple2/IsStringExpected2:1.0
      After invoking v_lower : exceptiontoraise
      $

In ULOG file for both releases you have:
         simple2_server.5332.3860.0: String to UPPER : ExceptionToRaise                              
         simple2_server.5332.3860.0: Before find_simple                                              
         simple2_server.5332.3860.0: Before _create_request                                          
         simple2_server.5332.3860.0: Before send_deferred                                            
         simple2_server.5332.3860.0: After send_deferred                                             
         simple_server.4104.3212.0: String to UPPER : ExceptionToRaise                               
         simple_server.4104.3212.0: throwing IsStringExpected as EXCEPTION                           
         simple2_server.5332.3860.0: After get_next_response                                         
         simple2_server.5332.3860.0: EXCEPTION raised  :            IDL:beasys.com/Simple/IsStringExpected:1.0
         simple2_server.5332.3860.0: throwing IsStringExpected2 as EXCEPTION                         
         simple2_server.5332.3860.0: String to LOWER : ExceptionToRaise                              

CONFIGURATION:
Tuxedo 9.1 32 bits with patch level lower than 099

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms