RP/TUX 8.0 - WLS IIOP sample fails to compile

(Doc ID 777245.1)

Last updated on NOVEMBER 04, 2016

Applies to:

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

Goal

DESCRIPTION:
Customer fails to compile the sample bundled with 
WebLogic 8.1.3  WL_HOME\samples\server\examples\src\examples\iiop\ejb\stateless\server\tux for Tuxedo 8.0 on HP UNIX.
It works on Windows though, or when they use Tuxedo 8.1 on HP.

To reproduce:
1. ~/lchp5/wls/samples/domains/examples/setExamplesEnv.sh
2. cd  WL_HOME/samples/server/examples/src/examples/iiop/ejb/stateless/server/tux 
3.  ./tux.env
4. ant

[exec] HomeHandle_c.cpp:
     [exec] Error 582: "seq1_StackTraceElement_c.h", line 168 # Initialization of the result of
"java::lang::StackTraceElement *&org::omg::boxedRMI::java::lang::seq1_StackTraceElement_t::operator
[](unsigned long)" requires creating a temporary, yet the temporary's lifetime ends with the return from the
function.
     [exec]     dex) {if (_index > _maximum) throw ::CORBA::BAD_PARAM(); return _data[_index];}
     [exec]                                                                     ^^^^^^^^^^^^^  

The same test works with Tuxedo 8.1.

CONFIGURATION:
WebLogic Server 8.1 with Service Pack 3
Tuxedo 8.0 32 bit
HP UX 11.0

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