Collector tool output

Use the collector tool to gather and analyze output from WebSphere® Application Server.

The first step in using the collector tool on your WebSphere Application Server product is to run the tool to produce a Java™ archive (JAR) file as output. The second step in using the collector tool is to analyze its output. The preferred method of performing this analysis is to send the JAR file to IBM® Support for analysis. However, you can use this topic to understand the content of the JAR file if you perform your own analysis.

You can view the files contained in the JAR file without extracting the files from the JAR file. However, it is easier to extract all files and view the contents of each file individually. To extract the files, use one of the following commands:
  • jar -xvf WASenv.jar
  • unzip WASenv.jar

Wasenv.jar stands for the name of the JAR file that the collector tool creates.

The JAR file contains:
  • A collector tool log file, Collector.log at
    • [AIX HP-UX Solaris]hostname/root/workingDirectory/Collector.log
    • [Windows]hostname\workingDirectory\Collector.log

    The workingDirectory is the directory to perform the collector command.

  • Copies of stored WebSphere Application Server files and their full paths that are located under directory root in the JAR file[AIX HP-UX Solaris]
    • hostname/root/app_server_root
    • bin
    • configuration
    • logs
    • profiles
    • properties
    [Windows]
    • hostname\app_server_root
    • bin
    • configuration
    • logs
    • profiles
    • properties

    The app_server_root is the installation root directory for WebSphere Application Server.

  • [AIX Solaris HP-UX Linux Windows][z/OS]Operating system information in a directory named OS
  • Java information in a directory named Java
  • [AIX Solaris HP-UX Linux Windows][z/OS]WebSphere Application Server information in a directory named WAS
  • [AIX Solaris HP-UX Linux Windows][z/OS]Collector shell script (or batch file ) execution information in a directory named debug
  • [AIX Solaris HP-UX Linux Windows][z/OS]MQ information in a directory named MQ, if you installed WebSphere MQ or the embedded messaging feature
  • A JAR file manifest

Tips and suggestions

  • Unzip the JAR file to an empty directory for easy access to the gathered files and for simplified cleanup.
  • Check the Collector.log file for errors:
    • Some errors might be normal or expected. For example, when the collector attempts to gather files or directories that do not exist for your specific installation, it logs an error about the missing files.
    • A non-zero return code means that a command that the collector tool attempted to run does not exist. This might be expected in some cases. If this type of error occurs repeatedly, there might actually be a problem.
  • [AIX HP-UX Solaris][Linux]The OS/commands file has the location of all commands used. If you are missing command output, check this file to see if the command was found.
  • [AIX HP-UX Solaris][Linux]The collector runs some shell scripts. The shell script output is saved in files in the OS directory, while the corresponding debug information is saved in the debug directory. If the output of a shell script is missing, check the corresponding file in the debug directory.
  • [AIX Solaris HP-UX Linux Windows]When you issue the collector command when there are multiple installation instances, the tool that runs depends on what is in the PATH statement. For example, if you install both the base WebSphere Application Server and the Deployment Manager product on the same machine, the bin directory that first appears in the PATH variable is the one that furnishes the collector tool. To work around this problem, use a fully qualified file path when calling the collector tool as shown in this example for a Windows platform:
    c:\WebSphere\AppServer\bin\collector.bat
  • [Windows]The OS directory contains a file named installed.out. This file contains a list of programs found in the Add/Remove Programs list. This same information is contained in the file Desktop\My Computer\Control Panel\Add/Remove Programs\Install/Uninstall.