PDF Rendering slow in BI publisher report.

Hi Experts,
I have created a BIP report with a simple query which take only 2 seconds to run on Database.
But when i embed that BIP report as a PDF on OBIEE dashboard. It takes 5 minutes to complete.
It is a report with 10000 records. Not sure how to optimize it as the Query takes 2 seconds only and the slowness occurred at the BIP level.
Is there are optimization i can do at PDF generation or at BIP level.
Thanks
Swami

BI Publisher

Similar Messages

  • Rendering Imges in XML Publisher Report

    Hi,
    We have the requirement of Rendering Images in XML Publisher Report.This images will be for each record you export. We do not want to construct the URL at run time and show the image, rather want to send the data through XML as encoded binary information and at run time to interpret the data and render the Image.
    Is this supported in XML Publisher, if yes , what are the steps to follow in sending the data (specific encoding/formats etc)
    Thanks
    Joseph George

    Why can you not use send the path on the server via XML to the template to render the image?
    Brett

  • Instead of getting PDF got XML output Bi publisher report

    Hi ,
    While i run the concurrent request i got the below :
    Executing request completion options...
    Output file size:
    335
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 3715769 on node CORPT228V at 14-SEP-2012 07:50:11.
    Post-processing of request 3715769 failed at 14-SEP-2012 07:50:11 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    ------------- 2) PRINT   -------------
    Not printing the output of this request because post-processing failed.
    instead of getting pdf output i got xml o/p....
    thanks in advance....
    Regards,
    Doss

    Alex,
    I have checked the log ...i did find the below,
    [9/14/12 8:13:23 AM] [90939:RT3715787] Output file was found but is zero sized - Deleted
    [9/14/12 8:13:23 AM] [UNEXPECTED] [90939:RT3715787] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:611)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:239)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5936)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:302)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:176)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'ref' used but not declared.
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
         ... 17 more
    [9/14/12 8:13:23 AM] [90939:RT3715787] Completed post-processing actions for request 3715787.
    [9/14/12 8:15:47 AM] [GSMServiceController:90939] New Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
    [9/14/12 9:03:39 AM] [GSMServiceController:90939] Received shutdown request.
    [9/14/12 9:03:39 AM] [GSMServiceController:90939] Preparing to shutdown service.
    [9/14/12 9:03:39 AM] [GSMServiceController:90939] Stopping all Service Threads.
    [9/14/12 9:03:39 AM] [OPPServiceThread0] Preparing to shut down service thread.
    [9/14/12 9:03:39 AM] [OPPServiceThread1] Preparing to shut down service thread.
    [GC 25492K->7906K(63424K), 0.0562769 secs]

  • Inline XML Publisher PDF rendered using IFRAME in Self Service

    Hi,
    We have created an XML Publisher Report (PDF) which renders inline in a SelfService Page.
    When we click on the Save Icon in the IFRAME, The File Name is really long including the Applications URL, DBC File, File Name etc.
    Ex: http___it21.marvell.com_8005_OA_HTML_xdo_doc_display.jsp_dbcName=it21_devt&fileName=MVL_HR_EMP_APPRAISAL_DETAIL-1163094244_out.pdf.pdf&mFileLength=50068&p_output=_devt_prod_prodcomn_html_fwk_t_MVL_HR_EMP_APPRAISAL_DETAIL-1163094244_out.pdf
    The requirement is to change the File Name to PerformanceAppraisal.pdf
    Below is the code used to render the inline PDF.
    - The XMLString has the complete XML generated.
    public void renderInlinePDF(OAPageContext pageContext, OAWebBean webBean, OAApplicationModule am, String XMLString, String templateName)
    System.out.println("---MVLReviewPerformanceXMLUtil.renderInlinePDF----------------- XMLString "+ XMLString);
    System.out.println("---MVLReviewPerformanceXMLUtil.renderInlinePDF----------------- templateName "+ templateName);
    BlobDomain xmlData = new BlobDomain(XMLString.getBytes() );
    pageContext.writeDiagnostics(pageContext, "------------- xmlData : "+xmlData.toString(), 4);
    pageContext.writeDiagnostics(pageContext, "------------------------------------------------------------------- ", 4);
    String redirectURL = null;
    try
    pageContext.writeDiagnostics(pageContext, "------------- redirectURL 1 : "+redirectURL, 4);
    redirectURL = DocumentHelper.getOutputURL(
    pageContext
    ,"XXGT"
    ,templateName
    ,xmlData.getBinaryStream()
    ,"PDF"
    ,null
    ,"en"
    ,"US"
    pageContext.writeDiagnostics(pageContext, "------------- redirectURL 2 : "+redirectURL, 4);
    System.out.println("---MVLReviewPerformanceXMLUtil---------------------------- redirectURL = "+ redirectURL);
    catch(Exception e )
    throw new OAException("Error in redirect");
    OAHTMLWebBean frame=(OAHTMLWebBean)webBean.findChildRecursive("IFRAME");
    pageContext.writeDiagnostics(pageContext, "------------- IFRAME is NULL"+frame, 4);
    if (frame == null)
    pageContext.writeDiagnostics(pageContext, "------------- IFRAME is NULL", 4);
    OAHTMLWebBean outRegion = (OAHTMLWebBean)createWebBean(pageContext,HTML_WEB_BEAN, null, "IFRAME");
    outRegion.setHTMLAttributeValue("src",redirectURL);
    outRegion.setHTMLAttributeValue("width", "100%");
    outRegion.setHTMLAttributeValue("height", "100%");
    outRegion.setHTMLAttributeValue("title","PerformanceReview");
    outRegion.setHTMLAttributeValue("name","PerformanceReview");
    OAWebBean iFramePlaceHolder = (OAWebBean) webBean.findChildRecursive("IFrameRegionPlaceHolder");
    iFramePlaceHolder.addIndexedChild(outRegion);
    // pageContext.getPageLayoutBean().addIndexedChild(outRegion);
    pageContext.writeDiagnostics(pageContext, "------------- IFRAME AddIndexedChild", 4);
    XML Publisher version 5.6.3
    Any help in this regard will be highly appreciated.
    Thanks,
    Sujay

    Thanks Balusc!!
    I have made use of your code to display PDF files in an IFRAME tag too!!! I just dint believe that this would be possible. Please just take a look at my JSP page.
    <h:form id="CaseLookUp">
         <%
         String path = request.getContextPath()+"";
         out.print(path);
         %>
    <iframe scrolling="auto" src="<%=path%>/imageServlet?file=D:\70-229 V5.pdf" width="80%" height="600" ></iframe>
         </h:form>

  • XML Publisher Report not generating the PDF output.

    Hi,
    I am trying to develop a XML Publisher Report in R12 Vision Instance.
    I have developed the rdf report and concurrent program with XML as output format. Ran the concurrent program and I got the XML output. Based on XML output I have created the rtf template. Using both the template and xml output I have created in Data Definition and Template in XML Publisher Administrator Responsibility. Now I am comming to the concurrent program and running the program, here instead of generating the PDF output it is generating again the XML output and concurrent program completing with warning status.
    When I am trying to do the same in 11i Vision Instance, Concurrent Program completing with normal status and when trying to view the output it is saying "Unable to Publish output for the Processed Request".
    Kindly please help me out in this issue.
    Thanks,
    Manasa.

    Hi Mahesh,
    Here the concurrent programs are not erroring out. It is completing with Warning status and when we click on View Output the output is coming in XML format instead of PDF, this is in R12 Vision Instance.
    In 11i Vision Instance, concurrent program is completing with Normal Status but when we click on View Output it is saying "Unable to Publish output for specified request".
    Thanks,
    Manasa.

  • Line crossing at the corner of the boxes in XML Publisher Report (PDF)

    Hi,
    We are facing some issue in XML Publisher report using RTF template and PDF output. In PDF output it looks like 2 lines are crossing each other at the corner of the boxes (which are made of the Table in RTF). Did you guys face this issue earlier? Is there any resolution?
    thanks,
    Ranen

    Hi,
    I would propose reviewing the eText documentation. I noticed that for RTF templates it's difficult explicitly set the length though within an eText template, you can specify the intended length.
    The Oracle post is, in my opinion, convoluted, though it's a point in the right direction
    Oracle Business Intelligence Publisher Report Designer's Guide
    Regards,
    Daniel

  • BI publisher report is very slow

    I have OBIEE 11g installed Running BI publisher report is very slow. After doing a research seems like we have increase the JAVA heap size.
    Can anyone help me how to increase this value. I do not see OC4j.cmd file in my BI install folder.
    Thanks in advance

    Did you try to change the setDomainEnv.cmd file in $MW_HOME/user_projects/domains/<Domain>/bin as follows:
    set XMS_JROCKIT_64BIT=1024 --> to the new initial heap size
    set XMX_JROCKIT_64BIT=2048 --> to the new maximum heap size
    If this is helpful, please mark as correct or helpful

  • Multiple Thread of a xml publisher report - messed up fonts in the PDF out

    We are running 60000 invoices at a given time. In order to get the job done faster, the xml publisher report is set up to run mulitple threads. Each thread running unique set of invoices.
    I am seeing this issue, randomly.
    The pdf output of the invoice is having the fonts messed up. font 10 shows up as 14 and the invoice looks very bad.
    When i rerun the same set of invoices it looks absolutely normal.
    Also if I retrieve the xml output of the bad pdf and view it through the xmlpub desktop, it looks perfectly fine.
    Two times we saw this issue
    PRODUCTION
    - when i run 8 threads, i saw this issue in one of the thread and affected one invoice. (Production- 1 concurrent processing node+ 5 OPP processes and 5 threads + MEMORY is J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx3072m )
    TEST INSTANCE
    - when i ran with 16 threads, one of the thread running xml pub report affected all the invoices (UAT environment-1 concurrent processing node+ 7 OPP processes and 1 threads + MEMORY is J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx3072m )
    Looks like it is happening when running multiple threads.
    The formatting command or information is getting lost somewhere and the report is all messed up.
    Please advise.
    Thanks
    SJ

    Really appreciate your response. Can you pls give little more details.
    1] Are there any standard API's which I can use to submit XML publisher report from the JSP pages
    2]Is there any sample code snippet for any of the options that I can refer to..or pls let me know the API's, I will check on them
    Appreciate any help

  • How to create editable PDF template for XML Publisher reports

    Hi,
    I have got a requirement to have some editable fields in one report whose output is in PDF format.
    I tried looking and saw this can be done using the XML Publisher report and using PDF template.
    But I got only Adobe Acrobat Reader and it does not have the facility to create Form fields.. Can you let me know what software I need in order to create the editable PDF Template.
    In the user guide, it didnot mention anything regarding this.
    Can I create editable PDF report using RTF template or do i have to got for PDF template only?
    Any help is appreciated!
    Thanks

    Hi,
    To edit PDF template , u need Acrobat writer, which is not free .
    I am still wondering what is this ?
    "" Can I create editable PDF report using RTF template ?? "".
    What is editable PDF report. ?
    i think what you tried to mention is ,
    can the PDF output from xml publisher is editable ?
    If that is the question , so here is some points,
    If you have Acrobat Writer or prof.edition, you can edit all the PDF documents irrespective of being from where it is generated.
    To make you understand more of XMLP.
    You create RTF template in word, so that , after merging with xml you can have multiple output formats like PDF, XLS, EFT,.....

  • Print stored pdf files to a XML Publisher PDF report

    I want to print PDF attachments to a XML Publisher PDF report. How can I do it?
    For eg. We have an iRecruitment vacancy IRC1309 for which the applicants upload pdf resumes. We want to print applicant resumes to a single PDF file for review.
    Any suggestions?
    Thanks in advance,
    Aakash

    Hi Guru,
    I have requirement to show attachment file in AR invoices which is .pdf files in BI Reports or Oracle Report.. Can ony one guide me please.
    Iam able to read blod data from fnd_lob table and also able to see junk data in xml output. Once rft template is generated then it is coming as blank. It does stream lob data. Can you please provide xsl fo statement to read.
    Thanks
    Simon
    Edited by: user13084103 on Nov 7, 2011 4:49 AM
    Edited by: user13084103 on Nov 7, 2011 4:50 AM

  • PDF-Rendering is very slow

    Hi,
    on our local test-environment with CF 8.01 we have no problem to create a pdf with cfdocument-tag.
    <cfdocument format="pdf"
                    encryption = "128-bit"
                    permissions="AllowCopy,AllowPrinting"
                    unit="cm"
                    scale="100"
                    backgroundVisible="yes"
                    marginleft="1"
                    marginright="1"
                    filename="#url.pk_id#.pdf"
                    pageType="A4">
              <cfdocumentitem type="header">
              ... content of the pdf
    </cfdocument>
    but our productive-server (the same CF-version as the local testserver) is working very slow, and when I say slow I mean minutes not a view seconds more.
    I have no idea where this discrepance is comming from, especially as we could observe the pdf-rendering on fusion-reactor witch makes it rather improbable that - as we first thought - our firewall is slowing down the process.
    does anyone out there has an idea where the problem could be located or had someone in this forum experienced a simular pdf-pitfall?
    thanks for yout efforts.

    Hi Guys I work with a lot of pdf files with being a student at uni and not sure these tips might help. 
    Try an app called skim which is free it handles pdfs nicely and looks similar to the preview app. 
    Also if a pdf is slow to scroll try selecting all the pages goto file print.  Then on the bottom left hand side of the print window select pdf and then save as pdf.  I have found on some pdfs (usually the ones in black and white and look like a photo copy) using the the print save as pdf option has then allowed me to view a pdf fine in the preview app without any issues.  Hope this is useful.
    I suspect its to do with pixels per inch or dots per inch of the document.

  • Slower pdf rendering since v26?

    I noticed a slower PDF rendering (iOS) on v26 compared to earlier versions. Did anyone have same behaviors?

    I would suspect you have not tried reading a .PDF file on your Windows 10 TP system because there is in fact a WindowsApp called Reader as noted by MakeMeLaugh that does indeed read .PDF files.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • Using Reports6i to Publish Reports On The Web As PDF Format - Arabic Data

    Hi everybody.
    I am using Reports6i to create some reports and publish them on the web as PDF format for security reason. The problem is that the opened document displays Arabic letters in encrypted way, I tried to use Acrobat Reader version 5 but it is still not working. Then I try to publish reports as HTML document, In this way, the arabic letters look fine but any vertical lines I designed in the reports did not show up, furthermore, the user can edit HTML document, change the data, then print the report, so using HTML as an output is not secure.
    Any suggestions?

    Hello ,
    You can try out the following
    1. Click on the Report name and bring up the property palette to show all of the properties for the whole report.
    2. Under Report Escapes->Before Form Value, change form method from POST to GET .
    Thanks
    The Oracle Reports Team

  • How to invoke XML Publisher report in 11i

    Can anybody please guide me on How can we invoke xml publisher report in 11i and how can we call XML publisher report from form or OA framework.
    Thanks

    Hi
    1. From a form ... a little tricky. Forms 6i has v limited java support so calling the XMLP apis directly is going to be tough. We do have a few products and customers that do it, here are a few scenarios:
    a. Have a button/menu item to call the report, this actually kicks off the concurrent manager to submit a report that XMLP will format
    b. Have a button that calls the plsql package, 'htp', this in turn can call an OA page where a report can be rendered in the page.
    2. From OAF page - much easier. You can call the TemplateHelper API form your page passing data, template reference, lang, terr, output format - the API will return the output.
    For the OAF approach and option'b' for forms I would recommend using the XMLP common region. This is a region that can be plugged into your custom page. Its very configurable - you can point it to a concurrent request, a completed document e.g. a PDF doc, you can pass it XML data from your BC4J objects or a data template. You can then configure what changes the user can make, change template, language, locale, output - please check the user guide for details on the Common Region.
    Tim

  • XML PUBLISHER report in Excel out put problem

    Hi Experts,
    I have developed one XML report which output type is EXCEL in Oracle Application.
    I am getting some -ve value in the report so I need to do the trailing sign
    Menace for example I got a value -8645 I need to display the value like (8645).
    This functionality is working in PDF output but in EXCEL out put it is not working.
    Could any body please help me on this..
    Its Urgent .
    Thanks in Advance.

    Check this metalink notes, did you got any error..?
    Note: 364547.1 - Troubleshooting Oracle XML Publisher For The Oracle E-Business Suite
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=364547.1
    Note: 359875.1 - Cannot View Xml Publisher Report Output In Excel Format
    Note: 358296.1 - How To Produce Requests In Formats Of HTML, RTF, and Excel From XML Publisher
    Note: 850685.1 - Wrong Output Format In Xml Publisher Output
    Note: 727031.1 - XML Publisher Requests Always Get Defaulted to Output Format as PDF Whatever the Template Type is Set To
    Note: 337343.1 - Unable to View Excel Output File Created by XML Publisher
    Note: 401328.1 - Default Layout Format for XML Publisher Concurrent Request Is Always PDF
    Re: XML Publisher Server on EBS 11.5.10.2

Maybe you are looking for