From the Reports Server main page, navigate to Reports Control menu, and

Starting and Stopping Oracle Reports Services 6-3 ORACLE_INSTANCEbinopmnctl createcomponent -adminUsername weblogic -adminHost host_name -adminPort port -oracleHome oracle_home -oracleInstance instance_ home -instanceName instancename -componentName bridge_name -componentType ReportsServerComponent You can use the following command lines to start, stop, and restart Reports Server if it was configured through the Oracle Process Manager and Notification Server: ORACLE_INSTANCEbinopmnctl startproc ias-component=reports_server_name ORACLE_INSTANCEbinopmnctl startproc process-type=ReportsServerComponent ORACLE_INSTANCEbinopmnctl stopproc ias-component=reports_server_name ORACLE_INSTANCEbinopmnctl restartproc ias-component=reports_server_name The Reports Server name must match the name in the ias-component id in the opmn.xml file. You can also query the status of the Oracle Process Manager and Notification Server, by using the following command: ORACLE_INSTANCEbinopmnctl status For more information on configuring Reports Server through the Oracle Process Manager and Notification Server, see Section 8.8, Configuring Reports Server with the Oracle Process Manager and Notification Server and Oracle Enterprise Manager

6.1.3 Alternative Methods of Starting and Stopping Reports Server

If you choose not to run Reports Server through OPMN and maintain it through Oracle Enterprise Manager, you can use these older methods of running Reports Server: ■ Starting the In-process Server Windows and UNIX ■ Starting Reports Server from a Command Line Windows and UNIX ■ Stopping Reports Server

6.1.3.1 Starting the In-process Server Windows and UNIX

If you are using Reports Server as an in-process server the default configuration, sending a run report request starts the in-process server; however, if you are sending a request through 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 server. To directly start the in-process server from a URL, enter the following from your Web browser: http:your_machine_name:your_port_numreportsrwservletstartserver

6.1.3.2 Starting Reports Server from a Command Line Windows and Linux

Before you start the Reports Server from command line, you must set the COMPONENT_CONFIG_DIRECTORY environment variable as follows: COMPONENT_CONFIG_DIRECTORY=ORACLE_ INSTANCEconfigReportsServerComponentreports_server_name Important: Beginning with Oracle Reports 10g Release 2 10.1.2, running Reports Server as a Windows service is no longer supported, as mentioned at the beginning of this section. 6-4 Publishing Reports to the Web with Oracle Reports Services To start Reports Server as a standalone server on Windows, use 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.

6.1.3.3 Stopping Reports Server

There are several ways to stop Reports Server on Windows and UNIX, as follows: ■ If Reports Server is running on Windows through the rwserver executable, or on UNIX through a shell script, rwserver.sh, click Shutdown in the Reports Server dialog box. ■ If you are not running Reports Server from the command line, launch Oracle Enterprise Manager, and navigate to the Reports Server home page and from the Reports menu select Control Shut Down... ■ If Reports Server is running as an in-process server through the Reports Servlet, issue the following URL: http:your_host_name:port_numberreportsrwservletstopserver?authid=admin useradmin password ■ If Reports Server is running from a command line on Windows or UNIX, use any of the following commands, depending on how you want to shut down the Reports Server. Before you shut down the server, you must set the COMPONENT_CONFIG_ DIRECTORY environment variable as follows: COMPONENT_CONFIG_DIRECTORY=ORACLE_ INSTANCEconfigReportsServerComponentreports_server_name To shut down the server normally that is, finish pending jobs and then stop: rwserver server=server shutdown=normal authid=usernamepassword Important: If DISPLAY is not set, you must start Reports Server in batch mode batch=yes. For more information about removing DISPLAY and printer dependencies in UNIX systems, see Section 10.8 . For more information about the REPORTS_DEFAULT_DISPLAY environment variable, see Appendix B.1.42 . Note: On UNIX, use rwserver.sh instead of rwserver.