CORBA 2.3.7 Programmer's Guide for C++
Running NSDAdminServer and NSDEnvironServer
The NSDAdminServer is started by the NonStop CORBA installer, and it must be running before you can use the
NonStop Distributed Component Console. If it is stopped for any reason, it must be restarted as described in the
NonStop CORBA 2.3.7 Administration Guide. The NSDEnvironServer is started on demand by the
NSDAdminServer, and you generally do not need to start it.
Application Profiles: Configuring and Managing an Application
To configure your application, you set up your application's profile (the profile@ORB database entity) using the
cfgmgt tool. You use the -ORBprofile profile argument to find an application's configuration in the
NonStop CORBA configuration database. More than one application may use a given profile@ORB entity, but
the entity may not be shared if it is a direct TCP server (that is, tcp_server_true, but not
use_comm_server), or if it is a TS/MP server in a different server class. Also, applications obviously must not
have any conflicting configuration needs in order to share a profile@ORB database entity.
If no -ORBprofile argument is passed in the run command to a NonStop CORBA application, the
default@ORB entity is used. This entity acts as a subsystem configuration domain for any settings not found in an
application's profile@ORB entity.
If you don't set them in the application's profile, the default@ORB entity sets the log filename, trace filename,
url_path name, and interface repository filename. See the NonStop CORBA 2.3.7 Administration Guide for a
complete listing of the default@ORB entity settings.
profile@ORB Server Transport Protocols
Several of the server transport protocol settings are interrelated, and you must use caution when setting them. You
may wish to refer to Writing Scalable Applications for a discussion of how the choice of server transport protocols
affects application design. The rules are:
tcp_server {true | false}
Default is false. If set to true, you must either set use_comm_server true (called indirect TCP server) or
set both host_name and port_number.
use_comm_server {true | false}
Default is false. If set to true, then tcp_server must also be set to true. When tcp_server and
use_comm_server are set to true, you can set either tsmp_server to true, or fs_server to true, or
both.
host_name {DNS-name | IP-address}
You must specify a name or a TCP/IP address if tcp_server is true and use_comm_server is false.
DNS-name represents the name form of the address, and IP-address represents the numeric (dot-decimal)
form of the address.
port_number number
You must specify a port number if tcp_server is true and use_comm_server is set to false.
tcp_process tcp-process-name
If use_comm_server is set to false, you must supply a host_name. If the host_name is not associated
with the default TCP process ($ZTC0), you must specify the associated tcp_process name.
tsmp_server {true | false}