Accessing clustered report servers from Forms

Hi
The "Oracle Fusion Middleware Publishing Reports to the Web with Oracle Reports Services 11g R2 (11.1.2)" manual in Section 2.5 talks about setting up a High Availability environment for Reports.
It discusses how to set the cluster configuration and how to create a reports job repository in the database. It says that you need to have a unique name for each report server, finally it says that you should use Oracle Web Cache to load balance for the reports cluster.
If you are calling the report server from Forms with a run_report_object then you don't go via the web cache, so I am confused how you send your report request to the reports cluster in a load balanced fashion.
Has anyone done this or can explain how this works for Forms?
TIA
Tony

I know that this is an old thread, but I've taken the liberty to bump it up, as I have the same question.
The Reports documentation describes quite succinctly how to configure the report servers to be clustered - no problem there.
The issue is that when you run a report from forms using run_report_object, you are required to specify a report server name. The Reports docs specify that all of the server names must be unique, so this seems to indicate that you cannot use a clustered report server environment from Forms, or am I missing something somewhere? Oh, wait - an insight coming here - Can you (I'll test this, but it would be good to know) specify a cluster name instead of an actual report server name? Google to the rescue:
Using RUN_REPORT_OBJECT: If the call specifies a Reports Server cluster name instead of a Reports Server name, the reports_servermap environment variable must be set in the Oracle Forms Services default.env file. If your Oracle Forms application uses multiple Reports Server cluster names, you can map each of those cluster names to a different Reports Server using reports_servermap in rwservlet.properties, as follows:
There's the answer. Sometimes writing the question down helps figure out the answer :)
Regards,
John

Similar Messages

  • 4.5 to 6i migration or report calling from forms in XE???

    Hi Friends,
    I really appreciate your helping tendency. Let me explain the whole scenario.
    My application basically consists of
    Forms [32 Bit] Version 5.0.6.8.0 (Production)
    Report Builder 3.0.5.8.0
    Oracle Enterprise Edition Release 9.2.0.1.0 - Production
    Now we migrated our database into Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production. After the migration all the existing forms and report individually were running without any problem. But there was a huge problem. Whenever I tried to call any report from any form the report engine appeared and then stopped responding. So report calling from forms was not possible after the database migration. I was suggested by someone from OTN forum to migrate my forms and reports into 6i. I have started doing the migration using ifcmp60. WIth forms 6i, reports can be called from forms. But I am facing problem in every other steps. There are many things are not working after the migration though the migration log shows no error. For example, COMMIT_FORM, EXECUTE_QUERY (for detail table), LOV, TOOL.GETVAR lots of things are not working.
    My application has 200 forms and 250 reports.
    Please help and advise on:
    How to call reports from form when the database is XE Or
    How to overcome the stated migration problem
    Rgds,
    Luther

    Dear Mark:
    I have two choices. I can either migrate to 6i or I can go with the existing 4.5. If I go with 4.5 ......the reports are not being called from forms. This problem is happening after I changed the database from 9i to XE. Please advise what to do so that I can keep my forms in 4.5, database in XE and can call reports from forms.
    Rgds,
    Luther

  • How would I display paper report, called from forms?

    I want to call reports 9i, from forms 9i, and display the paper report on the screen. How would I do this? So far I have gotten forms to call the report and give me a status back of FINISHED, but I don't see anything displayed on my screen.
    Thank you.

    Hi,
    you use the Forms Web.Show_Document() built-in for this. Please read http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    Frank

  • Start report server from forms.

    Hello everybody, merry chrismats to all.
    Im working with Forms & Developer DevSuite in Red Hat Linux ES/AS.
    Sometimes when I call a report from form using RUN_REPORT_OBJECT the report server is up & working but the forms dont find it & say FRM-41213 error, but after trying sometimes it begin to work.
    Question : ¿ Is there anyway to start and stop report server from forms ?
    Thanks in advanced & regards.

    Hello,
    For all queries involving testcases or queries that are potentially bug related
    we recommend you log a Service Request (SR) with Support via Metalink (http://metalink.oracle.com).
    This will ensure your query is tracked appropriately and any urgent requests can be
    dealt with in a timely manner by Global Support Services. May we also take this opportunity to remind you that the Metalink Library pages contain many Forms / Reports
    articles which could be of use to you.
    Best Regards
    Denis SEGARD

  • Calling Crystal Reports XI from Forms 10g

    Any one succeed in calling Crystal Reports XI from Forms 10g,
    or using Import Java Class in Forms 10g
    to call Crystal Reports XI
    or any other method to invoke crystal Reports XI from FORMS
    share your Knowledge to OTN
    please provide me the steps,documents to [email protected]
    Message was edited by:
    user501763

    Hi,
    Use web.show_document for calling the reports. Check out forms online help for syntax and example of web.show_document.
    -Arun

  • Report Running From Forms

    How to Run a Report from Form Builder
    i use Run_report_object function
    by givng report object name created in form
    report is already created
    i receive error message 'Report Name is not given'
    Kashif Khan
    ------

    Here is an example. This is the when-button-pressed trigger. I use the in-process reports server and therefore the web.show_document, but executing the run_report_object is similar.
    Hope this helps.
    Z.
    DECLARE
    rep_url varchar2(2000);     
    myenvid varchar2(128);
    BEGIN
    -- Check to ensure we have a valid record first
    if :PPS_AIR_MISSION.UNIQUE_ID is null then
    message('No air mission record is displayed to generate the report.', ACKNOWLEDGE);
    message(' ', NO_ACKNOWLEDGE);
    null;
    else
    Tool_env.Getvar('JTLSAAR',myenvid);
    rep_url:='/reports/rwservlet?&envid='||myenvid||'&&report=aar_amhist1.rdf&ssoconn='||myenvid
    ||'&desformat=pdf&destype=cache&paramform=no'
    ||'&MISSION_ID='||
    '"(''' || :PPS_AIR_MISSION.UNIQUE_ID || ''')"' ;
    -- synchronize and run the report
    SYNCHRONIZE;
    WEB.SHOW_DOCUMENT(rep_url,'_blank');
    end if;
    END;

  • How to display the output of a reports called from forms in the same window

    Hi all.
    I have installed Forms / Reports 11g Rel2 developer only installation on my windows 7 box.
    I can successfully call a reports from forms using RUN_REPORT_OBJECT and WEB_SHOW.document, but the report is opened in a new window.
    I'd like to open it in the same widow, in a new tab, similar to ctrl-t and make a call.
    How is that possible?.
    I'm using Chrome 25.0. Could this be done through browser settings?.
    Thanks in advance ...!
    Edited by: myluism on 14-mar-2013 6:09

    Don't know for Chrome, so Google for it.
    One more thing, though. what is the 2nd parameter in web.show_document? Is it '_blank'? If not, try that.

  • Report Called from FORMS having Printing Problem

    Hi all
    Guys i have a report problem in reports 6i.
    I am calling a report from my FORM 6i directly to printer (a dot matrix printer).
    I have set
    Add_Parameter(pl_id,'DesType',TEXT_PARAMETER,'printer');     
    The report is actually a confirmation report and i have given its layout height equal to 3.7 . But when i send it to printer it ejects the paper equal to 11 (equal to height of a portarait report).
    How can manage this ejection from Form or Report Side.
    NOTE : This problem occurs even if print the report from report preview(means not printed directlty from FORM).
    Kindly help me with this if any.
    I need it urgent.
    Thanx.

    Hello All
    The furthur detail to my previous problem is given as follows:
    I am getting problem
    with the Oracle reports. I have a dot matrix printer (Epson LQ-300, which is a
    tractor feed printer). While printing a report which is always not more than half a
    page, the printer does not stop after printing the report(the half page). It stops at
    the end of the page. I mean that half the page is printed and the rest half is blank.
    I want that the printer should print only at half a page. On the blank half it should
    print another copy of same report.
    Regards,
    Qaiser Qayyum Malik.

  • Can I call a report in Reports 6i from Forms Services 10g?

    Hi there,
    I was wondering if I could call a report in Reports 6i from my application in Forms Services 10g. If so, how could I do it?
    Thanks!

    In Forms 6i you probably did use RUN_PRODUCT to call reports. In 9i onwards you should use RUN_REPORT_OBJECT instead.
    See http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    Note that you should be able to run RDF files without any conversion.

  • How to display a Report 9i from Forms if the Report has a Parameter Form?

    Hi,
    could some one please post me a code sample to show how to call a (paper layout, RDF) Report from Forms if I would like it to display the Report's parameter form first?
    Thank you in advance.
    Tamas Szecsy
    I used the following code segment do achieve the job, but I get "REP-546: Warning: The value of restricted LOV parameter P_ALAL is not among the selectable values" message, even though I would like to specify the P_ALAL value on the report's parameter Form.
    declare
    paramlist_id ParamList;
    tmp_riport_name varchar2(200);
    report_id          report_object;
    report_job_id varchar2(200);
    tmp_id number;
    begin
    -- init
    tmp_riport_name := null;
              -- parameter list
    paramlist_id := get_parameter_list('mytmp_params');
    if not id_null(paramlist_id) then
    destroy_parameter_list(paramlist_id);
    end if;
    paramlist_id := Create_Parameter_List('mytmp_params');
    add_parameter( paramlist_id, 'PARAMFORM', TEXT_PARAMETER, 'YES' );
              -- call report
    report_id := find_report_object( 'DUMMY' );
    if report_id.id is null then
         return;
    end if;
    -- display
    set_report_object_property( report_id, report_execution_mode, runtime );
    set_report_object_property( report_id, report_comm_mode, synchronous );
    set_report_object_property( report_id, report_destype, 'preview' );
    set_report_object_property( report_id, report_desformat, 'PDF' );
    set_report_object_property( report_id, report_server, 'rep_geoias' );
         set_report_object_property( report_id, report_filename, :ALAP_REPORTS_NAME||'.rep' );
    report_job_id := run_report_object( report_id, paramlist_id );
    tmp_id := to_number(substr( report_job_id, length(name_in('rep_geoias'))+2 ));
    web.show_document( '/reports/rwservlet/getjobid'||tmp_id||'?server=rep_geoias', '_blank' );
    END;

    I think you specified report object name incorrect.
    in command line:
    repid := FIND_REPORT_OBJECT('REPORT1');
    Report1 must be name of report object in Form Builder.
    However to call report from Oracle Form you must do more work. For example:
    - Create report server name
    - Adding some code to set property for report object base on report server you created.
    Cheer!

  • Can u access Oracle9i Reports objects from Java Code?

    Hi,
    How can you access Oracle9i Reports (Rel 2) objects like Body, DataSource, Groups etc from Java Code?
    What are the available APIs?
    I went thru the APIs at http://otn.oracle.com/products/reports/htdocs/getstart/docs/Javadocs/oracle/reports/plugin/definition/package-summary.html
    However various constructors stated in these APIs are using classes from "oracle.reports.definition" package which are difficult for me to locate.
    For eg. Report constructor is using oracle.reports.definition.RWReport and there is no API documentation available for RWReport class.
    Please suggest me the site for the above APIs or the method to get a reference to "Report" instance.
    Thanks
    Rakesh.

    Thanks Tugdual for your quick reply.
    Thats exactly what I am trying to do. I want to develop a utility which can have a subset of Report Developer's functionality.
    Currently using Reports Developer & Report Wizard, I can create a report by providing SQL statement and few parameters (like Report Style, Calculated Fields, Template file etc). I want to put all these parameters in a XML file and run my java utility (based on the APIs which I am looking for) which will use these XML parameter file and generate a '.rdf' file.
    Also, could you please suggest me the site for oracle.reports.definition package API or the way to get a reference to oracle.reports.plugin.definition.Report instance.
    Thanks,
    Rakesh

  • Run report 9i from form builder 9i

    Dear all,
    I build report from report builder 9i.
    How to run this report in form builder 9i.
    Best regards,
    Jansen Hutagalung.

    Jansen,
    I really like short questions, but yours missing the point. What do you mean by running Reports from Forms builder? Do you mean how to run it from a Forms application started from Forms builder? There is a Whitepaper in teh collateral section of otn.oracle.com/products/forms that immediately makes you an expert in Forms/Reports integration
    Frank

  • Change Reports query from Form

    Hi,
    Can I use PL/SQL in a Form to modify or add to the Report's query in runtime?
    i.e
    If a Text Item in a form was left blank in then I would like to modify the WHERE clause
    in the Report to remove one of the parameter defined.
    in Report's query
    WHERE a.myfield >= :p_1 and a.myfield <= :p_2
    become
    WHERE a.myfield >= :p_1
    if the Text Item in form (for p_2) was left blank.
    Any help would be greatful.
    Many Thanks,
    Buntoro

    Hi,
    you can use lexical parameter to do this thing
    It's better if you change your query to
    select * from emp where &where_clause
    here,
    where_clause is a parameter with some default value. U must give some default value to it.
    ans then pass this parameter from form..
    hope it will help you...
    ...

  • Accessing Crystal Reports XI from ASP

    Post Author: cutedude43
    CA Forum: General
    I need to access Crystal reports from ASP. The catch is Crstal Reports XI is not installed on the web server where the ASP application is hosted. However there is another machine where Crystal Reports XI is installed. Can you please let me know, in detail, how I could view crystal reports through the ASP application under this scenario. If this is possible please also detail the required run time files that needs to be deployed on the web server where the ASP application is hosted.
    If this is not possible, please detail the other ways through which I can invoke the crystal report from my ASP application page.
    Thanks
    Vaidyanathan

    The only code you will find on this web site is for VB 6. I have a few C++ apps. Not knowing a thing about flex, I am not sure if either of those will be of any use to you(?). Other than that, see if you can find some flex forum and ask there...
    Ludek

  • Calling Reports 10g from Forms 10g without an app server

    Hi
    I have Forms 10g, and for development/testing purposes I am able to run a form in my local machine using the standalone OC4J. I needn't to deploy the form to test it.
    I can do the same with Reports 10g -- run a report in my local machine without an app server.
    However, I could not manage to call a Report from a Form that way, without an app server. It does not seem possible -- is it? Is there a way to set this up using the standalone OC4J or something like that?
    Thanks
    Luis
    Message was edited by:
    Luis Cabral

    Hi
    Sorry for the late reply.
    Here's how you start the report server from windows XP machine.
    1. Choose a unique name for the report server. Eg. <your_pc_name>_repserver
    2. As the report server runs in its own process, it can be started by the following command, accessible from the \ bin directory of the
    Oracle Developer Suite or Oracle Application Server 10g installation.
    rwserver –install <server_name> . It is now treated as a windows service and hence you can stop/start or restart from the services menu.
    3. If you want specific settings for your report server, look for the <rep_server_name>.conf file under <orahome>/reports/conf directory, after starting the server from above command. This file is created by oracle automatically, once the rep server gets started.
    For more info on this, please refer to white papers on the Forms and reports integration, found on the otn->Forms.
    Hope this helps
    Suma

Maybe you are looking for

  • Bar graph legend problem

    Hi I am using JDeveloper Studio Edition Version 11.1.1.3.0. My problem is that I have made a bar graph inside an af:showDetailItem but the legends isn´t shown correct. I can´t see the legends at all when I place the legends in the bottom and if I pla

  • IPhone crashes during restore

    I have an iPhone 5s, bought 14 months ago (without Apple Care, so out of warranty). Background Information: Since I updated to iOS 8.1.1, my iPhone has been crashing infrequently, in: Blue screen, Apple logo, back to blue screen, Apple logo, etc. Thi

  • IPhone 5 seizing randomly-unable to be used

    I am not the most technically inclined, so please bear with me. About two months ago, lines began showing up in Safari every now and again. They would go away, so I didn't think too much of it. Then one night, while in a game app, the screen began "f

  • How to Shift ToolBar(Search Box) From Left To Right

    Hi All,         I am trying to shift toolbar of Portal i.e Search Box from left to right.But it is not happening.How I do this?I do not want to upload PAR File also. Please let me know. Thanks, Abhiram

  • My Ipad's repeatedly  asking for activation and can't be activate through cellular data, what could I do?

    MY Ipad's repeatedly asking for activation, even though I activated 20 times, not kidding! And the worst is I can't activate it through cellular data, for no good reason. Yes, I checked the setting for the cellular data about itunes and so on. I also