Installing the Sample for Service Probe for IBM WebSphere Application Server
● Ensure that Application Server is in a running state on which the sample service is to be deployedPerform the following steps to deploy and execute the Service Probe for IBM WebSphere Application Server sample:
1. Edit book_order_tutorial_data.properties located at <TIBCO_Home>/amma-was/<version_num>/samples/ and provide details of Websphere Application Server on which you want to deploy the sample service.
3.
4. Deploy the ReBookOrder.ear located at <TIBCO_Home>/amma-was/<version_num>/samples manually from IBM WebSphere Application Server console.Loading Tutorial Rules, Custom Metrics and Actions in TIBCO ActiveMatrix Service Performance Manager
1. Set the WAS_CELL_NAME, WAS_MACHINE_NAME, and WAS_SERVER_PORT in the TIBCO_SPM_HOME\tutorial\scripts\tutorialsetup_data.properties file.
2. Replace the following lines in the TIBCO_SPM_HOME\tutorial\scripts\tutorial_was_spmdata.xml-template:<ClassifierCustomMetric name="BookTitlesample" xpath="{{flow=output,document=output}}//ns0:orderBookResponse/ ns0:Book/ ns0:title"><InstrumentCustomMetric name="QtyOrderedsample" xpath="{{flow=input,document=input}}//ns0:orderBookRequest/ ns0:quantity"<InstrumentCustomMetric name="OrderTotalsample" xpath="{{flow=output,document=output}}//ns0:orderBookResponse/ ns0:orderTotal"<ClassifierCustomMetric name="BookTitlesample" xpath="{{flow=output,document=output}}//ns0:orderBookResponse/Book/title"><InstrumentCustomMetric name="QtyOrderedsample" xpath="{{flow=input,document=input}}//ns0:orderBookRequest/quantity"<InstrumentCustomMetric name="OrderTotalsample" xpath="{{flow=output,document=output}}//ns0:orderBookResponse/orderTotal"
3. To load rules, custom metrics and actions, run the following command from the TIBCO_SPM_HOME\tutorial\scripts folder:
2.
Copyright © TIBCO Software Inc. All Rights Reserved.