Troubleshooting
Use these topics to learn more about troubleshooting .
This topic contains the following tasks:
- Tracing operations using wsdmin.sh
- Configure traces
- Turning traces on and off in servers processes
- Dumping threads in server processes
- Set up profile scripts to make tracing easier
- Enable the Runtime Performance Advisor tool
Example
We can set the trace string using either of the following supported formats. For example:
$AdminControl trace com.ibm.*=all=enabled
or
$AdminControl trace com.ibm.*=all
For more instructions, see the tracing and logging information. To set the log level, see the log level settings information.
Subtopics
- Tracing operations using wsdmin.sh
We can enable and disable tracing and wsadmin.sh.
- Extracting properties files to troubleshoot the environment
Use this topic to create a properties file that displays configuration information for a node, application server, application, or other resource. We can use this file to troubleshoot a problem in the environment.
- Configure traces
Use wsadmin.sh and scripting to configure traces for a configured server.
- Turning traces on and off in servers processes
We can use scripting to turn traces on or off in server processes.
- Dumping threads in server processes
Use the AdminControl object to produce a Java core dump, which includes the Java threads of a running server.
- Set up profile scripts to make tracing easier
We can use scripting and wsadmin.sh to set up profile scripts to facilitate tracing.
- Enable the Runtime Performance Advisor tool
We can configure the Runtime Performance Advisor (RPA) or the console.
- AdministrationReports (AdminTask)
We can use the Jython or Jacl scripting languages to troubleshoot your configuration with wsadmin.sh. The commands in the AdministrationReports group can be used to create a report of inconsistencies in the system configuration or a report that describes the port usage in the system.
- Configure HPEL with wsadmin scripting
We can configure the High Performance Extensible Logging (HPEL) log and trace framework . Use the examples in this topic as a guide to build our own wsadmin scripts.
Related tasks
Use wsadmin scripting Get started with wsadmin scripting
Log level settings