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
Similar Messages
-
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
LionelLionel,
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 -
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¶mform=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
ImranThis 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. -
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 -
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
FriedholdHi 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 -
Report 11g RUN_REPORT_OBJECT is not working FRM-41214
Dear all,
We are not able to run the reports using RUN_REPORT_OBJECT from forms 11g, we have tried our maximum to resolve this issue, unfortunately no proper documentation. Forms working without any issue are able to see the report out puts if I try running the report using internet explorer, but from the forms using RUN_REPORT_OBJECT It is getting failed. I could see two reports servers were running RptSvr_xxxxxx_FrmInst, rep_wls_reports_xxxxxx_frminst both servers queue status page also we can browse, but the reports running using RUN_REPORT_OBJECT is not working, the job queue is not showing these jobs.
When I use report diagnose it is showing "Exception when retrieving IOR"
Environment - Fusion Middleware 11.1.1.5.0, Windows 2008 server
Error : FRM 41214 Unable to run report
Can anyone through some lights on this issue.
We areTrying the below code :
DECLARE
v_report_id Report_Object;
vc_ReportServerJob VARCHAR2(100);
vc_rep_status VARCHAR2(100);
vjob_id VARCHAR2(100);
BEGIN
v_report_id:= FIND_REPORT_OBJECT('CFR007');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_SERVER,'RptSvr_xxxxxxx_FrmInst');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_OTHER,'paramform=no');
vc_ReportServerJob:=RUN_REPORT_OBJECT(v_report_id);
vjob_id := substr(vc_ReportServerJob,instr(vc_ReportServerJob,'_',-1)+1);
vc_rep_status := REPORT_OBJECT_STATUS(vc_ReportServerJob);
IF vc_rep_status = 'FINISHED' THEN
WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid'|| vjob_id ||'?server=rptsvr_XXXXXXXX_frminst','_blank');
ELSE
message ('Report failed with error message '||vc_rep_status);
END IF;
END;
Thanks & Regardsuser11319190 wrote:
I have posted it in the begning ,anway i am copying it for you again...
DECLARE
v_report_id Report_Object;
vc_ReportServerJob VARCHAR2(100);
vc_rep_status VARCHAR2(100);
vjob_id VARCHAR2(100);
BEGIN
v_report_id:= FIND_REPORT_OBJECT('CFR007');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_SERVER,'RptSvr_xxxxxxx_FrmInst');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_OTHER,'paramform=no');
vc_ReportServerJob:=RUN_REPORT_OBJECT(v_report_id); ---- exception is here
vjob_id := substr(vc_ReportServerJob,instr(vc_ReportServerJob,'_',-1)+1);
vc_rep_status := REPORT_OBJECT_STATUS(vc_ReportServerJob);
-----Please not that it is not reaching here......
IF vc_rep_status = 'FINISHED' THEN
WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid'|| vjob_id ||'?server=rptsvr_XXXXXXXX_frminst','_blank');
ELSE
message ('Report failed with error message '||vc_rep_status);
END IF;
END;
Edited by: user11319190 on 08-May-2013 00:12Hmm.. I don't see the report name whom is calling or run. I modified your code, give a try..
DECLARE
v_report_id Report_Object;
vc_ReportServerJob VARCHAR2(100);
vc_rep_status VARCHAR2(100);
vjob_id VARCHAR2(100);
BEGIN
v_report_id:= FIND_REPORT_OBJECT('CFR007');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(V_REPORT_ID,REPORT_EXECUTION_MODE,BATCH);
/* edit the report name like D:\repname.rep */
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_FILENAME,<write the full path of reports>);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_SERVER,'RptSvr_xxxxxxx_FrmInst');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_OTHER,'paramform=no');
vc_ReportServerJob:=RUN_REPORT_OBJECT(v_report_id); ---- exception is here
VJOB_ID := SUBSTR(VC_REPORTSERVERJOB,INSTR(VC_REPORTSERVERJOB,'_',-1)+1);
/* i added loop */
WHILE VC_REP_STATUS in ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
vc_rep_status := REPORT_OBJECT_STATUS(vc_ReportServerJob);
END LOOP;
-----Please not that it is not reaching here......
IF VC_REP_STATUS = 'FINISHED' THEN
WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid'|| vjob_id ||'?server=rptsvr_XXXXXXXX_frminst','_blank');
ELSE
message ('Report failed with error message '||vc_rep_status);
END IF;
END;Hope this works.. -
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 advanceProblem 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
KalpanaHow 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 -
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 11gweb_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? -
REP-52251: Cannot get output of job ID
Hi,
I am trying to call a report from oracle form and i am getting this error
REP-52251: Cannot get output of job ID 220 you requested on Mon Oct 16 11:19:12 EDT 2006.
REP-56033: Job 220 does not exist
please help, any Ideas.
Best regards,Have you tried to create an URL with all the parameters you're trying to run your report with?
Try to run the report that way first - just to make sure your report can actually be run with the parameters you're using.
If that works then try to use WEB.show_document from your form, passing the same URL you just built, if that works then you are only having problems with your RUN_REPORT_OBJECT (I am not sure if you're using rp2rro library for running your reports).
Try that -- another thing that might be happening is that your output is being generated but due to the parameters (I think there is some form of timeout in the reports server, when the files in your cache are deleted, not sure if this is the problem).
Try the run the report with an URL first - that should shed some light.
If you're still having problems, post it here, so we can review it. -
REP-52251: Cannot get output of job ID 69 you requested ....
OS: Oracle As 10.1.2.0.2 (rel 2 for Linux 86)
I have moved my forms and reports from windows XP (DS 9.04) to the Linux box.
I have compiled and run FORMS and most of the REPORTS succesfully.
I have compiled one report succesufully.
But when I run this report from the FORM, I got message as below:
Error
REP-52251: Cannot get output of job ID 69 you requested on Thu Sep 29 15:37:03 PDT 2005.<P>REP-56093: Cached output for job 69 is no longer valid
I have checked
http://abc:7778/reports/rwservlet/showjobs?
Status is as follows:
Error
Finished successfully but output is voided
Regards,
DNJust in case someone else too finds this thread with google. We had too REP-56093: Cached output for job 5429 is no longer valid. After checking reports cache dir we did see that the problematic reports have cache key with (broken)umlauds. So we disabled :DESNAME parameter and that got rid the umlauds in file names and that resolved the cache error. So if you get this error, you might check the cache directory if the problematic reports have some weird cache files/filenames.
-
Dear All,
I have calling report in oralce developer forms 10g using run report object. I have also call report server now there are problem that are coming for this regard is : -
*REP-52251: Cannot get output of job ID 31 you requested on Mon Oct 06 09:46:12 GMT+05:00 2008.
REP-51026: No output for job 31
Kindly any suggestion or help about this error.
Thanks and Best Regards,can you provide the url you called the report with?
-
Dear All,
I have calling report in oralce developer forms 10g using run report object. I have also call report server now there are problem that are coming for this regard is : -
*REP-52251: Cannot get output of job ID 31 you requested on Mon Oct 06 09:46:12 GMT+05:00 2008.
REP-51026: No output for job 31
Kindly any suggestion or help about this error.
Thanks and Best Regards,this is a good question for the Reports-Forum : Reports
Maybe you are looking for
-
IMovie Hangs For 50 Seconds When I Open It
I use iMovie '11 (9.0.8). For some reason, when I first open it, it hangs for about 50 seconds, displaying the spinning pinwheel cursor. I can't skim over clips while it's hanging, I can't start editing a project. I can't do anything. Does anyone kno
-
HI all, We are developing a quite complicated BPM. We need to controle errors in File Adapter, just in case the comunication channel cannot write/read (for example with a wrong FTP account). In case of error we need to send an email. So we are trying
-
I'm having trouble updating apps on 3gs?
Trouble updating apps?
-
Can I send 3D HDMI source over Thunderbolt port?
I have a 3D television sitting around in my home and I have some 3D Blu-ray movies, but sadly the sole BD-capable device in my home is my home server (in its own equipment compartment, running headless) so ripped the movie off the disk and now I want
-
When I got my iMac for Christmas this past holiday it seemed dead on arrival. After initial booting it abruptly shut down. Without any options on Christmas day I just tried restarting it multiple times. With out any plausible reason it started to wor