Data Transformation Engine Services Guide

Chapter 4 – Start-up and Configuration Scripts
21
Chapter 4 – Start-up and
Configuration Scripts
The NonStop DTE CORBA Transformation Server can be started as a PATHWAY server class or a
standalone server. Sample configuration scripts (start_dtecorba.sh and stop_dtecorba.sh) are provided to
start the NonStop
DTE CORBA Transformation Server in the PATHWAY environment. To the run
NonStop DTE CORBA Transformation Server as a standalone OSS process, change to the directory
where the dteorbserv executable is located and execute the following sample OSS shell command:
./dteorbserv -ORBprofile tcp_server
Before a CORBA client can use the NonStop
DTE CORBA Transformation Server to transform data,
the NonStop
DTE CORBA Transformation Server service has to be started through these scripts and the
maps have to be copied to the same directory as the server executable (dteorbserv).
After the NonStop DTE CORBA Transformation Server starts, it either advertises itself by using the
CORBA naming service or saves the servant's reference in the DTEORBServ.ior file. If the CORBA
naming service is available, the operation should succeed. If the operation fails, the DTE CORBA
Transformation Server creates DTEORBServ.ior file and saves the server object reference there. If
the CORBA naming service is not available, the client has to copy the DTEORBServ.ior file to the
directory of its executable prior to the execution.
Configuring Map Caching in the NonStop DTE
CORBA Transformation Server
The NonStop DTE CORBA Transformation Server can cache the maps to improve performance. It uses
the LRU algorithm to maintain the maps cached in memory. Map caching can be enabled by introducing
a new ORB property called PreloadMaps in the entity through which the dteorbserv is started. The
PreloadMaps value indicates the number of maps to be cached in the memory. The NonStop DTE
CORBA Transformation Server picks up the PreloadMaps value from the ORB entity through which it
is started.
For example, if the server is started as follows:
dteorbserv -ORBprofile tcp_server