Setting up the CORBA nodes sample

The CORBA nodes sample contains a single message flow that can be deployed on IBM Integration Bus. The message flow is under the CORBANodesSampleFlows project and is called StockWarehouseClient.msgflow

You might see the following warning message about the CORBARequest nodes:

Data location: The RequestData element in XPath $LocalEnvironment/RequestData was not found in the XML Schema.

You can ignore this message because the RequestData folder is not contained in the XML Schema.

The Interface Definition Language (IDL) file that is used by the message flow is under the CORBANodesSampleMS message set project and is called StockControlInterface.idl

The CORBA server Java application code is contained in the CORBANodesSampleJava Java project. This application provides a two-way message request-response exchange between IBM Integration Bus and CORBA server Java applications.

You will see warning messages in the CORBA server Java application code.

You can ignore these messages because they have been generated from the IDL.

Complete the following steps:

  1. Ensure that local queue manager IB9QMGR exists with listener port 2414. If it does not exist, create it.
    (Note: The local queue manager IB9QMGR is created in the default configuration.)
  2. Ensure that the following local queues exist: If they do not exist, create them.
  3. Ensure that you have associated an integration node with the local queue manager IB9QMGR. If you have not associated an integration node, create the integration node.
  4. Start the naming service: tnameserv

    On Linux: To start tnameserv from a Linux command shell, enter:

      tnameserv -ORBInitialPort 2809
    

    On Windows: From an IBM Integration command console, enter:

      start tnameserv -ORBInitialPort 2809
    

    2809 is the port on which you want the name server to run and is the default value if -ORBInitialPort is omitted.
    (Note: The port that is specified must have no other processes listening on it, otherwise the CORBA nodes sample will fail to deploy.)

  5. Deploy the CORBANodesSample.bar BAR file to the integration node.

You have successfully set up the CORBA nodes sample.

Back to sample home