Skip to content

Getting Started

dmicale edited this page Feb 1, 2016 · 2 revisions

ERTool

Getting Started

Compiling

  1. Download and Extract Apache Ant https://ant.apache.org/ (Binary Distribution will allow you to get started faster)
  2. Compile by calling the Ant runtime and referencing the ERTool build.xml file in the 'framework' directory:
    c:\apache\bin\ant -buildfile c:\ertool_location\framework\build.xml
    Result should be: BUILD SUCCESSFUL.

Running

  1. Use Windows Start->Run or Command Prompt to run the compiled jar:
    java -jar c:\ertool_location\framework\dist\ErrorReport.jar -gui
    Alternatively if the java -jar does not execute the gui you can call the main-class:
    java -cp c:\ertool_location\framework\dist\ErrorReport.jar com.ibm.datapower.er.ERTool -gui
    A GUI Prompt should appear with an Analytics and Transactions tab.
  2. Click 'Browse Error Report' and specify the error report or post-mortem file you wish to analyze.
  3. Click 'Browse Output File' and specify the destination directory and HTML/Text file which the output will reside.
  4. Click 'Run' which will close out this prompt.
  5. In the command prompt you will see two log4j:WARN messages and afterwards a listing of - Formula : ... took xyz milliseconds to complete. This will take some time to complete, afterwards the command prompt will close.
  6. In the result directory specified via 'Browse Output File' you will have an HTML or Text file respectively. The HTML format will attempt to open via your Web Browser, you must manually open the Text option with your flavor of notepad.
Clone this wiki locally