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>Reports</strong> Server<br />

1. Open reports.sh and comment <strong>the</strong> environment variable value. For<br />

example, comment <strong>the</strong> REPORTS_PATH value set in <strong>the</strong> reports.sh file.<br />

2. Open <strong>the</strong> server_name.conf file.<br />

3. Copy <strong>the</strong> environment variable value in <strong>the</strong> reports.sh file <strong>to</strong> <strong>the</strong> server_<br />

name.conf file using <strong>the</strong> environment id tags. For example:<br />

<br />

<br />

<br />

<br />

<br />

<br />

4. Add <strong>the</strong> defaultEnvId value <strong>to</strong> <strong>the</strong> appropriate tag in <strong>the</strong> server_<br />

name.conf file.For example, add <strong>the</strong> defaultEnvId value <strong>to</strong> <strong>the</strong> engine tag<br />

so that <strong>the</strong> engine starts with <strong>the</strong> default REPORTS_PATH.<br />

<br />

5. Now run <strong>the</strong> report.<br />

■ In previous releases of <strong>Oracle</strong> <strong>Reports</strong> on Solaris, you were required <strong>to</strong> add <strong>the</strong><br />

following line in <strong>the</strong> reports.sh file:<br />

NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1; export NLS_LANG<br />

This workaround was introduced because OPMN implicitly sets NLS_LANG <strong>to</strong><br />

AMERICAN_AMERICA.WE8MSWIN1252, which is passed <strong>to</strong> <strong>the</strong> engine if NLS_<br />

LANG is not set. This caused a problem in Solaris because <strong>the</strong> encoding doesn't<br />

exist. However, <strong>the</strong> NLS_LANG setting in reports.sh breaks <strong>the</strong> environment<br />

switching feature and will result in any of <strong>the</strong> following errors:<br />

REP-3000: Internal error starting <strong>Oracle</strong> Toolkit<br />

or<br />

REP-56048: Engine rwEng-0 crashed<br />

To work around this issue, you must remove <strong>the</strong> NLS_LANG entry in<br />

reports.sh.<br />

3.2.3 Connecting <strong>to</strong> <strong>Oracle</strong>AS Portal<br />

By default, <strong>Reports</strong> Server can only use portal users <strong>to</strong> connect <strong>to</strong> <strong>Oracle</strong>AS Portal. It<br />

cannot use an ordinary userid, such as scott/tiger, unless you first assign<br />

appropriate privileges <strong>to</strong> its schema.<br />

To assign <strong>the</strong> appropriate privileges <strong>to</strong> a schema o<strong>the</strong>r than <strong>the</strong> portal schema, you<br />

need <strong>to</strong> run <strong>the</strong> following script from SQL*Plus as an <strong>Oracle</strong>AS Portal user:<br />

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

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

Saved successfully!

Ooh no, something went wrong!