- 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:

- 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

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 (only for oacore)
edit j2ee-logging.xml adjust the following in file:

<logger name='oracle' level='TRACE:32' useParentHandlers='false'>

edit orion-web.xml adjust the following in file:



Increase OPMN Logging
edit opmn.xml adjust the following in file:

<debug path="/u01/inst/apps/JB_atg/logs/ora/10.1.3/opmn/opmn.dbg" comp="
internal;ons;pm" rotation-size="1500000" rotation-hour="0" />

- 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://<hostname.domainname>:<port>/OA_HTML/fndvald.jsp?username=sysadmin&password=<sysadmin_p assword>

If you need to send the logs to Oracle Support :
================================================== ====

- 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 \

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;"