Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Publication Service for Rendezvous Adapter Agent-Based Communication : Deploy and Run the Example

Deploy and Run the Example
Perform the following tasks to deploy and run the example.
Task A Start the Adapter in TIBCO Administrator
1.
Click on the Installed Software link on the left panel. Check if TIBCO Adapter for Tuxedo 6.0 is registered. If the software is not registered, register by clicking the Add Custom Software button. Please refer to the TIBCO Administrator documentation for more details on adding custom software.
2.
Go to Application Management. Click New Application. Upload the EAR file created in the previous section and click OK. On the following screen, clear the Quick Configure check box and then click Save.
3.
Click Configuration in the newly created application. Click on the top level application name in the configuration view.
4.
Expand the Enterprise archive link, so that adapter instance is visible.
5.
Click on the <InstanceName>.ear and then click the Add to Additional Machines button.
6.
Select the machine and click OK. In the following screen, click Save.
7.
In the Configuration screen click Deploy, which will take you to the next screen. The Start successfully deployed services check box is selected by default. Click OK. The .tra files are created in <Adapter_Home>/bin/domain/<DomainName>.
8.
Once the deployment is complete, click Service Instances under the application. The adapter is listed. Select the adapter and click Start Selected to start the adapter.
Task B Start the TIBCO ActiveMatrix BusinessWorks Process in TIBCO Administrator
1.
In TIBCO Administrator, go to Application Management. Click New Application. Upload the EAR file created in the previous section and click OK. On the following screen, clear the Quick Configure check box and then click Save.
2.
Click Configuration in the newly created application.
3.
Expand the .par link, so that the TIBCO ActiveMatrix BusinessWorks process is visible.
4.
Click on the .par and then click the Add to Additional Machines button.
5.
Select the machine and click OK. In the following screen, click Save.
6.
In the Configuration screen click Deploy. In the next screen the Start successfully deployed services check box is selected by default. Click OK.
7.
Once the deployment is complete, click Service Instances under the application. The process is listed. Select the process and click Start Selected to start the process.
Task C Trigger and Run the Example
Once the adapter and the TIBCO ActiveMatrix BusinessWorksprocess are started, the following need to be done to trigger the adapter publisher:
1.
set TUXDIR=<Enter the home directory of Tuxedo>
set WSNADDR=//<Enter the Host IP Address with the Port for Workstation Listener>
set APPDIR=%TUX_ADAPTER_HOME%\examples\AgentBased\PurchaseOrder
set PATH=%TUXDIR%\bin;%APPDIR%;%PATH%
2.
Go to TIBCO_HOME\adapter\adtuxedo\version_number\examples\AgentBased\PurchaseOrder
3.
Start the client and specify the OrderID argument as follows:
Client 1000
The client invokes the Tuxedo service. The Tuxedo service sends a request to the adapter through the agent and the agent posts the data to the adapter. The adapter publishes the data over JMS transport. TIBCO ActiveMatrix BusinessWorks subscribes to the data and writes it to the Get_output.xml.

Copyright © TIBCO Software Inc. All Rights Reserved