|
|
|
This section contains step-by-step instructions on how to manually configure the Reports Server using the Web Cartridge on the Oracle Applications Server (OAS). In order to make these configuration procedures meaningful, it is necessary to make several assumptions. For the purposes of this section, the following assumptions are made:
You must have the Oracle Reports Server software to install and configure the Reports Server. Refer to the Getting Started manual for more information on installing the Oracle Reports Thin Client and Oracle Reports Server components and the Report Builder.
Tip: To install just the Reports Thin Client, Reports Server, or the Report Builder, start the Oracle Installer and choose the Custom Installation options. From the Available Products list box, expand the Oracle Reports Developer node and choose Reports Thin Client, Oracle Reports Server, or Report Builder as desired. Proceed with the installation as described in the Getting Started manual.
On the Web server machine:
On the Reports Server machine:
ORACLE_HOME\NET80\ADMIN
directory).
epserver.world
or keep the default.
where repserver.world
is the name of the server instance and .world
is the domain specified in the NAMES.DEFAULT_DOMAIN setting in the sqlnet.ora
file. If the NAMES.DEFAULT_DOMAIN setting is not defined in the sqlnet.ora
, then omit .world
from the name of the server instance.
Tip: You can always edit the Reports Server service entry by opening the tnsnames.ora
file in a text editor.
tnsnames.ora
file located on the Web server machine. See Section E.1.3.1, "To create a service entry for the Reports Server" for more information.
This step is performed on your Web server machine.
For more information on these steps, refer to your Oracle Application Server documentation.
This step is performed on your Web server machine.
If the Web server is on a different machine than your Reports Server, then you must add the Reports Server service entry that was created on the Reports Service machine to the tnsnames.ora
file located on your Web server machine. This will enable the Web CGI executable to communicate with the Reports Server.
Tip: If you do not remember the service entry settings for the Reports Server. Open the tnsnames.ora
file located in ORACLE_HOME\NET80\ADMIN
directory on your Reports Server machine. Copy or make note of the service entry.
tnsnames.ora
file (located in the ORACLE_HOME\NET80\ADMIN
directory) in a text editor.
repserver.world =(ADDRESS = (PROTOCOL = TCP)(Host = repserver_machine.mydomain)(Port = 1949))
where:
repserver.world
is the name of the server instance and .world
is the domain specified in the NAMES.DEFAULT_DOMAIN setting in the sqlnet.ora
file. If the NAMES.DEFAULT_DOMAIN setting is not defined in the sqlnet.ora
, then omit .world
from the name of the server instance.
REPORTS60_REPORTS_SERVER=repserver
where repserver
is the name of the Reports Server that you are configuring (that is, the TNS service entry name of the Reports Server). See Section E.1.1, "Step 1. Install the software".
Note: Refer to your operating system's documentation to determine if the values you set are case-sensitive.
Tip: You may want to create a shell script that sets environment variables on your Web server machine. To do this, create a file that contains the command described below.
setenv REPORTS60_REPORTS_SERVER repserver
where repserver
is the name of the Reports Server that you are configuring (that is, the TNS service entry name of the Reports Server). See Section E.1.1, "Step 1. Install the software".
Tip: Refer to your operating system's documentation to determine if the values you set are case-sensitive.
The steps that follow assume that you have already configured Oracle Application Server, Release 4.0 or later. For more information, refer to your Oracle Application Server documentation.
Reports60Cartridge
.
Reports60Cartridge
.
rwows60.dll
). For example, type: D:\ORACLE_HOME\BIN\RWOWS60.DLL
.
rwows_start
.
/rwows
.
100
.
You can configure the Reports Server on Windows NT as a service or a non-service, or you can configure the Reports Server on UNIX. To configure the Reports Server, you need to create a TNS service name in the tnsname.ora
file, set environment variables, and then install the Reports Server.
RWMTS60 is the executable for the Reports Server. It has three commands associated with it:
For Windows NT, you can install, listen, and uninstall the Reports Server manually or in batch mode. Set the BATCH argument to Yes to ignore any error messages raised during the installation and allow the operation to complete without interruption. Any errors or status information raised during installation can be viewed in the Reports Server log file (located on ORACLE_HOME\REPORT60\SERVER\repserver.log
). The default for BATCH is No.
This step is performed on the Reports Server machine.
Alternatively, after the Reports Server is installed, you can set the source path in the Reports Server configuration file. See the SOURCEDIR parameter in Appendix B, "Reports Server Configuration Parameters" for more information.
C:\WEB_REPORTS
).
Note: Refer to your operating system's documentation to determine if the values you set are case-sensitive.
Alternatively, after the Reports Server is installed, you can set the source path in the Reports Server configuration file. See the SOURCEDIR parameter in Appendix B, "Reports Server Configuration Parameters" for more information.
C:\WEB_REPORTS
).
Note: Refer to your operating system's documentation to determine if the values you set are case-sensitive.
rwmts60 -install repserver tcpip
or for batch mode:
rwmts60 -install repserver batch=yes
Tip: Repserver does not need to have the domain qualifier appended to it (for example, .world
).
Tip: If you want to output to PostScript or to a printer, then ensure the user running the Reports Server service has access to a default printer. Typically, the System Account does not usually have access to printers.
Tip: When you start the Reports Server for the first time, a Reports Server configuration file (for example, repserver.ora
) is created in the ORACLE_HOME\REPORT60\SERVER
directory. The setting for your Reports Server cache is set by default. You can change the cache directory, or set the report's source path by modifying the configuration file. If you modify the configuration file, stop and restart the Reports Server for the changes to take effect.
rwmts60 -listen repserver
or in batch mode:
rwmts60 -listen repserver batch=yes
Tip: Repserver does not need to have the domain qualifier (for example, .world
) appended to it.
rwmts60 -uninstall repserver
or in batch mode:
rwmts60 -uninstall repserver batch=yes
Tip: Repserver does not need to have the domain qualifier appended to it (for example, .world
).
Tip: You may want to create a shell script that sets the environment variables and launches the RWMTS60 executable. To do this, create a file that contains the commands described below.
/WEB_REPORTS
).
setenv REPORTS60_PATH $WEB_REPORTS
Tip: Alternatively, after the Reports Server is installed, you can set the source path in the Reports Server configuration file. See the SOURCEDIR parameter in Appendix B, "Reports Server Configuration Parameters" for more information.
tnsnames.ora
file:
setenv TNS_ADMIN $ORACLE_HOME/NET80/ADMIN
Tip: Refer to your operating system's documentation to determine if the values you set are case-sensitive.
$ORACLE_HOME/BIN
directory, run the following command line to run the Reports Server in the foreground:
rwmts60 name=repserver
or to run the Reports Server in the background:
rwmts60 name-repserver &
To determine if your server is running, go to step 6. If your Reports Server does not start or you get an error message, then refer to Appendix F, "Troubleshooting" for more information.
Tip: When you start the Reports Server for the first time, a Reports Server configuration file (for example, repserver.ora
) is created in the $ORACLE_HOME/REPORT60/SERVER
directory. The setting for your Reports Server cache is set by default. If you want to change the cache directory, or if you want set the report's source path, then you can do so by modifying the configuration file. If you modify the configuration file, then you will need to stop and restart the Reports Server to acknowledge the changes.
$ORACLE_HOME/BIN
directory, run the following command line to ensure that the Reports Server is running:
rwrqv60 server=repserver
Status columns (that is, NAME, OWNER, DEST, etc.) for this Reports Server are displayed. Currently, though, no status information is available since no jobs are running.
Tip: To kill the Reports Server, press ctrl-C.
Tip: If you want to output to PostScript or to a printer, then the printer must be configured in the uiprint.txt
file (located in the $ORACLE_HOME/GUICOM6/TK60/ADMIN
directory).
http://your_webserver/rwows60?report=your_report.rdf+ userid=username/password@mydb+desformat=html+destype=cache
Notice that the SERVER command line argument is missing from the request. It is not required if you set the REPORTS60_REPORTS_SERVER environment variable on your Web Server machine to the repserver.
Tip: If the report does not run or if you receive an error message, then refer to Appendix F, "Troubleshooting" for more information.
This completes the Reports Server configuration example for a Web Cartridge configuration. You have successfully configured the Reports Server for dynamic reporting using the Reports Web Cartridge.
Next steps:
This Reports Server is configured to perform using a default configuration. At some point, you may want to modify the configuration to tune performance, set up monitoring controls, or implement additional features.
You can set up your database to take snapshots of the Reports Server queue activity whenever jobs are run. When you start the Reports Server, a connection to the database is made. By default, the Reports Server calls an API to delete queue information when the server restarts and to update the queue information in the database table.
You can edit the source for the API in the rw_server.sql script to override the defaults (for example, prevent the queue from being deleted when restarting the Reports Server). The prototype of the procedure (that is, the procedure name and the parameters it expects) should not be edited.
To connect to the database, you set the REPOSITORYCONN parameter in the configuration file. To create the queue activity table in the database, you run the rw_server.sql
script.
On the Reports Server machine:
repserver.ora
configuration file (located on the ORACLE_HOME\REPORT60\SERVER
directory) in a text editor.
REPOSITORYCONN="repserver_schema/password@my_db"
where repserver_schema/password@database
is the connection string to the schema in your database that takes snapshots of queue activity of the specified Reports Server. In this case, repserver_schema
is the schema for repserver
queue activity.
Tip: If you want to take snapshots of queue activity from many Reports Servers, then it is recommended that you create a different schema in your database for each Reports Server that you want to take snapshots of. This will prevent you from losing queue activity data when you restart a Reports Server.
rw_server.sql
script (located in the ORACLE_HOME\REPORT60\SQL
directory) from the command line. At the command line prompt, type:
cd C:\ORACLE_HOME\REPORT60\SQL <RETURN> plus80 username/password@my_db <RETURN> @rw_server.sql <RETURN> quit <RETURN>
Note: When you restart your Reports Server, queue activity in the database is deleted by default. You can override the default by editing the API.
Environment variables are the configuration parameters used to control or customize the behavior of the Reports Server. For Windows NT, environment variables are set using the Registry Editor. For UNIX, variables can be set using a shell script.
|
Copyright © 2000 Oracle Corporation. All Rights Reserved. |
|