WebFOCUS Online Help > Managed Reporting Administrator > Additional Administration Topics > Debugging
In this section: |
These topics describe how you can access debugging information and enable tracing options.
When you encounter problems with Java applets in the Internet Explorer, you can receive valuable debugging information by looking in the Internet Explorer Java Console. Access this from the menu bar by clicking View and then Java Console. The Java Console, as shown in the following image shows you which Microsoft Java Virtual Machine release you are using. The Java Console also displays messages from the IBI Java code, such as the Managed Reporting Java Gen number. Information Builders Customer Support Service (CSS) may ask you to check for specific messages in this console to aid in problem determination.
You may need to activate the Java Console if it does not appear in your View menu. Activating the Java Console varies with each Internet Explorer release. In Internet Explorer version 6.0, enable the Java Console by selecting Tools, Internet Options, Advanced, Microsoft VM, and Java Console enabled. You must restart your browser for the changes to take effect.
It is possible to increase the level of trace messages written to the Internet Explorer Java Console. This can be helpful for debugging purposes. Before carrying out the following steps, you should back up your mr_ie.htm file in case it accidentally becomes corrupt.
function showDomainAdmin()
// innerHTML += "<PARAM NAME=FOCUStrace value='true'>"; // innerHTML += "<PARAM NAME=PROGRAMtrace value='true'>";
Note: While tracing is on and the Java Console is open, applet performance will be decreased. Keep the Java Console closed until you have reproduced the steps you are debugging to improve performance.
You can copy the following trace lines to other JavaScript functions to trace the behavior of other applets:
showUserAdmin() - the User Administration applet showDomains() - the Domains applet
To turn tracing on, set Trace=ON. For more information, See the WebFOCUS Security and Administration manual.
By default, the Dashboard tracing option is not turned on. Tracing should only be turned on when requested to do so by an Information Builders representative.
Tracing is only active when the TRACE_LEVEL parameter exists with a valid value. To turn the Dashboard tracing option on, add the TRACE_LEVEL initialization parameter in the servlet engine configuration. For details, see How to Add the TRACE_LEVEL Parameter for Windows and How to Add the TRACE_LEVEL Parameter for UNIX and z/OS.
All trace files are created in the ibi\WebFOCUS76\worp\log directory. A trace file is created for every session, therefore it is possible to have many trace files generated for one user.
You can turn on traces dynamically by editing the bid-config.xml file. See How to Turn On Dynamic Tracing in Dashboard.
Descriptions are optional.
<init-param> <param-name>TRACE_LEVEL</param-name> <param-value>OFF</param-value> </init-param>
Alternatively, you can delete the lines that were added for TRACE_LEVEL in the web.xml file.
Trace files are named as follows:
<username>_<date>_<timestamp>.log ADMIN_20070829_140159.log
where:
Is the name used by the user to log in, not the description in Managed Reporting.
Is the date in yyyymmdd date format. For example, 20070829.
Is the time using 24-hour hhmmss time format. For example, such as 1401599.
The log file for a user logged in as ADMIN on Aug 29th, 2007 at 2:01:59 PM would be:
ADMIN_20070829_140159.log
Trace files contain the following information:
<thread number> <date> <time> <level> <location> <message>
where:
Is the number generated for each new task performed in the servlet.
Is the date when the line of trace code is created. The format is MM/DD/YYYY.
Is the time when the particular trace code has been written to the trace file. The format is hh:mm:ss:nnn.
Is the TRACE_LEVEL defined in the servlet parameters. Valid entries are FATAL, ERROR, WARN, INFO, DEBUG or OFF.
Is the internal location called by the Dashboard. The format is <Java class name>.<Java method name>.
Is the internal trace text.
WebFOCUS |