Problem in running oracle report from form 10g Version 10.1.2.0.2

Hi All,
I am facing problem while running the report from forms 10g getting FRM-41219
For this i am using the following procedure :
PROCEDURE RUN_REPORT IS
L_RUN_TEXT VARCHAR2 (2000);
L_USRID VARCHAR2 (100);
L_PASSWD VARCHAR2 (100);
L_DESNAME VARCHAR2 (100);
FILE_OUT_PUT VARCHAR2(200);
REP_STATUS VARCHAR2(20);
REP_NAME VARCHAR2(50);
PL_ID PARAMLIST;
REP_URL VARCHAR2(2000);
V_REP VARCHAR2(200);
BEGIN
display_me('RUN_REPORT');
-- CALL THE FOLLOWING FUNCTION, IN WHICH USER CAN WRITE HIS OWN CODE.
-- THE PROCEDURE CAN BE MADE LOCAL TO THE SPECIFIC FORM AND WRITE THE CODE.
-- IT SHOULD RETURN 'Y', IF YOU WANT TO PROCEED WITH THIS RUN_REPORT
-- PROCEDURE.
IF NVL (RUN_REPORT1, 'Y') = 'N' THEN
RETURN;
END IF;
COMMIT_FORM;
IF (GET_APPLICATION_PROPERTY (OPERATING_SYSTEM)) = 'UNIX' THEN
L_DESNAME := 'LP';
ELSE
L_DESNAME := NAME_IN ('REPORT_TITLE.F_FILE_NAME');
display_me(L_DESNAME);
END IF ;
/* SETTING THE REPORT OBJECT PROPERTIES */
/* G_PRAM1 IS THE NAME OF REPORT ****/
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_SERVER,'172.18.76.34');
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_FILENAME,:GLOBAL.G_PARAM1||'.REP');
display_me(':GLOBAL.G_PARAM1 '||:GLOBAL.G_PARAM1);
PL_ID := GET_PARAMETER_LIST ('REP_PARA');
IF NOT ID_NULL (PL_ID) THEN
DESTROY_PARAMETER_LIST ('REP_PARA');
END IF;
PL_ID := CREATE_PARAMETER_LIST('REP_PARA');
ADD_PARAMETER (PL_ID, 'DESTYPE' , TEXT_PARAMETER, NAME_IN ('REPORT_TITLE.RAG_DESTINATION') );
ADD_PARAMETER (PL_ID, 'DESNAME' , TEXT_PARAMETER, L_DESNAME);
ADD_PARAMETER (PL_ID, 'COPIES' , TEXT_PARAMETER, NAME_IN ('REPORT_TITLE.F_NO_COPY') );
ADD_PARAMETER (PL_ID, 'ORIENTATION', TEXT_PARAMETER, 'LANDSCAPE');
ADD_PARAMETER (PL_ID, 'MODE' , TEXT_PARAMETER, 'BITMAP');
ADD_PARAMETER (PL_ID, 'PARAMFORM' , TEXT_PARAMETER, 'NO');
ADD_PARAMETER (PL_ID, 'PARAM' , TEXT_PARAMETER, NAME_IN ('IBP_REPORT_PARAMETER.F_REP_SEQ') );
ADD_PARAMETER (PL_ID, 'P_COMP_CODE' ,TEXT_PARAMETER,:GLOBAL.G_COMP_CODE);
display_me(':GLOBAL.G_COMP_CODE '||:GLOBAL.G_COMP_CODE);
REP_NAME := :GLOBAL.G_PARAM1||'.REP';
display_me('REP_NAME'||REP_NAME);
V_REP := RUN_REPORT_OBJECT('REPOBJ');
display_me('V_REP '||V_REP);
REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
display_me('REP_STATUS'||REP_STATUS);
     WHILE REP_STATUS IN ('RUNNING','OPENING_REPORT','ENQUEUED')LOOP
REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
END LOOP;
IF REP_STATUS = 'FINISHED' THEN
REP_URL:='/REPORTS/RWSERVLET/GETJOBID'||SUBSTR(V_REP,INSTR(V_REP,'_',-1)+1)||'?'||'SERVER=172.18.76.34';
display_me('REP_URL '||REP_URL);
WEB.SHOW_DOCUMENT(REP_URL,'_BLANK');
ELSE
MESSAGE('ERROR WHEN RUNNING REPORT');
END IF;
END;
Which is called on a button , can any body share there idea to help out
Warm Regards
Ashutosh

Yes, I have replace the userid with scott/tiger@orcl with i6menu/i6menu@vbs and also replace the OAS server's name as you have suggested.
declare
     REP_URL varchar2(2000);
begin
REP_URL:= '/reports/rwservlet?userid=i6menu/i6menu@vbs&report=testrep_10g.rdf&desformat=pdf&destype=cache&paramform=no';
WEB.SHOW_DOCUMENT(REP_URL,'_BLANK');
end;
I had the 2nd code also but both r not working on my machine ......... !!
I have made the following setting on my machine:
1. Registry -> HKEY_LOCAL_MACHINE -> SOFTWARE-> ORACLE-> KEY_DevSuiteHome1->FORMS_PATH ->
Values is : D:\vision_soft\VSS\exe
2. Registry -> HKEY_LOCAL_MACHINE -> SOFTWARE-> ORACLE-> KEY_DevSuiteHome1->REPORTS_PATH ->
Values is : D:\vision_soft\VSS\exe
3. Entry made in the DevSuiteHome_1\forms\server ->default.env
FORMS_PATH=D:\vision_soft\VSS\exe
4. Entry made in the DevSuiteHome_1\reports\confr ->rwservlet.properties
#SERVER= rep10
As my forms is working well & but the report are not able to call.
Could you please let me know is there is any other mandatory setting required for the report 10g.
Regards,
Ashutosh

Similar Messages

  • REP 110 & REP 0110 .calling reports from Form 10g(10.1.2.0.2)

    Hi All,
    We are migrating form from Oracle form 6i to Oracle 10g(10.1.2.0.2). I am calling reports from forms
    using Web.Show_Docment(). When we run reports in report builder 10g it works fine.
    But when we try to run reports from Forms 10g it throws error which is given below.
    We want to run reports from UNIX. After using this url to submit report we get error REP 110 and REP 0110
    URL
    http://GEM:7777/reports/rwservlet?server=rep_server&report=/u01/forms/QA_Forms10g/GEMREP.rdf+DESTYPE=CACHE+DESFORMAT=HTML+p_user_id=XYZ+p_client=2
    ERROR
    REP-110: File '/u01/forms/QA_Forms10g/GEMREP.rdf DESTYPE=CACHE DESFORMAT=HTML p_user_id=XYZ p_client=2' not found.
    REP-0110: Unable to open file '/u01/forms/QA_Forms10g/GEMREP.rdf DESTYPE=CACHE DESFORMAT=HTML p_user_id=XYZ p_client=2'.
    I will really appreciate your help.
    Thanks
    Sandy

    Hello,
    You are mixing 2 separators in the URL : & and +
    Use only one separator in the URL :
    Example :
    http://GEM:7777/reports/rwservlet?server=rep_server+report=/u01/forms/QA_Forms10g/GEMREP.rdf+DESTYPE=CACHE+DESFORMAT=HTML+p_user_id=XYZ+p_client=2
    Regards

  • How do I find the report server name, and then run paper report from forms?

    How do I find the report server name, and then run paper report from forms?
    I am having a problem running report 9i from forms 9i (see below thread). How do I find out the name of the report server? I checked my C:\ids\reports\conf directory but don't see anything that gives me the name of the reports server. I also don't have a iashome directory.
    Also, I just want to run the paper report (not the web version).
    Thanks.

    Hi,
    please read teh Forms / Reports integration paper in teh Collateral section for Oracle9i Forms at otn.oracle.com/products/forms
    In summary, you have to create an external Reports Service that you can then give a name.
    Frank

  • Default file location when calling report from Forms 10G

    I've tried this in the reports forum, but it applies equally to forms I guess..
    Hi,
    I've managed to put together a routine for running a report from a 10G Form. In 6i I specified a "relative path" to my report name as follows:-
    "Run_Product(REPORTS, '..\Reports\myreportname', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL); "
    In 10G I would like to just specify the report name, rather than the full file path. Can I specify a relative file path - or alternatively can I set the default report location in a configuration file?
    At the moment I'm having to specify something like:
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,
    'c:\oracle\systemname\reports\myreportname.RDF');
    I would like to just have:
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,
    'myreportname.RDF');
    Many thanks,
    Keith.

    Do you run your application on an application server?
    If so you should use the REPORTS_PATH environment variable (in windows registry entry).
    Alternatively you could use an environmentid in the reports.conf-file:
    <server version="10.1.2.0.2">
    <environment id="YOURID">
    <envVariable name="REPORTS_PATH" value="C:\......"/>
    </environment>
    You call the report with the parameter &envid=YOURID in the URL.

  • Unable to run a report from developer 10g

    Hi, i can´t run a report from developer 10g when i run the report with the web icon appears the message
    Thu Jan 07 14:44:29 CST 2010
    javax.servlet.jsp.JspException
    javax.servlet.jsp.JspException
         at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:470)
         at sif10r4400F202316.jspService(_sif10r4400F202316.java:50)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:575)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:311)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:498)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:402)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:834)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    my report server is up, my servlet is ok too and REPORT_PATH environment is ok.
    Regards

    Hi, i can´t run a report from developer 10g when i run the report with the web icon appears the message
    Thu Jan 07 14:44:29 CST 2010
    javax.servlet.jsp.JspException
    javax.servlet.jsp.JspException
         at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:470)
         at sif10r4400F202316.jspService(_sif10r4400F202316.java:50)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:575)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:311)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:498)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:402)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:834)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    my report server is up, my servlet is ok too and REPORT_PATH environment is ok.
    Regards

  • How to run a report in form 10g

    How to run a report in form 10g;

    RUN_REPORT_OBJECT - check the on line help and there is a great paper on otn.oracle.com/products/forms and click on 9i papers (it will be relevant for 10g as well)>
    Regards
    Grant Ronald
    Forms Product Management

  • Run a Report from Forms

    How can I run a Report from Form in a Cliwnt / Server Environment?

    hello,
    see under RUN_REPORT_OBJECT in the forms online manual.
    regards,
    the oracle reports team

  • How to Run Oracle Reports from the web.

    How can we run Oracle Reports from the web - for example from a portal such as "Gateway"
    This is a univeristy that implements Banner - so can we run them from within Banner?

    Yes, of course. And for running the reports-server you need an OAS. Maybe here is a good starting point http://www.oracle.com/technology/documentation/reports.html

  • Unable to start Oracle Reports Server for 10g version 10.1.2.3.0

    Attention Oracle Reports Team or anyone else:
    I am unable to start the Oracle Reports Server for 10g version 10.1.2.3.0 of the Application Server.
    I have included the trace files see below. I marked the text in bold that might indicate the issues.
    Any help will be greatly appreciated. Thank you.
    Reports engine rwEng trace file:+
    [2010/7/8 10:11:51:626] Debug 50103 (RWEngine:init): args[0]=name=rwEng-0
    [2010/7/8 10:11:51:627] Debug 50103 (RWEngine:init): args[1]=server=myreportserver
    [2010/7/8 10:11:51:627] Debug 50103 (RWEngine:init): args[2]=ORACLE_HOME=/myoraclehomepath
    [2010/7/8 10:11:51:627] Debug 50103 (RWEngine:init): args[3]=engineimplclass=oracle.reports.engine.EngineImpl
    [2010/7/8 10:11:51:627] Debug 50103 (RWEngine:init): args[4]=traceopts=trace_all
    [2010/7/8 10:11:51:628] Debug 50103 (RWEngine:init): args[5]=tracefile=/myoraclehomepath/reports/logs/rwEng-0.trc
    [2010/7/8 10:11:51:628] Debug 50103 (RWEngine:init): args[6]=tracemode=trace_append
    [2010/7/8 10:11:51:628] Debug 50103 (RWEngine:init): args[7]=cacheDir=/myoraclehomepath/reports/cache
    [2010/7/8 10:11:51:628] Debug 50103 (RWEngine:init): args[8]=server_ior="/tmp/myreportserver_xxxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:11:51:678] Info 50128 (RWEngine:init): orb init succeeded
    [2010/7/8 10:11:52:108] Info 55007 (EngineImpl:loadLibrary): Load librw.so succeeded
    [2010/7/8 10:11:52:108] Debug 50103 (EngineImpl:init): useDataCache = null
    [2010/7/8 10:11:52:108] Debug 50103 (EngineImpl:init): ignoreDataParameter = null
    [2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): start CInitEngine()
    [2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): commandline[0] = rw
    [2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): commandline[1] = ora_rw20_3tng
    [2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): commandline[2] = myreportserver
    [2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): commandline[3] = /myoraclehomepath/reports/cache
    [2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[4] = null
    [2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[5] = null
    [2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[6] = trace_all
    [2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[7] = /myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
    [2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[8] = trace_append
    [2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[9] = null
    [2010/7/8 10:11:52:117] Debug 50103 (EngineImpl:EngineImpl): commandline[10] = null
    [2010/7/8 10:11:52:117] Debug 50103 (EngineImpl:EngineImpl): commandline[11] = null
    *[2010/7/8 10:11:58:329] Error 50103 (C Engine): 10:11:58 ERR REP-3000: Internal error starting Oracle Toolkit.*
    *[2010/7/8 10:11:58:329] Error 50103 (C Engine): 10:11:58 ERR REP-3000: Internal error starting Oracle Toolkit.*
    [2010/7/8 10:11:58:330] (C Engine)
    [2010/7/8 10:11:58:330] (C Engine)
                   | Reports Builder Profiler statistics |
    [2010/7/8 10:11:58:330] (C Engine)
    [2010/7/8 10:11:58:330] (C Engine)
    TOTAL ELAPSED Time: 6.06 seconds
    [2010/7/8 10:11:58:331] (C Engine)
    Reports Time: 6.06 seconds
    [2010/7/8 10:11:58:331] (C Engine) (100.00% of TOTAL)
    [2010/7/8 10:11:58:331] (C Engine)
    ORACLE Time: 0.00 seconds
    [2010/7/8 10:11:58:331] (C Engine) ( 0.00% of TOTAL)
    [2010/7/8 10:11:58:331] (C Engine)
    UPI: 0.00 seconds
    [2010/7/8 10:11:58:332] (C Engine)
    SQL: 0.00 seconds
    [2010/7/8 10:11:58:332] (C Engine)
    TOTAL CPU Time used by process: 1.08 seconds
    [2010/7/8 10:11:58:340] Debug 50103 (EngineImpl:EngineImpl): CInitEngine returns 3000
    [2010/7/8 10:11:59:129] Debug 50103 (RWEngine:init): args[0]=name=rwEng-0
    [2010/7/8 10:11:59:130] Debug 50103 (RWEngine:init): args[1]=server=myreportserver
    [2010/7/8 10:11:59:130] Debug 50103 (RWEngine:init): args[2]=ORACLE_HOME=/myoraclehomepath
    [2010/7/8 10:11:59:130] Debug 50103 (RWEngine:init): args[3]=engineimplclass=oracle.reports.engine.EngineImpl
    [2010/7/8 10:11:59:130] Debug 50103 (RWEngine:init): args[4]=traceopts=trace_all
    [2010/7/8 10:11:59:131] Debug 50103 (RWEngine:init): args[5]=tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
    [2010/7/8 10:11:59:131] Debug 50103 (RWEngine:init): args[6]=tracemode=trace_append
    [2010/7/8 10:11:59:131] Debug 50103 (RWEngine:init): args[7]=cacheDir=/myoraclehomepath/reports/cache
    [2010/7/8 10:11:59:131] Debug 50103 (RWEngine:init): args[8]=server_ior="/tmp/myreportserver_xxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:11:59:179] Info 50128 (RWEngine:init): orb init succeeded
    [2010/7/8 10:11:59:593] Info 55007 (EngineImpl:loadLibrary): Load librw.so succeeded
    [2010/7/8 10:11:59:593] Debug 50103 (EngineImpl:init): useDataCache = null
    [2010/7/8 10:11:59:594] Debug 50103 (EngineImpl:init): ignoreDataParameter = null
    [2010/7/8 10:11:59:597] Debug 50103 (EngineImpl:EngineImpl): start CInitEngine()
    [2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[0] = rw
    [2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[1] = ora_rw20_3tng
    [2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[2] = myreportserver
    [2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[3] = /myoraclehomepath/reports/cache
    [2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[4] = null
    [2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[5] = null
    [2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[6] = trace_all
    [2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[7] = /myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
    [2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[8] = trace_append
    [2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[9] = null
    [2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[10] = null
    [2010/7/8 10:11:59:600] Debug 50103 (EngineImpl:EngineImpl): commandline[11] = null
    *[2010/7/8 10:12:5:757] Error 50103 (C Engine): 10:12:05 ERR REP-3000: Internal error starting Oracle Toolkit.*
    *[2010/7/8 10:12:5:758] Error 50103 (C Engine): 10:12:05 ERR REP-3000: Internal error starting Oracle Toolkit.*
    [2010/7/8 10:12:5:758] (C Engine)
    [2010/7/8 10:12:5:758] (C Engine)
                   | Reports Builder Profiler statistics |
    [2010/7/8 10:12:5:758] (C Engine)
    [2010/7/8 10:12:5:759] (C Engine)
    TOTAL ELAPSED Time: 6.06 seconds
    [2010/7/8 10:12:5:759] (C Engine)
    Reports Time: 6.06 seconds
    [2010/7/8 10:12:5:759] (C Engine) (100.00% of TOTAL)
    [2010/7/8 10:12:5:759] (C Engine)
    ORACLE Time: 0.00 seconds
    [2010/7/8 10:12:5:760] (C Engine) ( 0.00% of TOTAL)
    [2010/7/8 10:12:5:760] (C Engine)
    UPI: 0.00 seconds
    [2010/7/8 10:12:5:760] (C Engine)
    SQL: 0.00 seconds
    [2010/7/8 10:12:5:760] (C Engine)
    TOTAL CPU Time used by process: 1.01 seconds
    [2010/7/8 10:12:5:769] Debug 50103 (EngineImpl:EngineImpl): CInitEngine returns 3000
    [2010/7/8 10:12:6:475] Debug 50103 (RWEngine:init): args[0]=name=rwEng-0
    [2010/7/8 10:12:6:475] Debug 50103 (RWEngine:init): args[1]=server=myreportserver
    [2010/7/8 10:12:6:475] Debug 50103 (RWEngine:init): args[2]=ORACLE_HOME=/myoraclehomepath
    [2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[3]=engineimplclass=oracle.reports.engine.EngineImpl
    [2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[4]=traceopts=trace_all
    [2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[5]=tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
    [2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[6]=tracemode=trace_append
    [2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[7]=cacheDir=/myoraclehomepath/reports/cache
    [2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[8]=server_ior="/tmp/myreportserver_xxxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:12:6:523] Info 50128 (RWEngine:init): orb init succeeded
    [2010/7/8 10:12:6:942] Info 55007 (EngineImpl:loadLibrary): Load librw.so succeeded
    [2010/7/8 10:12:6:942] Debug 50103 (EngineImpl:init): useDataCache = null
    [2010/7/8 10:12:6:942] Debug 50103 (EngineImpl:init): ignoreDataParameter = null
    [2010/7/8 10:12:6:946] Debug 50103 (EngineImpl:EngineImpl): start CInitEngine()
    [2010/7/8 10:12:6:946] Debug 50103 (EngineImpl:EngineImpl): commandline[0] = rw
    [2010/7/8 10:12:6:946] Debug 50103 (EngineImpl:EngineImpl): commandline[1] = ora_rw20_3tng
    [2010/7/8 10:12:6:946] Debug 50103 (EngineImpl:EngineImpl): commandline[2] = myreportserver
    [2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[3] = /myoraclehomepath/reports/cache
    [2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[4] = null
    [2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[5] = null
    [2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[6] = trace_all
    [2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[7] = /myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
    [2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[8] = trace_append
    [2010/7/8 10:12:6:948] Debug 50103 (EngineImpl:EngineImpl): commandline[9] = null
    [2010/7/8 10:12:6:948] Debug 50103 (EngineImpl:EngineImpl): commandline[10] = null
    [2010/7/8 10:12:6:948] Debug 50103 (EngineImpl:EngineImpl): commandline[11] = null
    *[2010/7/8 10:12:13:91] Error 50103 (C Engine): 10:12:13 ERR REP-3000: Internal error starting Oracle Toolkit.*
    *[2010/7/8 10:12:13:91] Error 50103 (C Engine): 10:12:13 ERR REP-3000: Internal error starting Oracle Toolkit.*
    [2010/7/8 10:12:13:91] (C Engine)
    [2010/7/8 10:12:13:92] (C Engine)
                   | Reports Builder Profiler statistics |
    [2010/7/8 10:12:13:92] (C Engine)
    [2010/7/8 10:12:13:92] (C Engine)
    TOTAL ELAPSED Time: 6.05 seconds
    [2010/7/8 10:12:13:92] (C Engine)
    Reports Time: 6.05 seconds
    [2010/7/8 10:12:13:92] (C Engine) (100.00% of TOTAL)
    [2010/7/8 10:12:13:93] (C Engine)
    ORACLE Time: 0.00 seconds
    [2010/7/8 10:12:13:93] (C Engine) ( 0.00% of TOTAL)
    [2010/7/8 10:12:13:93] (C Engine)
    UPI: 0.00 seconds
    [2010/7/8 10:12:13:93] (C Engine)
    SQL: 0.00 seconds
    [2010/7/8 10:12:13:93] (C Engine)
    TOTAL CPU Time used by process: 1.02 seconds
    *[2010/7/8 10:12:13:102] Debug 50103 (EngineImpl:EngineImpl): CInitEngine returns 3000*
    reports engine rwURLEng trace file:+
    *** 2010/7/8 10:11:47:306 -- Reading server config file /myoraclehomepath/reports/conf/myreportserver.conf
    *** 2010/7/8 10:11:47:307 -- <server version="10.1.2.3.0">
    <cache class="oracle.reports.cache.RWCache">
    <property name="cacheSize" value="50"/>
    <!--property name="cacheDir" value="your cache directory"/-->
    <!--property name="maxCacheFileNumber" value="max number of cache files"/-->
    <!--property name="ignoreParameters" value="parameter names to be ignored in constructing cache key, separated by comma ','"/-->
    </cache>
    <!--Please do not change the id for reports engine.-->
    <!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="4" minEngine="1" engLife="50" maxIdle="30" callbackTimeOut="90000">
    <!--property name="sourceDir" value="your reports source directory"/-->
    <!--property name="tempDir" value="your reports temp directory"/-->
    </engine>
    <engine id="rwURLEng" class="oracle.reports.urlengine.URLEngineImpl" initEngine="1" maxEngine="4" minEngine="1" engLife="50" maxIdle="30" callbackTimeOut="90000"/>
    <!--security id="rwSec" class="oracle.reports.server.RWSecurity">
    <property name="securityUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    <property name="oidEntity" value="reportsApp_myhostname_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"/>
    </security-->
    <!--destination destype="oraclePortal" class="oracle.reports.server.DesOraclePortal">
    <property name="portalUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    </destination-->
    <destination destype="ftp" class="oracle.reports.plugin.destination.ftp.DesFTP">
    <!--property name="proxy" value="proxyinfo.xml"/-->
    </destination>
    <destination destype="WebDav" class="oracle.reports.plugin.destination.webdav.DesWebDAV">
    <!--property name="proxy" value="proxyinfo.xml"/-->
    </destination>
    <!-- By default server will use rwnetwork.conf as network config file
    Use this element to override the same -->
    <!--networkConfig file="rwnetwork.conf"></networkConfig-->
    <job jobType="report" engineId="rwEng" securityId="rwSec"/>
    <job jobType="rwurl" engineId="rwURLEng" securityId="rwSec"/>
    <notification id="mailNotify" class="oracle.reports.server.MailNotify">
    <property name="succnotefile" value="succnote.txt"/>
    <property name="failnotefile" value="failnote.txt"/>
    </notification>
    <!--notification id="wfNotify" class="oracle.reports.server.WorkflowNotify">
    <property name="connStr" value="%WF_DB_USERNAME%/%WF_DB_PASSWORD%@%WF_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    </notification-->
    <log option="noJob"/>
    <!--jobStatusRepository class="oracle.reports.server.JobRepositoryDB">
    <property name="repositoryConn" value="repo_db_username/repo_db_password@repo_db_tnsname" confidential="yes" encrypted="no"/>
    </jobStatusRepository-->
    <trace traceOpts="trace_all" traceMode="trace_append"/>
    <connection maxConnect="20" idleTimeOut="15">
    <orbClient id="RWClient" publicKeyFile="clientpub.key"/>
    </connection>
    <queue maxQueueSize="1000"/>
    <!--jobRecovery auxDatFiles="yes"/-->
    <!--
    The value of the 'identifier' element is encrypted and is of the form SERVERACCESSKEY_USER/SERVERACCESSKEY_PASSWORD
    SERVERACCESSKEY_USER and SERVERACCESSKEY_PASSWORD in <server>.conf and targets.xml
    file should match for Reports EM pages to display data correctly.
    Corresponding entries of username and password in targets.xml:
    <Property NAME="Password" VALUE="SERVERACCESSKEY_PASSWORD" ENCRYPTED="FALSE"/>
    <Property NAME="UserName" VALUE="SERVERACCESSKEY_USER" ENCRYPTED="FALSE"/>
    -->
    <!--pluginParam name="mailServer">stmail.oracle.com</pluginParam-->
    <!--pluginParam name="proxy" type="file">proxyinfo.xml</pluginParam-->
    <pluginParam name="xmlpds" type="file">xmlpds.conf</pluginParam>
    <pluginParam name="jdbcpds" type="file">jdbcpds.conf</pluginParam>
    <pluginParam name="textpds" type="file">textpds.conf</pluginParam>
    </server>
    *** 2010/7/8 10:11:47:308 -- Reports Server is starting up
    *** 2010/7/8 10:11:51:982 -- Reports Server started up engine rwURLEng-0
    *** *2010/7/8 10:12:13:175 -- Shutting down engine rwURLEng-0*
    *** *2010/7/8 10:12:13:177 -- Reports Server shut down engine rwURLEng-0*
    *** 2010/7/8 10:12:13:178 -- Server is shutting down
    Why does the rwURLEng engine start up and then immediately shut down?+
    reports server trace file:+
    [2010/7/8 10:11:47:276] Debug 50103 (EnvironmentUtility:getEnvironment): XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
    [2010/7/8 10:11:47:277] Debug 50103 (EnvironmentUtility:getEnvironment): NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
    [2010/7/8 10:11:47:277] Debug 50103 (EnvironmentUtility:getEnvironment): DEBUG_SLFIND=/myapppath/log/mydebuglogfile.log
    [2010/7/8 10:11:47:277] Debug 50103 (EnvironmentUtility:getEnvironment): DISPLAY=myhostname:0.0
    [2010/7/8 10:11:47:277] Debug 50103 (EnvironmentUtility:getEnvironment): LD_LIBRARY_PATH=/myoraclehomepath/jdk/jre/lib/sparc:/myoraclehomepath/lib:/myoraclehomepath/opmn/lib:/myoraclehomepath/lib32
    [2010/7/8 10:11:47:278] Debug 50103 (EnvironmentUtility:getEnvironment): NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    [2010/7/8 10:11:47:278] Debug 50103 (EnvironmentUtility:getEnvironment): ORACLE_CONFIG_HOME=/myoraclehomepath
    [2010/7/8 10:11:47:278] Debug 50103 (EnvironmentUtility:getEnvironment): ORACLE_HOME=/myoraclehomepath
    [2010/7/8 10:11:47:278] Debug 50103 (EnvironmentUtility:getEnvironment): ORA_NLS33=/myoraclehomepath/ocommon/nls/admin/data
    [2010/7/8 10:11:47:283] Debug 50103 (EnvironmentUtility:getEnvironment): PATH=/myoraclehomepath/jdk/bin:/myoraclehomepath/bin:/myoraclehomepath/jdk/bin:/myoraclehomepath/bin:/myoraclehomepath/dcm/bin:/myoraclehomepath/bin:/myoraclehomepath/Apache/Apache/bin:/myoraclehomepath/opmn/bin:/myoraclehomepath/dcm/bin:/bin:/usr/bin:/etc:/usr/ccs/bin:/usr/local/bin:/usr/ucb:/usr/sbin:/export/home/oracle:/usr/bin:/bin
    [2010/7/8 10:11:47:283] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_CLASSPATH=/myoraclehomepath/reports/jlib/rwbuilder.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar:/myoraclehomepath/j2ee/home/oc4j.jar:/myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/oraclebarcode.jar
    [2010/7/8 10:11:47:283] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_DEFAULT_DISPLAY=NO
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_NO_DUMMY_PRINTER=TRUE
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_PATH=/myapppath/bin:/myapppath/util/bin:/myoraclehomepath/guicommon/tk/admin/TTF:/myoraclehomepath/reports/templates:/myoraclehomepath/reports/samples/demo:/myoraclehomepath/reports/integ:/myoraclehomepath/reports/printers
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_TMP=/tmp
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): RW=/myoraclehomepath/reports
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): SHELL=/usr/bin/ksh
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): TK_DEBUG_POSTSCRIPT=Func/L/Mem
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): TK_ICON=/myoraclehomepath/reports/plugins/resource
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): TMP=/tmp
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): TNS_ADMIN=/myapppath
    [2010/7/8 10:11:47:285] Debug 50103 (EnvironmentUtility:getEnvironment): TZ=US/Eastern
    [2010/7/8 10:11:47:285] Debug 50103 (EnvironmentUtility:getEnvironment): X_LD_LIBRARY_PATH_64=/myoraclehomepath/lib
    [2010/7/8 10:11:47:285] Debug 50103 (EnvironmentUtility:getEnvironment): NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    [2010/7/8 10:11:47:285] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_TMP=/tmp
    [2010/7/8 10:11:47:308] Info 56025 (RWServer:startServer): Reports Server is starting up
    [2010/7/8 10:11:47:503] Debug 50103 (JobManager:start): Using Maximum Job Retry value = 0
    [2010/7/8 10:11:47:526] Info 65000 (Multicast:init): Communication channel initialized
    [2010/7/8 10:11:47:528] Debug 50103 (Multicast:registerReceiver): Packet handler registered
    [2010/7/8 10:11:47:529] Info 50103 (ServerPacketHandler:start): ServerPacketHandler started successfully
    [2010/7/8 10:11:47:532] Info 50103 (RWServer:startServer): Using multicast mechanism
    [2010/7/8 10:11:47:562] Debug 50103 (ServerPacketReceiver:handleRequestPacket): Received packets. Multicast is working
    [2010/7/8 10:11:48:561] Debug 50103 (ServerPacketReceiver:handleRequestPacket): Received packets. Multicast is working
    [2010/7/8 10:11:49:572] Debug 50103 (ServerPacketReceiver:handleRequestPacket): Received packets. Multicast is working
    [2010/7/8 10:11:50:589] Info 56023 (ServerImpl:ServerImpl): Idle thread has been started
    [2010/7/8 10:11:50:691] Info 56020 (EngineManager:spawnEngine): Launching engine rwEng-0
    [2010/7/8 10:11:50:691] Info 50103 (EngineManager:spawnEngine): OS Name = SunOS : OS Arch = sparc
    [2010/7/8 10:11:51:56] Info 50103 (RWLocaleUtility:RWLocaleUtility): Using oracle.i18n.util.LocaleMapper class
    [2010/7/8 10:11:51:58] Debug 50103 (EngineManager:spawnEngine): Start engine command line = /myoraclehomepath/bin/rwengine.sh -server -cp /myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar -Duser.language=en -Duser.region=US -Xmx256M oracle.reports.engine.RWEngine name=rwEng-0 server=myreportserver ORACLE_HOME=/myoraclehomepath engineimplclass=oracle.reports.engine.EngineImpl traceopts=trace_all tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc tracemode=trace_append cacheDir=/myoraclehomepath/reports/cache server_ior="/tmp/myreportserver_xxxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:11:51:95] Info 56021 (EngineManager:spawnEngine): Engine rwEng-0 has been launched
    [2010/7/8 10:11:51:95] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Initial
    [2010/7/8 10:11:51:97] Info 56020 (EngineManager:spawnEngine): Launching engine rwURLEng-0
    [2010/7/8 10:11:51:98] Info 50103 (EngineManager:spawnEngine): OS Name = SunOS : OS Arch = sparc
    [2010/7/8 10:11:51:99] Debug 50103 (EngineManager:spawnEngine): Start engine command line = /myoraclehomepath/bin/rwengine.sh -server -cp /myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar -Duser.language=en -Duser.region=US -Xmx256M oracle.reports.engine.RWEngine name=rwURLEng-0 server=myreportserver ORACLE_HOME=/myoraclehomepath engineimplclass=oracle.reports.urlengine.URLEngineImpl traceopts=trace_all tracefile=/myoraclehomepath/reports/logs/myreportserver/rwURLEng-0.trc tracemode=trace_append cacheDir=/myoraclehomepath/reports/cache server_ior="/tmp/myreportserver_xxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:11:51:129] Info 56021 (EngineManager:spawnEngine): Engine rwURLEng-0 has been launched
    [2010/7/8 10:11:51:129] State 56004 (EngineInfo:setState): Engine rwURLEng-0 state is: Initial
    [2010/7/8 10:11:51:131] Debug 50103 (JobStore:writePersistFile): Purge persistent file
    [2010/7/8 10:11:51:169] Debug 50103 (JobStore:writePersistFile): Purge persistent file done
    *[2010/7/8 10:11:51:981] Warning 50103 (EngineManager:registerEngine): REP-55103: API URLEngine:getEngineEnvs not applicable to URL engine*
    [2010/7/8 10:11:51:982] Info 56026 (EngineManager:registerEngine): Reports Server started up engine rwURLEng-0
    [2010/7/8 10:11:51:998] Debug 50103 (EngineManager:updateEngineState): Engine rwURLEng-0 status is 1
    [2010/7/8 10:11:51:998] State 56004 (EngineInfo:setState): Engine rwURLEng-0 state is: Ready
    [2010/7/8 10:11:58:490] Info 50103 (EngineManager:manage): Engine restart count: 1
    [2010/7/8 10:11:58:590] Info 56020 (EngineManager:spawnEngine): Launching engine rwEng-0
    [2010/7/8 10:11:58:590] Info 50103 (EngineManager:spawnEngine): OS Name = SunOS : OS Arch = sparc
    [2010/7/8 10:11:58:592] Debug 50103 (EngineManager:spawnEngine): Start engine command line = /myoraclehomepath/bin/rwengine.sh -server -cp /myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar -Duser.language=en -Duser.region=US -Xmx256M oracle.reports.engine.RWEngine name=rwEng-0 server=myreportserver ORACLE_HOME=/myoraclehomepath engineimplclass=oracle.reports.engine.EngineImpl traceopts=trace_all tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc tracemode=trace_append cacheDir=/myoraclehomepath/reports/cache server_ior="/tmp/myreportserver_xxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:11:58:623] Info 56021 (EngineManager:spawnEngine): Engine rwEng-0 has been launched
    [2010/7/8 10:11:58:624] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Initial
    [2010/7/8 10:12:5:832] Info 50103 (EngineManager:manage): Engine restart count: 2
    [2010/7/8 10:12:5:932] Info 56020 (EngineManager:spawnEngine): Launching engine rwEng-0
    [2010/7/8 10:12:5:934] Info 50103 (EngineManager:spawnEngine): OS Name = SunOS : OS Arch = sparc
    [2010/7/8 10:12:5:935] Debug 50103 (EngineManager:spawnEngine): Start engine command line = /myoraclehomepath/bin/rwengine.sh -server -cp /myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar -Duser.language=en -Duser.region=US -Xmx256M oracle.reports.engine.RWEngine name=rwEng-0 server=myreportserver ORACLE_HOME=/myoraclehomepath engineimplclass=oracle.reports.engine.EngineImpl traceopts=trace_all tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc tracemode=trace_append cacheDir=/myoraclehomepath/reports/cache server_ior="/tmp/myreportserver_xxxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:12:5:963] Info 56021 (EngineManager:spawnEngine): Engine rwEng-0 has been launched
    [2010/7/8 10:12:5:964] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Initial
    *[2010/7/8 10:12:13:174] Exception 56105 (): Engine rwEng-0 died with error:*
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
         at oracle.reports.utility.Utility.newRWException(Utility.java:758)
         at oracle.reports.server.EngineManager.manage(EngineManager.java:367)
         at oracle.reports.server.IdleThread.run(IdleThread.java:88)
    *[2010/7/8 10:12:13:175] Info 56029 (EngineManager:shutdownEngine): Shutting down engine rwURLEng-0*
    [2010/7/8 10:12:13:176] State 56004 (EngineInfo:setState): Engine rwURLEng-0 state is: Shutdown
    [2010/7/8 10:12:13:177] Info 56047 (EngineManager:remove): Reports Server shut down engine rwURLEng-0
    [2010/7/8 10:12:13:177] Info 50103 (ServerPacketHandler:stop): Multicastmanager stopped successfully
    [2010/7/8 10:12:13:178] Info 50002 (RWServer:shutdown): Server is shutting down
    [2010/7/8 10:12:13:178] Info 50103 (RWServer:startServer): Notify thread to exit
    Why does the trace file indicate that the rwEng engine died with error?+
    Again why does the rwURLEng engine start up and then immediately shut down?+
    Thank you for your help on this issue.+

    OK, I did this once and did not follow the oracle docs
    If you saved your targets.xml before you started you might save it by renaming it back.
    (Double check to make sure you did not miss a rename)
    Otherwise, all I have to offer is my rough notes:
    1. Backup the file $ORACLE_HOME/sysman/emd/targets.xml.
    [oracle@ias02 emd]$ pwd
    /u01/app/oracle/product/midtier/sysman/emd
    cp targets.xml targets.xmlbackup
    2. Modify the file targets.xml by changing all the occurrences of the wrong reports server name by the correct one.
    i.e. Replace rep_test_midtier with rep_new (4 places - changes)
    Copy the conf file as follows: ( this will named different from system to system )
    cp /u01/app/oracle/product/midtier/reports/conf/rep_pia_oracleas.conf /u01/app/oracle/product/midtier/reports/conf/rep_fam.conf
    run this script:
    /u01/app/oracle/product/midtier/bin/addNewServerTarget.sh rep_fam          (change rep_fam to new report server name)
    3.Update the changed configuration .
    /u01/app/oracle/product/midtier/dcm/bin/dcmctl updateconfig -ct opmn -v -d
    /u01/app/oracle/product/midtier/dcm/bin/dcmctl resyncinstance -v -d
    4. Restart the Application Server Control Console
    /u01/app/oracle/product/midtier/bin/emctl stop iasconsole
    /u01/app/oracle/product/midtier/bin/emctl start iasconsole
    In the file:
    /u01/app/oracle/product/midtier/reports/config/reportsConfig.properties
    Change the Reports_Server_Name setting from rep_test_midtier to rep_fam (change rep_fam to new report server name)
    Best Wishes (I was able to save mime)
    The other option is to reinstall

  • Running report from Forms 10g?

    I have a 10g report that has a parameter form in it that I'm running from a 10g form using the method described in the whitepaper "Oracle Forms Services – Using Run_Report_Object() to call Reports with a parameter form".
    When I run the report from the form the html parameter is displayed like the whitepaper describes but I'm getting the Rep-0546: Invalid parameter input. Anybody know what's cauising this error.

    I've upgraded the report from 4.5 so there aren't any quotes in it. If I run the report with paramform=no and pass a parameter to the report it runs fine. The problem is that I need the report to run both ways. The one thing that I've found that is strange is the reports parameter has a validation trigger on it and if I remove the trigger from the report the parameter form isn't displayed at all and I get a blank report. I'm running the report to Cache and displaying it using web.show_document.

  • Call Oracle Reports from  Forms ver 9i or 10g

    Hi,
    Can somebody guide me, how to call Oracle Reports from the Oracle form 9i,
    Run_product is no more available into 9i & 10g, Run_report_object is not working with out put type "Screen" or "preview".
    What is the best way to call the reports from the form ??? pls help...
    Thanks in avdance.
    Jitesh ([email protected])

    You can use RUN_REPORT_OBJECT with CACHE type, and WEB.SHOW_DOCUMENT to view the document on the screen.
    In the Forms help you should find examples.
    If you have access to Metalink, have a look at Note:207396.1.

  • How to run report from form 10g

    Dear All,
    I have code of forms 6i that i used to run report. but when i run this code through forms 10g this gives message that use RUN_REPORT_OBJECT instead.
    please convert my code to 10g .
    ==============================================
    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, 'PARAMFORM', TEXT_PARAMETER, 'NO');
         Add_Parameter(pl_id, 'P_FROM', TEXT_PARAMETER,:FROM);
         Add_Parameter(pl_id, 'P_TO', TEXT_PARAMETER, :TO);
    Run_Product(REPORTS,'ANNEX_B_CONSTRUCTION_QUALITY',SYNCHRONOUS,RUNTIME,FILESYSTEM,pl_id);
    =======================================================
    Many thanks

    Some sample code. Create REPORT1 under Report node of the form.
    DECLARE
      PL_ID                 ParamList;          
      v_rep_id          REPORT_OBJECT;               
      v_rep            VARCHAR2(200);               
      v_rep_file        VARCHAR2(100); --Added to change create a unique file each time report created.
      v_tmp_path                         varchar2(250);
    BEGIN
    v_rep_id := FIND_REPORT_OBJECT('REPORT1');
    v_rep_file:=USER||'_'||to_char(SYSDATE,'DDMMYYYY_HH24MISS');
    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, 'PARAMFORM', TEXT_PARAMETER, 'NO');
    Add_Parameter(pl_id, 'P_FROM', TEXT_PARAMETER,:FROM);
    Add_Parameter(pl_id, 'P_TO', TEXT_PARAMETER, :TO);
    --Run_Product(REPORTS,'ANNEX_B_CONSTRUCTION_QUALITY',SYNCHRONOUS,RUNTIME,FILESYSTEM,pl_id);
    SET_REPORT_OBJECT_PROPERTY(v_rep_id,REPORT_FILENAME, 'tested_part_report'||'.rdf');
    SET_REPORT_OBJECT_PROPERTY(v_rep_id,REPORT_DESTYPE,FILE);
    SET_REPORT_OBJECT_PROPERTY(v_rep_id,REPORT_DESFORMAT,'pdf');
    SET_REPORT_OBJECT_PROPERTY(v_rep_id,REPORT_DESNAME,v_tmp_path||v_rep_file||'_Tested_Part_Report.pdf');
    v_rep := RUN_REPORT_OBJECT(v_rep_id,PL_ID); 
    --You should have a virtual path set as /output/ in Application server
    --Show the pdf output create in the folder mapped to output
    Web.Show_Document('/output/'||v_rep_file||'_Tested_Part_Report.pdf','_blank');     
    END;You need to put the files in the path (As set in the registry of application server) . Needed application server knowledge to deploy the reports.
    Edited by: Lokanath Giri on २२ दिसंबर, २०११ ११:०३ पूर्वाह्न
    Edited by: Lokanath Giri on २२ दिसंबर, २०११ ११:५९ पूर्वाह्न

  • Running JSP Excel report from Forms 10g

    Perhaps this had been discussed before, though I didn't find an exact solution.
    We have a JSP report that displays data in MS Excel. Works fine if called from the url.
    The report shall be called from the form passing a parameter list with PARAMFORM=NO.
    Problem: reports runs as designed but opens up an empty Excel spreadsheet. No errors, no data..
    We are using RUN_REPORT_OBJECT with desformat=spreadsheet and paramform=no.
    We can't use just web.show_document alone since quite a few parameters need to be passed.
    I've read in one of the posts that a paper layout need to be created (in addition to web layout) to run RUN_REPORT_OBJECT. We've done that, but now it does not open EXCEL, and displays paper layout in a browser.
    So, how to call JSP (Excel) report from Forms passing parameter list without displaying the parameter form?
    Thank you

    What is the complete Application Server version you are using? Be sure you are using 10.1.2.2
    What platform and version is it installed?
    What version of Excel is installed on the client?
    Does it work if you use an RDF report?
    Try this:
    o Change DESFORMAT to DELIMITED
    o Append the following to the end of the URL created in the WEB.SHOW call:
    &mimetype=application/vnd.ms-excel
    The result should be the same as using SPREADSHEET.

  • Run Oracle reports from the FORM builder

    Hello All,
    We have Oracle Form base application running on the window OS.
    (Form version is 9.0.4.1.0)
    Our Database is installed on Linux box (DB version: 10.1.0.3.0)
    I need to run different Oracle reports from the form based application or from the form builder. (Report Builder 9.0.4.1.0)
    Any feed back will be appreciated.
    Regards,
    D

    try this
    Run_product(REPORTS,' <path to the report>', ASYNCHRONOUS, RUNTIME, FILESYSTEM,' ',NULL);
    in some event ( whichever event you want your report to show up)

  • Error running 9i reports from forms.

    Hi folks,
    i am having problems running 9i reports from a form.
    i have installed Oracle 9iDS on a Win XP machine with 256 MB RAM and a Pentium 1.4Ghz processor.
    i also have a local Oracle 9i database. i have created several reports that i am trying to run from some forms but all efforts to date have failed.
    below is some sample code.
    declare
    v_rid report_object;
    v_rjob varchar2(100);
    v_rptstatus varchar2(100);
    v_jobid varchar2(100);
    BEGIN
    /*get handle to report object itself*/
    v_rid := find_report_object('pbranchlist');
    set_report_object_property(v_rid,REPORT_EXECUTION_MODE,BATCH);
    set_report_object_property(v_rid,REPORT_DESFORMAT,'htmlcss');
    set_report_object_property(v_rid,REPORT_DESTYPE,'CACHE');
    set_report_object_property(v_rid,REPORT_SERVER,'repsrv');
    set_report_object_property(v_rid,REPORT_COMM_MODE,synchronous);
    v_rjob := run_report_object(v_rid);
    v_rptstatus := report_object_status(v_rjob);
    while v_rptstatus in ('RUNNING','OPENING_REPORT','ENQUEUED') loop
         v_rptstatus := report_object_status(v_rjob);
         message(v_rptstatus);
    end loop;
    if v_rptstatus = 'FINISHED' then
         /*display report in browser*/
    --      web.show_document('http://steve:8888/reports/rwservlet/getjobid'||
    --      substr(v_rptsvrjob,instr(v_rptsvrjob,'_',-1)+1)||'?'||'server=repsrv','_blank');
    web.show_document('/reports/rwservlet/getjobid'||substr(v_rjob,instr(v_rjob,'_',-1)+1)||'?'||'server=repsrv','_blank');
    else
         message('error running Report');
    end if;
    end;
    pbranchlist is defined in the form,
    repsrv is a report server i installed and explicitly started.
    on clicking the button to run the above code, i get a message on the browser status bar as follows
    opening http://steve:8888/reports/rwservlet/getjobid11?server=repsrv...
    that's it. it stays like that forever and a progress bar showing the status of the operation gets to the halfway mark and stays there for up to 15 minutes.
    I eventually halted the operation by clicking the stop button of the browser. The form then becomes totally non-responsive with the mouse indicator changing to the hour-glass shape and a small vertical bar moving rapidly back and forth at the bottom of the form window.
    My only recourse then is to explicitly close the browser window.
    I have already configured Reports to run in non single sign-on mode by setting SINGLESIGNON=NO in the rwservlet.properties file.
    Is there anything i have not done properly?
    Thanks in advance.

    Steve,
    can you check the Reports cache directory if the Reports file got created? I would assume yes, but better check.
    Frank

Maybe you are looking for

  • Why can I no longer access google from my mac with either Firefox or Safari

    why can I no longer access google from my mac with either Firefox or Safari - both with latest updates loaded. My PC is fine.

  • Update to Mac OS X 10.4.6

    I've tried using the automatic updater and the standalone and everytime I try to update it will get as far as 16% writing files and then stops due to errors. How do I get around this to update my software? I'm new to Mac so not very knowledgeable. Pl

  • Ok I am having issues with my HP Enby 100 D410. Need help setting up eprint, and keeping connected.

    I opened up my printer, set it up, connected.  But I cant seem to keep connected.  I have an eprint email address set up, but the printer reset and now wants me to set up an new eprint using a different code.  How do I get the [email protected] email

  • What to take into account to create a custom schema?

    Hello, we are going to start the process of migrating from Oracle E-business suites R11.5.10.2 to R12; we have been doing our custom applications into the APPS schema. For this upgrade, we would like to start fresh and move all our custom application

  • CO19 - Backflush - Final Issue

    Hello, We are running into an issue with the final issue indicator for components when we are using CO19 to confirm orders.  The Process is that we first complete a B10 (Processing Started), then a B40 (Processing Finish), then a V40 to complete the