R12 - How To Enable and Collect Debug for HTTP, OC4J and OPMN
Applies to:
Oracle Applications Technology Stack - Version: 12.0 to 12.0.3
Information in this document applies to any platform.
Purpose
This note is intended to be used as a debugging tool for HTTP, OC4J and OPMN issues in E-Business Suite R12
Important Considerations
The steps in this note are specific to debugging the OACORE application. The steps for OAFM (Oracle Applications Fusion Middleware) and FORMS are not included here. One can adjust the steps to collect data for oafm or forms if required. Please contact the author if you need assistance. This was done to reduce the number of files collected and the impact of logging.
The configuration changes to enable debug are of the highest detail. This has been done to collect as much information as possible. You may wish to reduce logging levels
All changes should be reverted once the information is collected. The performance impact of such changes is not great (approx 2 -5%) but Oracle does not recommend detailed logging be turned on for extended periods, especially in production
Last Review Date
April 5, 2007
Instructions for the Reader
A Troubleshooting Guide is provided to assist in debugging a specific issue. When possible, diagnostic tools are included in the document to assist in troubleshooting.
Troubleshooting Details
- Do the following on ALL middle tiers
- Shutdown the http server, oc4j and opmn services
adapcctl.sh stop adoacorectl.sh stop adformsctl.sh stop adoafmctl.sh stop adopmnctl.sh stop
Backup existing log files in:
$LOG_HOME/ora/10.1.3/Apache
$LOG_HOME/ora/10.1.3/j2ee
$LOG_HOME/ora/10.1.3/opmn
- If the issue is easily reproducible it is safe to delete the log files (unless otherwise required)
Enable HTTP/OC4J/OPMN debug logging
Enable http ODL logging
-----------------------------
Edit httpd.conf file, add the following to the end of file $ORA_CONFIG_HOME/10.1.3/Apache/Apache/conf/httpd.conf
OraLogMode oracle OraLogSeverity TRACE:32 OraLogDir $LOG_HOME/ora/10.1.3/Apache/oracle
Please use the full path to $LOG_HOME e.g.
OraLogDir /u01/inst/apps/JCB_atg/logs/ora/10.1.3/Apache/oracle
Make the following directory which will be where the Apache ODL log files are created
mkdir $LOG_HOME/ora/10.1.3/Apache/oracle
Increase OC4J logging
----------------------------
edit j2ee-logging.xml adjust the following in file:
$ORA_CONFIG_HOME/10.1.3/j2ee/oacore/config/j2ee-logging.xml
edit orion-web.xml adjust the following in file:
$ORA_CONFIG_HOME/10.1.3/j2ee/oacore/application-deployments/oacore/html/orion-web.xml
param-name>debug_mode
Increase OPMN Logging
-------------------------------
edit opmn.xml adjust the following in file:
$ORA_CONFIG_HOME/10.1.3/opmn/conf/opmn.xml
- Startup the http server, oc4j and opmn (reverse the startup sequence above)
- Reproduce the issue
- Access the following urls and inform support if the url was successful or unsuccessful:
>
>
- Shutdown the http server, oc4j and opmn
Run these commands to zip up the required log files:
zip -r /tmp/`uname -n`_`date +%m%d%y.%H%M`_iAS_HTTP.zip
$LOG_HOME/ora/10.1.3/Apache/*log* $LOG_HOME/ora/10.1.3/Apache/*lock*
$LOG_HOME/ora/10.1.3/Apache/oracle $INST_TOP/pids/10.1.3/Apache
zip -r /tmp/`uname -n`_`date +%m%d%y.%H%M`_iAS_OC4J.zip $LOG_HOME/ora/10.1.3/j2ee/ $LOG_HOME/appl/rgf/*log*
zip -r /tmp/`uname -n`_`date +%m%d%y.%H%M`_iAS_OPMN.zip $LOG_HOME/appl/admin/log/ $LOG_HOME/ora/10.1.3/opmn/
The commands will create zip files in the /tmp directory named after the server name and date. Please now run the following script to comile the 3 zip files into 1 zip. Upload the resulting zip file to the associated service request.
zip -r /tmp/`uname -n`_`date +%m%d%y.%H%M`_iAS_Debug.zip /tmp/*zip*
Run the following command as the applmgr user to collect the version of JDK (Java) being used by R12 Ebusiness Suite. Upload the results to your Metalink SR
sh -c "`awk -F= '$1 ~ /^JSERVJAVA.*$/ {print $2}' $ADMIN_SCRIPTS_HOME/java.sh` -version;"
Important: Revert the changes and re-start the services
Configuration Files: You may also want to provide configuration file information. If this is the case please see Note 443671.1 R12 - Collecting Configuration Information for HTTP, OC4J and OPMN
If you wish to enable Execution Context ID's in the access_log see Note 427848.1 How to Enable Execution Context ID (ECID) in the R12 access_log
------------------------------------------------------------------------
Key Words: R12 Debug, debug, R12, 12.0, oc4j, opmn, http, ias, 10.1.3, ebusiness suite, R 12
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7318139/viewspace-1007178/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- How to enable the flashback database:Database
- How to enable trace in OracleOracle
- How to debug Typescript in browserTypeScript
- How to enable NUMA on 10G @ linuxLinux
- How To Enable Hidden Administrator Account In Windows 10Windows
- How to Collect Diagnostics for Database Hanging Issues_452358.1Database
- How To Deploy The DVA Webapp In The OC4J Container Of The DB Console ?WebAPPAI
- How to Collect Diagnostics for Database Hanging Issues (Doc ID 452358.1)Database
- How to Collect Diagnostics for Database Hanging Issues (文件 ID 452358.1)Database
- How to Check and Enable/Disable Oracle Binary Options (文件 ID 948061.1)Oracle
- How to debug release mode program in visual studio
- How to See Supplier Contact Information Using SQL in R12ORMSQL
- How to enable Hibernate option in windows 2008 R2 server?WindowsServer
- How to enable Large Page Feature on AIX-Based Systems [ID 372157.1]AI
- How to use VS Code to debug Next.js applications All In OneJSAPP
- [20221222]How to Enable and Disable Database Options in oracle 11g.txtDatabaseOracle
- enable password 7與enable secret的區別
- [oradebug命令學習3]How to Enable SQL_TRACE for Another Session Using OradebugSQLSession
- Spark2 Dataset之collect_set與collect_listSpark
- oracle ENABLE=BROKENOracle
- ODM enable on Veritas
- EBS R12 使用者登入慢及執行慢問題 - FND: Debug Log Enabled
- Oracle 的 bulk collect用法Oracle
- enable_index_filterIndexFilter
- FSM:Enable shift register
- Go 語言中的 collect 使用Go
- 用 Laravel Collect 收藏文章Laravel
- 【PL/SQL】初試 bulk collectSQL
- 【mark-java】oc4j的事務問題Java
- NServiceBus翻譯之持久化技術(四):How To Debug RavenDB Through Fiddler Using NServiceBus...持久化
- BULK COLLECT FAILS WITH ORA-04030AI
- pl/sql中bulk collect的用法SQL
- oracleasm enable顯示失敗OracleASM
- enable table lock 的enqueue等待ENQ
- enable run glance utility in windows CMDWindows
- Script to Collect Data Guard Primary Site Diagnostic InformationORM
- Collect.js: JavaScript 版的 Laravel CollectionJSJavaScriptLaravel
- 使用BULK COLLECT+FORALL加速批量提交