Sunday, 4 November 2012

Apache and OACORE Related Debug Info


Enable the iAS to debug, reproduce the TCF error and collect the iAS logs as noted below. 

cd $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/config
1. vi oc4j.properties
2. Add: values
a. AFLOG_ENABLED=true
b. AFLOG_LEVEL=statement
c. AFLOG_MODULE=%
d. AFLOG_FILENAME=/tmp/1.log

Copy the $INST_TOP/ora/10.1.3/Apache/Apache/conf/httpd.conf to a backup file.
Edit the $INST_TOP/ora/10.1.3/Apache/Apache/conf/httpd.conf and change Apache to run in debug. 

Example:
=======
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel debug
=======

Restart the Apache and OACore service ($ADMIN_SCRIPTS_HOME/adoacorectl.sh). 

Reproduce the Issue and review the following log:
->$LOG_HOME/ora/10.1.3/j2ee/oacore/oacore_default_group_1/application.log
->$APPLRGF/javacache.log
->$LOG_HOME/ora/10.1.3/Apache/access_log
->$LOG_HOME/ora/10.1.3/Apache/error_log
->$LOG_HOME/ora/10.1.3/opmn/oacore_default_group_1/oacorestd.err
->$LOG_HOME/ora/10.1.3/opmn/oacore_default_group_1/oacorestd.out
->/tmp/1.log

In addition, actively watch the following logs and provide the exact output given when the TCF error is shown. This trapping is required to narrow the failure.
tail -f $LOG_HOME/ora/10.1.3/j2ee/oacore/oacore_default_group_1/application.log
tail -f $APPLRGF/javacache.log
tail -f $LOG_HOME/ora/10.1.3/Apache/access_log
tail -f $LOG_HOME/ora/10.1.3/Apache/error_log
tail -f $LOG_HOME/ora/10.1.3/opmn/oacore_default_group_1/oacorestd.err
tail -f $LOG_HOME/ora/10.1.3/opmn/oacore_default_group_1/oacorestd.out

No comments:

Post a Comment