从事IT基础架构多年,发现自己原来更合适去当老师……喜欢关注新鲜事物,不仅限于IT领域。
分类: Oracle
2006-06-16 11:35:18
Enterprise Manager Client Application Tracing
To enable tracing of the Enterprise Manager Console and its management applications, you must start the application from a command line interface after adding the following properties (as shown, parameters are case sensitive) and appropriate values to the $ORACLE_HOME/sysman/config/clientconfig.properties file:
TRACING.ENABLED = {true|false}
TRACING.LEVEL = {5 | 3 |2}
LOGGING.MAX_SIZE=
LOGGING.MAX_FILE_CNT=
NOTE: If the value above is in brackets { }, you will need to pick one of the supplied values. If the value is in brackets < >, you will need to specify your own value. Do not include the brackets { } or < > when you put the parameter in the $ORACLE_HOME/sysman/config/clientConfig.Properties file.
TRACING.ENABLED = {true|false}
TRACING.LEVEL = {5 | 3 |2}
LOGGING.MAX_SIZE and LOGGING.MAX_FILE_CNT
control how much disk space is used for the EM Client log files. You can affect the size and disk usage of the log files with these parameters.
Tracing Steps:
1. Modify the $ORACLE_HOME/sysman/config/clientconfig.properties file.
2. Go to a DOS window or a Unix command prompt.
3. Set the Environment:
Microsoft Specific:
(NOTE: For EM 9.2, you can just launch the console with oemapp debug console)
Unix Specific : setenv
ORACLE_OEM_CLIENTTRACE=TRUE4. Start the application from the command line using the OEMAPP script and redirect the output to a file. For example:
oemapp console >emoutput
5. If you need to perform additional JAVA debugging, you can make a backup of the OEMAPP.bat script file and then modify the file.
Replace the line that reads:
SET JRE=jre -nojit %ORACLE_OEM_JAVAMX%
With:
SET JRE=jre -nojit -mx32m -ms8m -verbose -verbosegc