The use of Roguewave SourcePro with the service code on the engine on Solaris.

The use of Roguewave SourcePro with the service code on the engine on Solaris.

book

Article ID: KB0090742

calendar_today

Updated On:

Products Versions
TIBCO DataSynapse GridServer -
Not Applicable -

Description

Resolution:
The use of Roguewave SourcePro (http://www.roguewave.com/sourcepro/sourcepro.cfm) with the service code on the engine on Solaris.

Problem: Service code compiled against Roguewave SourcePro causes the engine to crash and bounce on Solaris.

Solution:

    * Roguewave SourcePro has to be recompiled in a namespace different than "std"

Technical explanation:

    * All service dynamic libraries run in the same process space with Datasynapse libraries.
    * All the Datasynapse libraries are compiled against standard STL (http://en.wikipedia.org/wiki/Standard_Template_Library)libraries.
    * The libdsUtil library is always loaded by the Datasynapse cpp bridge.
    * Roguewave SourcePro has static constructors which make the engine crash when trying to load the library compiled against the Roguewave SourcePro.
    * To use datasynapse libdsUtil.so library, note that Roguewave variables (strings, vectors, etc) are not compatible with standard STL version expected by libdsUtil.so. It is of cource possible to convert them through pure C structures.

Tested on Sparc Solaris 32bit 5.8, SunStudio 11, GridServer 4.2 update 17

Issue/Introduction

The use of Roguewave SourcePro with the service code on the engine on Solaris.