My Oracle Support Banner

RP/TUX 8.0, TUX 8.1 - Problems with IDL union type (Doc ID 773314.1)

Last updated on JANUARY 19, 2018

Applies to:

Oracle Tuxedo / Tuxedo / 8.0, 8.1
Information in this document applies to any platform


Tuxedo corba idl c++ compiler generates wrong discriminator access member function _d(...). The generated _d function
calls _delete() that puts 0 in _data.  As a result, the data of the union is deleted.  

The java client also has a problem working with the generated classes from idl2java compiler. It gets the following
marshiing error:

CORBA system exception: org.omg.CORBA.MARSHAL:   minor code: 0  completed: No
org.omg.CORBA.MARSHAL:   minor code: 0  completed: No
        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.fillInStackTrace(Compiled Code)
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Exception.<init>(
        at java.lang.RuntimeException.<init>(
        at org.omg.CORBA.SystemException.<init>(
        at org.omg.CORBA.MARSHAL.<init>(
        at org.omg.CORBA.MARSHAL.<init>(
        at org.omg.CORBA.MARSHAL.<init>(
        at com.beasys.CORBA.iiop.CDRInputStream.grow(
        at com.beasys.CORBA.iiop.CDRInputStream.alignAndCheck(Compiled Code)
        at com.beasys.CORBA.iiop.CDRInputStream.read_long(Compiled Code)
        at MyUnionHelper.extract(
        at _SimpleStub.query(
        at SimpleClient.main(


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.