IE fails handing servlet output to plugin (netscape does)

My servlet returns a file to the browser that a browser plugin is required to display. If I request the file using a GET from IE (5.0 or 5.5), the file is sent 2X from the servlet but does get displayed. This is fine for my test servlet, but my application can't handle being asked 2x for the same thing.If I use a POST, it only sends the file one time but fails to hand it off to the plugin and generates the Plugin Error dialog "The data that the plugin requested, did not download successfully". Everything works fine with netscape. I had someone test my servlet using IIS and JRun and they said it worked fine, so that pointed me to Weblogic.Thanks
          

Hi
A very interesting problem. Browsers handle html is different ways. IE may be rearranging the HTML removing the white space in between whereas Netscape might not.
The best way to attack this problem is append the Html output into a String object as your processing moves through different stages. Now you can try printing it to the console or to a Log file once you are done. Alternately you can check to see the length of content if it matches the length of content which is printed out from a "view source" on IE.
This is only to eliminate the probability of accidental appending of invisible characters during processing which the browsers might be auto correcting.
I would think this process would help you to resolve the issue even though the problem may be somthing else.
Keep us posted.
Good Luck!
Eshwar Rao
Developer Technical Support
Sun microsystems
http://www.sun.com/developers/support

Similar Messages

  • Error Message: "Install Step Failed:run postflight script for Plugin" When Flash Player 11.7 instal

    Don't See Question/Problem w/Flash Player Installation.  Error w/11.7.700.260 Installation had errors (dialogue box)  The following install step failed: run postflight script for Plugin.Contact the Software Manufacturer for Assistance.  Please Note:  I have read all Adobe Links related to installing Flash Player and uninstalling previous version 10.3 for MAC OS 10.5.  So I have MAC OS 10.5.8 w/Firefox Browser 16.0.1 and disabled anti-viral software.  Uninstalled previous version of Flash Player 10.3.  Confirmed uninstallation.  Downloaded Flash Player 11.7.700.260  instead of 10.3.183.90 due to Adobe stated information re:replacement of 10.3 versions with 11.7 extended support.  Installation of 84% occurs then the Error Message: Installation had errors (dialogue box)  The following install step failed: run postflight script for Plugin.Contact the Software Manufacturer for Assistance.  Please help to resolve this issue as no flash player is currently on my MAC.  Thank you so much.

    Hi Mike,
    First of all, thank you so much for responding and sorry I forgot to mention my CPU; fortunately I **DO** have the 2.6 GHz Intel Core 2 Duo Processor so I could upgrade to Mac OS X Snow Leopard.  Two Questions:
    1. Do you know whether Snow Leopard sold by Apple is an upgrade or "clean install?"  If it's not a clean install, do you know (off-hand) if there are any upgrade issues?  I'm very partiall to a clean install.
    2.  Why does Adobe state (for updating Flash Player 10.3 when Adobe knows that [most likely] the 10.3 versions run on Mac OS 10.5.x?  See statement and link below...
    Kindest thoughts - Karolynn_1
    http://blogs.adobe.com/flashplayer/2013/05/extended-support-release-updated-to-flash-playe r-11-7.html
    We’re happy to announce that we are updating the version of our extended support release to Flash Player 11.7 on Mac and Windows. Flash Player 11.7 will replace version 10.3 as the extended support version beginning July 9, 2013.
    In order to continue receiving security updates, an upgrade to either Flash Player 11.7, or the standard Flash Player 11.8 release is required.
    Flash Player 11.7 provides exciting new features, including Actionscript concurrency, webcam support for StageVideo and more. It also enables Protected Mode for FireFox on Windows, a sophisticated security-in-depth feature. With Protected Mode, Flash Player runs as restricted process, making it more difficult for attackers to build working exploits. Click here to learn more.
    Flash Player 11.7 leverages hardware acceleration for audio, video and rendering to increase performance and lower CPU usage.
    To ensure the smoothest possible transition, we encourage IT organizations deploying Flash Player 11.7 in managed environments to thoroughly test audio and video playback for critical use-cases using the latest available version before deploying this release widely. When hardware-related playback and stability problems do arise, updating to the latest hardware drivers frequently resolves these issues.As a secondary workaround, the Flash Player Administrator’s Guide details mechanisms for disabling hardware and audio acceleration via mms.cfg.
    We have been hard at work to make Flash Player better than ever, and we look forward to continuing to serve you with a great web experience.

  • I had a problem with the hard disk on a 2010 macbook pro. Replaced the hard disk with an Hitachi 1TB and when I tried to erase and format It fails with input/output error. Any help much appreciated!

    I had a problem with the hard disk on a 13" 2010 macbook pro. Replaced the hard disk with an Hitachi 1TB disk but when I tried to erase and format, it fails with input/output error and at other times saying unable to allocate memory. Any help much appreciated!

    Zap the PRAM and Reset the SMC, then try again.

  • "Extraction Failed: Cannot Open Output File" error message when installing new drivers

    Hello, I'm trying to install new drivers for my HP Photosmart C4385 Printer.  I downloaded the full feature drivers for Windows XP 32-bit, and when I start to install (extract), I get the error message:
    Extraction Failed
    Cannot Open Output File
    And the process closes.  It happens at about 85% extraction every time.
    Any idea why?  I called HP but since it is out of warranty they wanted money, which I think as absolutely ridiculous - won't even give me basic support??  Poor, poor customer service.
    This question was solved.
    View Solution.

    Hi,
    If you haven't still got the  Full Feature software installer, download it from the link below and save it to your Desktop.  If you already have it, place it on your Desktop.
    ftp://ftp.hp.com/pub/softlib/software10/COL20274/mp-53147-4/100_228_PS_AIO_02_Full_USW_enu_NB.exe
    Make sure the Printer is disconnected from your PC.
    Download and install 7-ZIP.  Once installed, right click on the software installer for your printer, select 7-Zip and choose extract files, then click Ok.
    Open the newly extracted folder and double click the setup application to start the installation ( the setup application will probably have the same icon as the original software installer you downloaded ).  Connect the printer to your PC when the software asks.
    Hope this helps.
    Best wishes,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Build error 'CFURLGetFSRef failed - maybe the output directory doesn't exist?' Eclipse

    I downloaded and installed the Adobe InDesign Plug-in Editor as an Eclipse distribution, the InDesign SDK and XCode on my iBook G4 with Mac OS X 10.4.10. Creating an InDesign project works fine. I only have to drag-and-drop elements on a form and add some actions.
    Unfortunately, I can't get the Ant Build working. I followed the video-tutorials on the Adobe labs site, but I'm still getting this error:
    CFURLGetFSRef failed - maybe the output directory doesn't exist?
    The error seems to be in the "/Adobe InDesign CS3 Products SDK/devtools/bin/odfrc-cmd" file. I guess it's a SDK problem.
    Does anyone know what the reason is for this error? And maybe how I can fix it?

    This is the full output.
    "Ld "/id5sdk/build/mac/prj/build/InDesign en InCopy plug-in.build/Default/Debug.build/Objects-normal/ppc/InDesign and InCopy plug-in" normal ppc
    cd /id5sdk/build/mac/prj
    /usr/bin/g++-4.0 -o /id5sdk/build/mac/prj/build/InDesign\ and\ InCopy\ plug-in.build/Default/Debug.build/Objects-normal/ppc/InDesign\ and\ InCopy\ plug-in -L/id5sdk/build/mac/prj/../debug/sdk -L../../../build/mac/debug/packagefolder/contents/macos/libs -F/id5sdk/build/mac/prj/../debug/sdk -F../../../build/mac/debug/packagefolder/contents/macos -F../../../build/mac/debug/packagefolder/contents/Frameworks -filelist /id5sdk/build/mac/prj/build/InDesign\ and\ InCopy\ plug-in.build/Default/Debug.build/Objects-normal/ppc/InDesign\ and\ InCopy\ plug-in.LinkFileList -lPublicPlugIn -framework InDesignModelAndUI -framework Carbon -framework InDesign\ and\ InCopy\ plug-in -arch ppc -Wl,-single_module -install_name InDesign\ and\ InCopy\ plug-in.InDesignPlugin/Versions/A/InDesign\ and\ InCopy\ plug-in -Wl,-Y,1455 -dynamiclib -mmacosx-version-min=10.4 -Wl,-Sp -Wl,-executable_path -Wl,../../../build/mac/Debug/packagefolder/contents/macos -isysroot /Developer/SDKs/MacOSX10.4u.sdk
    ld: can't locate framework for: -framework InDesign en InCopy plug-in
    /usr/bin/libtool: internal link edit command failed"
    Anyone who can help me?

  • Servlet output not displayed properly in Internet Explorer

    Hi All,
    I'm developing a servlet which uploads a file. After the servlet parses the request body, it stores the file contents as a binary string in the database. While displaying the contents of the attached file, the IE(Internet Explorer) is ignoring all the newlines and spaces. IThe same uploaded file when viewed through Firefox browser is being displayed properly. I've added some debug statements to print the filecontent before sending it to servlet output stream. They look exactly as they were in the uploaded file. The MIME type is application/octet-stream.
    I've also made the response to accept "ISO-8859-1" and "UTF-8" charsets, yet the IE is not rendering the file contents properly. The code looks like this,
    response.setContentType("text/html; charset= ISO-8859-1, UTF-8");
    byte[] buff = attachment.getAttachObject();
    OutputStream out = response.getOutputStream();
    out.write(buff);
    out.close();
    I've tried using PrintWriter also. I've tried changing the content types, character encodings of request and response objects, still couldn't resolve the issue. What really baffles me is that when it's displaying properly in Firefox, why can't it render properly in IE? I'm using Win XP SP2, and IE version is 6.0.29. The content which is being sent to the output stream contains newline and space characters, but they are not displayed in the browser. Did any one face this sort of issue? Your help is highly appreciated.
    Thanks,
    Tarun.

    Hi,
    Thanks for looking into the issue. Let me tell you that I've tried keeping various content-types like text/plain, text/xml etc, but in none of those cases the IE rendered the output properly. But with the same content-type i.e text/html or text/plain, Firefox is able to render the file content properly. I've tried a brutal force approach like below,
    response.setContentType("text/plain");
    PrintWriter out = response.getWriter();
    String str = new String(attachment.getAttachObject());
    char[] buff = str.toCharArray();
    for(i=0;i< buff.length; i++)
    int n = (int)buff;
    if(n == 10)
    out.println();
    else
    out.print(buff[i]);
    out.close();
    I was trying to print a newline whenever I find a newline character in the file content. Even this didn't work. Please suggest me some way to get rid of this problem.

  • Converting servlets output to PDF fle

    How to convert Java Servlets output html file to PDF file or a Word document.

    not sure what u mean by 'convert' the output to PDF or word document
    Do you mean you want to force the browser to open file using MSWord / PDF viewer? If yes :
    For showing output as a word document, you can set the servlet response MIME type to 'application/ms-word' and set its extension to .rtf . You can then use a RTF template to build servlet output (since RTF is flat file format). By replacing placeholder tags in RTF template, you can generate content.
    For showing output as PDF, you'll need some library for PDF writing.
    hth,
    Subodh

  • Read Servlet output stream

    how can i read servlet output stream

    i m using SAX to create an XML.
    I set result to "Servlet Output Stream" as shown below :->
    SAXTransformerFactory saxTF = SAXTransformerFactory.newInstance();
    TransformerHandler th = saxTF.newTransformerHandler();
    Transformer t = th.getTransformer();
    StreamResult stRes = new StreamResult(res.getOutputStream());
    th.setResult(stRes);
    th.startDocument();
    what i want to wright the same xml result in file at the same time(parallel y).

  • Failed to load the FastBrowserSearchPlugin plugin.

    Failed to load the FastBrowserSearchPlugin plugin.
    * -[BrowserWindowController currentWebView]: unrecognized selector sent to instance 0x7bb760
    Anyone know why I am getting this message, which then causes Safari to crash, and how I can re-install the missing plug-in?

    HI,
    You need to uninstall the plugin. Go here. http://help.fastbrowsersearch.com/
    Carolyn

  • Tried to install Firefox but an error message "Extraction failed - cannot open output file" always pops up, without a reason. Why's this happening?

    Tried to install Firefox but an error message "Extraction failed - cannot open output file" always pops up, without a reason. Why's this happening?

    Try to disable your anti-virus software temporarily to see if that makes it work.
    You may need to delete the temp folder (%TEMP%) to remove the old files.

  • Servlet Output Streams and clearing

    I am using servlets, and I want to be able to print something repeatedly. Well, that's not exactly true: I can print something repeatedly. Using a ServletOutputStream, it doesn't seem possible to clear what has already been written. Here's the code:
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    import java.io.*;
    public class AlwaysTime extends HttpServlet {
         public void doPost(HttpServletRequest req, HttpServletResponse res)                throws ServletException, IOException {
              HttpServletResponse oldRes = res;
              Date now = new Date();
              res.setContentType("text/html");
              ServletOutputStream out = res.getOutputStream();
              out.println("<html>");
              out.println("<head>");
              out.println("<title>Clock</title>");
              out.println("</head>");
              out.println("<body>");
              out.println("<h1 align=\"Center\">");
              out.println(now.toString());
              out.println("</h1>");
              out.println("</body>");
              out.println("</html>");
              try {
                 Thread.sleep(1000);
              } catch (InterruptedException ie) {}
              // Do nothing: wait for 1 second.
              doPost(req, oldRes);
         public void doGet(HttpServletRequest req, HttpServletResponse res)
              throws ServletException, IOException {
              doPost(req, res);
    }This code prints the time every second, but I want to clear the previous output stream. I thought the code shown above would work, but of course, oldRes points to the same object as res. But I don't know how to clear an output stream, so that it is completely empty. Instead, each of the new lines are appended to the same output stream.
    This doesn't only apply to servlet output streams: is there some way to clear the System output stream, for instance?
    But mainly the servlet output stream ...

    You would not want to use HTTP for this type of functionality. HTTP is known as a 'stateless' protocol that simply returns one exact response for each request. So, there is not way to 'clear' the stream (technically, you would not do so for 'normal' streams either, but when you add HTTP into the mix, the task is definitely not possible).
    You could implement the above using a RSS feed, or by using HTTP meta-refresh tags on the page itself ot resubmit the requests every second (though this would be inefficient). An applet would also do the task.
    - Saish

  • Trying to erase hard drive, but get "input/output error". What does this mean? What can I do to erase my hard drive so I can reinstall?

    Hi all,
    My computer a few days ago wouldn't start up, would just stay at the gray loading screen forever. So as a result I tried to reformat the hard drive and reinstall, but I can't reinstall, until I erase the hard drive, but when I try to erase the hard drive it says the erase failed due to an input/output error. What does this mean? What can I do to fix my computer?

    The startup drive is failing, or there is some other internal hardware fault.
    Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.
    Back up all data on the internal drive(s) before you hand over your computer to anyone. There are ways to back up a computer that isn't fully functional — ask if you need guidance.
    If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to an empty drive from any of them.) Don’t erase the recovery partition, if present.
    Keeping your confidential data secure during hardware repair
    Apple also recommends that you deauthorize a device in the iTunes Store before having it serviced.
    *An SSD doesn't need to be zeroed.

  • An error has occurred: The plugin -65221 does not exist in the CMS

    Hi,
    I already raised this issue before and I thought this is already fixed. Everytime I upload this Crystal Report and try to schedule it using the RESCHEDULE window, I can't change the parameters. Everytime I click on the value of each parameter, the following error displays:
    "An error has occurred: The plugin -65221 does not exist in the CMS"
    What can be the cause of this and how can I resolve this? We are using Business Objects XI R2 with SP2 and Crystal Reports XI.
    Thanks.

    Hello Neozeke,
    I recommend to post this query to the [BusinessObjects Enterprise Administration|BI Platform; forum.
    This forum is dedicated to topics related to administration and configuration of BusinessObjects Enterprise, BusinessObjects Edge, and Crystal Reports Server.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all BOE Administration queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • An Error has occured:The plugin 65534 does not exist in the CMS (FWM 02017)

    Hi,
    I get the error when I click on Parameter option while rescheduling Crystal Reports from Infoview. I can schedule the reports successfully, the error is only while rescheduling.
    The error is as follows:
    An error has occurred: The plugin -65534 does not exist in the CMS (FWM02017)
    Environment - BOXI 3.1 with Windows AD
    Application server - Tomcat
    Would appreciate any help.
    Regards,
    Anisa

    Hello Anisa,
    Are you able to solve the issue...
    We are also getting same issue. if you are able to resolve the issue. please let us know the setps you followed it will be of great help.
    Thank You,
    Regards,
    Satheesh Reddy. R.

  • SDKException$PluginNotFoundAtCMS: The plugin Enterprise does not exist in the CMS

    Post Author: NorfolkNChance
    CA Forum: JAVA
    Hi, I am trying for the first time to integrate my crystal reports into java J2ee.
    I have been following the tutorials on http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/en/BOE_SDK/boesdk_java_dg_doc/doc/boesdk_java_dg/HowToExamples3.html
    and think I am doing allright. I have imported all the jar I should do from the BO installation directories.
    so I am running this code below:
         String cms = "*********:6400";     String username = "administrator";     String password = "*********";     String auth = "Enterprise";
    //   Attempt logon. Create an Enterprise session
            try {   // manager object.   ISessionMgr sm = CrystalEnterprise.getSessionMgr();
       // Log on to BusinessObjects Enterprise   IEnterpriseSession enterpriseSession = sm.logon(username, password, cms, auth);   System.out.println("ddd");     } catch (SDKException e) {   // TODO Auto-generated catch block   e.printStackTrace();  }
    When it reaches the line in bold it throws an exception:
    &#91;09/10/07 12:16:14:738 BST&#93; 00000032 SystemErr R com.crystaldecisions.sdk.exception.SDKException$PluginNotFoundAtCMS: The plugin Enterprise does not exist in the CMS
    cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
    detail:The plugin Enterprise does not exist in the CMS
    The exception originally thrown was com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
    is someone able to help me with this expection? Do I need to set something up on the sever?

    Post Author: Ted Ueda
    CA Forum: JAVA
    String auth = "secEnterprise";Sincerely,Ted Ueda

Maybe you are looking for

  • Help...anchored objects in CS4 freezes Indesign

    I was really excited to use anchored objects in a recent project where I wanted to insert a bunch of callout text boxes peppered throughout the document layout that would reflow with it's neighboring text as I made changes. When I had about 4 text bo

  • Kernal Panic Attacks - how to diagnose

    I have recently started to get kernal panics on my dual processor G4 with increasing frequency. The problem started when I switched monitors to a 1600x1200 Samsung (analog connected). They went from once every few days, to every day, to multiple time

  • Quicktime x will not open

    I think I have a file association issue. I have a piece of paper and pencil for a quicktime x icon and quicktime will not open. I have tried to look for ways to uninstall and reinstall quicktime x but I am new to the Macbook Pro so I'm not familiar o

  • WRE54G Range Expander -- Not very powerful

    Here is the situation. I have a house that is laid out from north to south at about 60 feet, with two walls between one bedroom on the opposite end from the access point, and the same with the other bedroom except it is not in direct line with the ac

  • Combobox doesn't show description

    I have a combobox with properly added values. If the combobox shows its list of valid values everything looks ok;  I can see the value followed by the description. However, if I select a value and the dropdownlist closes, only the value is shown, not