Connect to database as an apps user
DECLARE
v_flag BOOLEAN;
BEGIN
v_flag := fnd_user_pkg.ChangePassword('SYSADMIN','sysadmin');
END;
COMMIT;
rwclient
(Reports Client) parses and transfers a command line to the specified Reports Server.CMDFILE=
filename
. In this case, the CMDFILE specified is read and appended to the original command line (of which CMDFILE
is a part) before being sent to the Reports Server. The runtime engine does not reread the command fileDESNAME=
filename
DESTYPE=LOCALFILE
. In this case, DESNAME
refers to files on the client machine.rwclient
.rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb desformat=pdf
DESTYPE=file
DESNAME=c:\mydir\test
rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb desformat=pdf
DESTYPE=mail
DESNAME="emp1@comp.com, emp2@comp.com" cc="emp3@comp.com" bcc="mgr@comp.com" replyto="me@comp.com" from="me@comp.com"
rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb desformat=htmlcss
DESTYPE=webdav
DESNAME="http://myusername:mypassword@mywebdavserv.com/mydir/test.html"
rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb
DESTYPE=oracleportal
desformat=PDF
PAGEGROUP=mypagegrp
OUTPUTPAGE=reports_output
ITEMTITLE=pushtoportal
STATUSPAGE=result
rwclient server=myrepserv report=myxmlpdstest.rdf
DESTYPE=file desformat=PDF desname=c:\mydir\my.pdf
rwclient server=myrepserv report=myjdbcpdstest.rdf
DESTYPE=file desformat=PDF desname=c:\mydir\myxml.pdf
p_jdbcpds=sybuser/sybpwd@server1.mydomain.com:1300
rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb
DISTRIBUTE=yes
DESTINATION=c:\mydistribute.xml
rwclient server=myrepserver report=test.rdf
SCHEDULE="every first fri of month from 15:53 Mar 25, 2009 retry 3 after 1 hour"
destype=file desformat=pdf desname=test.pdf
rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb desformat=pdf destype=file desname=test.pdf
AUTHID=myadmin/myadmin
rwclient server=myrepserver report=test.rdf userid=scott/tiger@mydb destype=file desformat=pdf desname=test.pdf
NOTIFYSUCCESS="emp@comp.com"
NOTIFYFAILURE="admin@comp.com"
rwclient server=myrepserver report=test.rdf userid=scott/tiger@mydb destype=file desformat=pdf desname=test.pdf
JOBTYPE=rwurl
URLPARAMETER="http://www.oracle.com"
rwrun
(Reports Runtime) runs a report by starting its own in-process server (not to be confused with the default in-process Reports Server), which runs in the same JVM as therwrun
process.rwbuilder.conf
and trace files are saved in the rep_
machinename
-rwbuilder
directory.rwrun
for testing purposes only. Use rwservlet
and rwclient
in your production environment to take full advantage of the power of Oracle Reports Services.rwrun
.rwrun userid=scott/tiger@mydb report=emp.rdf
CUSTOMIZE=empcustomize.xml
destype=file desformat=pdf desname=emp.pdf
rwrun report=test.rdf userid=scott/tiger@mydb desformat=pdf
DESTYPE=mail
DESNAME="emp1@comp.com, emp2@comp.com" cc="emp3@comp.com" bcc="mgr@comp.com" replyto="me@comp.com" from="me@comp.com"
rwrun report=test.rdf userid=scott/tiger@mydb desformat=htmlcss
DESTYPE=webdav
"DESNAME"="http://myusername:mypassword@mywebdavserv.com/mydir/test.html"
rwrun report=test.rdf userid=scott/tiger@mydb
DESTYPE=oracleportal desformat=PDF PAGEGROUP=mypagegrp OUTPUTPAGE=reports_outputITEMTITLE=pushtoportal STATUSPAGE=resultrwrun report=myxmlpdstest.rdf destype=file desformat=PDF desname=c:\mydir\my.pdf
rwrun report=myjdbcpdstest.rdf destype=file desformat=PDF desname=c:\mydir\myxml.pdf
P_JDBCPDS=sybuser/sybpwd@server1.mydomain.com:1300rwrun report=test.rdf userid=scott/tiger@mydb desformat=pdf destype=file desname=test.pdf
AUTHID=myadmin/myadmin
rwrun report=test.rdf userid=scott/tiger@mydb destype=file desformat=pdf desname=test.pdf
NOTIFYSUCCESS="emp@comp.com"
NOTIFYFAILURE="admin@comp.com"
rwbuilder
invokes Oracle Reports Builder. When you include a REPORT|MODULE
keyword on the command line with rwbuilder
, Oracle Reports Builder opens with the specified report highlighted in the Object Navigator. When no report is specified, Oracle Reports Builder opens with a Welcome dialog offering you the choice of opening an existing report or creating a new one.rwbuilder
.rwbuilder report=myrep.rdf userid=scott/tiger@mydb
rwconverter
(Reports Converter) enables you to convert one or more report definitions or PL/SQL libraries from one storage format to another. For example, you can userwconverter
to:.rdf
file to a .rep,
.rex,
.jsp,
or .tdf
(template) file.rex
file to an .rdf
or a template (.tdf
file)pld
or .pll
filepld
file into a database library or a .pll
file.pll
file into a database library of a .pld
filepll
files attached to the report before converting the .rdf/.rex
file.rwconverter
automatically compiles the report's PL/SQL as part of the conversion process. Provided your conversion destination is not a .rex file, rwconverter
automatically compiles PL/SQL under the following conditions:.rep
file. If there are compile errors, rwconverter
displays an error message and the .rep file is not created..rex
file as the source. If there are compile errors, rwconverter
displays a warning, but the conversion continues.rwconverter
displays a warning, but the conversion continues.rwconverter
.rwconverter scott/tiger@mydb stype=rdffile source=inven1.rdf dtype=xmlfile dest=inven1_new.xml
rwservlet
(Oracle Reports Servlet) translates and delivers information between either a Web server or a Java EE Container (for example, Oracle WebLogic Server) and the Reports Server, allowing you to run a report dynamically from your Web browser. Optionally, it can use the in-process Reports Server, which reduces the maintenance and administration of the Reports Server by providing a means for starting the server automatically, whenever it receives the first request from the client.rwservlet
are also known as Web commands. Oracle Reports 11g Release 1 (11.1.1) introduces security access levels for rwservlet
Web commands, based on two categories:rwservlet
to run a JSP, you can use all keywords applicable to rwservlet
. For more information on running a JSP with rwservlet
, see Section 17, "Running Report Requests".rwservlet
.myias.mycomp.com
is your Oracle Application Server instance, and 7779
is the port where rwservlet
is running.http://myias.mycomp.com:7779/reports/rwservlet? server=myrepserv+report=test.rdf+userid=scott/tiger@mydb+desformat=pdf+
DESTYPE=cache
http://myias.mycomp.com:7779/reports/rwservlet? server=myrepserv+report=test.rdf+userid=scott/tiger@mydb+desformat=pdf+
DESTYPE=file+
DESNAME=c:\mydir\test
http://myias.mycomp.com:7779/reports/rwservlet? server=myrepserv+report=test.rdf+userid=scott/tiger@mydb+
DESTYPE=printer+
DESNAME=myprinter
http://myias.mycomp.com:7779/reports/rwservlet? server=myrepserv+report=test.rd
f+userid=scott/tiger@mydb+desformat=pdf+
DESTYPE=mail+
DESNAME="emp1@co
mp.com, emp2@comp.com"+
CC="emp3@comp.com"+
BCC="mgr@comp.com"+
REPLYTO="me@comp.com"+
FROM=me@comp.com"
http://myias.mycomp.com:7779/reports/rwservlet? server=myrepserv+report=test.rd
f+userid=scott/tiger@mydb+desformat=htmlcss+
DESTYPE=webdav+
DESNAME="h
ttp://myusername:mypassword@mywebdavserv.com/mydir/test.html"
http://myias.mycomp.com:7779/reports/rwservlet? server=myrepserv+report=test.rd
f+userid=scott/tiger@mydb+destype=oracleportal+desformat=PDF+
PAGEGROUP=
mypagegrp+
OUTPUTPAGE=reports_
output+
ITEMTITLE=pushtoportal+
STATUSPAGE=result
http://myias.mycomp.com:7779/reports/rwservlet? server=myrepserv+report=myxmlpdstest.rdf+destype=file+desformat=PDF+
DESNAME=c:\mydir\my.pdf
http://myias.mycomp.com:7779/reports/rwservlet? server=myrepserv+report=myjdb
cpdstest.rdf+destype=file+desformat=PDF+desname=c:\mydir\myxml.pdf+
P_JDBCPDS=sybuser/sybpwd@server1.mydomain.com:1300
http://myias.mycomp.com:7779/reports/rwservlet? server=myrepserv+report=test.rdf+userid=scott/tiger@mydb+
DISTRIBUTE=yes+
DESTINATION=c:\mydistribute.xml
http://myias.mycomp.com:7779/reports/rwservlet? server=myrepserver+report=test.rdf+
SCHEDULE="every first fri of month from 15:53 Oct 23, 2007 retry 3 after 1 hour"
+destype=file+desformat=pdf+desname=test.pdf
http://myias.mycomp.com:7779/reports/rwservlet? server=myrepserv+report=test.rdf+userid=scott/tiger@mydb+desformat=pdf+destype=file+desname=test.pdf+
AUTHID=myadmin/myadmin
http://myias.mycomp.com:7779/reports/rwservlet?key1
key1
is a key defined in the cgicmd.dat
file (the keyname should be the first parameter)http://myias.mycomp.com:7779/reports/rwservlet? server=myrepserver+report=test.rdf+userid=scott/tiger@mydb+destype=cache+desformat=htmlcss+
PARAMFORM=html
http://myias.mycomp.com:7779/reports/rwservlet? server=myrepserver+report=test.rdf+user
id=scott/tiger@mydb+destype=file+desformat=pdf+desname=test.pdf+
NOTIFYSUCCESS="emp@comp.com"+
NOTIFYFAILURE="admin@comp"
http://myias.mycomp.com:7779/reports/rwservlet? server=myrepserver+report=test.rdf+user
id=scott/tiger@mydb+destype=file+desformat=pdf+desname=test.pdf+
JOBTYPE=rw
url+URLPARAMETER="http://www.oracle.com"
http://myias.mycomp.com:7779/reports/rwservlet/
SHOWENV? server=myrepserver+authid=myrepuser/myreppassword
http://myias.mycomp.com:7779/reports/rwservlet/
SHOWJOBS?server=myrepserver+authid=myrepuser/myreppassword
+queuetype=past
cgicmd.dat
key mappings (for more information, see Section 17.13, "Using a Key Map File")http://myias.mycomp.com:7779/reports/rwservlet/
SHOWMYJOBS? server=myrepserver+authid=myrepuser/myreppassword
+queuetype=current
http://myias.mycomp.com:7779/reports/rwservlet/
SHOWJOBID30? server=myrepserver+authid=myrepuser/myreppassword
http://myias.mycomp.com:7779/reports/rwservlet/
KILLJOBID122? server=myrepserver+authid=myrepuser/myreppassword
http://myias.mycomp.com:7779/reports/rwservlet/
PARSEQUERY? server=myrepserver+authid=myrepuser/myreppassword
+report=test.rdf+userid=scott/tiger@db+destype=cache+desformat=htmlcss
http://myias.mycomp.com:7779/reports/rwservlet/
SHOWAUTH? server=myrepserver+authid=myrepuser/myreppassword
+authtype=D
http://myias.mycomp.com:7779/reports/rwservlet/
DELAUTH? server=myrepserver+authid=myrepuser/myreppassword
http://myias.mycomp.com:7779/reports/rwservlet/
GETJOBID87? server=myrepserver+authid=myrepuser/myreppassword
http://myias.mycomp.com:7779/reports/rwservlet/
GETSERVERINFO? server=myrepserver+authid=myrepuser/myreppassword
http://myias.mycomp.com:7779/reports/rwservlet/
KILLENGINE1? type=rwEng+server=myrepserver+authid=myrepuser/myreppassword
rwserver
(Reports Server) processes client requests, which includes ushering them through its various services, such as authentication and authorization checking, scheduling, caching, and distribution (including distribution to pluggable output destinations). Reports Server also spawns runtime engines for generating requested reports, fetches completed reports from the reports cache, and notifies the client that the job is ready.rwserver
.rwbridge
(Oracle Reports Bridge) is used when Reports Server and Oracle Reports Client are in different Farms. Oracle Reports Client uses the default broadcast mechanism for server discovery, which sends packets that can travel only within a Farm. The Oracle Reports Bridge can bridge two Farms in a network. It intercepts the packets broadcast by Reports Server and Oracle Reports Client and transfers them to the remote bridges configured in the Oracle Reports Bridge configuration file.rwbridge
.