![]() |
![]() |
|
|
Setting Environment Variables for Remote CORBA Clients
For CORBA C++ clients, environment variables can be used to pass information to the system, as follows:
Note: The network address that is specified by programmers in the Bootstrap constructor or in TOBJADDR must exactly match the network address in the server application's UBBCONFIG file. The format of the address as well as the capitalization must match. If the addresses do not match, the call to the Bootstrap constructor will fail with a seemingly unrelated error message:
ERROR: Unofficial connection from client at
<tcp/ip address>/<port-number>:
For example, if the network address is specified as //TRIXIE:3500 in the ISL command line option string (in the server application's UBBCONFIG file), specifying either //192.12.4.6:3500 or //trixie:3500 in the Bootstrap constructor or in TOBJADDR will cause the connection attempt to fail.
On UNIX systems, use the uname -n command on the host system to determine the capitalization used. On Windows 2000 systems, see the host system's Network control panel to determine the capitalization used. Or use the environment variable COMPUTERNAME. For example:
echo %COMPUTERNAME%
![]() |
![]() |
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|