Databases Reference
In-Depth Information
The purpose of all troubleshooting processes is to find the source and root cause of the
problem. The source of a problem can reside either in the application code or on the host
machine, or the issue may only occur because of a bad WebLogic configuration or a network
issue. The problem can also occur because of a WebLogic bug. A product bug must always be
considered in software of this size and complexity.
A correct WebLogic analysis and diagnosis of the troubleshooting process is not an easy task.
It is complex, complicated, and involves a deep knowledge of WebLogic core mechanisms and
Java architecture. Incorrect diagnoses can lead to an imprecise root cause that in turn will
generate wasted efforts in both development and infrastructure.
What is the problem? is the question to be answered. If not answered
properly, it will lead to an endless loop of workarounds, tunings, and
fixes that will probably make things worse.
This chapter provides some recipes and steps to help the WebLogic troubleshooting process
in production environments.
Changing log levels to debug
The level of logged information is essential during a troubleshooting analysis. Any additional log
can give a hint that will help reveal the root cause of the problem in a production environment.
This recipe shows a hypothetical scenario to diagnose transaction problems. The log level setting
of the PROD_Server01 Managed Server will be changed to add more debugging information.
Getting ready
The log levels will be changed using the Administration Console, so make sure the
Administration Server is running.
How to do it...
Carry out the following steps to change the log level for debugging:
1. Access the Administration Console by pointing your web browser to
http://adminhost.domain.local:7001/console .
2. Click on the Lock & Edit button to start a new edit session.
3. Expand the Environment tree on the left, and then click on the Servers link.
4. Click on the PROD_Server01 Managed Server link and then click on the
Logging tab.
5. Click on the Advanced link to open the advanced options.
 
Search WWH ::




Custom Search