Oracle Application Server Reports Services Publishing Reports to the Web 10g (9.0.4) Part Number B10314-01 |
|
This chapter provides information on starting and stopping OracleAS Reports Services. It includes the following main sections:
If you plan to run reports on the Web, you must first start the Oracle HTTP Server. You'll find information on doing this in your Oracle Application Server documentation. When you follow any of the procedures in this chapter, we assume you have already started the Oracle HTTP Server.
The best way to run the Reports Server is through the Oracle Process Manager and Notification Server (OPMN). OPMN provides a centralized mechanism for initializing, maintaining, and shutting down your Oracle HTTP Server, Oracle Application Server Containers for J2EE processes, and OracleAS Reports Services. For more information about configuring the Reports Server through OPMN, refer to Chapter 3, "Configuring OracleAS Reports Services".
When the standalone Reports Server is configured through OPMN, as it is by default, you can start, stop, and restart it through Oracle Enterprise Manager.
Note:
The standalone Reports Server is automatically configured in OPMN and thus registered with Oracle Enterprise Manager during installation of Oracle Application Server. If you add any Reports Servers after installing Oracle Application Server, you must register the new server(s) manually in the Oracle Enterprise Manager's |
To start, stop, or restart a Reports Server:
These buttons appear on a Reports Server's main page according to the server's current state:
You can use the following command lines to start, stop, and restart the Reports Server if it was configured through the Oracle Process Manager and Notification Server:
ORACLE_HOME/opmn/bin/opmnctl startproc ias-component=reports_server_name ORACLE_HOME/opmn/bin/opmnctl stopproc ias-component=reports_server_name ORACLE_HOME/opmn/bin/opmnctl restartproc ias-component=reports_server_name
The Reports Server name must match the name in the ias-component id
in the opmn.xml
file. For more information about configuring the Reports Server through the Oracle Process Manager and Notification Server, refer to Chapter 3, "Configuring OracleAS Reports Services".
If you choose not to run your Reports Server through OPMN and maintain it via Oracle Enterprise Manager, you can use these older methods of running the Reports Server:
The following subsections tell you how to set up each of these options.
By default, the Reports Server is installed as an in-process server, but, if you wish, you can install the Reports Server as a service on a Windows machine. To do so, at the command prompt enter:
rwserver -install server_name [batch=yes/no] [autostart=yes/no]
For batch
, the default is no
. Enter yes
if you do not want to be prompted for confirmation during installation. For autostart
, the default is no
. Enter yes
if you want the service to start automatically at reboot without requiring a user to manually start the Reports Server.
Add the cluster name to this command if this server will be a member of a cluster. For example:
rwserver -install server_name.cluster_name [batch=yes/no] [autostart=yes/no]
To learn more about clustering servers together, see Chapter 12, "Clustering Reports Servers".
To start your Reports Server on Windows:
A Service Control message box indicates when your Reports Server has started.
If you are using the Reports Server as an in-process server (the default configuration), sending a run report request starts the in-process Reports Server; however, if you are sending a request via a command line, the servlet must be invoked first using either the run report URL or the Web command URL. When you have successfully started the servlet, this also means you have successfully started the in-process Reports Server.
To directly start the in-process Reports Server from a URL, enter the following from your Web browser:
http://your_machine_name:your_port_num/reports/rwservlet/startserver
You can also start the Reports Server as a stand-alone server on Windows using the following command:
rwserver server=server_name
Add the BATCH
command line keyword to start up the server without displaying dialog boxes or messages.
rwserver server=server_name batch=yes
You can run this command on UNIX using the following syntax:
rwserver.sh server=server_name
Or:
rwserver.sh server=server_name batch=yes
You can run this command from any directory as long as the shell script can be reached in your PATH
environment variable.
This section discusses how to stop the Reports Server on Windows and UNIX.
rwserver
executable, or on UNIX through a shell script, rwserver.sh
, click Shutdown in the Reports Server dialog box.
http://your_host_name:port_number/reports/rwservlet/stopserver
For Windows and UNIX (on UNIX use rwserver.sh
in lieu of rwserver
):
The following command line shuts down the server normally (i.e., finishes pending jobs and then stops):
rwserver server=server shutdown=normal authid=username/password
The following command line shuts down the server immediately (i.e., stops without finishing pending jobs):
rwserver server=server shutdown=immediate authid=username/password
The following command line shuts down the server without displaying any related messages:
rwserver server=server shutdown=normal authid=username/password batch=yes
Note:
|
rwserver.sh
or rwrqv.sh
, you need to provide a valid authid
, which must match the value set in the identifier
element in the server configuration file. However, the identifier
element is set during Reports configuration while installing Oracle Application Server 10g and encrypted by the Reports Server. You can reset the identifier
element to any value. Then, you also need to change the corresponding properties in targets.xml
for Oracle Enterprise Manager integration to work. Perform the following steps:
server_name
.conf
, modify the identifier
element to specify the username/password
and set the encrypted
attribute to no
. For example:
<identifier confidential="yes" encrypted="no">scott/tiger</identifier>
server_name
.conf
file to take effect.
The Reports Server will now encrypt the username/password
value of the identifier
element. After the Reports Server reads the changes made in the server_name
.conf
file, the following commands should execute successfully (with scott/tiger
as the username/password
):
./rwserver.sh server=server_name shutdown=normal authid=scott/tiger ./rwrqv.sh server=server_name shutdown=normal authid=scott/tiger
targets.xml
file (in ORACLE_HOME
/sysman/emd/
) using any text editor, as follows:
TYPE="oracle_repserv"
and DISPLAY_NAME="Reports Server:
server_name
"
.
UserName
property and the Password
property to the same user name and password as in the identifier
element in the server_name
.conf
file. Set the ENCRYPTED
attribute to FALSE
for these two properties.
You should now be able to stop and shut down a non-secure Reports Server using Oracle Enterprise Manager.
The keywords used with the rwserver
command are described in Appendix A, "Command Line Options".
You can verify that your Oracle HTTP Server is running from Oracle Enterprise Manager. For more information, refer to your Oracle Enterprise Manager documentation.
Alternatively, you can verify that the Oracle HTTP Server is running, in your browser, by navigating to the following URL:
http://server_name.domain:port_number/
To verify that the Reports Servlet is running, navigate to the following URL:
http://your_machine_name.domain_name:your_port_number/reports/rwservlet/help
Note that the URL is case sensitive. If this URL executes successfully, you should get a help page describing the rwservlet command line arguments.
To verify that the Reports Server is running, navigate to the following URL:
http://your_machine_name.domain_name:your_port_ number/reports/rwservlet/showjobs?server=server_name
The server=
server_name argument is not required if you are using the default Reports Server name (rep_
machine_name
) or the Reports Server specified in the servlet configuration file, rwservlet.properties
(ORACLE_HOME
\reports\conf\
). If this URL executes successfully, you should see a listing of the job queue for the specified Reports Server.
Note: You'll find more information about the servlet configuration file in Chapter 3, "Configuring OracleAS Reports Services". |
|
![]() Copyright © 2003 Oracle Corporation. All Rights Reserved. |
|