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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

13.8 Scheduling <strong>Reports</strong> <strong>to</strong> Run Au<strong>to</strong>matically<br />

Reusing Report Output from Cache<br />

You can use <strong>the</strong> server <strong>to</strong> run reports au<strong>to</strong>matically from <strong>Reports</strong> Queue Manager,<br />

<strong>Oracle</strong>AS Portal, or with <strong>the</strong> SCHEDULE command line option. The scheduling feature<br />

enables you <strong>to</strong> specify a time and frequency for <strong>the</strong> report <strong>to</strong> run.<br />

Refer <strong>to</strong> <strong>the</strong> <strong>Reports</strong> Queue Manager online help, for more information about scheduling<br />

your reports.<br />

If you publish a report as a portal component on an <strong>Oracle</strong>AS Portal page, <strong>the</strong>n you<br />

can schedule <strong>the</strong> report request <strong>to</strong> run au<strong>to</strong>matically and push <strong>the</strong> resulting reports <strong>to</strong><br />

specified pages. Refer <strong>to</strong> <strong>Oracle</strong>AS Portal online help for more information.<br />

The SCHEDULE keyword is available for use with <strong>the</strong> rwclient, rwservlet, and<br />

rwcgi commands. See Command Line Options, SCHEDULE for more information.<br />

13.9 Additional Parameters<br />

See Also: Using <strong>the</strong> <strong>Oracle</strong> <strong>Reports</strong> <strong>Web</strong> Service<br />

For more information on <strong>the</strong> <strong>Oracle</strong> <strong>Reports</strong> <strong>Web</strong> service and<br />

installing and using <strong>the</strong> sample proxy and Java client.<br />

When you send a request <strong>to</strong> <strong>the</strong> <strong>Reports</strong> Server, <strong>the</strong> following additional parameters,<br />

<strong>the</strong> values of which you cannot change, are implicitly passed along with your request:<br />

Table 13–5 Additional parameters passed with a report request<br />

Name Description<br />

ACCEPT_LANGUAGE The comma separated list of languages accepted by <strong>the</strong><br />

browser/user.<br />

REMOTE_ADDR The remote IP address from which <strong>the</strong> user is making <strong>the</strong><br />

request.<br />

REMOTE_HOST The remote host name from which <strong>the</strong> user is making <strong>the</strong><br />

request.<br />

SCRIPT_NAME The virtual path of <strong>the</strong> script being executed.<br />

SERVER_NAME The host name or IP address of <strong>the</strong> server on which <strong>the</strong> <strong>Reports</strong><br />

Servlet is running.<br />

SERVER_PORT The port number of <strong>the</strong> server on which <strong>the</strong> <strong>Reports</strong> Servlet is<br />

running.<br />

SERVER_PROTOCOL The name and revision of <strong>the</strong> information pro<strong>to</strong>col with which<br />

<strong>the</strong> request was sent.<br />

USER_AGENT The description of <strong>the</strong> remote client’s browser.<br />

13.10 Reusing Report Output from Cache<br />

When you run a report, a copy of <strong>the</strong> report output is saved in <strong>the</strong> <strong>Oracle</strong>AS <strong>Reports</strong><br />

Services cache. Subsequently, if an identical report is run (that is, with <strong>the</strong> same cache<br />

key), <strong>the</strong>n <strong>the</strong> current request is recognized as a duplicate job.<br />

There are several scenarios where reports caching takes effect:<br />

■ When a new job request "A" comes <strong>to</strong> <strong>the</strong> <strong>Reports</strong> Server, and <strong>the</strong>re is ano<strong>the</strong>r job<br />

"B" that has <strong>the</strong> same cache key in <strong>the</strong> Current Jobs Queue (where it is waiting for<br />

an available engine or is in <strong>the</strong> middle of execution), <strong>the</strong>n job "A" will use <strong>the</strong><br />

output from job "B".<br />

Running Report Requests 13-17

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

Saved successfully!

Ooh no, something went wrong!