Rwclient

Could anyone please let me know the steps required to use rwclient from remote machine?? I have tried doing it but looks like I am missing on some particular setting somewhere. I keep getting the error "server not found/cannot connect to report server" Could someone help please. I am able to use it(rwclient) in the same machine as my application server is also I am able to use rwservlet through remote machine.

at first Compare these references:
rwrun:
http://www.oracle.com/webapps/online-help/reports/10.1.2/state/content/navId.3/navSetId._/vtTopicFile.htmlhelp_rwbuild_hs%7Crwrefex%7Ccmdline%7Ccl_rwrun%7Ehtm/
and see Note:
Note: It is recommended that you use rwrun for testing purposes, and rwclient in a production environment. Using rwrun in a production environment may generate intermittent errors.
and
rwclient:
http://www.oracle.com/webapps/online-help/reports/10.1.2/state/content/navId.3/navSetId._/vtTopicFile.htmlhelp_rwbuild_hs%7Crwrefex%7Ccmdline%7Ccl_rwclient%7Ehtm/
* maintained for backward compatibility with Oracle9iAS Portal Release 1 and Oracle WebDB Release 2.2.

Similar Messages

  • Need code for call a report from stored produre in oracle9i(using rwclient)

    dear all,
    i need a stored procedure to run the report 9i(.rdf) from pl/sql.But i have code in older version(rwcgi60).So i want stored procedure for rwclient.
    The below code not working in oracle9i version.its very urgent.Thanks in advance..
    create table report
    (id number not null primary key,
    filename varchar2(100) not null,
    report_connection_id number not null,
    destype varchar2(5) not null)
    create table report_connection
    (id number not null primary key,
    user_id varchar2(100) not null,
    pass varchar2(100) not null,
    database_server varchar2(50) not null,
    report_server varchar2(50) not null)
    alter table cm.report add foreign key (report_connection_id) references cm.report_connection (id)
    insert into report_connection values (1, 'scott', 'tiger', 'orcl', 'Rep60_Dev');
    insert into report values (1, 'test.rdf', 1, 'PDF');
    commit;
    procedure pr_example (p_id report.id%type) is
    cursor cur_data is
    select r.filename,
    c.user_id,
    c.pass,
    r.destype,
    c.database_server,
    c.report_server
    from report r,
    report_connection c
    where r.report_connection_id = c.id
    and r.id = p_id;
    v_blob blob;
    v_url varchar2(2000);
    v_pieces utl_http.html_pieces;
    v_buffer raw(2000);
    v_buffer_size integer := 2000;
    begin
    for v_rec in cur_data loop
    v_url := 'yourserver.domain.com/dev60cgi/rwcgi60.exe?report=' || v_rec.filename || '&desformat=' ||
    v_rec.destype || '&userid=' || v_rec.user_id || '/' || v_rec.pass || '@' || v_rec.database_server ||
    '&server=' ||v_rec.report_server || '&destype=cache';
    if v_rec.destype = 'PDF' then
    owa_util.mime_header('application/pdf', false);
    htp.p('content-disposition: filename='||v_rec.filename);
    owa_util.http_header_close;
    --you can add a bunch of elsif logic here for different destypes and setting the correct mime type.
    end if;
    --sets transfer timeout to be one hour
    utl_http.set_transfer_timeout(3600);
    --runs the report
    v_pieces := utl_http.request_pieces(v_url,64000);
    v_blob := empty_blob();
    dbms_lob.createtemporary(v_blob,true);
    for i in 1 .. v_pieces.count loop
    v_buffer := utl_raw.cast_to_raw(v_pieces(i));
    v_buffer_size := utl_raw.length(v_buffer);
    if v_buffer_size > 0 then
    dbms_lob.writeappend(v_blob, v_buffer_size, v_buffer);
    end if;
    end loop;
    wpg_docload.download_file(v_blob);
    end loop;
    end;
    Now run this url:
    http://yourserver.domain.com/pls/dad_name/pr_example?p_id=1
    regards
    mani

    JosAH wrote:
    A couple of years ago Sun supplied their javax.comm package (mysteriously versioned as version 2)
    but they stopped it for the PC Windows.
    There's an alternative: rxtx which offers an identical API as Sun did and their own native implementation for serial and parallel port handling; I have used both and the rxtx version is clearly superior to Sun's old version: http://www.rxtx.org
    This question popped up recently.
    tschodt wrote in [http://forums.sun.com/thread.jspa?messageID=10863769#10863769:}
    [Java Communications API|http://java.sun.com/products/javacomm/]
    Implementations of the API are currently available for Solaris SPARC, Solaris x86, and Linux x86.follow the Download link to find
    Sun no longer offer's the Windows platform binaries of javax.comm, however javax.comm 2.0.3 can be used for the Windows platform, by using it in conjunction with the Win32 implementation layer provided by the RxTx project. To use that, download javax.comm for the 'generic' platform (which provides the front-end javax.comm API only, without platform specific back-end implementations bundled). Then acquire the Windows binary implementation rxtx-2.0.7pre1 from http://www.rxtx.org.

  • Error running a report with the rwclient utility

    I am running the following command:
    rwclient.sh server=rep_vese3valso9 report=/oracle9ias/appl/rec/bin/rep/CAJR30020.rdf userid=uspan/uspan@gio NU_SEC=727586 paramform=no destype=file batch=yes desformat=wide220 desname=/oracle9ias/appl/rec/lisrep/CAJR30020_727586.lis
    and I am getting the following error:
    REP-0177: Error while running in remote server
    Invalid value for parameter 'DESNAME'.
    A friend told me that I have to modify some files of the report server in order to allow this type ( desformat=wide220 ) in the sentence.
    Do you know what are those files or how to solve this problem ?
    Have you had any problem like that ?
    Thanks
    Joel Pérez

    What's desformat=wide220? Never, ever seen that before!
    As you use destyp=file, I believe you should change desformat to desformat=delimiteddata and add a delimiter, for instance delimiter=tab
    rwclient.sh server=rep_vese3valso9 report=/oracle9ias/appl/rec/bin/rep/CAJR30020.rdf userid=uspan/uspan@gio NU_SEC=727586 paramform=no destype=file batch=yes desformat=delimiteddata delimiter=tab desname=/oracle9ias/appl/rec/lisrep/CAJR30020_727586.lisYou should also define REPORTS_PATH, so that you could skip the path in reports, i.e. report=CAJR30020.rdf instead of report=/oracle9ias/appl/rec/bin/rep/CAJR30020.rdf
    Also, you might have gotten faster (and better) respons if you had posted this in the Reports forum, instead of here in the Application Server forum.
    Regards,
    Martin

  • How to run RWRUN.exe and RWCLIENT.exe in Linux

    Our reports (11G R2) output desformat is PDF. We howerver, need to embed some fonts in the PDF when it is generated. So, we need to add the parameter PDFEMBED in the command line of RWRUN, RWCLIENT or RWSERVLET. However, the application server is Linux.
    Since Linux does not have EXEs how to run these in Linux and how to pass parameters to them? i.e. reportname, directory,... etc.

    Hello,
    You can find the shell scripts rwrun.sh and rwclient.sh in ORACLE_INSTANCE/config/reports/bin ...
    Regards

  • Showstopper: How to supress rwclient errors?

    The scenario is a LIVE system where rwclient at certain intervals orders several hundred reports generated to PDF and saved in Oracle Portal. Occationally, rwclient fails, and the entire reports server queue is blocked. Running rwclient in debug mode shows that the problem is that in certain conditions, reports fails and sends an error message back to rwclient, for instance if getting REP-594 in a error dialog box. At this point the reports queue is frozen until someone clicks on OK in the error dialog box. Of course this is no good in a production enviroment. So how can we make suppress this "feature" ? How can we make sure rwclient doesn't wait for interactive user input ?

    1) You can give in rwclient cmd line
    "background=yes"
    which will make the job run asynchronously. (Alternatively give "schedule=now")
    Errors if any can be seen using EM or servlet in server's failed job queue
    2) >>.... at certain intervals orders several hundred reports generated to PDF <<
    You can also use "scheduling" feature of reports server for this (infact that is the most common way used to schedule reports at regular intervals- and not using rwclient)
    [    All Docs for all versions    ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

  • Error in UNC path while using RWCLIENT

    I am trying to run a report from command line using a bat file.The content of
    the bat file is as follows
    D:\ORANT\9IDS\BIN\RWCLIENT report=\\nyclegchuias\d\sample.rdf
    userid=sdh/arbosh38@pcsprod server=rep_nyclegchuias DESNAME=D:\SAMPLE30155.PDF
    DESTYPE=FILE DESFORMAT=PDF BATCH=YES LOGFILE=D:\LOGFILE30155.LOG
    ERRFILE=D:\ERRORFILE30155.LOG
    If I map a drive to \\nyclegchuias\d as J: and give the parameter
    D:\ORANT\9IDS\BIN\RWCLIENT report=D:\sample.rdf userid=sdh/arbosh38@pcsprod
    server=rep_nyclegchuias DESNAME=D:\SAMPLE30155.PDF DESTYPE=FILE DESFORMAT=PDF
    BATCH=YES LOGFILE=D:\LOGFILE30155.LOG ERRFILE=D:\ERRORFILE30155.LOG
    the report runs fine.So what can be the problem in RWCLIENT not accepting UNC
    path ?

    Not all Oracle products support UNC. I don't know if iDS supports UNC.
    On the other hand, "report=\\nyclegchuias\d\sample.rdf" looks like a strange UNC to me. I would expect something like report=\\nyclegchuias\reports\sample.rdf. Are you sure you have a share named d on nyclegchuias? Do you, or the reports server, have access to this directory?
    You say that you define a J drive, but then you issue the command with "report=D:\sample.rdf", which still doesn't refer to \\nyclegchuias\d\sample.rdf, but to the (local?) d drive.

  • How to get the Status code of rwclient when run as a background job

    Hi all,
    i have to get the return code(status code) of the rwclient.exe while running as a batch script. is it possible to get the return code to check whether the report generated succefully or not?
    please help me if anyone has the solution.
    Thanks in advance
    Deena

    Hi Andi,
    Please see my Blog : /people/dhanabal.thangavel2/blog/2009/12/16/getting-daily-failed-message-list-in-xi-and-sending-an-alert-mail-with-attachementcsv-file-of-that-list
    I think it 'll help you on this.
    Cheer,
    Dhanabal

  • Problem with rwclient

    I am having a problem with printing character reports using rwclient. We have a stored procedure that calls rwclient to generate a file and then we issue a host command and print the file. In the form itself there are updates before and after the call to the stored procedure. These do happen but there is no file generated and no error that I can find. Has anyone else had problems with rwclient and character based reports?

    1 Run the report independently and check if you are getting any errors?
    2 Try running the report using run_report_object from forms
    Rajesh Alex

  • Rwclient, how to put E-mail body

    Dear Gurus,
    On Oracle AS, by using below comand I am able to generate reports and able to send them by Email but I would like to put Mail Body so could you please help me on this.
    How to put E-mail body on this comand.
    rwclient server=servicename report=reportname.rdf userid=dbusername/password@dbaliasname desformat=pdf destype=mail DESNAME=mailDESNAME=[email protected]@amazegifts.com SUBJECT="Amaze Gifts Mail"
    Regards,
    Satish Kumar Sadhu.

    Since email messages are text-based, only some email programs allow them to be viewed with html code to add color, style changes, etc. What you need to do is read some tutorials on basic html coding. i.e. <b>BOLD</b> would show BOLD with bold lettering.
    Allen
    Sun Developer Support

  • What are alternatives for passing DB credentials to rwrun/rwclient command line instead of USERID parameter?

    What are alternatives for passing DB credentials to rwrun/rwclient command line instead of USERID parameter?
    As per application security, the DB details should be mentioned in command line.
    I am looking for alternatives which I can use?
    Please help.
    Regards
    Gaurav Anand

    If you want a database username/password for every user that runs a report, you need to include un/pw in the command.
    An option that you see quite often is that Reports use a general database user to run any report. In that case you can include the un/pw of this special user in the Key Map File:
    http://docs.oracle.com/cd/E17904_01/bi.1111/b32121/pbr_run013.htm#RSPUB23557
    Of course, in that case you need an application in front of the call to the report to check if the user is allowed to run the report. This is how most web applications work anyway: there is one database user, and application users are maintained in the application itself.
    Or you can use single sign on:
    http://docs.oracle.com/cd/E24269_01/doc.11120/e24479/pbr_sso002.htm#RSPUB23512

  • REP-0171 when using rwclient.bat to run report in 11g

    Hi,
    I m using rwclient.bat in oracle 11g to run a report. Destype=localfile, desformat='PDF'.
    In this case, REP-0171 is occured. How to avoid this issue.??
    Note : If i use Destype=File it works fine.
    I m trying to use Destype=localfile so that the PDF is saved directly at the client machine.

    Hi,
    "LocalFile" surely works on the Application Server. But, if i run a report from the client machine using LocalFile the output is not saved on the local disk of the client machine.
    Saving the file directly on the client machine is my concern.

  • Rwclient.sh command line

    Hello,I've searched a lot of forums to know how can the username and passwords are hided when we invoke reports through rwclient.sh.I am getting a perfect output if I issue a rwclient.sh but I am hardcoding userid parameter while issuing the command.
    I would like to hide it.Have gone through cgicmd.dat but all the examples I got is with respect to URL based reports requests.
    Can anybody have a fair idea to hide the username and password and to handle the rwclient.
    Am using oracle 10g
    Mani

    Hi Many,
    Use CMDFILE to call a file that contains reports command line arguments. The file called must be an ASCII file, either .txt or any other ASCII-type file. CMDFILE differs from the cgicmd.dat file, in that CMDFILE can contain one command line for one report, where the cgicmd.dat file can contain multiple key-identified commands for multiple reports. The CMDFILE keyword enables you to run a report without specifying a large number of arguments each time you invoke a run.
    Follow the steps given below:
    1.Create a text file "pwd.txt" containing one line: userid=username/password@database, e.g.:
    userid=scott/tiger@v901
    2. Run rwclient.sh using this file pwd.txt:
    rwclient.sh report=test.rdf cmdfile=pwd.txt destype=file desformat=pdf desname=out.pdf server=test
    This would not display login information in ps -ef output.
    Hope this helps, RZ

  • Rwclient is failed to use in jdev 11g + weblogic 10.3.x

    Hi all
    Recently we have migration from jdev 10g / 10g AS to jdev 11g / weblogic 10.3.x. After migration we found the reporting function using rwclient is failed to run.
    We then discovered the report can be run by using url calls rwservlet (http://server/reports/rwservlet?...). Anyone know how rwclient works and how rwclient
    locate reports server instance. Thanks
    The setting in web.xml is
    <servlet>
    <servlet-name>rwservlet</servlet-name>
    <servlet-class>oracle.reports.rwclient.RWClient</servlet-class>
    <load-on-startup>yes</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>rwservlet</servlet-name>
    <url-pattern>/rwservlet*</url-pattern>
    </servlet-mapping>
    PS. we also migrated report server to 11g and running on weblogic.
    Cheers
    Chris
    Edited by: Nexus Chris on Jul 3, 2012 1:40 PM

    Best asked in {forum:id=84}

  • Oracle Reports 10g with rwclient

    Hi All,
    I m getting the following error when i try to run the report with rwclient.
    REP-0177: Error while running in remote server
    Unable to retrieve a string from the Report Builder message file.
    REP--1870655474:
    And i m able to execute the report successfully using rwrun.
    All possible solutions or suggestions are welcome.

    Looks like this a known problem in 9.0.4 per MetaLink note 280717.1 - Dynamic Destination Using AfterPform Trigger Not Working In 9i. There is no indication of a better workaround in 10g Rel. 2.

  • Rwclient , rwrun - please help me!

    Dear all,
    I'm a new about Oracle. I have some problems about Oracle 9i Reports when I run rwclient,rwrun,rw... command (I'm working in Microsoft Window XP)
    - My command like this:
    D:\oracle\ora9iDS\bin>rwclient.exe userid= oe/oe@oradata server=rep_lanny report=c:\myreport.rdf destype=file desformat=pdf desname=c:\new_report.pdf
    (rep_lanny is my default reports server)
    - When I run above statement, it show a error message:
    Cannot connect to Reports Server 'rep_lanny'.
    - When I run the following command, it don't show any error message and still don't show any result:
    D:\oracle\ora9iDS\bin>rwrun.exe userid=oe/oe@oradata report=c:\myreport.rdf
    (oradata is my database server)
    How to solve these problems, Anyone please help me.
    Thanks alot
    Lanny

    Hi,
    I tried again and I can tell you :
    - the report server and the report.rdf file must be on the same machine ;
    - for 9i you must install your rep_lanny as a service using
    rwserver -install ... and start it manually (now I am on 10g and I am trying to remember..sorry)
    - to define path use / not \ so c:\ have to became c:/
    I give you my cmd lines below
    1) c:\orant10g\rwrun destype=html desname=c:/actforms/rwrun.htm desformat=html report=c:/actforms/...../or_dic.rdf userid=atsct/aaa@iasservcomp
    in this case the report (dic.rdf)is located on client comp and it is outputed(rwrun.htm) to the client ; the database is located on iasservcomp
    2)c:\orant10g\rwclient server=rep_alpis1 destype=html desname=d:/atsct/opt/rwclient.htm report=d:/atsct/opt/rwclient.htm ...
    here d:/asct/opt/ is located on iasservcomp and rep_alpis1 is running on the same comp
    Have a good day

Maybe you are looking for

  • Iphone 4 in car

    Cannot get my iphone to play as ipod in my car through USB port, but it will charge.

  • SAPScript issues - J_1B_BORDERO

    Hi all, I am having a hard time figuring out where the data for the SAPScript form J_1B_BORDERO is begin collected. I need to modify the form by adding additional data to it, but unless I figure out which program to modify I can not do it. I have bee

  • Convert name value pair to flat structure in Biztalk mapper

    Hi, I have an input xml file with name value pairs and have to access all the values in the same iteration to concatenate fname and lname and assign that to a fullname in the target schema. I am trying with logical eq functoid and value mapping flatt

  • Can't write an email then include a pic!!!!!

    They really need to fix this!!! You can start at a photo and set it up in a new email, but you can't write an email or reply to an email and then attach a pic!!!!!

  • Single pixel formation in Intensity graph

    I needed to capture a image using CCD camera. Though it has 16 bit resolution, i need to focus on ONE PIXEL. The process goes like this. Save the image information in a spread sheet array and then find the max value of the array. Till this step, i am