• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
No Instance issue from WebPDFReports 1.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No Instance issue from WebPDFReports 1.0


  • Subject: No Instance issue from WebPDFReports 1.0
  • From: "Koksiong" <email@hidden>
  • Date: Mon, 24 Oct 2005 12:50:47 +0800 (SGT)
  • Importance: Normal

hi,

i am facing a critical problem using WebPDFReports 1.0.

i used to generate quite a number of pdf daily, for each generation, it
may contain up to 80 pages. for the first generation, it always works, but
if i continue to generate the pdf , it just gives No Instance error. Once
it occurs, i need to restart the webobject instance.

the other modules are working except the pdf component. is it because the
number of pages generated is too big ?

please advice.

rgds,
koksiong

ps: the following are the code

    public WOActionResults goPrintAction()
    {
        generateVehicleDeliveryListPDF nextPage =
(generateVehicleDeliveryListPDF)pageWithName("generateVehicleDeliveryListPDF");
                nextPage.setEc(ec);
                nextPage.setATransactionArray(aTransactionArray.mutableClone());
                PDFPage pdfPage = (PDFPage)pageWithName("PDFPage");
                HTML2PDFConvertor pdfConvertor = new HTML2PDFConvertor();
                pdfConvertor.createDocument("US
Letter",HTML2PDFConvertor.LandscapeOrientation);
                pdfConvertor.setPaperSize(new PaperSize(792,612));
                pdfConvertor.setTopMargin(5);
pdfConvertor.setLeftMargin(5);
                pdfConvertor.setRightMargin(5);
pdfConvertor.setBottomMargin(5);
                pdfConvertor.setPrintsVerticallyCentered(false);
                pdfPage.setConvertor(pdfConvertor);

                pdfPage.appendComponent(nextPage);

        return pdfPage;
    }

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: No Instance issue from WebPDFReports 1.0
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: XMLHttpRequest integration on WebObjects
  • Next by Date: mod_rewrite and IE throws exception
  • Previous by thread: Re: Problem trying to get a WO Java CLient app to run
  • Next by thread: Re: No Instance issue from WebPDFReports 1.0
  • Index(es):
    • Date
    • Thread