Deploy the Project and Start the Adapter


After configuring the adapter, you must create a properties file for the adapter.

Task A Deploy the Adapter

To create a properties file for the adapter:

  1. Make a backup copy of adcomservice.tra for safety.
  2. Change directory to the adapter bin directory:
  3.    cd C:\TIBCO\adapter\adcom\5.3\bin 
    
  4. Using a text editor, open the adcomservice.tra file and verify the following properties.
  5.    Verify: #TIBCO.repourl <repourl> points to: 
                     TIBCO.repourl C:/tibco/adapter/adcom/5.3/examples/sample.dat 
        
       Verify: #TIBCO.configurl <configurl> points to: 
    TIBCO.configurl Adapter for COM/Service Instances/TIBCOCOMService1 
    
Task B Start the Adapter

Open two command windows:

  1. In one command window, go to C:\tibco\adapter\adcom\5.3\bin and start the TIBCOCOMService1 service:
  2.    adcomservice --run --propFile adcomservice.tra 
    
  3. In the other command window, go to C:\tibco\adapter\adcom\5.3\Examples\TestInterceptor\Debug and start the COM client:
  4.    TestInterceptor 
    

The COM client invokes COM methods using the interceptor component. The publication service (TIBCOCOMInterceptor1) of the interceptor will publish the message to the TIBCO messaging transport. The subscription service (TIBCOCOMService1) of the service component retrieves the messages, and invokes the COM methods on the COM server.


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