Oracle® Application Server Forms Services Deployment Guide
10g Release 2 (10.1.2) B14032-03 |
|
Previous |
Next |
Only users with administrator privilege can view trace log files. The user needs to log in as a user that is in the administrators' group. By default, user 'admin', which is present as a default user in the 'administrators' group, can be used. Users can then be created and added later into this group to for logging in and viewing trace log files.Once the user has logged in, he will not have to log in again in the same browser session to view trace log files for different formsweb sessions.
Trace data is stored in a binary file with a *.trc extension. If you're not using Enterprise Manager Application Server Control Console, you'll need to use the Translate utility.
Note: The parameterallow_debug must be set to true in the default section of the Forms Web Configuration file before trace logs can be viewed from the User Sessions screen in the Enterprise Manager Application Server Control Console.
|
To view trace data, use Enterprise Manager:
In Enterprise Manager Application Server Control Console, select the User Sessions link.
Click View Trace Log to see the contents of the trace log.
The Translate utility converts trace data to XML or HTML formats. You'll need to specify an additional parameter "OutputClass" which has two legal values: "WriteOut" and "WriteOutHTML". If you use "WriteOut", the output file will be in XML format. If you use "WriteOutHTML", the output file will in HTML format.These two values ("WriteOut" and "WriteOutHTML") are case-sensitive.
To convert trace data to XML format:
At the command line, enter:
java oracle.forms.diagnostics.Xlate datafile=a.trc outputfile=myfile.xml outputclass=WriteOut
to create myfile.xml
.
To convert trace data to HTML format:
At the command line, enter:
java oracle.forms.diagnostics.Xlate datafile=a.trc outputfile=myfile.html outputclass=WriteOutHTML