WAS v8.5 > Reference > Log and trace file descriptionsCollector 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 WAS product is to run the tool to produce a 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, we can use this topic to understand the content of the JAR file if you perform our own analysis.
We 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 the collector tool creates.
The JAR file contains:
- A collector tool log file, collector.log
- Copies of stored WAS files and their full paths located under directory root in the JAR file
- Operating system information in a directory named OS
- Java information in a directory named Java
- WAS information in a directory named WAS
- Collector shell script (or batch file ) execution information in a directory named debug
- 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 the specific installation, it logs an error about the missing files.
- A non-zero return code means that a command 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.
- 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.
- 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.
- 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.
Related
Gathering information with the collector tool (deprecated)
Reference:
collector command - summary option