The historyInfo command generates a report from data extracted from XML files in the properties/version folder and the properties/version/history folder. The report includes a list of changed components and a history of installed or uninstalled maintenance packages.
If you are using Version 6.0.0.0 or Version 6.0.0.1 of a WebSphere Application Server product, install Fix Pack 2 and interim fix PK01574 before using the historyInfo command. See Version and history information from the versionInfo command and the historyInfo command is incorrect for Version 6.0.0.0 and Version 6.0.0.1 for more information.
The historyInfo tool displays important data about the product and its installed components, such as the build version and build date. History information for installation and removal of maintenance packages also displays in the report. This tool is particularly useful when working with support personnel to determine the cause of any problem.
Product history reports
The command syntax is:
Issue the command from the bin directory of the app_server_root directory.
The historyInfo command reports the following information:
The genHistoryReport script creates the following information in the historyReport.html report file, which is edited to show only the first few components:
-------------------------------------------------------------------------------- IBM WebSphere Application Server History Report -------------------------------------------------------------------------------- Report at date and time: 2004-12-26 01:47:19-0500 Installation -------------------------------------------------------------------------------- Product Directory: /opt/WebSphere/AppServer Version Directory: /opt/WebSphere/AppServer/properties/version DTD Directory: /opt/WebSphere/AppServer/properties/version/dtd Log Directory: /opt/WebSphere/AppServer/logs/update Backup Directory: /opt/WebSphere/AppServer/properties/version/update/backup TMP Directory: /tmp History Directory /opt/WebSphere/AppServer/properties/version/history History File /opt/WebSphere/AppServer/properties/version/event.history Installation Event -------------------------------------------------------------------------------- Maintenance Package ID: was60_fp1_linux Action: install Package Filename: was60_fp1_linux.pak Log File Name: /opt/WebSphere/AppServer/logs/update/was60_fp1_linux.install/updatelog.txt Backup File Name: /opt/WebSphere/AppServer/properties/version/backup/was60_fp1_linux.pak Timestamp: 2004-12-14 06:15:14-0500 Result: success Component Installation Event ----------------------------------------------------------------------------- Maintenance Package ID: was60_fp1_linux Component Name: activity Action: install Update Action: replace Timestamp: 2004-12-14 06:15:14-0500 Result: success Component Installation Event ----------------------------------------------------------------------------- Maintenance Package ID: was60_fp1_linux Component Name: activity.impl Action: install Update Action replace Timestamp: 2004-12-14 06:15:14-0500 Result: success Installation Event -------------------------------------------------------------------------------- Maintenance Package ID: was60_fp2 Action: install Package Filename: was60_fp2_linux.pak Log File Name: /opt/WebSphere/AppServer/logs/update/was60_fp2.install/updatelog.txt Backup File Name: /opt/WebSphere/AppServer/properties/version/backup/was60_fp2.pak Timestamp: 2004-12-14 10:25:34-0500 Result: partial success Component Installation Event ----------------------------------------------------------------------------- Maintenance Package ID: was60_fp2 Component Name: activity Action: install Update Action: replace Timestamp: 2004-12-14 10:25:34-0500 Result: partial success Component Installation Event ----------------------------------------------------------------------------- Maintenance Package ID: was60_fp2 Component Name: activity.impl Action: install Update Action: replace Timestamp: 2004-12-14 10:25:34-0500 Result: partial success Installation Event -------------------------------------------------------------------------------- Maintenance Package ID: was60_fp2 Action: uninstall Package Filename: was60_fp2_linux.pak Log File Name: /opt/WebSphere/AppServer/logs/update/was60_fp2.uninstall/updatelog.txt Backup File Name: not applicable Timestamp: 2004-12-18 17:29:12-0500 Result: success Component Installation Event ----------------------------------------------------------------------------- Maintenance Package ID: was60_fp2 Component Name: activity Action: uninstall Update Action: replace Timestamp: 2004-12-18 17:29:12-0500 Result: success Component Installation Event ----------------------------------------------------------------------------- Maintenance Package ID: was60_fp2 Component Name: activity.impl Action: uninstall Timestamp: 2004-12-18 17:29:12-0500 Update Action: replace Result: success Installation Event -------------------------------------------------------------------------------- Maintenance Package ID: was60_fp1_linux Action: uninstall Package Filename: was60_fp1_linux.pak Log File Name: /opt/WebSphere/AppServer/logs/update/was60_fp1_linux.uninstall/updatelog.txt Backup File Name: not applicable Timestamp: 2004-12-23 15:15:14-0500 Result: fail Component Installation Event ----------------------------------------------------------------------------- Maintenance Package ID: was60_fp1_linux Component Name: activity Action: uninstall Update Action: replace Result: fail Component Installation Event ----------------------------------------------------------------------------- Maintenance Package ID: was60_fp1_linux Component Name: activity.impl Action: uninstall Update Action: replace Result: fail -------------------------------------------------------------------------------- End History Report --------------------------------------------------------------------------------
<!DOCTYPE event-history SYSTEM "eventHistory.dtd"> <event-history> <update-event event-type="ptf" id="was60_fp1_linux" update-action="install" primary-content="was60_fp1_linux.pak" update-type="replace" log-name= "/opt/WebSphere/AppServer/logs/update/was60_fp1_linux.install/updatelog.txt" backup-name= "/opt/WebSphere/AppServer/properties/version/backup/was60_fp1_linux.pak" start-time-stamp="2004-12-14 06:15:14-0500" result="success"> <update-event event-type="component" parent-id="was60_fp1_linux" id="activity" update-action="install" update-type="replace" start-time-stamp="2004-12-14 06:15:14-0500" result="success"> </update-event> <update-event event-type="component" parent-id="was60_fp1_linux" id=" activity.impl" update-action="install" update-type="replace" start-time-stamp="2004-12-14 06:15:14-0500" result="success"> </update-event> </update-event> <update-event event-type="ptf" id="was60_fp2" update-action="install" primary-content="was60_fp1_linux.pak" update-type="replace" log-name="/opt/WebSphere/AppServer/logs/update/was60_fp2.install/updatelog.txt" backup-name="/opt/WebSphere/AppServer/properties/version/backup/was60_fp2.pak" start-time-stamp="2004-12-14 10:25:34-0500" result="partialSuccess"> <update-event event-type="component" parent-id="was60_fp2" id="activity" update-action="install" update-type="replace" start-time-stamp="2004-12-14 10:25:34-0500" result="partialSuccess"> </update-event> <update-event event-type="component" parent-id="was60_fp2" id=" activity.impl" update-action="install" update-type="replace" start-time-stamp="2004-12-14 10:25:34-0500" result="partialSuccess"> </update-event> </update-event> <update-event event-type="ptf" id="was60_fp2" update-action="uninstall" primary-content=" was60_fp2.pak" update-type="replace" log-name= "/opt/WebSphere/AppServer/logs/update/was60_fp2.uninstall/updatelog.txt" backup-name="not applicable" start-time-stamp="2004-12-18 17:29:12-0500" result="partialSuccess"> <update-event event-type="component" parent-id="was60_fp2" id="activity" update-action="uninstall" update-type="replace" start-time-stamp="2004-12-18 17:29:12-0500" result="partialSuccess"> </update-event> <update-event event-type="component" parent-id="was60_fp2" id=" activity.impl" update-action="uninstall" update-type="replace" start-time-stamp="2004-12-18 17:29:12-0500" result="partialSuccess"> </update-event> </update-event> <update-event event-type="ptf" id="was60_fp1_linux" update-action="uninstall" primary-content=" was60_fp1_linux.pak" update-type="replace" log-name= "/opt/WebSphere/AppServer/logs/update/was60_fp1_linux.install/updatelog.txt" backup-name="not applicable" start-time-stamp="2004-12-23 15:15:14-0500" result="faiurel"> <update-event event-type="component" parent-id="was60_fp1_linux" id="activity" update-action="uninstall" update-type="replace" start-time-stamp="2004-12-23 15:15:14-0500" result="failure"> </update-event> <update-event event-type="component" parent-id="was60_fp1_linux" id=" activity.impl" update-action="uninstall" update-type="replace" start-time-stamp="2004-12-23 15:15:14-0500" result="failure"> </update-event> </update-event> </event-history>
Changes are in three areas: command syntax, report information, and the event.history file.
Version 6 replaces the term updateID with maintenancePackageID to describe a specific maintenance package. This matches the terminology used in the Version 6 update installer application.