|
Friday, April 3, 2009 |
Enable HTTP/OC4J/OPMN debug logging |
Enable HTTP/OC4J/OPMN debug logging
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
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
Make the following directory which will be where the 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
true
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:
http://.:/OA_HTML/ServletPing http://.:/OA_HTML/OA.jsp?OAFunc=OAHOMEPAGE http://.: http://.:/OA_HTML/OAInfo.jsp http://.:/OA_HTML/jsp/fnd/aoljtest.jsp http://.:/OA_MEDIA/FNDLOGOL.gif http://.:/forms/frmservlet
- 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 servicesLabels: Enable HTTP/OC4J/OPMN debug logging |
posted by Srinivasan .R @ 1:07 PM |
|
1 Comments: |
-
Provides great information about the concept.It helps an individual to gain knowledge on new techniques.Keep on giving this type of information. Dot net Training in Chennai
|
|
<< Home |
|
|
|
|
|
Provides great information about the concept.It helps an individual to gain knowledge on new techniques.Keep on giving this type of information.
Dot net Training in Chennai