Poor Performance generating pdf with Disco Viewer

Version: 10.1.2.54.25
Please humour me, I’m not a Discoverer friendly person.
Never even seen it.
But I am supporting a client who brings me Discoverer problems in the third person...
So issue is...
They often generate large reports.
Sometime, the users will export (not sure if that is correct term or not) them to pdf format.
This part of the process takes a while.
A 10,000 line/row report can take 25 minutes to generate in pdf.
Users are finding this unacceptable.
Excel generation for a similar report is done in approx 1.5 minutes.
Sorry, I can find nothing at Oracle sites, and a few things using google.
I can see that there are some client level controls in Disco that allows you to control resolution, memory, etc for pdf generation.
So..
1.     What exactly are all the related setting and what do these settings control.
2.     Are there any known issues for this?
3.     How is the pdf generated, this client process or server ? How can I describe this process to my client so that it can justify the difference between pdf & excel (assuming there is no known issue).
4.     Any good documents dealing with this (please don’t point me to user guides)
5. any other ideas, thoughts ?

Hi
Well if the same issue occurs in both Desktop and Viewer then you have your answer. It's not the way that Discoverer is running the workbook its the way the workbook has been constructed.
For a start, 40000 rows for a Crosstab is way over the top and WILL cause performance issues. This is because Discoverer has to create a bucket for every data point for every combination of items on the page, side and top axes. The more rows, page items and column headings that you have, the more buckets you have and therefore the longer it will take for Discoverer to work out the contents of every bucket.
Also, whenever you use page items or crosstabs, Discoverer has to retrieve all of the rows for the entire query, not just the first x rows as with a table. This is because it cannot possibly know how many buckets to create until it has all the rows.
You therefore to:
a) apply sufficient filters to reduce the amount of data being returned to something manageable
b) reduce the number of page items, if used
c) reduce the number of items on the side or top axis of a crosstab
d) reduce the number of complex calculations, especially calculations that would generate a new bucket
If you have a lot of complex calculations, you should consider the use of a materialized view / summary folder to pre-calculate the values.
Does this help?
Best wishes
Michael Armstrong-Smith
URL: http://learndiscoverer.com
Blog: http://learndiscoverer.blogspot.com

Similar Messages

  • Can't open libHaru-generated PDF with Reader, other readers work.

    Our application uses libHaru to export PDF images.  These PDFs can be opened using PDFlite on Windows, Preview on Mac and some other readers.  However, I have tried several versions of Adobe Reader on both platforms and the files fail to open with the message: "There was an error processing a page.  There was a problem reading this document (14)."   So, it seams that Adobe Reader believes that there is problem with this file.  However, from my very limited understanding of PDF structure, I have no idea what might be wrong, so I don't know how to fix it.  The file is written unencrypted.  It is about as simple a PDF as we can generate - a red-filled rectangle.  I would greatly appreciate any suggestions or help.
    Here is a sample PDF:
    %PDF-1.3
    %∑æ≠™
    1 0 obj
    <<
    /Type /Catalog
    /Pages 2 0 R
    >>
    endobj
    2 0 obj
    <<
    /Type /Pages
    /Kids [ 4 0 R ]
    /Count 1
    >>
    endobj
    3 0 obj
    <<
    /Producer (Haru Free PDF Library 2.3.0-dev)
    >>
    endobj
    4 0 obj
    <<
    /Type /Page
    /MediaBox [ 0 0 236 207 ]
    /Contents 5 0 R
    /Resources <<
    /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
    /Pattern <<
    /Type /Pattern
    /PatternType 1
    /PaintType 2
    /TilingType 2
    /BBox [ 0 0 100 100 ]
    /XStep 100
    /YStep 100
    >>
    >>
    /Parent 2 0 R
    >>
    endobj
    5 0 obj
    <<
    /Length 6 0 R
    >>
    stream
    1 0 0 -1 -118 296 cm
    1 w
    0 0 0 RG
    [] 0 d
    1 0.3 0.3 rg
    q
    % Rect
    119.25 90 m
    352.5 90 l
    352.5 294.75 l
    119.25 294.75 l
    119.25 90 l
    h
    B
    Q
    endstream
    endobj
    6 0 obj
    135
    endobj
    xref
    0 7
    0000000000 65535 f
    0000000015 00000 n
    0000000064 00000 n
    0000000123 00000 n
    0000000188 00000 n
    0000000458 00000 n
    0000000647 00000 n
    trailer
    <<
    /Root 1 0 R
    /Info 3 0 R
    /Size 7
    >>
    startxref
    666
    %%EOF

    You would need to post a sample PDF that demonstrates the problem.  All you posted there is text.  (PDF is a BINARY file format)
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Thu, 13 Oct 2011 11:02:42 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Can't open libHaru-generated PDF with Reader, other readers work.
    Can't open libHaru-generated PDF with Reader, other readers work.
    created by Fred Snerd<http://forums.adobe.com/people/Fred+Snerd> in PDF Language and Specifications - View the full discussion<http://forums.adobe.com/message/3969828#3969828

  • Accessing PDF with Acrobat viewer javabean

    I accessed a PDF Document with the Acrobat Viewer JavaBean and its totally working fine as given in :https://today.java.net/pub/a/today/2005/10/20/accessing-pdf-with-acrobat-viewer-javabean.h tml
    But I also wanted markup/annotations features in the same acrobat viewer. Is there a way to implement these features? The api given above in the link doesn't seem to provide all the updated features of acrobat. Any kind of help is appreciated.
    Thanks !

    Verify if you have the jar containing com/apple/mrj/MRJAboutHandler in your class path.
    It think it's called [MRJToolkitStubs-1.0.jar|http://mirrors.ibiblio.org/pub/mirrors/maven/mrj/jars/MRJToolkitStubs-1.0.jar]

  • How to generate PDF with bookmarks?

    Hi,
    The business request is to have pdf report with bookmarks. There is no predefined bookmark object in Livecycle Designer/SFP so my idea is to add some scripting to the form to generate bookmarks dynamically. I defined a standard pdf form with several lines of JavaScript embedded. The script is running in the form preview in Livecycle  Later I was testing the form by calling its function module and looking at the generated PDF file. Unfortunately it seems there is no script embedded in the final output PDF generated by ADS.
    Is Javascript supported in pdf forms? Do I need to perform any additional operations to enable the Javascipt? Do I need to pass additional parameters to ADS? I tested the following settings:
           fp_docparams-fillable = 'X'.
           fp_docparams-DYNAMIC = 'X'.
           fp_outputparams-getpdf = 'X'.
           fp_outputparams-PDFTAGGED = 'X'.
           fp_outputparams-PDFCHANGESRESTRICTED = ' '.
    I appreciate any suggestion.

    Hi Lata,
    May be there is some error in the JavaScript code written.
    Sometimes if there is an error in JavaScript then from where the error occurs from there the JavaScript wont work in the Adobe Form.
    To check whether JavaScript contains errors or not. You just simply open your Adobe Acrobat Reader goto Edit in that goto Preferences and in that Select "JavaScript" in that you find the JavaScript Debugger there you enable "Show Console on errors and messages".
    This may help you in some way or the other.
    Regards
    Pradeep Goli

  • MVC - Generate PDF From Details View

    Hello, I have a simple application with a list of items in a grid, so when you click on item's name, a popup div shows you item's details.
    It works fine, however, I would like to have a button inside this details view to generate PDF on the fly.
    I have got ExpertPdf.HtmlToPdf library to do that.
    Here is my method's code:
    public HomeController()
    public ActionResult Index()
    var article = from a in db.Article.Include(a => a.Kind) orderby a.CreatedDate descending select a;
    return View(article.ToList());
    public ActionResult Details(int id = 0)
    Article article = db.Article.Find(id);
    if (article == null)
    return HttpNotFound();
    return View(article);
    public FileStreamResult ContentToPDF()
    byte[] pdfBytes = new PdfConverter().GetPdfFromUrlBytes(Request.Url.AbsoluteUri);
    Stream stream = new MemoryStream(pdfBytes);
    return new FileStreamResult(stream, "application/pdf");
    @Html.ActionLink("To PDF", "ContentToPDF")
    Actually, PDF is generated from the given URL. But my problem is, when you click on ToPDF button, it calls the controller and my details view's URL changes to become: home/contenttopdf/1
    instead of home/details/1, as the newly generated URL returns page not found, PDF converter returns TimeOut exception.
    Can someone please tell me how to properly handle this ToPDF action method, how to call it properly?
    Thanks at advance.

    Please use the ASP.NET MVC forum for MVC specific issues:
    http://forums.asp.net/1146.aspx/1?MVC

  • Cannot generate PDF with RH10

    I have searched the forum and Peter Grainge's site and not found a solution to this problem that worked.
    I have a new installation of RH10 on Windows 7 sp1. It was installed as a trial and then licensed. I do not have the complete Adobe Acrobat -- only the add-on that was installed with RH.
    I used RoboHelp HTML to create a simple webhelp project and attempted to generate a PDF from it with the single source layout for Printed Documentation. The following error occurred:
    Starting to build Printed Documentation...
    Printed Documentation processor 10.0.0.287
    Building C:\RoboHelp experiments\merged help webhelp\Child projects\comcare_human_resources_modul\!SSL!\Printed_Documentation\Printed_Documentation. doc ...
    Preparing to create Printed Documentation...
    Clearing output folder...
    Preparing files for Print Document...
    Copying files...
    Updating files...
    Finished preparing in 1 second.
    Preparing environment...
    Printed Document Generator Environment: Word 14.0.6129,  OS 6.1.7601, RAM 4009 M Bytes
    Building Printed Documentation 'Printed Documentation'...
    Building Single Document 'Printed_Documentation.doc'...
    Building 'Title Page'...
    Building 'Table of Contents'...
    Preparing to build chapters...
    Building 'Human Resources Module'...
    Building 'First Topic of the Human Resources Module'...
    Processing 'First Topic of the Human Resources Module'...
    Processing 'How it works'...
    Processing 'Splash'...
    Processing 'Welcome'...
    Processing 'The Information Screen'...
    Processing 'About'...
    Processing 'Starting the application'...
    Building 'Error Messages'...
    Processing 'Error Messages'...
    Completed building chapters...
    Building 'Glossary'...
    Building 'Index'...
    Updating list paragraphs...
    Updating images...
    Updating page numbers...
    Updating page headers...
    Updating Table of Contents...
    Updating Index...
    Saving 'Printed_Documentation.doc'...
    Generating 'Printed_Documentation.pdf'...
    Failed the generate PDF file 'C:\RoboHelp experiments\merged help webhelp\Child projects\comcare_human_resources_modul\!SSL!\Printed_Documentation\Printed_Documentation. pdf'...
    Failed to save 'Printed_Documentation.doc'...
    Cleaning up temporary files...
    Internal error encountered,  Failed to generate Printed Documentation.
    RoboHelp can successfully create a PDF of a single topic. It can create a PDF with Review > Create PDF for Review.  It can successfully create a doc from this project, and Word is able to save that doc as a pdf.
    RH can open the projects that it created but cannot open the sample projects. The sample directories are read-only and I cannot reset them. I do not know why.
    I uninstalled RH and reinstalled it. The problem is still occurring.
    I am baffled. I am an inexperienced RH user so the problem might be a simple one. I would be grateful for any advice.
    Best wishes,
    Juliette Curtis

    I was also facing this issue and got the same error.  After much trial and error I found the following solution. So sharing that here. ( I am not sure whether this works for all the use cases. But in my case it worked. I am using Windows 7, RH11, and MS Office 2010.)
    Open any Office application. (I opened Word)
    Open File > Options > Add-Ins. (You will be able to manage your add-ins from this tab. When I browsed through the list I found the "Acrobat PDFMaker Office COM" Addin was with the list of  "Disabled Application Add-Ins")
    Select "Disabled items" from the Manage list. (This list is available at the bottom of the Add-Ins tab)
    Click Go. The Disable Items window is displayed.
    Select "Acrobat PDFMaker Office COM Addin" from the list.
    Click Enable.
    Click Close. The  "Acrobat PDFMaker Office COM Addin" is moved to the list of "Active Application Addins".
    Close MS word.
    Now when you generate the Printed Documentation output from RH11, the error mentioned in the query is not appearing and a PDF output is generated.
    Hope this solution will help.

  • Generate pdf with apex listener 2.0

    hi,
    we would like to generate pdf out of apex.
    as long as we have text (IRR) WITHOUT special characters (öäü), everything is working fine.
    when we have this characters in a text-columng (IRR), then we get a .pdf with the following content:
    javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: An invalid XML character (Unicode: 0x3) was found in the element content of the document.
    could this be a problem of the characterset? but if, where to change what?
    - we defined in ADMIN in 'report printing' / 'instance-settings': oracle-apex-listener
    - we are working with apex-listener 2.0 (integrated in weblogic-server)
    - we work with APEX 4.2.1.00.08
    thanks for any ideas
    roland
    Edited by: user514151 on 01.04.2013 23:24

    I have this same problem with windows-1250 encoding.
    Invalid byte 1 of 1-byte UTF-8 sequence.
    com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.
         at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:687)
         at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:557)
         at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1753)
         at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(XMLEntityScanner.java:1426)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2754)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:607)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:489)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:835)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:302)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:195)
         at oracle.dbtools.apex.fop.FOPUtils.fop2pdf(FOPUtils.java:72)
         at oracle.dbtools.apex.hooks.postProcess.FOP2PDF.requestTOPDF(FOP2PDF.java:87)
         at oracle.dbtools.apex.hooks.postProcess.FOP2PDF.postProcess(FOP2PDF.java:49)
         at oracle.dbtools.apex.hooks.ProcessorRegistry.postProcess(ProcessorRegistry.java:56)
         at oracle.dbtools.apex.ModApex.handleRequest(ModApex.java:241)
         at oracle.dbtools.apex.ModApex.doGet(ModApex.java:98)
         at oracle.dbtools.apex.ModApex.service(ModApex.java:316)
         at oracle.dbtools.rt.web.HttpEndpointBase.modApex(HttpEndpointBase.java:260)
         at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:110)
    Any solution ?
    Regards
    md

  • Is it possible to generate PDF with "enable for commenting" from AI?

    I am using Illustrator CS5 and have Acrobat 9 Pro on a Mac. I would like to generate PDF's with "enabled for commenting" feature on.
    I was able generate a PDF from CS5 -> open it in Acrobat 9 Pro -> enable commenting -> Save as new PDF
    I prefer to skip the above mannual step and generate the PDF with commenting enabled directly from Illustrator. Any ideas?

    Acrobat 9 Pro doesn't support batch processing to "enable for commenting" feature. I can batch generate the PDFs from AI but will have to manually convert each PDF using Acrobat 9 Pro....(sucks!!!)
    Another option is that I get a Acrobat 9 Pro for Windows - install LiveCycle - tranfer my AI generated PDFs (mac) to windows and use batch processing feature of LiveCycle to convert the PDFs into "enable for commenting" (sucks less!!!)
    I would love to hear any other option available.

  • Batch.bat unable to generate PDFs with FM11 trial version & Elmsft 5.2 trial

    Hi,
    I am evaluating the trial version of Fm11 and FrameScript 5.2 (Elmsft) to generate PDFs using a Batch.bat file. I am able to generate stand alone PDFs with FM11. Now, I have created a Batch.bat file which calls BooksToPDF.fso and a filelist.txt, which contains the list of .book files. This script should work to generate PDFs. This is not working, the script is unable to open FM11 trial version, error message reads: "unable to connect to FrameMaker-open FrameMaker manually". Can anyone help?
    Is there any other way to generate multiple PDFs in one go with Fm11.
    Regrads,
    Himani

    Himani,
    If you want to just create PDFs from FM via the command line, then using one of the available FM batch utilities might be an easier route.
    Check out:
    DZbatcher at: http://www.miramo.com/english/overview/download.html
    runfm as part of mif2go and is fully functional in the mif2go demo. See: http://mif2go.com/xhtml/runfm_0002_363understandingrunfmcommandlinesyntax.htm#Rz134x44547

  • Poor Performance of Safari with YouTube

    Recently I have noticed really poor performance of Safari when I try to watch videoes on YouTube.
    I have experienced this both with my 2009 iMac desktop and my brand new MacBook Pro w/ Retina Display.
    This can't be a network problem because I pay Verizon way too much money every month for their FiOS Quantum service and various speedtests that I run look OK.
    Is the problem with Safari or what?

    You guys are not following me. And, I'm not sure if I used that term right. I was talking about answers you see from google searches, not from people here. I am a 40 year old business owner not a kid. What I meant by "fanboy" is that a lot of times when you search online for something like "Itunes on my PC is not seeing my ipod", you see the most popular answer is "Buy a mac". Yes it may be funny, but it is not really helpful. That is the type of person I was referring to, and I was not talking about people here. People on this discussion board seem to be very helpful. I own macs and PC's, so don't like the answer "get a mac". I have one (three in fact), but I also have PC's. I love my mac computers, my iPhone, my iPad, my AppleTV and all of that just like you guys probably do.
    I still think it is an interesting and strange issue. If you contacted the IE folks, they would say "Are you having this problem on all websites?". As soon as you said "No, just this one". They would say "It must be the way the website is written". If you talk to someone here, the answer might lean towards "If it runs fine on Safari, but not on IE, it must be an IE issue".
    I was just thinking it was an interesting enough scenario that someone had looked into it. Sorry if I was misunderstood and riled someone up.
    Message was edited by: Austin Rob

  • Generating PDF with XML and XSL

    Hi, quick basic question...
    I'm trying to generate pdf doc from xml with xsl.
    I'm using following sample code from xml.apache.org
    response.setContentType("application/pdf");
    Driver driver =new Driver();
    driver.setOutputStream(response.getOutputStream());
    driver.setRenderer(Driver.RENDER_PDF);
    Transformer transformer=TransformerFactory.newInstance()
    .newTransformer(new StreamSource("foo.xsl"));
    transformer.transform(xmlsource, new SAXResult(driver.getContentHandler()));
    xmlSource is my regular xml that wants to be pdf.
    is foo.xsl any regular xsl that I use to coonvert xml into html?
    or is it some special xsl that is tailored for pdf.
    Is this what is called xsl-fo?
    Thanks
    IL

    Hi IL,
    XSLT can translate XML to something else. It is most suited to transforming to another tree-like format (XML, HTML, etc.) but can be 'asked' to produce other kinds of output, flat text for example.
    It is driven by an XSL file which is a series of patterns to match and output to produce.
    This XSL file can be used to generate another XML document in which the nodes come from the Formatting Object namespace. These describe, in generic terms the format of an output document based upon the contents of the original XML.
    The formatting object XML document can then be used as input to a formatting object XML processor which can generate PDF output from it.
    You may want to check out:
    www.w3c.org
    for all the stuff on XML, XSL, XSLT, Formatting Objects, etc., and:
    xml.apache.org
    for imformation on Xalan, which is an XSL processor and FOP, which is a formatting object processor.
    Hope that helps,
    Peter.

  • Generating PDF with Flex App (swf) embedded

    Hi,
    Does anyone has the experience in developing a Flex Application that is to be
    embedded into a PDF and open in the Reader/Acrobat for data capturing?
    How to embed the Flex Application (swf) into a PDF in a Livecycle process?
    With the XML data prepopulated into the PDF (embedded with a schema) and
    accessible by the Flex Application when open in Reader/Acrobat.
    Users will still be able to save the data filled in the Flex Application into the PDF
    and also to generate a XML data (with data capturing in the Flex App) to be
    submitted back to the server.
    How can these be achieve? Any example?
    Thanks alot.

    Just wondering, am I in the correct section of the forum? it seems like most of the discussions listed here are related to form designing rather than form rendering.
    I know this is FORMS ES section, just that i come across something that might related to the topic.
    Has anyone try out Adobe LiveCycle PDF Generator ES2 new features?
    Based on Adobe Upgrade Center http://www.adobe.com/products/livecycle/upgrade/pdfgenerator.html, it mentioned that PDF Generator ES2 has the ability to embed SWF files in PDF.
    But is this also applicable to Flex Application compiled SWF file?
    Does the generated PDF function as a normal interactive form?
    Able to retain its embedded schema and objects (scripts)?
    I will try to install LC ES2 to try out but need sometime to setup the system, really appreciate if someone can give me a head start.
    Thanks.

  • Crystal Report generate PDF with J2EE problem

    Dear All
    I am having a great problem on generating PDF file by Crystal Report in J2EE.
    I have my J2EE application runs Crystal Report to generate PDF files.
    However for a report, i hit the following error (red color) when the PDF is generating.
    But is no problem for the other reports.
    Here is the code  that i used to generate the PDF
    My OS and Java version as follows
    Window 2003 server.
    Java 1.4.2_04
    Please Kindly Help
    Thanks very much
    public static void export(HttpServletRequest request, HttpServletResponse response, String reportPath, ArrayList paramList, ReportExportFormat outFormat) throws Exception{
         System.gc();
      HttpSession session = request.getSession(false);
      Object reportSource = getReportSource(request, reportPath);
      ReportExportControl exportControl = new ReportExportControl();
      if(paramList != null && paramList.size()>0){
       exportControl.setParameterFields(getParamFields(paramList));
      ExportOptions exportOptions = new ExportOptions();
      exportOptions.setExportFormatType(outFormat);
      PDFExportFormatOptions pdfexpopts = new PDFExportFormatOptions();
      exportOptions.setFormatOptions(pdfexpopts);
      exportControl.setReportSource(reportSource);
      exportControl.setExportOptions(exportOptions);
      exportControl.processHttpRequest(request, response, session.getServletContext(), null);
      exportControl.dispose();
        public static IReportSource getReportSource(HttpServletRequest request, String reportPath) throws Exception{
      ReportClientDocument oReportClientDocument = new ReportClientDocument();
      HttpSession session = request.getSession(false);
      oReportClientDocument.open(reportPath, 0);
      return oReportClientDocument.getReportSource();
    00:57:08,671 ERROR reportdefinition Thread-28 - Report printer was not valid, switching to default printer.
    00:57:08,687 ERROR objectformatter Thread-28 - com.crystaldecisions.reports.dataengine.k: |Y
    00:57:09,343 ERROR b Thread-28 - Disk Exporter: no output file was created by an exporter
    00:57:09,343 ERROR b Thread-28 - PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); java.lang.IllegalArgumentException

    Hi,
    I have tried this code but stil the same.
    However i tried setup another tomcat and application in the other machine and the only job for  the application is exporting the report that has problem, then the error is gone.
    So i guess that is the memory size problem.
    Thanks for this
    One more question about the memory size between Tomcat and Crystal report.
    I have set in catalina.bat as
    set JAVA_OPTS = "-Xms2048M -Xmx1024M"
    and CRConfig as
    <JVMMaxHeap>1024000000</JVMMaxHeap>
    <JVMMinHeap>512000000</JVMMinHeap>
    1. Is that the correct setting.?
    2. The memory in the JAVA_OPT and is the MAX and MIN memory that java would use,
        then is the Max memory in CRConf is 1024M out of the java heap size or the application use another 1024 memory

  • Generating pdfs with invisible sections made visible through code

    I have a survey with several question that are either visible or hidden based on the user's selection from a Yes/No radio button group.  The user can then either submit the survey by e-mail or print the survey.  If the user prints the survey before submission, all of the invisible portions that the user's input has rendered visible are included in the printed copy; however, when the pdf is generated to be attached to the e-mail submission or saved using the Save As option, the elements that were made visible by code are not included in the pdf.  The following is the code being used in the Yes radio button:
    Comp4WhenImplementText.presence = "invisible";
    Comp4WhenImplement.presence = "invisible";
    Comp4MajorFactorText.presence = "invisible";
    Comp4WhenImplement.Comp4When03 = 0;
    Comp4WhenImplement.Comp4WhenNever = 0;
    if (Comp4No.selectedIndex != -1 ||
      Page3.Comp1.Comp1No.selectedIndex != -1 ||
      Page4.Comp2.Comp2No.selectedIndex != -1)
    CorrectiveAction.presence = "visible";
    else
    CorrectiveAction.presence = "invisible";
    The code in the No radio button is as follows:
    Comp4WhenImplementText.presence = "visible"
    Comp4When.presence = "visible"
    CorrectiveAction.presence = "visible"
    The code in the e-mail submit button:
                   form1.#subform[12].Button2::click - (JavaScript, client)
                   if (CorrectiveAction.presence == "visible")
                      if ((CorrectiveAction.rawValue == null) || (CorrectiveAction.rawValue == ""))
                   else
                   Button1.execEvent("click");
                   else
                   Button1.execEvent("click");
    Button1 is invisible and layered under the visible e-mail submit button.  It actually submits the pdf by e-mail.  The visible button performs a test and displays a message to the user if the user's survey answers fail.  I have also tried "hidden" in all of the areas that are listed as "invisible".
    What should be added or changed so that the invisible elements of the survey that are rendered visible by code can be seen in the pdf of the survey.  Any assistance would be greatly appreciated.

    There is a setting that indicates to save the changes amde via code to the form when saved. In Designer goto the File/Form Properties/Defaults and ensure that the Radiobutton named Automatically under the Preserve Scripting changes to form when saved is set on.
    Paul

  • Crystal Generated PDFs with XMP Metadata attached to Image

    Using Crystal Reports 11 with the .NET runtime. I'm adding images into my document. Those images have XMP metadata attached. However, when the final PDF is generated, I do not see that metadata in the resulting PDF. It seems Crystal Reports is stripping it. How can I get crystal reports to retain the metadata of that image in the resulting PDF document.
    (When you open a PDF document in a text viewer, you can see the metadata of the image as well as the metadata for the PDF itself)
    (Also I'm adding the image by using the insert image feature. Then I use format graphic to specify the path to that image.)

    CR does not export the XMP Metadata into PDF at this time. Perhaps a great suggestion to post in the SAP Idea Place.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

Maybe you are looking for

  • Stock Transport Order (STO)

    Hi All, This is regarding Intra Comapny STO. There are 2 plants KH01 & JS01. JS01 - Receiving Plant KH01 - Supplying Plant JS01 raise the STO on KH01 plant. For JS01 receiving plant in Set Up STO --> Define Shpping data for Plant.Here we have maintai

  • Can't get newest MBA to work with DVI KVM

    I have the Belkin F1DD10XL DVI kvm switch with the new MBA 13" with OS 10.9 I can't get the KVM to show the mac screen. I have a mini display port to hdmi adaptor that is connected to the mac. The adaptor is connected to the kvm using a hdmi to dvi c

  • Oracle Database Express Edition maximum data size

    Hi We just need to know what is the maximum data(in gb) Oracle database express edition 10g can store in it? Thanks

  • Solved my scratchy speaker problem. Do a hard reset. Home,sleep button. Hold till screen goes blank.

    Had a scratchy speaker problem and strange sounds when ipad shutdown. Hold the home button and sleep button till screen goes blank. Turn on after a minute or two. Fixed it on ipad 4. Good luck.

  • IR&ID DUMP ERROR

    GUYS, BELOW ERROR DATA IS COMING AFTER CLICKING IR OR ID. name="jnlp.com.sap.aii.connect.rwb.contextroot" value="rwb" /><property name="jnlp.com.sap.aii.connect.landscape.httpsport" value="@com.sap.aii.server.httpsport.lcr@" /><property name="jnlp.co