01.02.2013 Views

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuring <strong>the</strong> <strong>Reports</strong> Servlet<br />

The DBAUTH and SYSAUTH parameters are for specifying <strong>the</strong> location and filename of<br />

<strong>the</strong> HTML templates <strong>to</strong> be used for individual login screens. By default, <strong>the</strong> file names<br />

are rwdbauth.htm and rwsysauth.htm, respectively.<br />

For example, <strong>the</strong> following entry points <strong>to</strong> <strong>the</strong> template for <strong>the</strong> database login screen:<br />

DBAUTH=rwdbauth.htm<br />

SYSAUTH points <strong>to</strong> a login screen for a secure report. For example:<br />

SYSAUTH=rwsysauth.htm<br />

It isn't necessary <strong>to</strong> enter <strong>the</strong> path <strong>to</strong> a template when it is s<strong>to</strong>red in <strong>the</strong> default<br />

template direc<strong>to</strong>ry:<br />

ORACLE_HOME\reports\templates<br />

3.3.5 Setting Up Trace Options for <strong>the</strong> <strong>Reports</strong> Servlet and JSPs<br />

Trace has been added <strong>to</strong> <strong>the</strong> <strong>Oracle</strong>AS <strong>Reports</strong> Services environment <strong>to</strong> allow <strong>the</strong><br />

logging of many different types of runtime information on various <strong>Oracle</strong>AS <strong>Reports</strong><br />

Services components.<br />

Note: Tracing for <strong>Reports</strong> Server is configured in <strong>the</strong> server<br />

configuration file, server_name.conf, discussed in<br />

Section 3.2.1.11. Tracing for an individual report can be built in<strong>to</strong><br />

<strong>the</strong> <strong>Reports</strong> Runtime command line, discussed in Command Line<br />

Options.<br />

If you wish <strong>to</strong> track and log runtime information on <strong>the</strong> <strong>Reports</strong> Servlet and JSPs, use<br />

<strong>the</strong> TRACEOPTS parameter in <strong>the</strong> servlet configuration file. You can enter from zero <strong>to</strong><br />

multiple trace options. Separate each option with a vertical bar.<br />

For example:<br />

TRACEOPTS=trace_prf|trace_pls|trace_dbg<br />

All available trace options are listed and described in Table 3–12.<br />

Additionally, you can use <strong>the</strong> TRACEFILE and TRACEMODE parameters.<br />

Use TRACEFILE <strong>to</strong> specify <strong>the</strong> filename of <strong>the</strong> trace file. For example:<br />

TRACEFILE=myrwservlet.trc<br />

The default name is rwservlet.trc. If no path is specified, <strong>the</strong> trace file will be in<br />

<strong>the</strong> following direc<strong>to</strong>ry on both Windows and UNIX:<br />

ORACLE_HOME\reports\logs<br />

Use TRACEMODE <strong>to</strong> define whe<strong>the</strong>r new trace information will ei<strong>the</strong>r overwrite <strong>the</strong><br />

existing trace file (trace_replace), or be added <strong>to</strong> <strong>the</strong> end of <strong>the</strong> trace, leaving<br />

existing trace information intact (trace_append). TRACEMODE replaces or appends <strong>to</strong><br />

<strong>the</strong> tracing information that has accumulated since <strong>the</strong> startup of <strong>the</strong> <strong>Oracle</strong><br />

Application Server Containers for J2EE container that contains rwservlet. For<br />

example:<br />

TRACEMODE=trace_append<br />

The default for TRACEMODE is trace_replace.<br />

Configuring <strong>Oracle</strong>AS <strong>Reports</strong> Services 3-35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!