wasirsvr command

The wasirsvr command starts the CORBA Interface Repository server.

The Interface Repository server provides access to the Interface Repository for CORBA clients. When configured and run on a computer where the Interface Repository database (WASORBIR) resides, the Interface Repository server hosts the Interface Repository root object.

Syntax

wasirsvr or wasirsvr.exe

An alternate way to access the Interface Repository is to use a C++ client or server running on the same computer where the Interface Repository resides. Also, a CORBA client may use the CORBA get_interface method on a CORBA object if that object is hosted on a server with access to the Interface Repository.
The Interface Repository server enables CORBA clients and servers to access an Interface Repository by calling the ORB::resolve_initial_references method with the argument, "InterfaceRepository" as defined by CORBA.
The Interface Repository server must be configured to listen on a specific port. The client must be configured to look for the Interface Repository service on the server's host and port.
Start wasirsvr with a specific listening port by setting the com.ibm.CORBA.serverListenPort property. For example to start the server and tell it to listen on port 727, enter the following command:
wasirsvr -Dcom.ibm.CORBA.serverListenPort=727
On the client, call ORB_init with the -ORBInitRef argument, followed by "InterfaceRepository=" and a corbaloc URL that specifies the server's host and listening port.
For example, if wasirsvr is running on "host1", the client program, irdump, can be run by the command:
irdump.exe -ORBInitRef InterfaceRepository=corbaloc::host1:727/InterfaceRepository

Note: If the Interface Repository resides on the same computer as the client, the client's ORB accesses the Interface Repository directly without using the server.

Examples


1-H:/d0237.01/src: wasirsvr
CORB1162I:
Interface Repository server listening...
For further information on accessing the CORBA Interface Repository, see "Accessing the CORBA Interface Repository".
For further information on the irdump utility, see "irdump utility".

Related tasks
Accessing the CORBA Interface Repository
Related reference
irdump utility



Searchable topic ID:   rcor_wasirsvr
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_wasirsvr.html

Library | Support | Terms of Use | Feedback