Do we require OC4J started before running reports

I noticed that starting and stopping OC4J path in Developer Forms and Reports is the same.
For Forms I have to start the OC4J before running forms.
Is that a requirement even for reports or it't not necessary. The reason I was curious is, because, if reports does not need it, then why it appears even in the reports developer --> sub menu
Thanks in advance.

Hello,
The Reports Builder uses its own "in-process reports server". It is configured by rwbuilder.conf.
So, if you execute the reports from the Reports Builder, you don't need to start the OC4J.
But if you want use the "Reports Servlet", it will be necessary to start it.
Regards

Similar Messages

  • Need to call SET ROLE for Oracle before running report

    Hi all,
    does anyone know how I can call SET ROLE for Oracle with Crystal Reports, before running report? I'm using Crystal Reports 2008 to design report (with Server Oracle connection) and Java Reporting Component to run report within a J2EE apllication. If anyone has any idea, I'd greatly appreciate as I'm in trouble.
    Thanks a lot.

    Just a thought...
    If your report's datasource was an Oracle stored procedure, you could call a function to set the role from that SP
    You would be in the same Oracle session from  Report --> SP --> Function, so the role would be retained

  • OC4J Containers to run report.jsp

    Does anyone have a step by step on creating a production OC4J container that will run 9i report jsp's? The report jsp's will run under the demo area but we would like to setup a new OC4J container to run reports. We are using 9ias Rel2 App Server.
    Thanks

    Hi,
    Welcome to OTN. I am not sure about the discoverer report. However, there is no straight forward way of integrating the oracle reports with jsp page (as you have in forms using run_product / run_report_object).
    Having said that, you can still use the jspx page to launch the URL that invokes the rwservlet.
    Check out [this post|http://forums.oracle.com/forums/thread.jspa?threadID=637980&tstart=0].
    -Arun

  • OBIEE execute stored procedure to load tables before running report

    Hi..
    I want to execute a stored procedure to load database tables before running a report in OBIEE .
    I need to pass 2 parameters to the stored procedure which loads into tables.
    In the Connection Pool --> Connection Script Tab --> Execute before query, I wrote the below query using the repository variables VAR1 & VAR2 to execute the
    DECLARE VAR1 number; VAR2 number;
    BEGIN
    schema_name.package_name1.package_body('VALUE OF(VAR1)', 'VALUE OF(VAR2)'); COMMIT;
    schema_name.package_name2.package_body('VALUE OF(VAR1)', 'VALUE OF(VAR2)'); COMMIT;
    END;
    I am receiving the following error to declare the schema_name.package_name
    +++Administrator:2a0000:2a0004:----2010/06/21 14:29:00
    -------------------- Sending query to database named ACBS-OCC (id: <<49419>>):
    BEGIN schema_name.package_name1.package_body1('VALUE OF(VAR1', 'VALUE OF(VAR2'); COMMIT; schema_name.package_name2.package_body2('VALUE OF(VAR1)', 'VALUE OF(VAR2)'); COMMIT;END;
    +++Administrator:2a0000:2a0004:----2010/06/21 14:29:00
    -------------------- Query Status: Query Failed: [nQSError: 16001] ODBC error state: S1000 code: 6550 message: [Oracle][ODBC][Ora]ORA-06550: line 1, column 7:
    PLS-00201: identifier 'SCHEMA_NAME.PACKAGE_NAME1' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    ORA-06550: line 1, column 93:
    PLS-00201: identifier 'SCHEMA_NAME.PACKAGE_NAME2' must be declared
    ORA-06550: line 1, column 93:
    PL/SQL: Statement ignored.
    [nQSError: 16015] SQL statement execution failed.
    Please suggest how to declare and execute the stored procedure.
    Thanks in advance.

    Hi,
    I know that any Function / Procedure needs to be called using a EVALUATE function in OBIEE.
    Thanks,
    Vijay

  • Script to kill long running reports in OBIEE

    Hi
    I have requirement to kill long running reports . I am using OBIEE version 10.1.3.4.0 which has a bug where it is not taking query limits governor and the reports are not getting killed if i am setting that parameter in RPD.
    Oracle support has advised me to upgrade to next version, but for now, i cannot upgrade.
    Can anyone suggest me script to run on obiee app server that can kill long running reports on obiee and database server.
    I have AIX server and all reports run on database with same functional ID that is being used for ETL as well to Analytics database.

    Shikhs17 wrote:
    Hi
    I have requirement to kill long running reports . I am using OBIEE version 10.1.3.4.0 which has a bug where it is not taking query limits governor and the reports are not getting killed if i am setting that parameter in RPD.
    Oracle support has advised me to upgrade to next version, but for now, i cannot upgrade.
    Can anyone suggest me script to run on obiee app server that can kill long running reports on obiee and database server.
    I have AIX server and all reports run on database with same functional ID that is being used for ETL as well to Analytics database.Do you want to enforce the limitation on the database to automatically kill running sessions that run over specific period of time?

  • How to start with crystal reports

    Dear Experts,
    I am new to crystal reports, request you to kindly provide any tutorials or How to guides, so that I can start with  Crystal reports.
    Also tell what would be the Software/Hardware required to start with crystal reports.
    Currently we are on ECC 6.0 and SAP enterprise portal 7.0.
    Kindly Suggest.
    Warm Regards
    Upendra Agrawal

    I am assuming that u r going to develop reports off SAP datasource.For that purpose, You need to install Crystal Reports 2008 sp1/2 and SAP soluton KIt.
    Please read the following blog series which is the best place to start with Crystal Reports and SAP Connectivity:
    [http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417700)ID1177950950DB01199698694723595985End?blog=/pub/wlg/8560]
    SAP Integration Kit Blog:
    [http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417700)ID1177950950DB01199698694723595985End?blog=/pub/wlg/11076]
    Hope this will help you!

  • Run Report and download

    I am using 9IDS
    My requirement is
    1) To run report in character mode from form
    2) then download that file to user end.
    will somebody help me to solve this problem
    pls suggest me coding
    thanks in advance

    i am getting error
    unable to runreport
    my codes are
              f_name :='C:\file\file1.txt';
    --if upper(vc_runformat)<>'TXT' then
         rep_id:=find_report_object('SAL_REG_DEPT');               
         set_report_object_property(rep_id,REPORT_EXECUTION_MODE,BATCH);
         set_report_object_property(rep_id,REPORT_COMM_MODE,SYNCHRONOUS);
         set_report_object_property(rep_id,REPORT_DESTYPE,FILE);
         set_report_object_property(rep_id,REPORT_DESNAME,f_name);               
         set_report_object_property(rep_id,REPORT_DESFORMAT,vc_runformat);
    --set_report_object_property(rep_id,REPORT_MODE,'dflt');     
         set_report_object_property(rep_id,REPORT_SERVER,vc_reportserver);
         set_report_object_property(rep_id,REPORT_OTHER,'comp_code="'||:global.vc_comp_code||'" catg="'||catg||'" dept="'||dept||'" emp_code="'||emp||'" locat="'||:list_loc||'" month="'||mth||'" year="'||yr||'" note="'||note||'" note1="'||note1||'" Paramform=no');     
    vc_reportserverjob:=RUN_Report_Object(rep_id);
    vjob_id:=substr(vc_reportserverjob,length(vc_reportserver)+2,length(vc_reportserverjob));
    vc_rep_status :=REPORT_OBJECT_STATUS(vc_reportserverjob);
    when i have seen from reportserver trace file
    found this error
    [2005/5/9 10:39:5] Info 50132 (JobObject:reset): Get command line: REPORT=C:\Makess\Hrpay\Reports\sal_reg_dept.rdf USERID=HRPAY BATCH=YES DESTYPE=file DESNAME=C:\file\file1.txt DESFORMAT=TEXT comp_code="01" catg="C001" dept="" emp_code="" locat="D001" month="05" year="2005" note="" note1="" Paramform=no AUTHID=ANONYMOUS
    [2005/5/9 10:39:5] Debug 50103 (JobManager:findDuplicatedJob): Found no duplicated job for job 686
    [2005/5/9 10:39:5] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Reserved
    [2005/5/9 10:39:5] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Running
    [2005/5/9 10:39:5] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Idle
    [2005/5/9 10:39:5] Debug 50103 (JobManager:runJobInEngine): Send job 686 to engine rwEng-0
    [2005/5/9 10:39:5] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Running
    [2005/5/9 10:39:5] State 56016 (JobManager:updateJobStatus): Job 686 status is: Terminated with error:
    REP-1804: Unable to open printer definition file 'C:\Makess\Hrpay\Reports\sal_reg_dept.rdf'.
    [2005/5/9 10:39:5] Debug 50103 (JobManager:updateJobStatus): Notify master job 686
    [2005/5/9 10:39:5] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Ready
    [2005/5/9 10:39:5] Exception 1804 (): Unable to open printer definition file 'C:\Makess\Hrpay\Reports\sal_reg_dept.rdf'.
    exception oracle.reports.RWException {
    oracle.reports.RWError[] errorChain={struct oracle.reports.RWError {
    int errorCode=1804,
    java.lang.String errorString="Unable to open printer definition file 'C:\Makess\Hrpay\Reports\sal_reg_dept.rdf'.
    java.lang.String moduleName="REP"
    pls state me why it is asking printer and where to pass

  • To pass new session variable value to stored proc before running a report.

    Hi,
    Below is summary of the report requirement -
    Database level design
    1. Created a view and a global temporary table (GTT)
    2. Created an Oracle package procedure to accept from and to business dates on basis of which it will fetch, process and populate the GTT.
    Repository level design
    1. Created a business model containing the view and the GTT (mentioned above)
    2. Created two SESSION variables "from_dt" and "to_dt" to be initialized by their respective init blocks. Each of the variable is initialized with a DATE column value (of type DATETIME) from a database lookup table. I have also set the option "Enable that variable to be set by any user" for both variables.
    Query for these variables :
    from_dt = select from_date from <table>
    to_dt = select add_months(from_date,12) from <table>
    Presentation level design
    1. Using a text box, i display the default/initialized values of these variables like this -
    Current business date:@{biServer.variables['NQ_SESSION.from_dt']} Future business dt:@{biServer.variables['NQ_SESSION.to_dt']}
    Dates get displayed in YYYY-MM-DD 00:00:00 format
    The text msg displays these default dates and allows the user to specift different date range for which i create prompts as shown below.
    2. Using any random two columns of date type from the business model, i create two date dashboard prompts with labels "From Dt" and "To Dt".
    i select Calender Controls for both; setting Default To = Report Defaults.
    The Set Variable is set to Presentation variables - such that pv_from_dt maps to "From Dt" and pv_to_dt maps to "To Dt".
    3. i create the report using the business model created above. In the report "Advanced Tab" => "Prefix" field i specify the following -
    SET VARIABLE from_dt='@{pv_from_dt}',to_dt='@{pv_to_dt}';
    Note : The logic here is to display the default dates and allow user to specify different date values which will be stored in presentation variables.
    If the user does specify different "from dt" and "to dt" values, then using the presentation variables, i want to "write" back these new values to the corresponding session variables mentioned above.
    If the user does not specify different date range, then the default/initialized dates must be considered.
    I also display the default and new date values in the report title.
    Back to Repository level design
    To execute the stored procedure that will load the GTT before running the report I need to pass two date parameters to the stored procedure on basis of which it will fetch data, process and populate the GTT.
    In the Connection Pool --> Connection Script Tab --> Execute before query, I wrote the below query using the repository variables FROM_DT and TO_DT to execute the procedure -
    DECLARE
    v_from_dt date;
    v_to_dt date;
    BEGIN
    v_from_dt := VALUEOF(From_Dt);
    v_to_dt := VALUEOF(To_Dt);
    package_name1.package_body(v_from_dt,v_to_dt);
    END;
    Now when i try to run the report i get the following error :
    [nQSError: 10058] A general error has occurred. [nQSError: 23006] The session variable, NQ_SESSION.to_dt, has no value definition. (HY000)..
    Need help on this.
    Is it possible to "write back" a new value to a session variable ?
    Any other alternatives.
    Thanks
    Nusrat
    Edited by: user10309945 on Jan 24, 2011 10:08 PM

    Sandeep, I found a several topics where users describe saving values in DB through stored procedure or function. For example, [How to store OBIEE presentation level variable values in DB |http://forums.oracle.com/forums/thread.jspa?threadID=892006] I tried it and get an error
    *10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 14551, message: ORA-14551: cannot perform a DML operation inside a query ORA-06512*
    It's not a BI error. This error are generated by Oracle DB. If I write next:
    SELECT MyPLSQLFunction(p1,p2) FROM DUAL
    I get the same error.
    Oracle doesn't allow DML operations in SELECT.
    Did you relalize this feature yourself? Where did I mistake?

  • Issue while running page OC4J start up failed.

    Hi,
    I am working on two instances one is Local and another is in abroad.
    Now when I am running simple Hello World Page by giving Local Instance connections The page is loading quickly and running fine.
    Now when I am running the same Hello World Page by giving Abroad Instance connections The page load is taking almost 9-10 mins and running fine.
    In the above cases what might be the issue with Abroad Instances for loading page.
    1) Is it the Network Issue?
    2) Is it the OC4J Issue?
    Can anyone breif this senario and how to over come this issue.
    And one more Issue is
    Took the remote desktop of the Abroad Machine Installed JDeveloper in it and while running the Hello World page the Message OC4J start up failed is getting popedup in the Message.
    In which cases we will get OC4J start up failed error.
    Thanks,
    Krishna
    Edited by: user1000 on Feb 7, 2011 5:29 AM

    I am working on two instances one is Local and another is in abroad.What is your application release?
    In the above cases what might be the issue with Abroad Instances for loading page.
    1) Is it the Network Issue?Could be one or more.
    Can you reproduce the issue with other Self-Service pages? Any performance issues with forms?
    2) Is it the OC4J Issue?What about local users who access the same page from the same network, do they encounter the same performance issues?
    Can anyone breif this senario and how to over come this issue.Before investigating the performance issues with the instance/server (which are discussed many times in the forum, so just search old threads for performance tuning and you will get many hits), I would suggest you answer the above two questions to determine whether this is a network issue or an instance/server issue.
    And one more Issue is
    Took the remote desktop of the Abroad Machine Installed JDeveloper in it and while running the Hello World page the Message OC4J start up failed is getting popedup in the Message.
    In which cases we will get OC4J start up failed error.What is the error?
    Thanks,
    Hussein

  • Run logic AFTER oc4j started

    My J2EE requires a lot of initialization action for data caching and resources preload. Typically, this initialization action takes 5 mins to finish. I execute this action in my servlet's init() function, which is invoked during OC4J. However, in my oc4j, I need to run 5 J2EE applications of this kind. It means my OC4J takes 25 mins to start. It makes my oc4j 'seems to be' failed to start for most of the time.
    Apart from servlet's init() and startup class, is there any way I can execute my initialization actions AFTER oc4j startup? It can at least make my oc4j start normally and timely. Thx

    There's no inherent functionality in OC4J that can do this for you. I think you need to look at your architecture -- if this was me, I'd be offloading the work to a MDB or something of that manner so it can be executed asynchronously and in parallel. The tricky bit there is to work out how to stop the corresponding applications from being used until there cache initialization is completed, and perhaps also sharing the cache between the worker and the consumer. You could synchronize the application aliveness on a file, or perhaps use an MBean in which an active attribute is checked by the application and updated from the end result of the MDB processing.
    -steve-

  • I have an iMac running OX 10.5.8 I need a portable external harddrive to back it up before updating the software to Yosemite but I can't find anything that doesn't require you to be running at least OX 10.6.  Is there a suitable hard drive?

    I have an iMac running OX 10.5.8
    I need a portable external hard drive to back it up before updating the software to Yosemite but I can't find anything that doesn't require you to be running at least OX 10.6.  Is there a suitable hard drive?  I'm not very technical and wouldn't know how to do any formatting so I want it to be very basic so that I can just plug it in.  500GB should be more than adequate.

    Correct.  When you purchase devices, they would have stated the OS they needed to work, on the box.  This can be overlooked, but it is very important to check when purchasing. 
    You current OS, is so old, that they technology build into the new devices, is not something your OS understands.  It didn't exist when your OS was created, and therefore you need to upgrade the OS to work with the newer technology of these devices.
    10.6 software is not downloadable.  You must purchase a DVD disc.  You can order it from the on-line apple store
    - http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard.

  • When i run report through OC4J Application i get a exception message

    When i run report through OC4J Application i get a exception message saying Server returning invalid xml and the exception number is JBO -29000. The Reports Server is installed on machine having IP 10.191.99.254.
    Below is the exception message:
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.io.IOException, msg=Server returned HTTP response code: 500 for URL: http://10.191.99.254:8888/reports/rwservlet/showjobidnull
    Anybody Please help me out with this issue.....because I am really fed up with this problem....want some urgent help.....
    One possible workaround which I could make out is there needs change to be made in the .rdf files in Report Builder and then inside the User Parameters we change the Initial Value to * from % because the Reports Server encodes every value as %Initial_Value% and hence if the initial value for the parameter is % then it does not get a valid value and hence it returns as an invalid xml
    But unfortunately it seems this workaround does not work.Please help as soon as possible.

    Hi,
    you said that some changes were made in the .xml files but i had said that all the files present in Reports Developer or Reports Builder are .rdf files and I had made changes in the .rdf files for this articular report and then compiled it thereitself and then ran a paper layout of the report but the report did not comprise any data.
    There was sufficient data also to populate the report. So this may not be a database issue. Please help if you can ASAP.

  • Smart forms print control pop box (no required) when run report

    Dear All Expert Guru,
             how to control printing pop box when execute transaction code ,Report are make in smart form format
             because while run our report then come printing pop box  select out put device the will come report
                                             . but our user required no should be come printing pop box they are required when run report direct come report
       Pls help me any one.
    Thanks & Regars.
    Sudhir Srivsatava

    Hi,
       Pass the parameter no_dialog = 'X' while calling the smartform.
    data: wa_ctrlop type ssfctrlop.
       wa_ctrlop-no_dialog = 'X'.
    CALL FUNCTION fm_name
      EXPORTING
    *   ARCHIVE_INDEX              = ARCHIVE_INDEX
    *   ARCHIVE_INDEX_TAB          = ARCHIVE_INDEX_TAB
    *   ARCHIVE_PARAMETERS         = ARCHIVE_PARAMETERS
        CONTROL_PARAMETERS         =  wa_ctrlop
    *   MAIL_APPL_OBJ              = MAIL_APPL_OBJ
    *   MAIL_RECIPIENT             = MAIL_RECIPIENT
    *   MAIL_SENDER                = MAIL_SENDER
    *    OUTPUT_OPTIONS             = OUTPUT_OPTIONS
    *    USER_SETTINGS              = 'X'
    * IMPORTING
    *   DOCUMENT_OUTPUT_INFO       = DOCUMENT_OUTPUT_INFO
    *   JOB_OUTPUT_INFO            = JOB_OUTPUT_INFO
    *   JOB_OUTPUT_OPTIONS         = JOB_OUTPUT_OPTIONS
    EXCEPTIONS
       FORMATTING_ERROR           = 1
       INTERNAL_ERROR             = 2
       SEND_ERROR                 = 3
       USER_CANCELED              = 4
       OTHERS                     = 5
    Regards,
    Srini.

  • Set JAVA_HOME before running cloudscape -start

    Hi
    after i installed J2EE , i have made the following steps through DOS :
    1- set J2EE_HOME=C:\j2sdkee1.2.1
    2- set PATH=%PATH%;C:\j2sdkee1.2.1\bin
    3- cloudscape -start ---- in this step i have got an error saying "set JAVA_HOME before running this script" how can i solve this error
    with best regards

    Hi
    after i installed J2EE , i have made the following
    steps through DOS :
    1- set J2EE_HOME=C:\j2sdkee1.2.1
    2- set PATH=%PATH%;C:\j2sdkee1.2.1\bin
    3- cloudscape -start ---- in this step i have got an
    error saying "set JAVA_HOME before running this
    script" how can i solve this error
    with best regardshello,
    You did not set the variable JAVA_HOME. Set it to the home directory where the jdk is installed. For that give the command like set JAVA_HOME=C:\jdk1.3.1 in the DOS Prompt along with setting the J2EE_HOME and PATH variables...
    you may also make a new system environment variable JAVA_HOME and assign the jdk home path to it so that u need not set it everytime for a new DOS Window..
    hope that helps..
    -Jer

  • Checking default printer before running a report

    Hi guys,
    I'm trying to run a report directly from a form on the Web. However, at form runtime, the only thing known is DESTYPE ('PRINTER') but DESNAME is not. What I would like the form to do first is to check the user's local machine's default printer before running the report, and maybe show a message like: 'Oops, wait a minute dude! Your default printer is 'X', please change your default printer to 'Y' before proceeding.' Or something to that effect. After the change, of course, 'Y' (the name of the printer) gets passed on to DESNAME, and the report printing proceeds from thereon. Well, I think you get the point. Any cool ideas?
    null

    I can't tell the exact solution.
    But just check the Oracle Reports Remote Printing Utility(ORARRP).
    U can download this from oracle website.
    Using this u can generate o/p to a file and then a double click on that file will display a popup with all the printers accessible for that m/c.
    Thx,
    Rgs,
    Raj

Maybe you are looking for

  • Change font size in write to OLED for lm3s8962

    I'm would like to increase the font size that is displayed on the OLED screen with the lm3s8962. I am aware of the write to string vi. This subvi calls a c function, which I assume contains within it the stellarisware c code for writing a string. I'v

  • When we will go for TABLE, VIEW

    Hi Experts, I have doubt regarding Generic DS . If Standard DS are not match with the Business Requirement , then we will create Generic DS. But iam asking What is the Exact Requirement to go for Generic DS in SD and MM. At what instance Standard DS

  • Submitting forms as PDF - filename attachment

    Hi there, I created a form with a submit button that sends the pdf fine. This is a rather minor cosmetic thing, but the trouble is when the file attachment appears, the filename includes all the "%20″ in place of the spaces. So when I send the pdf fi

  • What specific technology are older macs bluetooth missing that will not allow handoff to work?

    What specific technology are older macs bluetooth (that is built in) missing that will not allow handoff to work? Will apple allow people to buy third party bluetooth 4.0 to allow it to work?

  • How can I put up more pictures besides 3?

    I was wondering how I could put more pictures up instead of 3. I can put as many pictures as I want on the photo's page but it will only let me put 3 in the little box where photos can go. Here is my website so you can see what I want. http://web.mac