How to diagnose FOP to print PDF in apex?

I have configured the fop in linux.
I follow the steps outlined in http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
When I configure apex to print a pdf and click the link. Apex calls the FOP and I see from the logs on the linux server it successfully connects ..
08/10/29 11:13:15 [INFO] Parsing of document complete, stopping renderer
But apex displays "The page cannot be displayed" page http://10.104.32.8:7777/pls/vasrpt/f?p=101:1:6790012890857926:FLOW_XMLP_OUTPUT_R1033505788417238_en-us
Any ideas about how to debug this?
Any suggestions greatly appreciated.
Cheers,
David

Just checked the server.log
08/10/29 11:33:50.737 10.1.3.4.0 Stopped (JVM termination)
08/10/29 11:37:28.19 10.1.3.4.0 Started
08/10/29 11:37:33.730 10.1.3.4.0 Started
So at least I know that the error is somewhere else.
So for some reason apex is talking to oc4j (FOP), but it appears that the result data set is not being returned successfully.

Similar Messages

  • How do i view and print pdf file in mac osx with ff4.0?

    How do i view and print pdf files in ff 4.0 on a mac with osx. for some reason the updated ff version does not support it. Makes no sense that something that worked in an earlier version now does not...
    Thanks,
    Ron

    Please don't post the same question multiple times!

  • How can I open and print PDF files?

    How can I open and print PDF files?

    With the free Reader if they are not print protected. With Acrobat otherwise.

  • How do you setup to print PDFs using adobe?

    How do you setup to print PDFs using adobe?

    You install Adobe Acrobat, and 'Print to PDF' will be automatically set up.

  • How do I view and print pdf files

    I am using FireFox ver 12 on a Mac and can not view or print pdf documents. I have installed PDF Viewer 0.2.5 plugin but it does not appear to work.

    I disabled the PDF Viewer plug-in and set my Application preference to use Adobe Reader for pdf files. All is working fine now.

  • How do I match the printed pdf page breaks with the page breaks from the online form?

    The online form is setup to be 4-5 separate pages...each page going to a different person/group when it is printed in a pdf. However, when the form is printed, it prints out all the blanks and the forms are off by about a half page.
    Is there any way to not print the blank spaces (I have several boxes hidden based on choices of the user), and to make the printed pdf honor the online page breaks?

    Hi;
    When you are viewing the "Design" while authoring your form there is a "View" setting that you can access from the "View" menu along the top right, or from the dropdown at the bottom right corner, if you change from "Web View" to "Page View" you can add page breaks there that will affect the PDF.
    Page View is an authoring view to design for PDF where Web View is an authoring View to design for web/browser/HTML forms.  You can use both so that your form looks good in both web and PDF.  Some features have to be added/edited in Web View because they are not supported in PDF such as Attatchments and Skip/Page logic, those are not available to add/edit in Page View.  The Page Breaks added in Web View are not used in the PDF, in Page View "Implicit page breaks" are added automatically based on the size of the page in PDF and you can add "Explicit page breaks" using the form field toolbar as you did in Web View (which will only be used in the PDF).
    When you ask if there is any way not to print the "blank spaces" you are referring to the questions that had remained hidden based on skip logic right?  At this time the entire form is saved/printed to PDF, there is not an option to omit those hidden fields.
    I hope that I understood your issue correctly, let me know if I can help further.
    Thanks,
    Josh

  • Cannot print PDF using Apex Listener

    Hey folks,
    We're having some issues trying to print reports as PDF's using the latest version of Apex Listener. For some reason, every PDF that is created that we try to open gives an error, saying that it's either not a PDF file or that it's corrupted somehow. We're using Apex 4.2 and for the time being, just the default table layout that Apex provides when printing. I believe our instance of Apex Listener is at the very least connected properly because we can print Excel or RTF without any issues. We've double and triple checked all of our options so I'm very confused as to what is happening. If anyone has any input, I'd be very grateful.

    Have had same problem with error message "Unable to convert postscript file". No response from Adobe. Even tried their technical support which said they offered no support for free products.  Have found a couple go arounds but no fixes.

  • Printing PDF documents using FOP

    Hi,
    I seem to be getting the following error when printing to PDF using FOP:
    report error:
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1186
    ORA-12571: TNS:packet writer failure
    I've set up PDF printing by following the (FOP) instructions in the following link:
    http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
    I've verified that my OC4J container and the jsp page apex_fop.jsp is running as it should as I can get PDF documents back if I call the jsp page outside of APEX (by sending in my own template and xml request parameters).
    I've also verified that I do hit the apex_fop.jsp page when trying to print from within the APEX application. The problem is that the two parameters template and xml are both null when trying to print PDF from APEX.
    It appears as though APEX is not sending in the template and xml request parameters.
    My test case is to create a simply report query in shared components, use a generic layout, select the pdf option and click on Test Report. The result is the error shown above.
    Any ideas? I know I'm close!
    btw, I'm using 10g and APEX 3.1
    Sanjeev

    thanks Dimitri ..
    I have progress... I went back and reconfig'd my oc4j, since Ihad donethat a long time ago.
    Now I am getting the 500 Internal Server Error
    Servlet eror: ... The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    The application.log give me a dump ...
    09/01/20 18:55:29.515 10.1.3.4.0 Started
    09/01/20 18:55:29.718 fop: 10.1.3.4.0 Started
    09/01/20 19:00:45.906 fop: Servlet error
    oracle.xml.parser.v2.XMLParseException: Start of root element expected.
    at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:341)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:320)
    at oracle.xml.xslt.XSLProcessor.newXSLStylesheet(XSLProcessor.java:713)
    at oracle.xml.xslt.XSLStylesheet.<init>(XSLStylesheet.java:321)
    at oracle.xml.parser.v2.XSLStylesheet.<init>(XSLStylesheet.java:114)
    at apex_fop._jspService(_apex__fop.java:71)
    at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.4.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:724)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher
    .java:713)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher
    .java:370)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler
    .java:871)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler
    .java:453)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler
    .java:221)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor
    .java:303)
    at java.lang.Thread.run(Thread.java:619)
    Not sure what to make of this, but it does give the xact same error each time.
    For what it's worth, I can successfully call a test page per Marc Sewtz's blog, so conceptually something is working, which is progress. I'll keep at it, but suggestions are welcome. Thanks for the direction.
    Karen

  • Can BI Publisher comes with EBize be used to print pdf report from APEX?

    Hi,
    We have EBiz suit (11.5.10) with APEX 3.2. Both are working fine. I want to enable APEX to develop PDF reports. I would like to know whether I can use BI Publisher comes with EBiz to print PDF from APEX.
    If yes where can I get instructions on how to setup APEX with BI Publisher with EBiz.
    TIA
    DineshS

    I'm not aware of the BIP/XMLP Web Services being available in the embedded EBS version (XML Publisher 5.6.3). But you might be able to create your own wrapper to the XMLP APIs in EBS.
    Regards,
    Gareth

  • Print PDF file directly to store printer

    Hi Gurus,
    Having not found a solution, we think we need help from you. We have searched forums and google but have not found adequate solutions.
    We are a retailer having different stores. Our main office is using SAP. Each store has its printer and defined in our SAP system. We want to print PDF files directly to store printer using SAP . How should we do that ? We think there are 2 steps:
    1) Upload PDF files from network directory into SAP (We done it, no problem)
    2) Having now PDF files in internal tables, how should we proceed to print PDF files using store printers?
         Please note that we do not want to use CL_GUI_PDFVIEWER since we do not want to display the PDF and having the obligation to choose the print option from dialog and also we do not want to call Adobe OLE object  to print
    Any answer would be appreciated
    Thank you very much

    Hi,
    It is really late to give response this post. But still who ever refering to this post for the same issue this solution is useful for achieving same in background:
    Even same can be used in smartforms, for getting spool request in PDF format as well which will decrease the size of file when printing in SAP printer.
    ct_tline is PDF output:
    DATA: lv_pdfsource TYPE xstring.
    FIELD-SYMBOLS:<p> TYPE x. " <p> type any.
    LOOP AT ct_tline INTO cs_tline.
      ASSIGN cs_tline TO <p> CASTING TYPE x.
      CONCATENATE lv_pdfsource <p> INTO lv_pdfsource IN BYTE MODE.
    ENDLOOP.
    * ->Create spool request in PDF format
    CALL FUNCTION 'ADS_CREATE_PDF_SPOOLJOB'
      EXPORTING
        printer  = 'LOCL'            "Printer name supporting PDF device type
    *   DEST     =
        pages    = 1
        pdf_data = lv_pdfsource        "XSTRING internal table
    *   NAME     =
    *   SUFFIX1  =
    *   SUFFIX2  =
    *   COPIES   =
    *   PRIO     =
        IMMEDIATE_PRINT         = 'X'
    *   AUTO_DELETE             =
    *   TITLELINE               =
    *   RECEIVER =
    *   DIVISION =
    *   AUTHORITY               =
    *   LIFETIME = '0'
    * IMPORTING
    *   SPOOLID  =
    * EXCEPTIONS
    *   NO_DATA  = 1
    *   NOT_PDF  = 2
    *   WRONG_DEVTYPE           = 3
    *   OPERATION_FAILED        = 4
    *   CANNOT_WRITE_FILE       = 5
    *   DEVICE_MISSING          = 6
    *   NO_SUCH_DEVICE          = 7
    *   OTHERS   = 8
    IF sy-subrc <> 0.
    * Implement suitable error handling here
    ENDIF.

  • How can I save to the same map every time when printing pdfs?

    How can I save to the same map every time when printing pdfs?
    Finder points to the document map even when I chose a different map recently.
    I often print series of pdfs from the print dialog box, I'd like to choose the map to save to and then have all subsequent pdf prints automatically directed to the same map until I decide otherwise.

    that link seems to be broken right now:
    403 Error - Forbidden  - No cred, dude.

  • How do I download and print a pdf file in osx mountain lion

    How do I download and print a pdf file?

    control click on your PDF to download option
    Open it on your desktop Command-P is the short cut for print option.

  • How To Batch Print PDF Files

    Hello Friends.
    I am using Apex 4.1 on Windows 7. My database is Oracle EE 10.2.0.5 on Solaris and OAS as the app server (and so, am using mod_plsql).
    I wrote an application in which I use the PLPDF package to generate PDF screens. Initially, the last few commands in my code looked like:
    owa_util.mime_header('application/pdf',false);
    htp.p('Content-Length: ' || dbms_lob.getlength(l_blob));
    owa_util.http_header_close;    
    wpg_docload.download_file(l_blob);The variable l_blob is the PDF blob object generated by PLPDF. The PDF is being formed from a cursor for loop further up in my code (not displayed here) that is SELECTing from a table. The above code displays the generated PDF on to a popup page in my application. At that point, the user can click the "File->Print" menu to send the displayed PDFF to the default printer.
    However, my requirements are that I may have multiple PDFs generated from my for loop and would like to have each of these PDFs sent to the default printer is one go rather than force the user to have to display and print each one separatlely.
    And so I modified the above code so that the PDFs created by the PLPDF package are being inserted into an Oracle table rather than displayed in a popup page.
    Would any one know how to send each of the PDFs stored in the table to the default printer automagically, perhaps my issuing a ctrl+p command or some such thing.
    Thanks in advance for any help/code/advice.
    Elie

    I tried the following code that which comes directly from the Apex Stored procedure PRINT_PDF.
    The APEX_UTIL.GET_PRINT_DOCUMENT function returns NULL.
    declare
        v_filename varchar2(1000);
        v_pdf_blob blob;
    pnum number;
    begin
    v_filename := 'TEST_' || to_char(sysdate,'yyyymmdd');
    pnum := --Hidden from Post;
    dbms_output.put_line('Security ID: ' || pnum);
    wwv_flow_api.set_security_group_id(p_security_group_id=>nvl(wwv_flow_application_install.get_workspace_id,pnum));
    v_pdf_blob := APEX_UTIL.GET_PRINT_DOCUMENT (
                                           p_application_id      =>  121,
                                           p_report_query_name   => 'QS_CERT_QUERY_TEST',
                                           p_report_layout_name  => 'QS_CERT_QUERY',
                                           p_report_layout_type  => 'xsl-fo',
                                           p_document_format     => 'pdf');
    insert into printed_pdfs (filename, stored_pdf, record_created_By_person, record_created_on_date)
                      values  (v_filename||'.pdf', v_pdf_blob, 'Name', sysdate);
    end;
    Any idea on what is wrong or how to make it work.

  • How to remove Print pdf link below the reports?

    How to remove print pdf(only pdf. i need html) report which is available below the reports? I am not asking to remove it from the print icon at the left bottom of the page. I need it to be deleted from the link in the middle of the page below the report.

    Go to
    C:\OracleBI\web\msgdb\messages\controlmessages.xml
    Then
    Remove The below Tag From the control messages.xml
    <sawm:if name="enablePDF"><a class="NQWMenuItem" name="pdf" href="javascript:void(null)" onclick="return PortalPrint(&#39;@{pdfURL}[javaScriptString]&#39;,@{bNewWindow});"><sawm:messageRef name="kmsgDashboardPrintPDF"/></a></sawm:if>
    After that Restart the server.
    You will not find the pdf link
    Edited by: 848525 on Apr 21, 2011 4:17 AM

  • How do I install a Adobe pdf printer?

    Upgrade from Acrobat Pro X to Pro XI destroyed my prior Adobe pdf printer. How do I reinstall the printer instance without reinstalling Acrobat XI?
    I found a reply for an earlier version of Acrobat, but I have no interest in installing the PDF printer into \Desktop or \Documents. Whatever it said to do didn't work and I've received no reply to my question posted on that old thread.
    So, how do I recreate the Adobe PDF printer, and, how do I do so while selecting where I want the .pdf files to be located?
    Thanks in advance for help

    What OS are you running? If it is a version of Windows, is it 32 or 64 bit? Are you using 11.0.0? Did you reboot after the install? If you did not reboot, then do that first. The next step is to run a repair and then do the updates (XI is currently at 11.0.03). Both the Repair and the Updates can be run from the Help menu.

Maybe you are looking for

  • How do I use my MacBook Pro on my HDTV?

    I have a MacBook Pro and all of the necessary cables in order to display my computer on my tv screen. I have my tv to the right setting and connected to my computer to the DVI port. I have a LG HDTV when I plug my cords in my computer screen turns bl

  • SSPR with OTP Email is not working

    Hi Everyone, I am facing issue with FIM SSPR OTP Email based with one of My FIM Deployments. First of All I explain environment: We have two different type of Users: For One Type of users We need QA Gate based Password Reset and For Other set of User

  • Is there still a program like mindjet manager

    Hello Comminity, I'm looking for a program like Mindjet-Manager.In the windows Version it's able to send Ideas or Paths to Outlook as a task with a reminder. For Example: I'm creating a mindmap with all my pets. I'm able to create e.g. "Dog" and put

  • VPN: one is working, the other is not...

    I have several interfaces: outside inside(192.168.0.0/24) wifi(192.168.101.0/24) haklab(10.10.10.0/24) Currently I have remote access anyconnect users who are able to VPN in and get access to the outside internet and inside devices. I am trying to ad

  • Linking Purchase Order to PM Order

    Hi PM Gurus, I have the following requirement, Currently the stock of item A is Zero. Now User 1 places a PM Order requesting 5 units of A. Later User 2 places a PM Order requesting 8 units of A. But the first order has a higher priority. A purchase