RP/TUX 9.1 - [CORBA] The stub code which is generated by idl can NOT be compiled successfully

(Doc ID 777900.1)

Last updated on NOVEMBER 04, 2016

Applies to:

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

Goal

DESCRIPTION:
The IDL compiler has different behavior between GA and RP063. 
The stub code which is generated by IDL is different and the stub code which is generated by RP063 can NOT compile
successfully.

The following is the detailed different information:
diff obvSimpleException_c_GA.cpp  obvSimpleException_c_RP063.cpp
585c585
<     mb.MarshalValue(::VSimple::_tc_Person, _obj->child());
---
>     mb << _obj->child();
595,597c595,599
<         ::CORBA::ValueBase_ptr obj;
<         mb.UnMarshalValue(::VSimple::_tc_Person, obj);
<         _obj->child(::VSimple::Person::_downcast(obj));
---
>         ::VSimple::Person _val;
>         mb >> _val;
>         if  (mb.status() != OBB_SUCCESS)
>             return mb;
>         _obj->child(_val);

CONFIGURATION:
TUXEDO 9.1
JOLT 9.1

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