WebSphere Application Server information and files to collect
The commands presented in this section invoke the standard IBM WebSphere Application Server collector tool that creates a zip file containing the following information:
Make a copy of the profile data from each server in the node, from the profile where Information Server was installed, which includes the following artifacts where Information Server data and logs are found.
Windows
WebSphere thread dump
- WebSphere Application Server release information
- WebSphere Application Server Installation Logs
- Directory listing of WebSphere Application Server folders
- Files under AppServer\logs
- AppServer\bin\*
- AppServer\properties\*
- AppServer\profiles\<folder> used by the Information Server installation [with selected files from all folders under the profile]
Make a copy of the profile data from each server in the node, from the profile where Information Server was installed, which includes the following artifacts where Information Server data and logs are found.
Files and Data to collect | Description |
<WAS_IS_PROFILE>/logs/*
|
All files contained in the /logs folder and its subfolders
|
<WAS_IS_PROFILE>/properties/portdef.props<WAS_IS_PROFILE>/logs/portdef.props | |
<WAS_IS_PROFILE>/classes/*.properties<WAS_IS_PROFILE>/classes/ojb-conf.jar
| |
<WAS_IS_PROFILE>/javacore*<WAS_IS_PROFILE>/heapdump*
|
Java Core and Heap dump files created by OutOfMemoryErrors. There may be several but collect the most recent ones
|
Non Clustered WAS environment | Description |
<WAS_IS_PROFILE> <WAS_IS_PROFILE>/ <WAS_IS_PROFILE> | |
Clustered WAS environment (IS 8.5 and above) | Description |
Gather from every <PROFILE> folder: both the <WAS_DMGR_PROFILE> and every <WAS_NODE_PROFILE> in cluster: <PROFILE>/config/cells/<hostname>Cell01/security.xml <PROFILE>/config/cells/<anyFolder>/*.xml <PROFILE>/config/cells/<anyFolder>/jacc.config <PROFILE>/config/cells/<anyFolder>/clusters/<anyFolder>/*.xml <PROFILE>/config/cells/<anyFolder>/nodes/<anyFolder>*/*.xml <PROFILE>/config/cells/<anyFolder>/nodes/<anyFolder>/servers/<anyFolder>/*.xml <PROFILE>/config/cells/<anyFolder>/wim/<anyFolderAndSubFolders>/*.xml | On the DMgr node and also on every node in the cluster, as well for each Server in the Node |
IBM WebSphere Application Server version 8 and above | Description |
<WAS_IS_PROFILE> <WAS_IS_PROFILE> <WAS_IS_PROFILE> | |
IBM WebSphere Application Server Liberty | Description |
<WAS_IS_PROFILE> <WAS_IS_PROFILE> <WAS_IS_PROFILE> |
Collect all WebSphere Application Server artifacts as shown in the following tables:
AIX, Solarix, Linux, or HP-UX
Command
|
Collects
|
add the parameter -profileName profile_name | Standard WebSphere Application Server data, profiles, and log collector. ProducesCRMxxxxx_Collection_<timestamp>.jar file Collects artifacts under the specified WebSphere Application Server profileName rather than the default profile |
Command
|
Collects
|
add the parameter -profileName profile_name | Standard WebSphere Application Server data, profiles, and log collector. ProducesCRMxxxxx_Collection_<timestamp>.jar file Collects artifacts under the specified WebSphere Application Server profileName rather than the default profile |
Procedure
|
To generate a WebSphere thread dump, go to <WAS_IS_PROFILE>\bin folder (e.g.C:\IBM\WebSphere\AppServer\profiles\default\bin) in a command window and invoke the following commands:
wsadminset objectName [$AdminControl queryNames WebSphere:type=JVM,process=server1,*] $AdminControl invoke $objectName dumpThreads quit The thread dump file will be in the WebSphere profile directory <WAS_IS_PROFILE> and will have a name like javacore.xxxxxxxx.xxxxxx.xxxx.txt |