Yesterday I have read about XPI Inspector and have used it for the first time. I have found this very interesting. Although many of you may be aware of it but also I feel there are many people who may not be aware of this. So I thought I would share few points I learnt.
To start with, XPI Inspector is basically a tool developed by SAP which is a web application for collecting information about XI-related configurations and traces.
The tool also performs certain number of configuration checks, such as SSL client/server verification.
Which checks are executed depends on the selected example or the type and properties of the selected XI communication channels
The tool does not do any configuration changes on the system. All collected information is saved on the file system of the central Java instance and is available for review.
Note that in order to perform some checks, such as verification of SSL client connections, the tool automatically opens a dummy https or ftps connection to the remote ssl server
Several additional general options are available for selection:
1. Collect debug traces from Messaging System
2. Collect debug trace from XI Module Processor
3. Collect HTTP Traces
4. Collect Open SQL Traces
5. Collect JCo Traces
6. Collect information about the system state.
Download the file named “xpi_inspector_ear.ear” from the sap marketplace.
Deploy the tool on the XI Adapter Engine which you would like to inspect. Note that if you download the file from the web version that the extension of the file could be changed from EAR to ZIP. In this case you have to rename it again right after download from ZIP to EAR.
To deploy on 6.40 or 7.00 server version use SDM.
To deploy on 7.10 or above server versions use one of the following options:
- Deploy View Plug-in from SAP NWDS.
- Telnet command: deploy <xpi_inspector_ear.ear file path> version_rule=all
- JSPM tool
Open a new browser window and load the “XPI Inspector” by using the following url address: http(s)://<host>:<port>/xpi_inspector
The recommended browser is Microsoft IE.
You will need administrator’s credentials to access the XPI Inspector.
Select the example to use. SAP shall inform you in advance which example you need.
Follow all the instructions displayed on the screen.
Basically, you need to perform the following three steps:
- 1. Select the example and start the inspection.
- 2. Reproduce the problem and stop the inspection right after the problem occurs.
- 3. Download the zip file generated by the tool and attach the zip file to the CSS message.
SAP will continue to extend the set of automatic checks performed by the tool and will update the version of the tool in this note accordingly.
You can check the version of the tool already deployed on your system by using “About” dialog in the UI.
In case of problems send a notification e-mail to the author by using the link inside the same dialog.
List of examples available for use:
Example 1 (CPA Cache)
Example 11 (Authentication & SSL)
Example 18 (RWB)
Example 19 (Mapping Runtime)
Example 30 (XI Adapter)
Example 40 (XI Message)
Example 50 (XI Channel)
Example 51 (Performance Problem)
Example 52 (Authorization & Session Management)
Example 60 (JEE Service)
Example 70 (JEE Application)
Example 80 (Default Trace)
Example 100 (Custom)
Hope this helps.