10g AS Unable to Display PDF

Hi,
I have 10g AS R2 (10.1.2) installed without WebCache. I have a situation where a requested adobe pdf document does not display, instead I just get a blank browser window. This occurs in IE6 and Firefox so it is browser independent. Also, I can reproduce this on many client machines. So it seems that this is independent of the adobe reader install too. There was a time when this worked on this server. In another 10g application server environment with the same codebase this works. There are some config differences between the two application servers environments though, it uses webcache. Ultimately though this worked at one time in the problem environment but stopped working over time. So you know, the requested pdf is created dynamically on the server and sent back to the browser.
In addition to all of that info, the problem AS sends the pdf as content-type of "text/plain", which seems to be the main issue. Where the AS that works sends the pdf as "application/pdf". Below are the two HTTP headers, the first header does not work and the second does not work. Again, the code base is identical although the application server environments are different configurations, where the environment that is broken used to work ok.
==Does Not Work==
HTTP/1.1 200 OK
Date: Wed, 10 May 2006 15:29:05 GMT
Server: Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server
Set-Cookie: JSESSIONID=0a010873ce862708566dd6e423690b9adb1bb53721b.e38OaxeTchiMaO0LbhaOb3mKa3uOe6fznA5Pp7ftolbGmkTy; Path=/somepath
Cache-Control: private
Connection: close
Content-Type: text/html
==Does Work ==
HTTP/1.1 200 OK
Content-Length: 284069
Expires: 0
Cache-Control: must-revalidate, post-check=0, pre-check=0
Pragma: public
Content-Type: application/pdf
Set-Cookie: JSESSIONID=0a01098530d730877be0cb934448a7bd8b36affc4e2e.e38Mc3aQchyOe34Nbh4Max4Ob3n0n6jAmljGr5XDqQLvpAe; path=/somepath
Connection: Keep-Alive
Keep-Alive: timeout=5, max=999
     Server: Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server OracleAS-Web-Cache-10g/10.1.2.0.2 (N;ecid=83888159001,0)
Date: Wed, 10 May 2006 15:34:06 GMT
Content-Location: http://someurl
Any suggestions on how to get the AS to send the pdf file as an "application/pdf"? Also, I configured WebCache for the broken environment but it produces the same HTTP header shown above and does not work.
Thanks for your assistance.
Message was edited by:
user502883

In addition, here is a header that does not work with webcaching. The header above that does not work does not go through the webcache as I believed. None the less though, the pdf is sent as "text/plain" in this environment.
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html
Set-Cookie: JSESSIONID=0a010873ce878042ba1e8f14196948fded17a2029a0.e38OaxeTchiMaO0LbhaOb3mKa3uOe6fznA5Pp7ftolbGmkTy; path=/somepath
Connection: Keep-Alive
Keep-Alive: timeout=5, max=999
Server: Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server OracleAS-Web-Cache-10g/10.1.2.0.0 (N;ecid=83898938164,0)
Content-Length: 0
Date: Wed, 10 May 2006 18:29:32 GMT
Message was edited by:
user502883

Similar Messages

  • My safari screen is unable to display pdf files

    I have browsed through the discussions in the apple community and a similar problem has been reported. I am aware that we can save the pdf file by right click and then can open it in another window, but my question is why safari or firefox are not able to display the pdf file. I use adobe to download pdf. It just happened suddenly...Is it that an adobe update might have caused this. I would really appreciate some help on this because not all pdf files can be accessed by using the method I have mentioned above. Quite frustrating.

    But it should be offering your the option to use the plug-in for free if for private or educational use. There should be a box or something in the dialog window to tick to state that education/private is your intended use. (It has been many years since seeing that dialog window, so I forget exactly how it looks.) After answering that question, from that point onward it should not bother you about registration anymore.
    You are a true genius.
    I have told my Papá that for many years and he just smiles at me and shakes his head a bit!
    Thank You for extending the courtesy of awarding points to comments that are helpful or provide answers in the Apple Support Communities, as this is not mandatory, but it is much appreciated!

  • Unable to display a PDF image on the page - Mac 10.6

    Hi,
    Running an iMac with 10.6.8 and Indesign 5.0.4. Just wanting to export a PDF as per usual via File > Export function. However, I keep getting the error message, "Unable to display a PDF image on the page'. No idea what this is and have never seen this error before. The only info on the internet reveals error code 0x2511(9489).
    I've deleted prefs, closed down and re-opened Indesign and even restarted the computer. I've also re-linked the images contained in the document and even created a new document and set it up the same, but still the same problem. Investigating further, other Indesign documents still export properly.
    The only ones that don't export are 2 documents, both giving this same error message. Both documents are ones where a client has sent a PDF, I've imported into two of these into an 2-page A4 Indesign document (each PDF is 48MB each) and then just added a text layer (using Times) which is properly installed on the computer. I basically have to 'update' course dates for the client and add PDF to the website, all very basic.
    I've tried importing a jpeg and other PDFs into the file (replacing the existing ones) and they export fine.
    All my software is legal and I've exported this document before now in exactly the same File > Export without any problems (under 10.5 and 10.6).
    OK... I've just imported the offending PDFs into Acrobat, optimized and shrunk the file size, re-imported back to Indesign and the PDF export works fine. So it seems InDesign / PDF Export doesn't like large imported PDFs? I think they were originally exported from Publisher, so maybe that's the problem or a file conflict somehow.
    Any ideas on the culprit? I've googled it, searched these forums and Apple discussions and haven't found anything. Although I've found a workaround, I do get large files to import and then export. Thanks for any help
    Steve

    It does sound like a problem with the original PDF files the client sent you. You can check how they were made in Acrobat Pro from the Additional MetaData button on the Description tab of the document properties dialog. It will be under Advanced at the bottom of the list when the metadata opens.
    You might be able to salvage them by running the optimzer and not changing the size, or just doing a Save As in Acrobat.

  • After installing update 11.0.07, I have been unable to print pdf douments from websites displayed in I.E. 11

    I just installed 11.0.07 and since then have been unable to print pdf documents from websites displayed in I.E. 11 (32 bit). The problem did not exist until I installed the update. Opening the same sites with Chrome solves the problem, but some of the important sites I use, (FAA WebOPPS for instance) don't work with Chrome or anything other than I.E. for that matter. Does anyone know if Adobe is aware of the bug and working on a fix?

    Let me put it in context.I am a developer, and in my work we create a flex application a few years ago and we are providing support to this application. Since 2 days ago th button we create in our application for View PDF just stopped working. We use this code:
    public function navigate( url:String ):void
      navigateToURL( new URLRequest( url ), OPEN_NEW_WINDOW );
    It is very simplistic and worked fine as I told you, until Tuesday this week. Please tell me what happened, it seems the last plugin version crashes somewhere and my button just does not work any more.
    Thank you.

  • PDF.js unable to display encrypted file

    PDF.js unable to display encrypted file. Only an empty page appears.
    File:
    www.phirents.net/trans.pdf
    Password:
    ELXRTQWS
    Acrobat, Chrome etc. deal with this file easily. Encryption ist 128-Bit.
    Thanks in advance for your help.

    Hi,
    AL11 tries to open that file for reading and it fails for some reason. Maybe SAP does not have enough authorization to read file. Check file permissions on OS level.
    Cheers

  • Unable to display new PDF's in Illustrator 10

    Unable to open PDF files in Illustrator 10.0.3. Using a trial version of Adobe Acrobat X Pro (via Suite) and worked to import into AI which indicates that the files are corrupted and unrepairable. Ugh...use older version of Acrobat? T

    This has nothing to do with the programs, it's how the PDF os formatted. Check the PDF level. AI 10 at most supports 1.2, if I remeber correectly, meaning no transparencies, no blending tricks, no PDF layers.
    Mylenium

  • I need to configure Acrobat to display PDF files in Safari, but I have a lot of troubles to do it.I have OX S yosemite, I unistalled adobe acrobat, I closed safary and I installed the new version of adobe acrobat.

    Dear everyone
    I need to configure Acrobat to display PDF files in Safari, but I have a lot of troubles to do it.
    I read a european commission document explaining that
    http://ec.europa.eu/research/participants/data/support/sep_usermanual.pdf
    If Safari does not display pdf forms in the browser window, uninstall all older versions of Adobe Reader and download the most recent one. First close Safari and then install Reader. Launch Safari and you ought to be able to open the pdf files inside the Safari window. If you install Adobe Reader 10.1.x without first closing Safari, Safari will not display the pdf file inside its browser window until it is re-launched. For further help, please see http://helpx.adobe.com/acrobat/kb/troubleshoot-safari-plug-acrobat-x.html
    I have OX S yosemite, I unistalled adobe acrobat, I closed safary and I installed the new version of adobe acrobat
    but when I open a web page that I need to allow me to display and modify PDF files it is not working.
    I checked the following web page
    Troubleshoot Safari plug-in | Acrobat X, Reader X
    that is recommending the following:
    The AdobePDFViewer plug-in is used to display PDF files in Safari using Acrobat and Reader.
    This plug-in is installed as part of the Acrobat X or Reader X installation. The location of this plug-in is:
    /Library/Internet Plug-ins/AdobePDFViewer.plugin
    but after the new installation with this folder is completely empty and I am still
    unable to open these pdf.
    Does anybody knows anything else I can do?
    Best regards
    Ramon

    Moving this discussion to the Adobe Reader forum.

  • Unable to view PDF files in Infoview

    I am unable to view pdf files in InfoView (Business Objects Edge Series XI 3.0)
    When I select the pdf file from Infoview, I receive the message 'Do you want to save this file' which only allows me to save the document to a location on my computer.
    Other users can view the file in Infoview, so it probably relates to a setting on my computer.
    Any ideas?
    Thanks

    I've had a little look on Adobe's knowledge base; try this to check whether the issue is related with opening PDF in your browser in general:
    "Determine if the web browser can open the PDF file from your local hard drive rather than from the web:
    In the web browser, choose File > Open (or Open File).
    Choose All Files from the Files Of Type pop-up menu (Windows)
    Click Browse
    Select the PDF file you saved in step 1 of task 5, and then click Open to open the PDF file. If Acrobat or Adobe Reader displays the file, but won't display it on the web, the web server has a problem serving the PDF file. Contact the webmaster of the site from which you downloaded the PDF file."
    If so, try the troubleshooting steps mentioned here:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=328233&sliceId=2

  • Unable to view pdf in safari

    hello anybody can help- unable to view PDF files from the web

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • I am unable to open PDF files or run adobe flash when its needed I have downloaded it several times and tried updating it.

    I am unable to open PDF files or run adobe flash when its needed I have downloaded it several times and tried updating it. NEED HELP

    Adobe Acrobat NPAPI Plug-in, Version 11.0.04
    Adobe® Acrobat® Plug-in for Web Browsers, Version 11.0.04 — from file “AdobePDFViewerNPAPI.plugin”.
    application/pdf
    Acrobat Portable Document Format
    pdf
    application/vnd.adobe.pdf
    Acrobat Portable Document Format (Interim)
    pdf
    application/vnd.adobe.pdfxml
    Acrobat XML Portable Document Format
    pdfxml
    application/vnd.adobe.x-mars
    Acrobat XML Portable Document Format (Interim)
    mars
    application/vnd.adobe.xdp+xml
    XML Data Package
    xdp
    application/vnd.adobe.xfd+xml
    FormFlow99 Data File
    xfd
    application/vnd.adobe.xfdf
    Acrobat Forms Data Format in XML
    xfdf
    application/vnd.fdf
    Acrobat Forms Data Format
    fdf
    doubleTwist Web Plugin
    doubleTwist Web Plugin — from file “doubleTwistWebPlugin.bundle”.
    application/x-vnd-doubletwist
    doubleTwist Web Plugin
    Java Applet Plug-in
    Displays Java applet content, or a placeholder if Java is not installed. — from file “JavaAppletPlugin.plugin”.
    application/x-java-applet
    Basic Java Applets
    javaapplet
    application/x-java-applet;deploy=10.25.2
    Java applet
    application/x-java-applet;javafx=2.2.25
    Java applet
    application/x-java-applet;jpi-version=1.7.0_25
    Java applet
    application/x-java-applet;version=1.1
    Java applet
    application/x-java-applet;version=1.1.1
    Java applet
    application/x-java-applet;version=1.1.2
    Java applet
    application/x-java-applet;version=1.1.3
    Java applet
    application/x-java-applet;version=1.2
    Java applet
    application/x-java-applet;version=1.2.1
    Java applet
    application/x-java-applet;version=1.2.2
    Java applet
    application/x-java-applet;version=1.3
    Java applet
    application/x-java-applet;version=1.3.1
    Java applet
    application/x-java-applet;version=1.4
    Java applet
    application/x-java-applet;version=1.4.1
    Java applet
    application/x-java-applet;version=1.4.2
    Java applet
    application/x-java-applet;version=1.5
    Java applet
    application/x-java-applet;version=1.6
    Java applet
    application/x-java-applet;version=1.7
    Java applet
    application/x-java-vm
    Java applet
    application/x-java-vm-npruntime
    Java applet
    QuickTime Plug-in 7.7.1
    The QuickTime Plugin allows you to view a wide variety of multimedia content in web pages. For more information, visit the QuickTime Web site. — from file “QuickTime Plugin.plugin”.
    application/sdp
    SDP stream descriptor
    sdp
    application/x-mpeg
    AMC media
    amc
    application/x-rtsp
    RTSP stream descriptor
    rtsp,rts
    application/x-sdp
    SDP stream descriptor
    sdp
    audio/3gpp
    3GPP media
    3gp,3gpp
    audio/3gpp2
    3GPP2 media
    3g2,3gp2
    audio/aac
    AAC audio
    aac,adts
    audio/ac3
    AC3 audio
    ac3
    audio/aiff
    AIFF audio
    aiff,aif,aifc,cdda
    audio/amr
    AMR audio
    amr
    audio/basic
    uLaw/AU audio
    au,snd,ulw
    audio/mid
    MIDI
    mid,midi,smf,kar
    audio/midi
    MIDI
    mid,midi,smf,kar
    audio/mp3
    MP3 audio
    mp3,swa
    audio/mp4
    MPEG-4 media
    mp4
    audio/mpeg
    MPEG audio
    mpeg,mpg,m1s,m1a,mp2,mpm,mpa,m2a,mp3,swa
    audio/mpeg3
    MP3 audio
    mp3,swa
    audio/vnd.qcelp
    QUALCOMM PureVoice audio
    qcp,qcp
    audio/wav
    WAVE audio
    wav,bwf
    audio/x-aac
    AAC audio
    aac,adts
    audio/x-ac3
    AC3 audio
    ac3
    audio/x-aiff
    AIFF audio
    aiff,aif,aifc,cdda
    audio/x-caf
    CAF audio
    caf
    audio/x-gsm
    GSM audio
    gsm
    audio/x-m4a
    AAC audio
    m4a
    audio/x-m4b
    AAC audio book
    m4b
    audio/x-m4p
    AAC audio (protected)
    m4p
    audio/x-midi
    MIDI
    mid,midi,smf,kar
    audio/x-mp3
    MP3 audio
    mp3,swa
    audio/x-mpeg
    MPEG audio
    mpeg,mpg,m1s,m1a,mp2,mpm,mpa,m2a,mp3,swa
    audio/x-mpeg3
    MP3 audio
    mp3,swa
    audio/x-wav
    WAVE audio
    wav,bwf
    image/jp2
    JPEG2000 image
    jp2
    image/jpeg2000
    JPEG2000 image
    jp2
    image/jpeg2000-image
    JPEG2000 image
    jp2
    image/pict
    PICT image
    pict,pic,pct
    image/png
    PNG image
    png
    image/tiff
    TIFF image
    tif,tiff
    image/x-bmp
    BMP image
    bmp,dib
    image/x-jpeg2000-image
    JPEG2000 image
    jp2
    image/x-macpaint
    MacPaint image
    pntg,pnt,mac
    image/x-pict
    PICT image
    pict,pic,pct
    image/x-png
    PNG image
    png
    image/x-quicktime
    QuickTime image
    qtif,qti
    image/x-sgi
    SGI image
    sgi,rgb
    image/x-targa
    TGA image
    targa,tga
    image/x-tiff
    TIFF image
    tif,tiff
    video/3gpp
    3GPP media
    3gp,3gpp
    video/3gpp2
    3GPP2 media
    3g2,3gp2
    video/avi
    Video For Windows (AVI)
    avi,vfw
    video/flc
    AutoDesk Animator (FLC)
    flc,fli,cel
    video/mp4
    MPEG-4 media
    mp4
    video/mpeg
    MPEG media
    mpeg,mpg,m1s,m1v,m1a,m75,m15,mp2,mpm,mpv,mpa
    video/msvideo
    Video For Windows (AVI)
    avi,vfw
    video/quicktime
    QuickTime Movie
    mov,qt,mqv
    video/sd-video
    SD video
    sdv
    video/x-m4v
    Video (protected)
    m4v
    video/x-mpeg
    MPEG media
    mpeg,mpg,m1s,m1v,m1a,m75,m15,mp2,mpm,mpv,mpa
    video/x-msvideo
    Video For Windows (AVI)
    avi,vfw
    SharePoint Browser Plug-in
    Microsoft Office for Mac SharePoint Browser Plug-in — from file “SharePointBrowserPlugin.plugin”.
    application/x-sharepoint
    Microsoft Office for Mac SharePoint Browser Plug-in
    Shockwave Flash
    Shockwave Flash 11.9 r900 — from file “Flash Player.plugin”.
    application/futuresplash
    FutureSplash Player
    spl
    application/x-shockwave-flash
    Shockwave Flash
    swf
    Silverlight Plug-In
    5.1.20913.0 — from file “Silverlight.plugin”.
    application/x-silverlight

  • Unable to open PDFs in received e-mail (Outlook)?

    Unable to open PDFs received in Outlook (Office for Mac 2011).  Adobe XI message displayed says "There was an error opening this document. The file is damaged and could not be repaired."  Same PDFs attached to same mail messages open fine on iPad or iPhone. What could be the problem?

    ivone dos santos,
    Do you see a message like this when you open one of your PDF documents?
    Your PDF document is a special type of form called a "dynamic XFA form".  The message is displayed when a dynamic content is not supported by a PDF viewer.
    As far as I know, no PDF viewers for iOS and Android mobile devices support dynamic XFA forms.  Here are the examples of the iOS apps that do not support dynamic XFA forms.
    Adobe Reader for iOS
    Mail
    Safari
    iBooks
    The PDF preview feature in Dropbox and other apps
    The message is trying to tell you to use the latest desktop version of Adobe Reader, not the mobile version of Adobe Reader.  I agree that the sentence, "You can upgrade to the latest version of Adobe Reader...", is somewhat misleading.  The message is baked into the dynamic XFA form that was authored by Adobe LiveCycle (desktop app) without regard for non-desktop apps (i.e. mobile apps).  Upgrading to the latest version of Adobe Reader for iOS would not help in this case.
    Currently, the only option to view and fill out dynamic XFA forms is to use the desktop version of Adobe Reader.
    Sorry for the confusion.

  • Display pdf on an apex page

    Hi all,
    I am using 10g xe with apex4
    I need to display pdf on a page.
    How can we do that...
    thanks in advance

    Hi Jyothi,
    This link might be helpful:
    [url http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31blob.htm] Defining and Viewing BLOB Data in Oracle Application Express 3.1
    This is a link for Defining and Viewing BLOB Data in Oracle Application Express 3.1, but with little
    modifications it is applicable for higher versions of APEX.
    Hope it helps!
    Regards,
    Kiran

  • Unable To Open PDF Files On IPhone

    Ever PDF File received via Email are unable to be opened. Comes up with a message saying not a valid PDF File. How do I get this to work?

    Can you please share a sample file at the email address listed above? The desktop Reader is pretty forgiving and will often display PDF that is invalid. In general, our Mobile Reader is less lenient, though when we encounter files that the desktop product allows but we do not, we make an attempt to be similarly lenient. A sample file will help!

  • I am using safari 6.0.3 I am unable to view PDF files online - I reset safari - did nothing - any ideas? thank you

    I am using safari 6.0.3 I am unable to view PDF files online - I reset safari - did nothing - any ideas? thank you

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • I am unable to open pdf files on internet.  what to do?

    @I received emails with pdf links on internet.  I am unable to open these links.  Does anyone has a solution to this please?

    Hi mendcocr,
    Please see this document about configuring web browsers to display PDF files: http://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html.
    Please let us know if you need additional help.
    Best,
    Sara

Maybe you are looking for

  • Can't Create Library or Event on External Hard Drive

    In Final Cut Pro X, I want to import events to libraries that reside on an external hard drive. However, I see no external drive in Final Cut Pro X for the creation of libraries or events, and thus am left with the only option of importing media to m

  • Manual for iMovie?

    I'm new to the system and would like a manual to refer to for using iMovie. I find the videos not suitable for remembering every detail. Is there a manual available?

  • Oracle 9i release 2

    hi everyone, i am radouan from morocco 27 ears old i'd like to have an oracle 9i database administration. i want to learn at home...is it possibale?can i get it? please help to do this!! i don't know how to begin or from where to begin,i am totaly ne

  • EDI Inbound Idoc problem

    Hi, We are facing an issue with Inbound IDoc. We have a PO inbound idoc which is in status '53' but the PO document did not get created. Can you please help us if anyone faced similar issue. Thanks, Anil

  • Mac book pro is slow on the start up

    Dear fellow applers, Kindly help me to know what are the steps to fix up a mac book pro that is slow on the start up? Many thanks, Caroline