You are on page 1of 5

(//docs.oracle.

com/en/)

Sign In (http://www.oracle.com/webapps/redirect/signon?nexturl=https://docs.oracle.com/cd/E23943_01/bi.1111/b32121/pbr_strt001.htm)

Home (https://docs.oracle.com/) / Middleware (https://docs.oracle.com/en/middleware/) / Oracle Fusion Middleware Online Documentation Library, 11g Release 1
(11.1.1.6) (../../index.htm) / Portal, Forms, Reports, and Discoverer (../../nav/pfrd.htm)

Fusion Middleware Publishing Reports to the Web with


Oracle Reports Services

()

Table of Contents
(toc.htm) Oracle Fusion Middleware Publishing Reports to the Web with Oracle Reports Services (toc.htm)
() ()
Preface (preface.htm#RSPUB75404)

6.1 Starting and Stopping Reports


Introduction (pbr_intro.htm#RSPUB0001)
Understanding the Oracle Reports Services Architecture (pbr_arch.htm#RSPUB0002)
Verifying Your Installation (pbr_verify.htm#RSPUB0003)

Server () ()
Upgrading Oracle Reports (pbr_upgrade.htm#RSPUB0004)
Interoperability Scenarios and Considerations (pbr_interop.htm#RSPUB75333)
Starting and Stopping Oracle Reports Services (pbr_strt.htm#RSPUB0005)
TheOracle
Administering Oracle Reports Services Using best way to runManager
Enterprise Reports Server is through the Oracle Process Manager and Notification Server
(pbr_adminem.htm#RSPUB0006)
(OPMN). OPMN provides a centralized mechanism for initializing, maintaining, and shutting down your
Configuring Oracle Reports Services (pbr_conf.htm#RSPUB0008)
Oracle HTTP Server, Oracle WebLogic Server processes, and OracleAS Reports Services. For more
Managing Fonts in Oracle Reports (pbr_font.htm#RSPUB0009)
information on configuring Reports Server through OPMN, see Section 8.8, "Configuring Reports Server
Printing on UNIX with Oracle Reports (pbr_uxprt.htm#RSPUB0010)
with the Oracle Process Manager and Notification Server and Oracle Enterprise Manager"
Using PDF in Oracle Reports (pbr_pdf.htm#RSPUB0011)
(pbr_conf008.htm#CHDGHEFE)
Font Model and Cross-Platform Deployment (pbr_xplat.htm#RSPUB0012)
Configuring Destinations for Oracle Reports Services (pbr_dest.htm#RSPUB0013)
Configuring and Using the Pluggable Data sources (pbr_pds.htm#RSPUB0014)
Important:
Securing Oracle Reports Services (pbr_sec_arch.htm#RSPUB0015)
Deploying Reports in Oracle Portal (pbr_portal.htm#RSPUB0017)
You must start or stop a Reports Server registered with Oracle Enterprise Manager only through
Configuring and Administering OracleAS Single Sign-On (pbr_sso.htm#RSPUB0016)
Oracle Enterprise Manager 11g or OPMN. OPMN automatically restarts Reports Server if it stops
Running Report Requests (pbr_run.htm#RSPUB0018)
responding for some reason. OPMN runs as a Windows service on Windows.
Using the Oracle Reports Web Service (pbr_webservice.htm#RSPUB0019)
In Oracle Reports, running Reports Server as Windows service is no longer supported
Creating Advanced Distributions (pbr_dist.htm#RSPUB0020)
( rwserver -install server_name ). As a result, the related command line keywords INSTALL
Using Event-Driven Publishing (pbr_evnt.htm#RSPUB0022)
and UNINSTALL are obsolete. If you start or stop a Reports Server that is managed by OPMN
Customizing Reports with XML (pbr_xml.htm#RSPUB0021)
running
Implementing Globalization and Bidirectional Support as a Windows service or through the command line, you may face the following issues:
(pbr_nls.htm#RSPUB0023)
Diagnosing and Tuning Oracle Reports (pbr_tune.htm#RSPUB0024)
Command-Line Keywords (pbr_cla.htm#RSPUB0027)
Environment Variables (pbr_rfap.htm#RSPUB028) Oracle Enterprise Manager may not accurately reflect the status of Reports Server and metrics
information.
Batch Registering Reports in Oracle Portal (pbr_bat.htm#RSPUB0029)
Troubleshooting Oracle Reports Services (pbr_trouble.htm#RSPUB0030)
Oracle Enterprise Manager 11g may display errors when starting or stopping Reports Server.
Reports Server and Bridge Diagnostic Utility (pbr_bdutil.htm#RSPUB24018)
Glossary (glossary.htm#RSPUB77145)

For more information about the obsolescence of running Reports Server as a Windows service,
Download
see A Guide to Functional Changes Between Oracle Reports 6i and 10g on the Oracle Technology
Categories Network (OTN).
Home (../../index.htm)
Release Notes (../../nav/relnotes.htm)
Get Started (../../nav/getstarted.htm)
Install, patch, and upgrade (../../nav/ipu.htm)
Develop applications (../../nav/develop.htm) ()
Develop Web services (../../nav/webservices.htm) ()
Administer the environment (../../nav/manage.htm)
Secure the environment (../../nav/secure.htm) 6.1.1 Starting, Stopping, and Restarting Reports
Use the Oracle WebLogic Scripting Tool (WLST) (../../nav/wlst.htm)
Servers from Oracle Enterprise Manager
Use third-party application servers (../../nav/thirdparty.htm)
Access end-user documentation (../../nav/user.htm)
Licensing (../../nav/cross.htm#licensing)
When the standalone Reports Server is configured through OPMN, you can start, stop, and restart it
References and APIs (../../nav/ref.htm)
through Oracle Enterprise Manager

Note:
/
The in-process server is available as part of wls_reports 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) in the
Oracle Enterprise Manager's targets.xml file and the Oracle Process Manager and
Notification Server's opmn.xml file. For more information, see Section 8.8, "Configuring Reports
Server with the Oracle Process Manager and Notification Server and Oracle Enterprise Manager"
(pbr_conf008.htm#CHDGHEFE)

To start, stop, or restart a Reports Server:

1. From the Reports Server main page, navigate to Reports > Control menu, and select:

Start Up to start the server.

Shut Down.. to stop the server.

Restart... to restart the server.

()
()

6.1.2 Starting, Stopping, and Restarting Reports


Servers from the Oracle Process Manager and
Notification Server
Before you start the Oracle Reports Server with Oracle Process Manager and Notification (OPMN), you
must add the Server to OPMN, as shown in the following example:

ORACLE_INSTANCE/bin/opmnctl createcomponent -adminUsername weblogic -adminHost <host_

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_INSTANCE/bin/opmnctl startproc ias-component=reports_server_name


ORACLE_INSTANCE/bin/opmnctl startproc process-type=ReportsServerComponent
ORACLE_INSTANCE/bin/opmnctl stopproc ias-component=reports_server_name
ORACLE_INSTANCE/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.

You can also query the status of the Oracle Process Manager and Notification Server, by using the
following command:

ORACLE_INSTANCE/bin/opmnctl 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" (pbr_conf008.htm#CHDGHEFE)

()
()

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

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.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_num/reports/rwservlet/startserver

()
()

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_INSTANCE/config/ReportsServerComponent/<reports_server_n

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

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 (pbr_uxprt008.htm#i1010013).

For more information about the REPORTS_DEFAULT_DISPLAY environment variable, see


Appendix B (pbr_rfap001.htm#i644275).

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_number/reports/rwservlet/stopserver?authid=admin user/ad

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.

Note:
On UNIX, use rwserver.sh instead of rwserver.

Before you shut down the server, you must set the COMPONENT_CONFIG_DIRECTORY environment
variable as follows:

COMPONENT_CONFIG_DIRECTORY=ORACLE_INSTANCE/config/ReportsServerComponent/<reports_server

To shut down the server normally (that is, finish pending jobs and then stop):

rwserver server=server shutdown=normal authid=username/password

To shut down the server immediately (that is, stop without finishing pendingjobs):

rwserver server=server shutdown=immediate authid=username/password

To shut down the server without displaying any related messages:

rwserver server=server shutdown=normal authid=username/password batch=yes

The keywords used with the rwserver command are described in Appendix A, "Command-Line
Keywords" (pbr_cla.htm#g770226)

Note:
authid is Reports Server's administration user name and password. In Oracle Reports 11g
Release 1 (11.1.1), the default security is based on standards-based Java EE security model
through Oracle Platform Security Services. For a non-secure Reports Server, this user is
defined in the identifier (pbr_conf002.htm#i1007074) element. The following bullet contains more
information on how to stop a non-secure Reports Server using the command line.

When you stop or shut down a non-secure Reports Server from the command line using either
rwserver.sh or rwrqv.sh , you must 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 and encrypted by Reports Server. You

/
can reset the identifier element to any value. If you have registered this Reports Server with Oracle
Enterprise Manager and OPMN, you must also change the corresponding properties in targets.xml for
Oracle Enterprise Manager integration to work. Perform the following steps:

1. In the non-secure Reports Server's configuration file, server_name.conf , modify the identifier
element to specify the username/password and set the encrypted attribute to no. For example:

<identifier encrypted="no">scott/tiger</identifier>

2. Stop and restart Reports Server manually for the changes made to the server_name.conf file to take
effect.

Note:
You must restart Reports Server for any configuration changes to take effect.

Reports Server will now encrypt the username/password value of the identifier element. After Reports
Server reads the changes made in the server_name.conf, 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

3. For Oracle Enterprise Manager integration, edit the t argets.xml file (in
$ORACLE_INSTANCE/EMAGENT/emagent_asinst_1/sysman/emd ) using any text editor, as follows:

Search for target with TYPE="oracle_repserv" and


DISPLAY_NAME="Reports Server: server_name" .

In the entry, set the 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.

Restart Oracle Enterprise Manager for the changes to take effect.

You should now be able to stop and shut down a non-secure Reports Server using Oracle Enterprise
Manager.

Note:
These steps are required only for a non-secure Reports Server and not for secure Reports
Servers.

 
(https://docs.oracle.com/cd/E23943_01/bi.1111/b32121/pbr_strt.htm)
Page 36 of 242
(https://docs.oracle.com/cd/E23943_01/bi.1111/b32121/pbr_strt002.htm)

About Oracle (http://www.oracle.com/corporate/index.html) Contact Us (http://www.oracle.com/us/corporate/contact/index.html) Legal Notices (http://www.oracle.com/us/legal/index.html) Terms of Use

(http://www.oracle.com/us/legal/terms/index.html) Your Privacy Rights (http://www.oracle.com/us/legal/privacy/index.html) Preferencias sobre cookies () Ad Choices

(https://www.oracle.com/legal/privacy/marketing-cloud-data-cloud-privacy-policy.html#12)

Copyright © 2021, Oracle and/or its affiliates. All rights reserved.

You might also like