You are on page 1of 32

[Delete from Title Master

]

Set correct lesson number in the Title Master.

Oracle9iAS Reports Services: Deploy Internet Reports

Version: OU5_1.ppt Released: 06_JULY_01

Copyright © Oracle Corporation, 2001. All rights reserved.

Oracle9iAS Reports Services: Deploy Internet Reports.

<Course name> <Lesson number>-1

[Delete from Slide Master]

Objectives

After completing this eClass you should be able to do the following: • Configure Oracle9iAS Reports Services for optimum performance • Manage Oracle9iAS Reports Services with Oracle Enterprise Manager • Enable Oracle9iAS Reports Services Security with Oracle9iAS Portal • Deploy reports using Oracle9iAS Reports Services

1-2

Copyright © Oracle Corporation, 2001. All rights reserved.

After this eClass you should be able to configure Oracle9iAS Reports Services to achieve optimum performance, use Oracle Enterprise Manager to manage and configure Oracle9iAS Reports Services, use the Oracle9iAS Portal interface to administer Oracle9iAS Reports Services Security, and finally you learn how to deploy and run reports using Oracle9iAS Reports Services.

Let’s move to Topic 1.

<Course name> <Lesson number>-2

Configuring Oracle9iAS Reports Services

[Delete from Slide Master]

• Introducing Oracle9iAS Reports Services Architecture • Configuring Oracle9iAS Reports Services Server • Configuring Oracle9iAS Reports Services Servlet

1-3

Copyright © Oracle Corporation, 2001. All rights reserved.

This topic discusses the Oracle9iAS Reports Services Architecture, followed by configuring an Oracle9iAS Reports Services Server, and the Oracle9iAS Reports Services Servlet. Let us begin by looking at the Oracle9iAS Reports Services Architecture.

<Course name> <Lesson number>-3

2001.JSP Runtime Architecture HTTP Oracle HTTP Listener mod_OC4J JSP Engine CORBA/IIOP Login Server Oracle9iAS Reports Services CORBA/IIOP Reports Engine PDS [Delete from Slide Master] OID Oracle9iAS Portal 1-4 Copyright © Oracle Corporation. <Course name> <Lesson number>-4 . All rights reserved.

<Course name> <Lesson number>-5 . 2001. All rights reserved.Servlet Runtime Architecture HTTP Oracle HTTP Listener mod_OC4J Reports Servlet CORBA/IIOP Login Server Oracle9iAS Reports Services CORBA/IIOP Oracle9iAS Portal Reports Engine PDS [Delete from Slide Master] Fax in Pr t ma il OID Persistent Reports Cache 1-5 Copyright © Oracle Corporation.

The configuration file for the Oracle9iAS Reports Services server is server_name. 2001. The slide shows you the path and name of both Reports Servers.conf – ORACLE_HOME\reports\dtd\rwserverconf. The DTD file for both is rwserverconf. All reports are run via the Reports Server.conf and for the builder it is rwbuilder. The Reports Builder too includes a built-in Reports Server and needs to be configured.conf – ORACLE_HOME\reports\dtd\rwserverconf.dtd .so the XML configuration files must adhere to the rules defined in this DTD file.Configuring Oracle9iAS Reports Server [Delete from Slide Master] • Configuring the Oracle9iAS Reports Services Server instance – ORACLE_HOME\reports\conf\<server_name>.dtd • Configuring the Server instance in Reports Builder – ORACLE_HOME\reports\conf\rwbuilder.conf. All rights reserved.dtd 1-6 Copyright © Oracle Corporation. The Oracle9iAS Reports Servers need to be configured. <Course name> <Lesson number>-6 .

has as its root the <server> element. the Reports Server in Oracle9iAS Reports Services and that in the Reports Builder. <Course name> <Lesson number>-7 . The showjobs command line option uses the persistFile to display job information.com) (PORT=1949) ) 1-7 Copyright © Oracle Corporation.company. When compatible is set to 6i. 2001. The Oracle9iAS Reports Services Servers alone have the compatible element. The compatible element is available for backward compatibility with Reports 6i clients. Every Reports Server configuration file i. the server will create one of its own. All rights reserved. The persistFile is persistent so the file remains intact even when the server is restarted. The persistFile is a binary file. named rwproxy.ora rep9isvr. The persistFile element identifies the file that records all job status information. that listens for requests from a 6i client and forwards them to a 9i server. the Reports Server will make use of the executable file. you must also have an entry for the Reports Server in your tnsnames.e. If you use the compatible element. You can have only one persistFile per server. and therefore can only be used by Oracle9iAS Reports Services.ora file. If you do not specify a file.world = (ADDRESS= (PROTOCOL=tcp) (HOST=host.dat"/> … </server> tnsnames.Configuring the Reports Server [Delete from Slide Master] <server> <compatible version="6i"/> … <persistFile filename="your_filename.

cache. You can have as many property name/value pairs as needed by your cache implementation class. Cache directory specifies the location of the cache. You enter a standard directory path for this value. The default cache Java class settings looks as you see on the slide. <Course name> <Lesson number>-8 . 2001.reports. All rights reserved.Configuring the Reports Server [Delete from Slide Master] <server> … <cache class="oracle. The cache size is specified in Megabytes.RWCache"> <property name="cacheSize" value="50"/> Megabytes <property name="cacheDir" value="your cache directory"/> </cache> … </server> 1-8 Copyright © Oracle Corporation. The cache element specifies the Java class that defines the server’s cache implementation.

reports. Destinations are also setup using the server configuration file. There is no need to register default destinations other than Oracle9iAS Portal. 2001.reports. password. the value for securityUserID in the configuration file is encrypted and the encrypted property will be changed to yes. During the initial setup you specify the username.DesOraclePortal"> <property name="portalUserid" value="portal_id/portal_password@portal_schema" confidential="yes" encrypted="no"/> </destination> 1-9 Copyright © Oracle Corporation.when the Reports Server is started. and schema information in a destination element in the configuration file. <Course name> <Lesson number>-9 . and portal schema values after the server is restarted. The encrypted attribute will be changed to yes following encryption. Again this information is encrypted following the Reports Server startup since confidential is set to yes. The default security class provided with Oracle9iAS Reports Services relies on using the Oracle9iAS Portal interface to administer Reports Services security. password and portal_schema name for the securityUserid property.RWSecurity"> <property name="securityUserid" value="portal_id/portal_password@portal_schema" confidential="yes" encrypted="no"/> </security> … <destination destype="oraclePortal" class="oracle. The security element specifies the Java class that controls server access.server.server. Since confidential was set to yes . All rights reserved.Configuring the Reports Server [Delete from Slide Master] <security id="rwSec" class="oracle. password. You need to enter the Oracle9iAS Portal userid. This prevents anyone from seeing the username. Confidential is set to yes and encrypted is set to no.

reports. The maxIdle attribute specifies the number of minutes of allowable idle time before the engine is shut down. The maxEngine attribute specifies the maximum number of engines of this type that can run on the server. The second job element specifies that the <Course name> <Lesson number>-10 rwURLEng is for the purpose of running rwurl or URL Engine jobs.reports. The minEngine attribute specifies the minimum number of this type of engine that should be active on the server.engine. You must have at least one engine element in your configuration file. The initEngine attribute specifies the number of engines that are started at initialization.URLEngineImpl" initEngine="1" maxEngine="1" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="60000"/> … <job jobType="report" engineId="rwEng" securityId="rwSec"/> <job jobType="rwurl" engineId="rwURLEng" securityId="rwSec"/> 1-10 Copyright © Oracle Corporation. .EngineImpl" initEngine="1" maxEngine="1" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="60000"> … </engine> … <engine id="rwURLEng" class="oracle. The callbackTimeOut specifies the number of mSec of allowable waiting time between when the server calls the engine and the engine calls the server back. The default implementation settings are shown on the slide. The engine attribute specifies the Java class that implements the engine.Configuring the Reports Server [Delete from Slide Master] <engine id="rwEng" class="oracle. All rights reserved. provided the current number of engines is higher than minEngine. 2001. The first job element specifies that the rwEng is for the purpose of running reports. The second engine is the URL engine. The job elements indicate the functionality of each engine. The engLife attribute specifies the number of jobs the engine can run before the engine is terminated. The first engine on the slide is the engine to run reports.urlengine.

com on the slide.reports. All rights reserved.company. so each job is appended to the table. Substitute your outgoing SMTP mail server for your_mail_server. The trace element is used to create a file for tracing your report’s execution and to specify the objects and activities you want to trace.com </pluginParam> … <trace traceFile="your_file.JobRepositoryDB"> <property name="repositoryConn" value="scott/tiger@orcl" confidential="yes" encrypted="no"/> </jobStatusRepository> … <pluginParam name="mailServer">your_mail_server. The username. The jobStatusRepository element specifies the Java class that implements a job status repository. Trace-all for traceOpts. The slide shows you the plugin parameter used to include your mail server. This job status repository is stored in a table in the database. The pluginParam element is used for pluggable components of Oracle9iAS Reports Services.trc" traceOpts="trace_all" traceMode="trace_append"/> 1-11 Copyright © Oracle Corporation.Configuring the Reports Server [Delete from Slide Master] <jobStatusRepository class="oracle. Following encryption the encrypted attribute will be set to yes. The job status repository is persistent. <Course name> <Lesson number>-11 . The trace_append for traceMode will append the trace information to the end of the existing trace file. logs all possible server and engine information in a trace file.company. password and schema are encrypted when the Reports Server is restarted since the confidential is set to yes.server. 2001.

dat) for each report request. 2001. The IMAGEURL parameter specifies the reports servlet information which is used to retrieve dynamically generated images such as charts. the runtime performance will be affected if the key map file is reloaded for every request. The CGINODIAG parameter equals YES is used to ensure that command line information is not included with the error message. If the Reports Server is a member of a server cluster. Configuring the Reports Servlet is done in the rwservlet. However.Configuring the Reports Servlet ORACLE_HOME\reports\conf\rwservlet.properties file.properties file. This may be useful if you update your key map file often. To run the Reports Server in the same process as the Reports Servlet set SERVER_IN_PROCESS to YES.properties CGINODIAG=YES TRACEOPTS=TRACE_ALL SERVER_IN_PROCESS=yes SERVER=<reports_server_name> IMAGEURL=http://<web_server>:<port>/servlet/rwservlet RELOAD_KEYMAP=NO [Delete from Slide Master] 1-12 Copyright © Oracle Corporation. The RELOAD_KEYMAP parameter is used to specify whether to reload the key map file (cgicmd. Trace options are set using the TRACEOPTS parameter .TRACE_ALL logs all possible runtime information on the Reports Servlet and JSPs in the trace file. You can specify the default Reports Server using the SERVER parameter. use the cluster name. All rights reserved. Let us take a look at a typical rwservlet. <Course name> <Lesson number>-12 .

2001. All rights reserved.Managing Oracle9iAS Reports Services [Delete from Slide Master] • Maintaining Oracle9iAS Reports Services • Accessing Oracle9iAS Reports Services Security • Optimizing Oracle9iAS Reports Services Performance 1-13 Copyright © Oracle Corporation. You also learn how to use Oracle9iAS Reports Services security to secure your reports and connection strings. You learn how to monitor. This topic discusses managing Oracle9iAS Reports Services. <Course name> <Lesson number>-13 . Let us look at maintaining Oracle9iAS Reports Services. configure and optimize Oracle9iAS Reports Services.

stop and restart) 2. 2001. the showjobs command line option and the Job Status Repository. You can use Oracle Enterprise Manager also called OEM. you can query job queue information since the information is stored in a database table.Maintaining Oracle9iAS Reports Services [Delete from Slide Master] Job queue View cached output Delete current job Re-run Report Configuration Administration Performance Oracle showjobs Job Status Repository Enterprise Manager (OEM) x x x x x x x x x x x 1-14 Copyright © Oracle Corporation. memory usage. You have several tools to maintain Oracle9iAS Reports Services. With the Job Status Repository. You can also delete current jobs. and average response time b) queue information c) trace information 3. OEM provides the following benefits 1. All rights reserved. Monitor server activity a) server metrics such as CPU load. Edit server configuration With the showjobs command line option. you can look at job queue information and view cached output. <Course name> <Lesson number>-14 . Control the server (start.

The target type for a Reports Server is oracle_repserv. The password will be encrypted after you restart OEM.conf file.xml file. <Course name> <Lesson number>-15 .company. this is the username and password you entered in the security element in the <server_name>.xml <targets> <target type="oracle_repserv" name="your_repsvr"> <property name="password" value="tiger" encrypted="true"/> <property name="host" value="host.com /servlet/rwservlet"/> <property name="userName" value="scott"/> <property name="oracleHome" value="ORACLE_HOME"/> <compositeMembership> <memberOf type="oracle_ias" name="IAS-1"/> </compositeMembership> </target> … </targets> [Delete from Slide Master] 1-15 Copyright © Oracle Corporation.company. In order for you to manage a Reports Server using OEM. For a secure server.com"/> <property name="server" value="your_repsvr"/> <property name="servlet" value="http://host. All rights reserved. You will need to include the reports servlet information and the reports host machine information. You include the Reports Server name in the name attribute. You will also need to include the username and password information for the Reports Server.Integrating Reports Server with OEM targets. you need to include the information in the targets. This is used for comparing usernames and passwords between OEM and the Reports Server when shutting down the Reports Server via OEM. The slide shows you an example. 2001.

and finished 1-16 Copyright © Oracle Corporation. started. You can also get an XML and XML with the inline DTD using the xml and xmldtd statusformat options respectively.com/servlet/rwservlet/showjobs? server=your_repsvr &statusformat= [ html | xml | xmldtd ] [Delete from Slide Master] • • • • • • • • Job id Job type Job name Job status . The showjobs command line option provides you job queue information. The information that can be obtained with this command is shown on the slide. All rights reserved.company. The default statusformat for showjobs is html. After you run the showjobs command line in the URL . and output name Server name When queued.you can view the cached output of a completed job by clicking on the job status column of a completed job. <Course name> <Lesson number>-16 .click to view output or delete job Job owner Output type. You need to specify the Reports Server you want query. 2001.Viewing Job Information Showjobs command line option http://host. You can delete a job that is running by clicking on the job status column of a job that is currently running.

and status message Command line Owner Destype.sql script in the ORACLE_HOME\reports\sql directory. and Job name Status code. how many concurrent users there are on the Reports Server. [Delete from Slide Master] • • • • • • • • • • 1-17 Job id. The job type indicates whether the job listed is current. and cache key Copyright © Oracle Corporation. and next run Repeat interval. 2001. Job type. and finished Last run. The database table is updated each time a job request is submitted. The job status repository answers questions such as the status of a report that has been submitted.Viewing Job Information Job Status Repository select * from RW_SERVER_QUEUE. and Desname Server When queued. and repeat pattern Cache hit. you can use this as a data source to create your own reports on Reports Server utilization. past or scheduled. This table is created by running the rw_server. Since this is in a table. All rights reserved. <Course name> <Lesson number>-17 . started. The job status repository is stored in the rw_server_queue database table.

conf file.reports. This specifies the Portal securityUserid and schema that is used to maintain the security information within Oracle9iAS Portal. 2001. Oracle9iAS Reports Services security is turned on when the security element is configured in the server_name.RWSecurity"> <property name="securityUserid" value=“scott/tiger@orcl" confidential="yes" encrypted=“no” /></security> Register Register Reports Reports Servers Register Availability Printers Calendars [Delete from Slide Master] scott/tiger@orcl Oracle Login Server OID Access Control Information Reports Server Oracle9iAS Portal Repository 1-18 Copyright © Oracle Corporation. Printers and Availability Calendars. The Oracle9iAS Reports Services Security page shown within Oracle9iAS Portal provides you an interface to register Reports Servers. If it is permissible. that is if this user is allowed to run this report at this time on this server and print to this printer etc. the Reports Server gets the connection strings to the various data sources for this user from the OID.server. This Application Security information is stored within the Oracle9iAS Portal Repository. All rights reserved.Accessing Oracle9iAS Reports Services Security <server_name>. <Course name> <Lesson number>-18 . Reports.conf <security id="rwSec" class="oracle. against the Oracle9iAS Portal Repository. When a report is to be executed the Reports server checks application security. The connection strings to access data sources are stored in the Oracle Internet Directory. Oracle9iAS Reports Services security is accessed via the Oracle9iAS Portal interface. also called OID.

The Reports Server can be in the same process as the Reports Servlet or communicate with each other using CORBA invocations. <Course name> <Lesson number>-19 . The stand-alone server must be started before jobs can be submitted. set Server_In_Process=yes in the rwservlet. 2001. The inprocess server cannot be a member of a cluster but the stand-alone server can be. The communication between the two takes place with normal Java function calls. To choose the in-process server setting.Optimizing Oracle9iAS Reports Services Server Performance Reports Servlet Reports Servlet Reports Server In-Process Server Setting Location Starting Up Performance Cluster Server_In_Process=yes (rwservlet. For stand-alone server set Server_In_Process=no.properties) Independent Must be started Slower Yes 1-19 Copyright © Oracle Corporation. Optimizing Oracle9iAS Reports Services Server performance. This makes the in-process server much faster than the stand-alone server.properties file.properties) Reports Servlet Automatic with job Faster No CORBA / IIOP [Delete from Slide Master] Reports Server Stand-Alone Server Server_In_Process=no (rwservlet. the servlet and the server are in the same process. All rights reserved. In addition the In-process server starts automatically when a job is received. With in-process server support.

For low loads with occassional peaks. Tuning the Reports Engine. Here are some points to remember . Bearing these in mind.Report engines take memory. The choice depends on the load. the more engines that are up and running the faster the response time but it uses more memory. <Course name> <Lesson number>-20 .max #CPUx4 High constant load Low loads 50 High constant load Low loads (jobs) 30 Not necessary (mins) Not necessary Server host machine fast callBackTimeOut 60000 Server host (mS) machine slow 1-20 Copyright © Oracle Corporation. For high constant loads it is better to have the maxEngine and minEngine close together to prevent engines from starting up and shutting down in high volume situations. 2001. All rights reserved. for a high constant load you would need more engines running. it takes time to start an engine. you can have fewer engines running. the more an engine is reused it can lead to memory leaks and faster the machine the faster the communication between the Reports Server and the engine.Tuning the Reports Engine Parameter initEngine maxEngine minEngine engLife maxIdle Default 1 1 0 Higher Value Lower Value [Delete from Slide Master] High constant load Low loads with occasional peaks High constant load Low loads .

Improving Performance using Peer-Level Clustering • • • • Caches report output locally Shares report output among cluster members Distributes job requests equally among members Has no single-point-of-failure java oracle. The reports servers are then restarted after the configuration files have been changed.KeyManager <public_key_file_name> <private_key_file_name> <server_name>.conf <connection …> <cluster publicKeyFile="ORACLE_HOME\reports\server\yourpubkey" privateKeyFile="ORACLE_HOME\reports\server\yourprikey"/> </connection> [Delete from Slide Master] 1-21 Copyright © Oracle Corporation. <Course name> <Lesson number>-21 . Jobs are distributed equally among all members of the cluster and has no single-point-of-failure.utility. Peer-Level clustering caches the report output on each server but shares the output among cluster members. You can improve performance by using Peer-Level clustering. To setup a peer-level cluster. 2001. All rights reserved. You use the command shown on the screen to create these keys.report.<cluster_name>. you need to create a new public key and a private key. Each server in the cluster must have the same public and private keys in the server configuration file.

Optimizing cache access. However. If expiration is not specified then Oracle9iAS Reports Services rer ns the . All rights reserved. then Oracle9iAS Reports Services reruns the report even if a duplicate report is found in cache. The cache element in the server configuration file specifies the cache settings. Again here. If tolerance is not specified. and time to rerun the report. you need to balance the need for current information versus the time to rerun the report. Use expiration to define how long the report output can exist in cache before it is deleted.RWCache"> <property name="cacheSize" value="50"/> <property name="cacheDir" value="your cache directory"/> </cache> [Delete from Slide Master] • Using the cacheSize value – Large cache sizes may slow searches • Using the tolerance command line parameter – Balance the need for current information versus time to rerun report • Using the expiration command line parameter – Balance the need for current information.reports. Larger cache sizes will take longer to search the cache but too small a value will not allow you to store much in the cache.cache. You can use expiration and tolerance with rwclient. rwservlet and rwcgi. The default cache size is 50MB. Setting the time tolerance on a report reduces the processing time when duplicate jobs are found. cache file space. you will need to balance the need for <Course name> <Lesson number>-22 current information. cache file space. and time to rerun report 1-22 Copyright © Oracle Corporation.Optimizing Cache Access <cache class="oracle. 2001. Use tolerance to set the maximum acceptable time for reusing a report’s cached output when a duplicate job is detected.

deploying reports with Oracle9iAS Reports Services and using Key Mapping. We discuss using OID for authentication. All rights reserved. This topic discusses running reports using Oracle9iAS Reports Services.Running Reports using Oracle9iAS Reports Services • Accessing Oracle Internet Directory for authentication • Deploying reports using Oracle9iAS Reports Services • Enabling Key Mapping [Delete from Slide Master] 1-23 Copyright © Oracle Corporation. <Course name> <Lesson number>-23 . 2001.

2001. This is done with OID. Enter users into the OID a. Now that pluggable data sources have been introduced with Oracle9iAS Reports Services. Manually b. Give each user the URL which includes the ssoconn command line parameters 1-24 Copyright © Oracle Corporation. Entering data source connection strings can be done either by providing users access to the Oracle Delegated Administration Service (DAS) tool of OID or thru a dummy URL with the ssocon command line parameter setup by the OID administrator for each user. Give users access to the Oracle Delegated Administration Service (DAS) tool of OID b. Enter data source connection strings for each user a. All rights reserved.Accessing Oracle Internet Directory for authentication 1. This can be done manually or if you have some other LDAP compliant directory you can use an OID tool to populate the directory. Before the OID can be used. users need be entered. Batch upload with OID tool [Delete from Slide Master] 2. the need for Single-Sign-On authentication to all data sources must be satisfied. <Course name> <Lesson number>-24 . With the ssocon parameter users login to the data sources the first time and that information is recorded in the OID for subsequent access.

. <Course name> <Lesson number>-25 . Servlets must be accessible in the REPORTS_PATH. Deploying reports using Oracle9iAS Reports Services. JSPs must be placed in a subdirectory of the web server root.Deploying Reports using Oracle9iAS Reports Services • JavaServer Page (JSP) – Must be in a directory accessible by the Web Server [Delete from Slide Master] • Servlet – Must be in the REPORTS_PATH • CGI – Must be in the REPORTS_PATH 1-25 Copyright © Oracle Corporation. All rights reserved. To run a report using CGI it must be in the REPORTS_PATH. 2001.

JSP.rdf userid=hr/hr@orcl server=repsvr destype=file desformat=pdf desname=client. <Course name> <Lesson number>-26 . You can use the rwclient command line option as shown on the slide.Submitting a Report Request to Oracle9iAS Reports Services Use one of the following to submit a report: • Rwclient command line rwclient report=paperwl. 2001. You can also use the SRW. Rwclient interfaces with the Reports Server directly.RUN_REPORT 1-26 Copyright © Oracle Corporation. You can use Oracle9iAS Portal to run a report using Oracle9iAS Reports Services. You can use a URL as shown earlier. Submitting a report request to Oracle9iAS Reports Services. All rights reserved.pdf [Delete from Slide Master] • URL (servlet. or CGI) • Oracle9iAS Portal • PL/SQL API .RUN_REPORT API to submit a report to Oracle9iAS Reports Services.SRW.

dat file. You can specify the complete URL as shown on the slide. You can also use a key and specify the parameters for the key in the cgicmd.com:port/servlet/rwservlet? server=your_repsvr&report= report_name.company. <Course name> <Lesson number>-27 .dat 1-27 Copyright © Oracle Corporation. 2001.Running a Report via the Reports Servlet • Using the complete URL http://host.company.com:port/servlet/rwservlet?my_key Put my_key information in cgicmd. All rights reserved. The Reports servlet runs paper reports only.rdf& userid=hr/hr@orcl&destype=cache& desformat=htmlcss&paramform=yes [Delete from Slide Master] Report Parameters Enter values for the parameters P Lastname • Using a key in the key map file to provide default report parameters http://host. Running a report via the Reports Servlet.

dat file. All rights reserved. You can also use a key mapping with the key parameters specified in the cgicmd. <Course name> <Lesson number>-28 .jsp <rw:report id="report" parameters="server=your_repsvr&userid=hr/hr@orcl"> … </rw:report> 1-28 Copyright © Oracle Corporation. Running a JSP report. You can also use the parameters attribute of the rw:report tag to specify default parameters.Running a JSP-based Report [Delete from Slide Master] • Using the complete URL http://host.company.com:port/examples/report_name.company.jsp? server=your_repsvr&userid=hr/hr@orcl • Using the parameters attribute of the report tag to provide default report parameters http://host.com:port/examples/report_name. 2001. You can use the URL as shown on the slide to run a JSP report.

<Course name> <Lesson number>-29 .Advantages of Key Mapping [Delete from Slide Master] • • • • • Shortening the URL Changing runtime commands without affecting URL Standardizing typical run configurations Hiding sensitive information such as passwords Restricting the parameters that can be used 1-29 Copyright © Oracle Corporation. you can change runtime commands without affecting the URL. you can hide sensitive information such as usernames and passwords. All rights reserved.it shortens the URL. 2001. you can standardize on typical runtime configurations within a company. You can also restrict the parameters that can be used. Key mapping provides many advantages .

<Course name> <Lesson number>-30 .rdf destype=cache desformat=PDF P_FileLocation="FILE://D|/examples/XML_PDS/scripts/" 1-30 Copyright © Oracle Corporation.PaperReports XMLdata: server= repsvr userid= hr/hr@orcl report=Inventory.Enabling Key Mapping [Delete from Slide Master] • Specify file with REPORTS_CGIMAP environment variable or use CGICMD.dat file are shown on the slide. JSPs BarcodeWeb: server=repsvr userid=hr/hr@orcl ParmformJSP: server=repsvr userid=hr/hr@orcl ChartHyperlink: server=repsvr userid=hr/hr@orcl .dat file in ORACLE_HOME\reports\conf is used by default. Enabling Key Mapping. If you do not specify a file using the REPORTS_CGIMAP environment variable. Some key mappings in a cgicmd. 2001. All rights reserved. the cgicmd.DAT in ORACLE_HOME\reports\conf .

it shortens the URL. 2001. <Course name> <Lesson number>-31 . you can hide sensitive information such as usernames and passwords.jsp?cmdkey=keyname – Can be anywhere within the query string – Can also be used with servlet-based reports 1-31 Copyright © Oracle Corporation. All rights reserved. You can also restrict the parameters that can be used. Key mapping provides many advantages . you can standardize on typical runtime configurations within a company.Using Key Mapping [Delete from Slide Master] • With servlet-based reports – Use http://…/rwservlet?keyname – Must be the first value in the query string • With JSP-based reports – Use http://…/myreport. you can change runtime commands without affecting the URL.

All rights reserved. 2001. <Course name> <Lesson number>-32 .[Delete from Slide Master] Summary In this course. you should have learned to: • Configure Oracle9iAS Reports Services • Manage Oracle9iAS Reports Services • Enable Oracle9iAS Reports Services Security • Tune Oracle9iAS Reports Services for optimum performance • Deploy reports using Oracle9iAS Reports Services 1-32 Copyright © Oracle Corporation.