Why and when to perform this task
CORBA C++ clients and servers can access the Interface Repository (IR) through a well-defined API. A program can call the get_interface() method on any object to obtain its interface definition from the IR or get access to the IR by calling resolve_initial_references("InterfaceRepository").
To enable remote access, a C++ application server must be running on the computer where the IR resides. Any C++ application server automatically is able to serve the contents of the IR. If a C++ application server is not available, you can run the C++ IRServer program, wasirsvr.
If a C++ program is run on the same computer where the IR resides, the IR is accessed by the program directly. Otherwise, the IR is accessed remotely using typical CORBA client-server communication.
You can use either of the following APIs to access the IR, regardless of whether the program is running remotely or locally with respect to the IR:
wasirsvr -Dcom.ibm.CORBA.serverListenPort=727
irdump.exe -ORBInitRef InterfaceRepository=corbaloc::host1:727/InterfaceRepository
For more information on the wasirsvr command, see wasirsvr command.
For information on how to stop a server that is running, see WSStopServer command.
For more information on the irdump utility, see irdump utility.