Setting Up the Examples


To successfully run the examples, you must perform the following tasks:

  1. Build the COM Components, as described in Task A.
  2. If you are using TIBCO Enterprise for JMS, start the JMS server, as described in Task B.
  3. Start the adapter with one of the following dat files:
    • RPCCOMService-RV.dat, if you are using TIBCO Rendezvous.
    • RPCCOMService-JMS.dat, if you are using TIBCO Enterprise for JMS.
    • For details, see Task C.

  4. Start TIBCO IntegrationManager with one of the following dat files:
    • IMExample_JMS.dat if you are using TIBCO Enterprise for JMS.
    • IMExample_rv.dat if you using TIBCO Rendezvous.
    • For details, see Task D.

  5. Execute the operations on the business objects. For details, see Task E.
Task A Build the COM Components
Task B Start TIBCO Enterprise for JMS
  1. At the command prompt, go to the <JMS_HOME>\bin directory.
  2. Run the following command to start the TIBCO Enterprise for JMS Server:
  3. tibjmsd.exe

Task C Start the Adapter
  1. Make sure that the repository URL and configuration URL properties are set in the adcomService.tra file.
    • The tibco.repourl property must point to the RPCCOMService-RV.dat or the RPCCOMService-JMS.dat file. For example, if you have installed the adapter on the C: drive and are using RPCCOMService-RV.dat, the tibco.repourl property should be set as follows:
    • C:/tibco/adapter/adcom/5.3/examples/TEAKExamples/IntegrationManager/Impp/
      RPCComService-RV.dat 
      
    • The tibco.configurl property should point to the adapter instance:
    • Adapter for COM/Service Instances/AdComExamplesService

  2. At the command prompt, go to the <ADCOM_HOME>\bin directory.
  3. Start the service component of the adapter using the RPCCOMService-RV.dat file:
  4.    adcomService 
    
Task D Start TIBCO IntegrationManager
  1. To start TIBCO IntegrationManager, click Start>Programs>TIBCO>TIBCO Integration Manager 5.0> IM Editor.
  2. Select one of the following from the Repository Instance drop-down:
    • IMExample_JMS.dat, if you are using TIBCO Enterprise for JMS.
    • IMExample_rv.dat, if you using TIBCO Rendezvous.
  3. Click Connect.
  4. Click Debug, then click Start Debug Engine.

Alternatively, you can start the TIBCO IntegrationManager engine from the command prompt.

  1. Copy the project file into the bin folder of the TIBCO IntegrationManager install directory:
    • IMExample_JMS.dat, if you are using TIBCO Enterprise for JMS.
    • IMExample_rv.dat, if you using TIBCO Rendezvous.
  2. Open a command prompt for TIBCO IntegrationManager.
  3. Navigate to the bin folder of the TIBCO IntegrationManager install directory.
  4. In the command prompt window type imse -f <filename>.dat. This will start the IntegrationManager server and engine.
Task E Executing Operations for Business Objects
  1. Open Index.htm from the <ADCOM_HOME>\examples\TEAKExamples\IntegrationManager\Html directory. The TIBCO Adapter for COM Examples page is displayed. The top right panel displays the business objects, and the bottom-left panel displays the operations available for each business object.

  1. Select a business object and run the operations against it:

For the Get, Insert-Update, and Delete operations, the time out interval is set to 30 seconds. If a request is not received within 30 seconds, the application exits.


TIBCO Adapter™ for COM Examples Guide
Software Release 5.3, September 2005
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com