Frm-41214 and frm41217

hi there
I got problem like this
one form call report
report object report17 property like the following
name : report17
filename : f:\ora9ias_bi\reports\report11.rdf
report destination type : cache
report destination format:html
report server: repserver90
report execution mode:batch
report comm mode :sychnorous
trigger code like the following
declare
     report_id report_object;
     v_rep     VARCHAR2(100);
     rep_status VARCHAR2(20);
begin
     message('before find');
     report_id:=FIND_REPORT_OBJECT('report17');
     SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
     SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
     SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
     SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,'html');
     SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'repserver90');
     message('before run');
     v_rep:=RUN_REPORT_OBJECT(report_id);
     message('after run'||v_rep);
     rep_status:=REPORT_OBJECT_STATUS(v_rep);
     WHILE rep_status in('RUNNING','OPENNING_REPORT','ENQUEUED')
     LOOP
          rep_status := REPORT_OBJECT_STATUS(v_rep);
     end loop;
     if rep_status = 'FINISHED'or rep_status IS NULL THEN
          WEB.SHOW_DOCUMENT('HTTP://watfapp2.wat.michelin.com:7778/reports/
          rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
     else
          message('Error when running report');
     end if;
     end;
it works fine on 9iDS environment
when copy report11.rdf to http server ,f:\ora9ias_bi\reports,
it is windows 2000 server
rwserver -install repserver90 autostart = yes on http server
copy forms.fmx to f:\ora9ias_bi\forms
check http server register table
reports_path f:\ora9ias_bi\reports
add one entry on default.env file
REPORTS_CLASSPATH=F:\ora9ias_bi\jlib\zrclient.jar;F:\ora9ias_bi\reports\jlib\rwrun.jar
when I run the form call the report
I got frm-41214 on run_report_object and frm-41217 on show_Document
Hopefully somebody can give a help
thanks in advance
Lionel

Lionel,
all i could find was a problem reported for Reports9i that was about parameter values containing spaces. I don't see a space in your parameter settings, but you didin't mention if you use Reports_Other to pass additional values to the query.
I found Note 235802.1 that should be available on Metalink
Arte you passing anything else than the values you mention in your post ?
Frank

Similar Messages

  • ERROR FRM-41214 weblogic 10.3 + forms + reports 11g

    when I try to generate a report, I get this error: FRM-41214
    and I checkthe log file locate on /oracle/Midleware/asinst_1/diagnostics/logs/ReportsServerComponent/my_ReportsServer/rwEng-0_diagnostic.log
    and I found the last lines:
    [2011-11-29T16:36:20.429-06:00] [reports] [NOTIFICATION] [] [oracle.reports.engine] [pid: 29558] [tid: 11] [ecid: 0000JFlNlK3Fw000jzwkno0007Dq000002,0] [EngineName: rwEng-0] EngineImpl:run oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
    [2011-11-29T16:37:07.306-06:00] [reports] [ERROR] [] [oracle.reports.engine] [pid: 29558] [tid: 11] [ecid: 0000JFlNlK3Fw000jzwkno0007Dq000002,0] [EngineName: rwEng-0] rwfdt:rwfdtprint Job ID = 143 ERR Error occurred sending Job output to cache
    [2011-11-29T16:37:07.306-06:00] [reports] [ERROR] [] [oracle.reports.engine] [pid: 29558] [tid: 11] [ecid: 0000JFlNlK3Fw000jzwkno0007Dq000002,0] [EngineName: rwEng-0] C Engine Job ID = 143 ERR REP-1804: Printer definition file BANCO cannot be opened.
    [2011-11-29T16:37:07.308-06:00] [reports] [INCIDENT_ERROR] [REP-1804] [oracle.reports.engine] [pid: 29558] [tid: 11] [ecid: 0000JFlNlK3Fw000jzwkno0007Dq000002,0] [EngineName: rwEng-0] REP-1804 : Printer definition file BANCO cannot be opened.[[
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
         at oracle.reports.engine.EngineImpl.run(EngineImpl.java:553)
         at oracle.reports.engine.EngineClassPOA._invoke(EngineClassPOA.java:104)
         at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:637)
         at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189)
         at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1682)
         at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1540)
         at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:922)
         at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
         at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:694)
         at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:451)
         at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1213)
         at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:471)
         at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:500)
    please help!

    Hello,
    This error means that the file BANCO.prt is not found .
    The printer definition file (.prt file) was not found in the directories of REPORTS_PATH.
    By default , these files are located in $ORACLE_HOME/reports/printers and this directory is in REPORTS_PATH
    -> Check the value of REPORTS_PATH
    -> Check if BANCO.prt exists in a directory of REPORTS_PATH
    Regards

  • REP-52251 and FRM-41214

    Hi All,
    I’ve made a detailed investigation, but haven’t fund solution, that works for me:
    The goal is to show on the web html, and pdf reports.
    My code is:
    repid report_object;
    v_rep varchar2(100);
    rep_status varchar2(20);
    pl_id paramlist;
    BEGIN
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id, 'HEADER_ID', TEXT_PARAMETER, :OFFER_HEADER_VIEW_MAIN.ID);
    repid := find_report_object('RPT_OFFER');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_b-n1y9l73b6rmd4');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF'); -- for the pdf / ‘HTML’ for the html
    v_rep := RUN_REPORT_OBJECT(repid, pl_id);
    WEB.SHOW_DOCUMENT('http://127.0.0.1:8889/reports/rwservlet/getjobid' || substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=rep_b-n1y9l73b6rmd4','_blank');
    I'va also updated uifont.ali:
    [ PDF:Subset ]
    Arial..Italic.Bold.. = "arialbi.ttf"
    Arial...Bold.. = "arialbd.ttf"
    Arial..Italic... = "ariali.ttf"
    Arial..... = "arial.ttf"
    1.     Staring OC4J
    2.     I press button to show HTML – I get error message REP-52251
    3.     I press the button again – it works fine
    1.     Starting OC4J
    2.     I press button to show PDF – I get error message REP-52251
    3.     I press the button again – I get error message frm-41214
    I’ll appreciate any kind of help.
    Best Regards,
    Bartek
    Edited by: hrabiabw on 2009-03-16 04:23

    Hello,
    In fact it is not as simple as I said in my previous update.
    You have to start a "batch job" before calling the executable java
    On Windows, you can use the command start .
    The goal is to start a BAT file that will wait for a while (you can the utility sleep.exe ) and then , call the URL using curl.exe or wget
    ex:
    start startinprocess.bat
    c:\DevSuiteHome_1\jdk\bin\java -Doracle.security.jazn.config=c:\DevSuiteHome_1\j2ee\DevSuite\config\jazn.xml -Doracle.home=c:\DevSuiteHome_1 -DORACLE_HOME=c:\DevSuiteHome_1 -jar c:\DevSuiteHome_1\j2ee\home\oc4j.jar -userThreads -config c:\DevSuiteHome_1\j2ee\DevSuite\config\server.xml
    in startinprocess.bat :
    sleep 15
    curl.exe "http://127.0.0.1:8889/reports/rwservlet/getserverinfo" -o curl.out
    Regards

  • FRM-41214 unable to run report

    Hi,
    i'm trying in this days to migrate my software from 6i to 9i....
    Particularly i had some problems when i try to launch a report from my form...
    The form had migrated from Oracle 6i and it seems that it hasn't any type of problem but when i try to call a report from the web i obtain the error FRM-41214 (unable to run report)
    but this report is correctly positioned in the right path and when i use a different report of a different project (compiled for the 9i) i note that the error occurs when i use one of my group obtained from my queries like source for a new repeating frame.....
    Exactly until when i use one of the old groups of the old report it's all right but when i try to use a new group referred to a my new query i obtain the precedent error
    (FRM-41214, unable to run report)
    But i don't have any type of error when i compile...
    Can anyone help me? Some one can tell me what can i do or some one can indicate me same document where i can read all the step to migrate a report??
    Thanks a lot in advance

    Problem resolved. Copy of document can be found
    in METALINK, NOTE: 1069651.6. This will resolved the problem.
    Thanks.

  • FRM-41214: Unable ro run report while calling a report from a form in 9iDS

    Am in the process of migrating from Developer 6i client/server to Developer 9iDS on Windows 2000.
    I have read through the various postings on this issue & have made changes accordingly. I also referred to the white paper on the Forms/Reports integration.
    As I am trying to do a prototype, am compiling my forms/reports on my local machine & not on the apps. server.
    I installed a report server on my local machine as,
    rwserver -install 9irep
    I have defined this as a NT service and it is up & running & so is my OC4J instance.
    I have defined a reports object in my Form Builder & set Report Server=9irep,
    Destype=Cache,
    Execution mode=runtime
    Communication_mode=synchronous.
    I also removed the /security tag from the <report server>.conf file as suggested in the white paper. Also set the single sign-on to NO for the reports service.
    I have replaced my run_product with the run_report_object built-in as follows.
    Declare
    report_id      REPORT_OBJECT;
    report_status VARCHAR2(255);
    rep_job_id      VARCHAR2(255);
    Begin
    report_id := FIND_REPORT_OBJECT('KS'); --Created in form under node "Reports"
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME,'C:\Kalpana\9i_Prototype\ISSMDLCUST.rdf');
    rep_job_id := RUN_REPORT_OBJECT(report_id);
    report_status := REPORT_OBJECT_STATUS(rep_job_id);
    WHILE report_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    report_status := REPORT_OBJECT_STATUS(rep_job_id);
    END LOOP;
    message(report_status); pause;
    IF report_status='FINISHED' THEN
    Web.Show_Document('http://houwdisndgd01:8888/reports/server/getjobid='
    ||rep_job_id||'?server=ks');
    END IF;
    End;
    I get an error message "FRM 41214: Unable to run report" right after the call to run_report_object.
    Can someone please tell me where am going wrong with my run_report_object built-in? (I also need help writing my web.show document to point it to my local machine/folders).
    Thanks
    Kalpana

    How I have implemented the same and works
    Local OC4J is running.
    I established a reports server "repserver90" as a service.
    I created a report named "C:\TMP\TMP\test_report.rdf"
    I created a form with a Reports object with properties:
    Name: "EMP"
    Filename: "C:\TMP\TMP\test_report.rdf"
    Execution mode "Batch"
    Communication mode "Sychronous"
    Report Destination Type "Cache"
    Report Destination Format "HTML"
    Report Server "repserver90"
    I call the report with the procedure:
    PROCEDURE TEST_REPORT IS
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := find_report_object('EMP');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'html');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'repserver90');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no pdeptno='||:dept.deptno);
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://localhost:8888/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
    ELSE
    message('Error when running report');
    END IF;
    END;
    Minas

  • FRM-41214

    Hi all,
    When calling a report from a form through the RUN_REPORT_OBJECT built in, the report does not run and the error 'FRM-41214 - Unable to run report' is being shown. Also, the return value for the RUN_REPORT_OBJECT command is <reportservername)_-2. When will this value be returned by the RUN_REPORT_OBJECT command. Should some report server setting be changed to correct this error.
    Other details: Using Oracle Reports 6i; The Report has a Parameter list which is also passed to the above command along with the Report ID.
    I've attached the code for the same herewith:
    report_id := find_report_object(RepNm);
    IF error_code = '41219' THEN
    Message('Unable to execute : '|| RepNm);
    Raise FORM_TRIGGER_FAILURE;
    END IF;
    End;
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_FILENAME, RepNm);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_SERVER, Init.Appl_RepServer);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESFORMAT,'PDF');
    IF UPPER(PDESTYPE) = 'P' THEN
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESTYPE,PRINTER);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESNAME,Init.Appl_Printer);
    ELSE
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESTYPE,CACHE);
    END IF;
    IF UPPER(pOrientation) = 'L' THEN
    set_report_object_property(report_id, REPORT_OTHER,'ORIENTATION='||'LANDSCAPE');                         
    ELSIF UPPER(pOrientation) = 'P' THEN
    set_report_object_property(report_id, REPORT_OTHER,'ORIENTATION='||'PORTRAIT');                                                  
    END IF;
    Begin
    v_rep := RUN_REPORT_OBJECT(report_id,pparameter);      
    Exception
    When Others Then
    Message('Error While executing running reports ::'||error_code);
    End;
    rep_status:=REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF UPPER(pDESTYPE) != 'P' THEN
    Web.show_document('http://'||Init.Appl_Server||'/dev60cgi/rwcgi60/getjobid'||substr(v_rep,length(Init.Appl_RepServer))||'?server='||Init.Appl_RepServer);
    END IF;
    Any help would be appreciated.
    Thanks,
    Vidya.

    Hi
    1)
    >>
    "getjobid'||substr(v_rep,length(Init.Appl_RepServer))||'?server='||Init.Appl_RepServer"
    <<
    This is for 9i
    For 6i
    Web.show_document (’/dev60cgi/rwcgi60.exe/getjobid=’||v_rep||'?server=’vc_reportserver,'_blank');
    (Where v_rep is the return status from RUN_REPORT_OBJECT() call )
    2) Refer Forms reports integration paper for 6i
    http://otn.oracle.com/products/forms/pdf/277282.pdf
    (See page 20)
    You can see this document to see if you have missed anything else.
    Other suggestions
    This error can occur in following cases
    2) DESFORMAT or DESNAME or both of these parameters are empty.
    Looks like for your case it is fine (But just confirm yourself)
    3) DESTYPE is specified as SCREEN or PREVIEW
    Looks like for your case it is fine (But just confirm yourself)
    4) A parameter passed contains a space
    If parameter contains space(s), enclose parameter in single quotes
    (A) Ensure that your reports server is running
    (B) Run report using 6i client (rwcli60) and ensure that it runs fine.(That way we can see if the issue is with report itself or Forms-Reports integration code
    Thanks
    Ratheesh
    [    All Docs     ]
    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
    ---------------------------------------------------------------------------------

  • FRM-41214: Unable to run Report geting as error

    I am converting 6i reports to 11g for that i am compiling 6i report in 10g reports and copy in 11g server
    in that report is calling from form i have writen query
    like
    DECLARE
    paramlistname VARCHAR2(30) := 'PLIST1';
    plid PARAMLIST;
    cnt number;
    report_id report_object;
    BEGIN
    plid := GET_PARAMETER_LIST(paramlistname);
    IF NOT ID_NULL(plid) THEN
    DESTROY_PARAMETER_LIST(paramlistname);
    END IF;
    plid := CREATE_PARAMETER_LIST(paramlistname);
    ADD_PARAMETER(plid, 'paramform', TEXT_PARAMETER, 'NO');
    ADD_PARAMETER(plid, 'p_division_code' , TEXT_PARAMETER, :control_007.division_code);
    ADD_PARAMETER(plid, 'p_depot_code' , TEXT_PARAMETER, :control_007.depot_code);
    ADD_PARAMETER(plid, 'P_VALIDITY_DATE' , TEXT_PARAMETER, to_char(:control_007.valid_date,'DD/MM/YYYY'));
    ADD_PARAMETER(plid, 'MAXIMIZE', TEXT_PARAMETER, 'YES');
    report_id := find_report_object('Report_NTP_Pending_QtyP');
              web_reportn(report_id,plid);
    DESTROY_PARAMETER_LIST(plid);
    go_block('Control_007');
    end;
    while runging a report from form i am getting error FRM-41214 Unable to run Report
    So Please Help Me how to solve this problem in 11g

    web_reportn(report_id,plid);This is where you actually call the report, so the error is in that procedure. What is the code of this procedure?
    Furthermore, I don't see any reference to system parameters, like destype, desname, report server name etc. Are they set in web_reportn?

  • FRM-41214 Error when calling a report

    Hello,
    when I try to call a report from forms I've this error:
    FRM-41214 - can't run report
    The reports server is running local and I'm using Forms 10.
    Can anybody help me?
    Thanks,
    Raúl
    This is the code I'm using:
    PRINT_REPORT('Boletas', '\\sbd\Fuentes\Reports\Boletas.jsp', 'FECHA_DESDE=' || FECHA_DESDE || ' FECHA_HASTA=' || FECHA_HASTA);
    END;
    PROCEDURE PRINT_REPORT(p_RptObj VARCHAR2, p_NombreRpt VARCHAR2, p_Param VARCHAR2) IS
    report_id Report_Object;
    v_report_other VARCHAR2(4000);
    BEGIN
    /* Call run_report_object */
    report_id:= find_report_object(p_RptObj);
    v_report_other:= 'paramform=yes '||p_Param;
    RUN_REPORT_OBJECT_PROC(report_id,
    'Repsrv',
    'HTMLCSS',
    CACHE,
    p_NombreRpt,
    v_report_other,
    'http://192.168.0.231:8889/reports/rwservlet');
    END;
    --this proc. was copied from white papers:
    PROCEDURE RUN_REPORT_OBJECT_PROC (report_id REPORT_OBJECT,
    report_server_name varchar2,
    report_format varchar2,
    report_destype_name number,
    report_file_name varchar2,
    report_otherparam varchar2,
    reports_servlet varchar2
    ) IS
    report_message VARCHAR2(100) :='';
    rep_status VARCHAR2(100) :='';
    vjob_id VARCHAR2(4000) :='';
    hidden_action VARCHAR2(2000) :='';
    v_report_other VARCHAR2(4000) :='';
    i number (5);
    c char;
    c_old char;
    c_new char;
    sso_user VARCHAR2(100);
    BEGIN
    -- setting Reports runtime parameters
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME,report_file_name);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,report_server_name);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,report_destype_name);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,report_format);
    -- creating string for pfaction parameter
    hidden_action := hidden_action ||'&report='
    ||GET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME);
    hidden_action := hidden_action ||'&destype='
    ||GET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE);
    hidden_action := hidden_action ||'&desformat='
    ||GET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT);
    -- determine whether single sign-on is used or not. In the case
    -- of single sign-on add the ssoconn parameter to the otherparam section.
    -- If run in normal mode, just use userid
    sso_user := get_application_property(sso_userid);
    IF (length(sso_user) > 0) THEN
    -- sso is used
    hidden_action := hidden_action||'&ssoconn='; --||:parameter.config;
    ELSE
    -- no sso
    hidden_action := hidden_action ||'&userid='
    ||get_application_property(username)||'/'
    ||get_application_property(password)||'@'
    ||get_application_property(connect_string);
    END IF;
    -- report other parameters are passed as key value pairs
    -- "key1=value1 key2=value2 ..."
    -- the following loop replaces the delimiting blank with an '&'
    -- used on the Web.
    -- c_old is initialized with a dummy value
    c_old :='@';
    FOR i IN 1..LENGTH(report_otherparam) LOOP
    c_new:= substr(report_otherparam,i,1);
    IF (c_new =' ') THEN
    c:='&';
    ELSE
    c:= c_new;
    END IF;
    -- eliminate multiple blanks
    IF (c_old =' ' and c_new = ' ') THEN
    null;
    ELSE
    v_report_other := v_report_other||c;
    END IF;
    -- save current value as old value
    c_old := c_new;
    END LOOP;
    hidden_action := hidden_action ||'&'||v_report_other;
    -- report_servlet contains the full path to the Reports Servlet
    -- Example1, Forms and Reports are on the same host
    -- reports_servlet:='/reports/rwservlet';
    -- Example2, Forms and Reports are on separate hosts
    -- reports_servlet:='http://host:port/reports/rwservlet'
    hidden_action := reports_servlet||
    '?_hidden_server='||report_server_name||encode(hidden_action);
    -- Set pfaction to the report
    message(hidden_action);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,'pfaction='
    ||hidden_action||' '||report_otherparam);
    report_message:= run_report_object(report_id);
    rep_status := report_object_status(report_message);
    IF rep_status='FINISHED' THEN
    vjob_id := substr(report_message,
    length(report_server_name)+2,length(report_message));
    WEB.SHOW_DOCUMENT(reports_servlet||'/getjobid'||vjob_id
    ||'?server='||report_server_name,' _blank');
    ELSE
    --handle errors
    message ('Error');
    END IF;
    END;

    Thanks Frank, I opened the Queue Manager but the queue remains empty.
    If I try to call the report from Internet Explorer, i.e. typing in the URL:
    http://192.168.0.231:8889/reports/rwservlet?server=Repsrv&report=reportname.rdf&desformat=HTMLCSS&destype=CACHE&userid=username%2Fpwd%40connectionstring&paramform=yes&
    I've a blank form from Oracle Reports saying:
    REP-110: Can't open file 'reportname.rdf'.
    REP-1070: Error when opening or saving document.
    REP-0110: Can't open file 'reportname.rdf'.
    I've already tried using the full path where report is with the same response.

  • FRM-41214 while calling Report from Forms DS9i

    Hi !
    I am getting FRM-41214 'Unable to run Report' when i run a report using Run_report_object in Developer Suite 9i. I have checked the Report server which is up and running. Any suggestion for troubleshooting.
    Take care
    Imran

    This is Note:260451.1, you can try it:
    Newly created Key in cgicmd.dat file returns the following error when called with rwservlet:
    REP-50003: Bad command line
    Changes
    New key created in cgicmd.dat file.
    Cause
    Used tabs to add space after ":" and before first parameter.
    Fix
    1. Edit the cgicmd.dat file.
    2. Remove the tab after ":" and before first parameter.
    3. Use spaces to separate ":" from first parameter.
    Note: Remember that multiple keys in this file MUST be separated by an EXTRA empty line.
    This is documented in cgicmd.dat sample as rule 1.

  • FRM-41214- unable to run reports

    Env:
    Solaris running 6i forms and reports server patched to patch 9.
    when calling report from form using run_report_object, I get
    FRM-41214- unable to run report
    FRM-41217- Unable to get report job status
    FRM-41213- Unable to connect to report server RepsrvSMARTS
    This only occurs for one of the reports. I am able to run a different report
    with no problem.
    TIA!

    Jim,
    My guess is that the problem identified in bug 1731733 is the root cause. It manifests itself in various ways (see related bugs). The base bug is 1953704 and is fixed in Net80, and is available in one-off patches for various platforms, including Solaris.
    regards,
    Stewart

  • FRM-41214 by long running Report

    Hi,
    Forms/Reports 10g on OC4J:
    I get a Forms error FRM-41214 by trying a long running Report after 14 min,
    Iin the Reports log we find a 'end of connection..' .
    Is there a config parameter of Forms to handle this worst case?
    Many thanks
    Friedhold

    Hi Christian,
    I am using the rp2rro-package (modified) :
         SET_REPORT_OBJECT_PROPERTY(rp2rroNodeId,REPORT_DESFORMAT,rp2rroDesformat);
         SET_REPORT_OBJECT_PROPERTY(rp2rroNodeId,REPORT_SERVER,rp2rroReportServer);
         IF id_null (mparamlist_id)  THEN
          SET_REPORT_OBJECT_PROPERTY(rp2rroNodeId,REPORT_OTHER,rp2rroReportOther);
          rp2rro_jobidFull:=run_report_object(rp2rroNodeId);
         ELSE
           rp2rro_jobidFull:=run_report_object(rp2rroNodeId,mparamlist_id);
         END IF;
    I am trying also the asynchron Reports mode and get the same break (on the same side 1257 from about 2500 sides) ::
    [2013/7/1 0:11:59:282] Info 56013 (ConnectionManager:release): Connection 87771 is released
    [2013/7/1 0:11:59:291] Info 56013 (ConnectionManager:release): Connection 87772 is released
    [2013/7/1 0:11:59:306] Info 56013 (ConnectionManager:release): Connection 87773 is released
    [2013/7/1 0:11:59:316] State 56016 (JobManager:updateJobStatus): Job 1643 status is: Bericht Seite 1257 wird formatiert wird ausgef??hrt
    [2013/7/1 0:11:59:316] Debug 50103 (JobManager:updateJobStatus): Finished updating job: 1643
    [2013/7/1 0:11:59:317] Info 56013 (ConnectionManager:release): Connection 87774 is released
    [2013/7/1 0:11:59:327] Info 56013 (ConnectionManager:release): Connection 87775 is released
    [2013/7/1 0:14:6:923] Info 56013 (ConnectionManager:release): Connection 98871 is released
    [2013/7/1 0:14:6:934] Exception 50125 (org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 208 completed: Maybe
    at com.sun.corba.se.internal.iiop.IIOPConnection.purge_calls(IIOPConnection.java:438)
    at com.sun.corba.se.internal.iiop.ReaderThread.run(ReaderThread.java:70)
    ): Interner Fehler org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 208 completed: Maybe
    [2013/7/1 0:14:6:934] Info 56029 (EngineManager:shutdownEngine): Shutting down engine rwEng-0
    [2013/7/1 0:14:6:935] Exception 50125 (org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
    at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:148)
    at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:65)
    at com.sun.corba.se.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:67)
    at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:652)
    at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:594)
    at com.sun.corba.se.internal.corba.ClientDelegate.request(ClientDelegate.java:886)
    at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
    at oracle.reports.engine._EngineClassStub.shutdown(_EngineClassStub.java:173)
    at oracle.reports.server.EngineManager.shutdownEngine(EngineManager.java:1473)
    at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:1033)
    at oracle.reports.server.ExecAsynchJobThread.run(ExecAsynchJobThread.java:54)
    ): Interner Fehler org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
    [2013/7/1 0:14:6:935] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Shutdown
    [2013/7/1 0:14:6:935] Info 56047 (EngineManager:remove): Reports Server shut down engine rwEng-0
    [2013/7/1 0:14:6:936] State 56016 (JobManager:updateJobStatus): Job 1643 status is: Mit Fehler beendet:
    REP-56048: Engine rwEng-0 ausgefallen, job Id: 1643
    Regards
    Friedhold

  • FRM-41214 when specifying reports server

    Hi all,
    we use forms/reports 11g
    we call our reports from forms
    as soon as we include this in our code :
    SET_REPORT_OBJECT_PROPERTY(rp2rroNodeId,REPORT_SERVER,rp2rroReportServer);or fill out the property Report Server of the reports object in forms builder
    this causes FRM-41214 when calling
    rp2rro_jobidFull:=run_report_object(rp2rroNodeId);however when we look in the reports queue the report is run without a problem
    which prooves that we specified the correct reports server
    report destination type is CACHE
    nothing shows up in the reports logfiles
    any solution/cause
    Kr
    Martin

    In order to rule out code or configuration, I would recommend trying some simpler code and not use rp2rro library.
    Here is some simplified code which is based on the example document Oracle has provided for a long time. To use it do the following:
    1. In your form, create a dummy report object named REPORT1. Don't worry about its properties as these will be set in code.
    2. In the code below, replace :block1.SERVERNAME with the name of your Reports Server. You can hard code it or use a variable. This value appears a couple of times in the code so be careful.
    3. In the code below, replace :block1.REPNAME with the path and name of the Reports rdf file you plan to use for your report.
    4. If you are not using the HTTP Server and are calling WLS directly, you will need to change the relative URL in the Web.Show call to a fully qualified URL and ensure the correct port is indicated. This will not be necessary if requests are being routed through HTTP Server.
    5. Put this code in a test button and run the form.
    Declare
         repid           REPORT_OBJECT;
         v_rep           varchar2(256);
         rep_status           varchar2(256);
    Begin
           repid := find_report_object('REPORT1');
    -- Set Report Object properties
              SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESTYPE, CACHE);
              SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESFORMAT, 'HTML');
              -- Comm mode 1 = SYNCHRONOUS
              -- Comm mode 2 = ASYNCHRONOUS
              SET_REPORT_OBJECT_PROPERTY(repid, REPORT_COMM_MODE, 1);
              SET_REPORT_OBJECT_PROPERTY(repid, REPORT_SERVER, :block1.SERVERNAME);           
              SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME, :block1.REPNAME);
              -- SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,:block1.otherparams);
              SYNCHRONIZE;
    -- Run report and get status
              v_rep      := RUN_REPORT_OBJECT(repid);
              rep_status      := report_object_status(v_rep);
              SYNCHRONIZE;
    -- Wait for Reports to generate results
        WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
        LOOP
              rep_status := report_object_status(v_rep);
        END LOOP;
        SYNCHRONIZE;
    -- If DESTYPE is appropriate for displaying to user, execute WEB.SHOW   
        IF rep_status = 'FINISHED' THEN          
          WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||:block1.SERVERNAME,'_blank');     
        ELSE
          message(rep_status);
        END IF; 
    END;If the above works correctly, you can probably assume your issue is in your code. However if it fails in the same manner as you saw previously, the issue is likely related to a config problem. You may need to use the Reports Naming Service. Refer to the following:
    http://docs.oracle.com/cd/E21764_01/bi.1111/b32121/pbr_arch003.htm#CHDHBFFC

  • FRM-41214 Reports Error

    Hi,
    In some of our machines, my report sometimes not working.
    It throws FRM-41214 error.
    But the error not appears in the showlogs url.
    But, when i re-login in a fresh IE, it works fine from the same machine.
    Any idea, what is the root cause
    Thanks in Advance
    A.Gopal

    hi
    please check out the following links.
    http://download.oracle.com/docs/html/A73173_01/output/pbr_conf.htm
    Clear Reports cache after running report
    Re: Sometimes get FRM-41214
    if the report server is not up and its not running then also it will give u the following error.
    FRM-41214 Reports Error
    sarah
    Edited by: SaRaH on Jul 20, 2010 1:36 AM

  • FRM-41214 Error

    Hello... I'm running a report over the web and get a Unable to run report message. What seems to fix it is when I restart the OC4J_BI_Forms process from 10g Enterprise Manager.
    Is there a timeout setting or some configuration option I'm overlooking? I do not believe its the call to the report (meaning my Forms code) because restarting the job clears the problem right up.
    Feel free to post config files so I can compare them to mine or any other helpful suggestions.
    Thanks!

    Hello,
    Most of the times, FRM-41214 means that an error occured during the Reports execution.
    Have you checked the URL :
    http://<server>:<port>/reports/rwservlet/showjobs?server=<reports server name>
    Do you see your reports ?
    If there is a "red cross", click on it to get a detailled error message
    Regards

  • Getting frm-41214 unless complete path is given to report file

    Hi all.
    I'm using Forms / Reports 11g rel2 (11.1.2.1) deployment mode on a Linux box.
    In trying to test a simple forms / reports integration, i get error frm-41214 unless i specify a full path for report module.
    I know this is related to REPORT_PATH setting. According to output from rwserlvlet  showenv command. This is the actual setting:
    REPORTS_PATH
      /u01/app/oracle/middleware/FRHome1/reports/templates:/u01/app/oracle/middleware/FRHome1/reports/samples/demo:/u01/app/oracle/middleware/FRHome1/reports/printers:/u01/app/oracle/middleware/asinst_1/reports/fonts:/home/oracle/sistemas/fuentes/reportes 
    So i have set this value at two places:
    - ORACLE_INSTANCE/config/reports/bin
    [oracle@mluis bin]$ pwd
    /u01/app/oracle/middleware/asinst_1/config/reports/bin
    [oracle@mluis bin]$ grep REPORT_PATH reports.sh
    [oracle@mluis bin]$ pwd
    /u01/app/oracle/middleware/asinst_1/config/reports/bin
    [oracle@mluis bin]$ grep REPORTS_PATH reports.sh
    REPORTS_PATH=/u01/app/oracle/middleware/FRHome1/reports/templates:/u01/app/oracle/middleware/FRHome1/reports/samples/demo:/u01/app/oracle/middleware/FRHome1/reports/printers:/u01/app/oracle/middleware/asinst_1/reports/fonts:/home/oracle/sistemas/bin:${REPORTS_PATH}; export REPORTS_PATH
    [oracle@mluis bin]$
    - ORACLE_HOME/bin:
    [oracle@mluis bin]$ cd
    [oracle@mluis ~]$  cd /u01/app/oracle/middleware/FRHome1/bin
    [oracle@mluis bin]$ grep REPORTS_PATH reports.sh
    REPORTS_PATH=$$Instance.oracle_home$$/reports/templates:$$Instance.oracle_home$$/reports/samples/demo:$$Instance.oracle_home$$/reports/printers:$$Instance.directory$$/reports/fonts:/home/oracle/sistemas/bin:${REPORTS_PATH}: export REPORTS_PATH
    [oracle@mluis bin]$
    I have two questions:
    - /home/oracle/sistemas/fuentes/reportes was set some place before (don't remember). Where do i find this setting...? from showenv.
    - Which reports.sh should be changed if using in-process report server?. Guess must be the one located at ORACLE_INSTANCE, but it seems is it not picking the right value???
    Please HELP!!!
    Best regards. Luis

    Hi Roberto.
    Thanks for your reply.
    I was looking at an "old" image of the report server config values. Restarted and now everything is running as expected.
    You're right about REPORTS_PATH is being picked up from INSTANCE_HOME/config/reports/bin/reports.sh. A 100% sure now.
    Problem solved.
    Regards, Luis .

Maybe you are looking for

  • How to show a data in Higher fonts with write statement

    Hi. how to show a data in Higher fonts with write statement I want to show a statement in large fonts with write statement.How can I do that. write : 'Company Address'. Regards Mave

  • Mac OS 9 and Sonnet Encore?

    I recently decided to install Mac OS 9 for classic. It is an OS 9 disk, not 9.1, etc. Unfortunately, it won't boot past the grey screen; no happy Mac or anything. Any ideas? My dad's PowerMac G4 booted OS 9 fine from the disk. The differences between

  • Problem in mobile phone camera Image retrieval using J2ME ...

    Hi I am doing video surveillance application with mobile phone ... but i am not able to get the images faster from my mobile phone .. I need atleast 2 photos /frames per second using J2ME ... wen i tried it , it is very slow and i am not able to get

  • Chart rendering problem

    When i'm trying to view report charts they are not rendering. Java host,pop chart services r running, also i have installed flash player. Any idea?

  • HT201303 Unable to reset or restore iPad

    This problem has two stages, outlined below: I can't restore or reset my iPad because > it requires my password I can't enter the correct password because > it's asking for the password associated with my old email address (old Apple ID) and neither