Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 RPC Client Binding with JMS : Running the Example

Running the Example
To run the example, complete the following tasks:
 
Task A Upload Service Assembly Archive
Before proceeding, ensure that the HSQLDB, Management Daemon, TIBCO ActiveMatrix Administrator, and TIBCO ActiveMatrix Administrator Server in a web browser are running.
In TIBCO ActiveMatrix Administrator:
1.
Select the Deploy to an Environment perspective.
2.
3.
4.
Click Browse to select the archive file CustomerRequest-SOA.zip that is generated in TIBCO Business Studio.
5.
Select the Import Shared Resource Definitions checkbox to create the shared resources definitions.
6.
Task B Configure the Service Unit
1.
2.
Click the Service Units button.
Do the following steps for the service units listed in the Service Units table:
a.
b.
In the Node Mapping tab, click Edit, select the node that you want to deploy the service unit to in the Available Nodes list, and then click the right arrow button. The node will appear in the Mapped Nodes list.
c.
Click Save.
Task C Start Node and Install Shared Resources
This example adopts an ActiveMatrix Service JMS. You need to install the corresponding Shared Resource to the node.
1.
Select Configure an Environment in the Perspective drop-down list.
2.
3.
Select Shared Resources.
4.
Click Edit. Enable the corresponding shared resource.
5.
You can also start the node from the command line by running AMX_HOME\amx\data\environment\node\bin\environment_node.exe. In such a case, enable the shared resource and it will be installed once the node starts.
Task D Deploy and Start the Service Assembly
1.
Select Deploy to an Environment in the Perspective drop-down list.
2.
3.
After the status of the service assembly changes to Deployed. Select the service assembly and click Start.
dsa Service_Assembly_Name
stsa Service_Assembly_Name
 
Task E Start the Request-Response Service and Run the Process
In TIBCO Designer:
1.
From the Tools menu, select Show Adapter Tester.
2.
Select the adapter instance named LotusNotesAdapterConfiguration.
3.
Click the Run Settings tab. In the Working Directory field, enter a directory to place running files.
4.
In the Adapter Executable field, select the executable. For example, TIBCO ActiveMatrix Adapter for Lotus Notes 6.0 (adln.exe). Click Apply.
5.
Click Start. To view the output messages, go to the Console tab.
6.
Click the Tester tab, and then click the Start testing viewed process button.
7.
Ensure that the process named ProcessRequest is selected.
8.
Click Load Selected.
Task F Run the Agent
In Lotus Notes:
1.
Select the request document named rpcClient in the Request Response Invocation View.
2.
3.
Click 6. Client Request Processing under the TIB Administration folder. The status of the request should be Processed.

Copyright © TIBCO Software Inc. All Rights Reserved