PDF printing with oc4j apache fop not working

I am configuring PDF printing in Apex 3.1.1. I have set up a shared component report query with a simple query. I have implemented the oc4j standalone and implemented the fop.war as specified in the "pdf printing in Apex" documentation. When I use the test button to verify the output of the report, I am redirected to a 404-page not found and the oc4j instance logs the following:
08/09/09 12:02:36 [ERROR] Logger not set
08/09/09 12:02:36 [INFO] Using oracle.xml.parser.v2.SAXParser as SAX2 Parser
08/09/09 12:02:36 [INFO] building formatting object tree
08/09/09 12:02:36 [INFO] setting up fonts
08/09/09 12:02:36 [INFO] [1]
08/09/09 12:02:36 [WARNING] table-layout=auto is not supported, using fixed!
08/09/09 12:02:36 [WARNING] Sum of fixed column widths 662000 greater than maximum specified IPD 658800
08/09/09 12:02:36 [INFO] Parsing of document complete, stopping renderer
Any ideas why this is happening?
Database is oracle 9.2.0.7
OC4J standalone 10.1.3

Hello,
Just did some more search on this, and apparently it's a more common problem:
Re: PDF problem FOP mod_plsql: /pls/apex/wwv_flow.accept ORA-22293
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/

Similar Messages

  • Apex with XE10g/Tomcat 6.0.13 PDF Print with Apex  FOP.WAR

    Apex with XE10g/Tomcat 6.0.13 PDF Print with Apex fop.war/apex_fop.jsp
    Hello,
    Excuse me bad english.
    I have a problem with Oracle XE and Printing from Reports over Tomcat 6.0.13.
    I have update Oracle XE with Apex 3.1 and it works fine.
    Now i have tried to Print a report to PDF. So i have deployed the FOP.WAR from Apex Utilities under Tomcat.
    I see in Tomcat Manager http://localhost:8888/manager/html/list that the FOO
    has been deployed and is running.
    If i try to print then i get this Message down to this page.
    Can anybody give me a hint to solve this problem???
    Hint
    To resolve the problem i have installed Oracle OC4J with same Port and deployed
    the same foo.war file.
    Then works and all printing from Oracle Apex work fine and okay.
    So i thing the Apex and Oracle work correct.
    But we have a small Application so i would prefer to work with Tomcat a application Server.
    Becaus of previous Errors have copied some *.jar files to C:\tomcat6.0.13\lib
    but i thing this is not the Problem.
    18.03.2007 18:12 546.765 xml.jar
    18.03.2007 18:07 634.772 xmlmesg.jar
    18.03.2007 18:14 1.238.899 xmlparserv2.jar
    10.06.2007 22:59 674.005 xquery.jar
    18.03.2007 18:11 3.059 xsqlserializers.jar
    18.03.2007 18:14 194.691 xsu12.jar
    10.11.2005 13:13 7.043.169 tools.jar
    .... and preinstalled files
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: java.lang.IllegalStateException: getOutputStream() has already been called for this response
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:429)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    java.lang.IllegalStateException: getOutputStream() has already been called for this response
    org.apache.catalina.connector.Response.getWriter(Response.java:604)
    org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:198)
    org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125)
    org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:118)
    org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:186)
    org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:118)
    org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:77)
    org.apache.jsp.apex_005ffop_jsp._jspService(apex_005ffop_jsp.java:120)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    ------------------------------------------------------------------------

    at the end of the apex_fop.jsp put the follow code just before the driver.run(); line:
    out.clear();
    out = pageContext.pushBody();
    and explanation of why this works is here:
    http://forums.sun.com/thread.jspa?threadID=5307942

  • Hyperlink with tracking applied does not work in PDF

    We use lots of web addresses in our advertising and generally the web addresses automatically convert to hyperlinks when we distill the files and make PDFs. Recently we've had two instances where someone applied tracking or justification to the line of text containing the url to make it spread across the page. When we make our PDF the url is not clickable. Is there anyway around this? We tried actually creating a hyperlink manually in InDesign by using the Hyperlinks panel and entering the address, but that didn't work either.

    Peter,
    We'll look into that. We already do two separate PDFs for print and web, but
    we are distilling both right now. Wouldn't be too much of a problem to
    change to exporting the web version I don't think.
    I did a test, just curious, is there a way to keep it from putting a black
    box around the link on the PDF?
    Thanks for your help! We appreciate it!
    Beth
    From: Peter Spier <[email protected]>
    Reply-To: <[email protected]>
    Date: Fri, 14 May 2010 13:24:04 -0600
    To: Beth Phillips <[email protected]>
    Subject: Hyperlink with tracking applied does not work in PDF
    Distilled PDF uses Postscript which does not support hyperlinks and
    interactivity. To make your hyperlinks in ID you'll need to export and check
    the Include Hyperlinks and Include Interactiviity boxes.
    Your printer doesn't need hyperlinks because they don't work on a printed
    page. The requirements for print and interactive PDF are quite different, and
    you may find you need to make two versions.
    >

  • PDF printing with proxy server

    Hello,
    I installed Apex 3.0.1 and configured it for pdf printing using OC4J and Apache FOP. The OC4J process is running on the same server as the database. I used localhost as hostname and 8888 as port.
    Everything works fine, however, when I specify a proxy server in the Application Definition, the pdf printing stops working ... I suppose this is because the print server is now located through the proxy server and this doesn't work ... But, I need to configure the proxy server because I want to use an external web service ...
    Anyone else that has this problem and knows of a possible workaround ?
    Thanks
    Matthias

    Well, in my case this is not an option, since I used a demo host and domain name which can't be resolved through the proxy server ... If only there was an option to skip the proxy server for localhost settings (like there is in Internet Explorer).
    Matthias

  • Apex 4.2.2 PDF Printing with Apex 2.0 Listener

    We recently installed Apex 4.2 with the Apex 2.0 Listener and can successfully print interactive reports and classic reports to PDF.  I viewed Mark Sewtz PDF Printing with Apex 4.2.2 and saw how he is using third party tools to format reports.  We have also looked into the Jasper Report Integration Toolkit, but have only got it working on the Tomcat environment, not WebLogic.
    I'm trying to download a classic report in PDF format with our logo displayed at the header.  In the print attributes section, there is a section for header.  I've tried adding the following in the header section:
    <img src = "http://hr.unm.edu/common/images/unm_dept_logo.gif">
    No Logo Prints
    #APP_IMAGES#unm_dept_logo.gif
    Prints in header:
    wwv_flow_file_mgr.get_file?
    p_security_group_id=3930016164431413%26p_flow_id=106%26p_fname=unm_dept_logo.gif
    #WORKSPACE_IMAGES#unm_dept_logo.gif
    Prints in header: /i/unm_dept_logo.gif
    I've also added the logo in the report region, prior to the columns printing, but no logo downloads to PDF.
    Does the Apex Listener only render text?  Is there any way to get the logo to print in the header without using a third party tool?  Any suggestions are greatly appreciated.  Thanks!

    Hi,
    There are different options to include images in your PDF exports. What's important to understand though is that with the PDF export functionality we separate the formatting from the actual data. So the formatting is defined in your RTF or XSL-FO templates and the data is stored in the XML that APEX generates based on your report data. We have several formatting options exposed on the print attributes pages, i.e. you can define page formatting, dimensions, fonts, colors, etc - all of these are applied to what we call generic XSL-FO templates. Those templates are generic in that they can be used with different reports, having variable numbers of columns and variable column names. Those formatting attributes can not be used however with named column templates, such as those that you generate with BI Publisher or those third-party tools I talked about in my Blog.
    So if you want to use these formatting options, you need a generic report layout - which you get out of the box using the built-in layout. But you also have the option to create your own generic report layout (see Shared Components -> Report Layouts). When creating a custom generic report layout, you'll get a copy of the built-in layout as a starting point. Once created, you can manually modify this layout to meet your needs. As you edit this template, you'll find a number of #....# substitution strings. This is what APEX uses at runtime to fill in your formatting values as well as to assemble your generic layout based on your result set.
    Now one way to include your own image would be to add an image reference to this generic report layout. You can't use the page header or footer attributes on the print attributes page for that because the FOP rendering engine does not understand or translate HTML. It renders XSL-FO. So to add your own image reference, you need to use XSL-FO mark-up. If you want to add an image to your page header, look for the #PAGE_HEADER# substitution string in the "Page Template" attribute of your generic report layout. You should be able to find the following:
    <fo:inline xsl:use-attribute-sets="page-header">
        #PAGE_HEADER#
    </fo:inline>
    Now assuming you have a file stored in your local images directory on localhost, you could add the following external graphic reference:
    <fo:inline xsl:use-attribute-sets="page-header">
        <fo:external-graphic src="http://localhost:8080/i/cloud.gif" content-height="scale-to-fit" height="30px"  content-width="150px" scaling="non-uniform"/>
        #PAGE_HEADER#
    </fo:inline>
    Once you're done with your chanages, save the report layout and edit your report. Go to the print attributes and select your generic report layout and then run your report page and export the PDF. Provided the APEX Listener is able to find this external image reference, it will now be included above your report in your PDF document.
    Regards,
    Marc

  • My Time Capsule expired and no longer works. My printer (a HP) will now not work as it still wishes to connect through the Time Capsule. It will not allow itself be recognised through a USB connection to my Mac. Anyone got any ideas?

    My Time Capsule expired and no longer works. My printer (a HP) will now not work as it still wishes to connect through the Time Capsule. It will not allow itself be recognised through a USB connection to my Mac. Anyone got any ideas?

    You will need to install the printer on your Mac
    Open System Preferences (gear icon) on the dock
    Open Print & Fax
    Click the + (plus) button at the bottom of the printer list
    Wait for your printer to appear in the next box, then click it to highlight it
    Click Add at the lower right
    Be sure to select the correct printer when you try to print as you will see your printer listed twice. Good idea to make the printer now installed on your Mac the default printer so you do not have to choose which printer to use each time you want to print.
    You can also go into Print & Fax, select the printer associated with the Time Capsule and click the - (minus) button if you want to delete that location.

  • Acrobat 8 PDF printing with Windows 8.1/MS office 2013

    I upgraded computer to Windows 8.1 and MS office professional 2013 and reinstalled adobe acrobat 8. 
    When I try to create pdf files from office 2013 document (Excel, Word, Publisher), computer freezes when window opens to select pfd document destination.
    I tried opening office document in acrobat and try to create pdf file. I get pdf maker missing at this point. 
    Before updating computer I ran compatibility tool and it indicated my acrobat 8.3.1 was compatible with Windows 8.1; however noted that I needed to go to adobe website for help with adobe ExtendScript toolkit 2.  I don’t know what adobe ExtendScript toolkit 2 is and if it is associated with Adobe Acrobat or CS3.

    I have no idea about the extend tool. You need to update to the latest version of AA 8, but it appears you are there with 8.3.1. You should print to the Adobe PDF printer. OFFICE 2013 is not compatible with the AA8 PDF Maker. So far I have only seen one person suggesting success with AA8 and Win8.1. If you can give details about your problem, we might be able to help, but you may not be successful. Only time and trial will tell.

  • Pdf printing with linux client

    hi,
    i'm working with a SuSE 9.3 Client and I want to use PDF-Printing with the Acrobat Reader. With Windows Xp it works fine, but if i choose the PDF-Printer with the Linux-Client nothing happens. The PDF-Job exist in the cue. What do i have to do that it works?
    P.S. I`am from germany ;-)

    Thanks! But on which machine do i have to put the lp command?
    Application-Server?
    Tarantella Server?
    Client?
    I have put it on my Client! But nothinng happens.
    My PATH --> /home/me/bin:/usr/local/sgdee:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/qt3/bin
    my script -->
    me@my-notebook:~> cat /usr/local/sgdee/lp
    #!/bin/bash
    LPINFILE=/tmp/.nclp.$$
    PATH="/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin"
    export PATH
    [ -f $1 ] && mv $1 $LPINFILE
    [ -f $2 ] && mv $2 $LPINFILE
    echo "Print: $* -> $LPINFILE" >> /tmp/nclog.`logname`
    echo "/usr/bin/xpdf -display $DISPLAY $LPINFILE; rm -f $LPINFILE" | at now
    exit 0
    me@my-notebook:~>

  • Signed up twice for adobe pdf export to word and still not working - anyone else have this problem?

    signed up twice for adobe pdf export to word and still not working - anyone else have this problem?

    In XI.
    I can’t just export to word as I have done in the past in one simple click.  
    Convert to button is greyed out.
    Now I have to save the pdf file on c drive when I am in outlook…then goto export pdf file…then find file then export to word.
    I bought new computer with windows 8 (which is awful) and then bought pdf export again…
    Any thoughts on how I can get back to one simple click again when I open a pdf file from an email in outlook?
    Thank you,
    Mike

  • Care button and finger print reader for 3000 N200 not working

    I have bought Lenovo 3000 N200 model. THe Care button and finger print reader not working. I have loaded the hot key driver as well as finger print reader driver. I have XP OS on my notebook. The software for finger print reader for XP (64 bit) which is there in the lenovo site is not getting loaded.
    Kinldly help.

    Hi @Sean-Ireland
    Welcome to the HP Support Forums! I saw your post regarding the problems with your fingerprint reader not working. I will be happy to help you with this. Start by installing both your Validity Fingerprint Sensor Driver and the Digital Persona Fingerprint Reader Software. Let me know how it goes.
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • Finger Print problem pavilion dv7-4152si not working

    I have a HP Pavilion DV7-4152si and the finger print reader will not work. Notebook was sent for repairs a while back as hard drive crashed when was new and has not worked since.

    Hi @Sean-Ireland
    Welcome to the HP Support Forums! I saw your post regarding the problems with your fingerprint reader not working. I will be happy to help you with this. Start by installing both your Validity Fingerprint Sensor Driver and the Digital Persona Fingerprint Reader Software. Let me know how it goes.
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • Print icon on toolbar does not work

    Recently bought new computer running W7
    Use acrobat to print postage labels on royal mail site
    Have latest version of acrobat and when screen comes up showing label to be printed the 'floating' toobar appears but clicking on print icon has no effect
    I am forced to used 'CTRL P' and then 'enter'
    Occasionaly CTRL P gives me another toolbar at the top of the window which also has a print icon, this does nothing either
    Can anyone suggest what is going wrong, should I go back to an earlier acrobat that worked fine on my old XP PC ?
    Thanks
    Graham

    Thank you
    Yes you are correct using a PDF in browser to print post labels.
    Running Windows 7, Internet explorer 9, Acrobat Reader Version 10.0
    CTRL P brings up dialog box OK and I can print from there.
    Cannot comment if problem happens outside of browser as it is home
    computer and do not have need to view PDF's offline but will find thsi
    out if important.
    Graham
    >--Original Message--
    >From: [email protected]
    >Date: 23/02/2012 13:18
    >To: "flat-pack"<[email protected]>
    >Subj: Print icon on toolbar does not work
    >HitenderPrakash [http://forums.adobe.com/people/HitenderPrakash
    created the discussion
    >"Re: Print icon on toolbar does not work"
    >To view the discussion, visit: http://forums.adobe.com/message/4224450#4224450

  • I have installed the agent 10 or 15 times and one installation hasfailed, no error appeared during the installation but I am havinginconsistent issues with my ethernet card not working here and there. Werebooted and can log into Novell client but th

    I have installed the agent 10 or 15 times and one installation has failed, no error appeared during the installation but I am having inconsistent issues with my ethernet card not working here and there. We rebooted and can log into Novell client but the login prompt did not appear for ESM client or the icon was not in the systray. Everything seems to work, besides at times (a couple times today) it terminates his ethernet card/connection. I would re-image his computer but he has several applications and it would take several hours, so I am hoping someone has an idea to fix this issue. So I was trying to figure out why he did not get the prompt to login and why it's not in the systray and it appears to not have completed the install? I checked the add/remove programs, its not listed within their, I also checked the registry and found nothing for endpoint within their, but the files are within c:\program files\novell\zenworks endpoint security.
    I have also tried uninstalling it but that fails due to it "not being installed", and it will not reinstall over itself either.
    I did notice that stuninstdrv.exe is running in task manager. Any help would be great...
    Windows xp sp3
    ESM 3.5.154
    Thanks,
    Andy

    If you are searching the registry, check for the "Senforce" string. It should be at HKLM\Software\Senforce
    Try running the install program for the ZSC with the following command line:
    setup.exe /V"STUNINSTALL=1"
    If you've specified an uninstall password, try this one instead:
    setup.exe /V"STUNINSTALL=1 STUIP=password"" (please note the double quote at the end)
    Let me know if that helped you.
    Daniel
    >>>
    From: Andy_DeWees<[email protected] du>
    To:novell.support.zenworks.endpoint-security-management
    Date: 2/5/2009 12:52 PM
    Subject: I have installed the agent 10 or 15 times and one installation hasfailed, no error appeared during the installation but I am havinginconsistent issues with my ethernet card not working here and there. Werebooted and can log into Novell client but the login prompt did not appearfor ESM client or the icon was not in the systray. Everything seems towork, besides at times (a couple times today) it terminates his ethernetcard/connection. I would re-image his computer but he has severalapplications and
    I have installed the agent 10 or 15 times and one installation has failed, no error appeared during the installation but I am having inconsistent issues with my ethernet card not working here and there. We rebooted and can log into Novell client but the login prompt did not appear for ESM client or the icon was not in the systray. Everything seems to work, besides at times (a couple times today) it terminates his ethernet card/connection. I would re-image his computer but he has several applications and it would take several hours, so I am hoping someone has an idea to fix this issue. So I was trying to figure out why he did not get the prompt to login and why it's not in the systray and it appears to not have completed the install? I checked the add/remove programs, its not listed within their, I also checked the registry and found nothing for endpoint within their, but the files are within c:\program files\novell\zenworks endpoint security.
    I have also tried uninstalling it but that fails due to it "not being installed", and it will not reinstall over itself either.
    I did notice that stuninstdrv.exe is running in task manager. Any help would be great...
    Windows xp sp3
    ESM 3.5.154
    Thanks,
    Andy

  • My  iphone 3gs with version 4.0 not works for apple  TV should i need to download  any app or any other thng

    my  iphone 3gs with version 4.0 not works for apple  TV  what should  i do?

    Welcome to the Apple community.
    You should update your iPhone software.

  • Connecting Wahoo Blue HR with iPhone 5 does not work, tried everything possible

    Connecting Wahoo Blue HR with iPhone 5 does not work, tried everything what I could find in the interenet as solution??????

    IPhone 4s, iOS 7.1.1: iphone can't connect to wahoo HR BT4.0 sensor :((( Wverything worked fine with iOS 6 !!!

Maybe you are looking for

  • HELP!! Wedding Photos to save!

    I was running aperture 3.4.1 on my mac book pro with mavericks, aperture library is located on an external harddrive, backed up to timemachine and vaults (on two hard drives). I had been work in aperture fine on  asome wedding photographs I took for

  • Has anyone seen the TestStand 3.5 User Interface disappear during testing?

    The user interface disappeared while a test sequence was executing. The Windows Task Manager showed LabVIEW (8.2) and TestStand running but nothing was present on the taskbar for TestStand and the window could not be found. This has only happened onc

  • Dimension design question

    Hello, I am new to Dimensional modeling. I have a requirement where I need to create a TIme dimensional with following attibutes time_id,system_date, Hours,week_end_indicator,hliday_ind and some more. This dimension was created because of the fact th

  • Oracle WAM does not bring up a work order

    This is my first time working with WAM and I can get to the home page and the scheduling page but when I click on either Service Request or Work Order, it brings up a new page with only a menu bar on the top. From here on, it does not matter what opt

  • Copy Input parameter

    Hi folks, I have this problem where a "copy input" seems to copy the service object too. The case is that I have a service object, say batchmgrso, for batch processing and an object, say batchproc, as the process. The batchproc has an attribute for r