Search This Blog

2010-12-22

Enable Oracle Forms Tracing and Output as HTML

This trick allow individual end user to enable server tracing from browser end. Just need to append 2 parameters into the URL to enable session tracing

Example: hostname is iccs.hp.com:80, and Forms name is iccs

http://iccs.hp.com/forms/frmservlet?config=iccs&record=forms&tracegroup=0-98,100-199

Following trace file will be immediately created in Oracle Application Server Middle-Tier

cd $ORACLE_HOME/forms/trace
ls -l forms_*.trc

Assume the generated name is forms_9440.trc, uses following steps to generated it as HTML file, because the file is a binary file

export CLASSPATH=$ORACLE_HOME/forms/java/frmxlate.jar

$ORACLE_HOME/jdk/bin/java oracle.forms.diagnostics.Xlate datafile=forms_9440.trc outputfile=forms_9440.html outputclass=WriteOutHTML

Download the file to your PC and view it

No comments: