Error flushing output stream when stop button is used

Hello,
I have a servlet running on the Sun ONE Web server 6.1 that throws this error message: "java.io.IOException: WEB8004: Error flushing the output stream".
Through my testing, it seems as if this is caused by the user pressing the stop button before the output can be completely commited to the client. Strangely enough the error seems to thrown when IE is the browser but not when Firefox is. My guess is that what is happening is the client connection is closed when stop is pressed in IE and the server cannot write to the client anymore so the error is thrown.
I was wondering if anyone has any insight into how to prevent this from getting thrown. I realize that this error is not a major thing and probably doesn't need to be worried about, but it is quite annoying because webmaster gets emailed anytime an exception is thrown so cutting down on pointless exceptions is something we like to do :)
Thanks in advance.

Hay, did you ever figure it out. I am getting it when one user hits my Servlet to download a specific piece of data????? I can't figure it out?
Thanks for the info,
Jeff

Similar Messages

  • IO error: Socket output stream shutdown by peer when trying to import DCs

    Hi,
    I am getting this error when trying to import DCs.
    com.sap.lcr.api.cimclient.CIMClientException: IO error: Socket output stream shutdown by peer
    I am specifying the SDM host, similar to J2EE URL I guess along with SDM port in Development configuration pool URL.
    Can some one guide me if I am missing some thing or some thinkg else is going wrong.
    Any help or suggestion will be very helpful to me.
    Thanks and regards,
    Chinnu

    Hi Nithn,
    Thank you for the response.
    It is due to issue in track configuration.
    Build Server and Repository server URLs are not Fully qualified domain names.
    Made a host entry and I was able to import the configuration.
    Thanks and regards,
    Chinnu

  • I am getting and error code 150:30 when I try to use my CS4 AI, PS and AE.  I tried uninstall and install again but same code

    I am getting and error code 150:30 when I try to use my CS4 AI, PS and AE.  I tried uninstall and install again but same code

    ok  Can I tell when it is stopped or if it didn't work.  It is still saying the same thing.  I can't see a progress bar or anything.  Do you have any idea how long it usually takes.  Just curious so I know i din't make another mistake

  • Multiple flash files change when a button click using javascript function

    hi.. am new in flsh...
    i want to multiple flash files change when a button click using a javascript

    <script>
    var count=0;
    function mafunct(newSrc){
        alert("hi");
    var path="a"+count+".swf"; 
    flash+='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" WIDTH="100%" HEIGHT="100%">';         
        flash+='<PARAM NAME=movie VALUE="'+path+'">';         
        flash+='<PARAM NAME="PLAY" VALUE="false">'; 
        flash+='<PARAM NAME="LOOP" VALUE="false">';
        flash+='<PARAM NAME="QUALITY" VALUE="high">';
        flash+='<PARAM NAME="SCALE" VALUE="SHOWALL">';
        flash+='<EMBED NAME="testmovie" SRC="Menu.swf" WIDTH="100%" HEIGHT="100%"PLAY="false" LOOP="false" QUALITY="high" SCALE="SHOWALL"swLiveConnect="true"PLUGINSPAGE="http://www.macromedia.com/go/flashplayer/">';
        flash+='</EMBED>';
        flash+='</OBJECT>';    
    count++;
    alert(path+"aa");
    </script>
    <button onclick="mafunct()">next</button>

  • Flushing output streams

    Hello,
              I was a getting a harmlous excpetion :
              <4/06/2002 16:48:04> <Error> <HTTP> <Servlet execution in servlet
              context "WebAppServletContext(5985988,root,/root)" failed,
              java.net.ProtocolException: Didn't meet stated Content-Length, wrote:
              '7358
              4' bytes instead of stated: '94440' bytes.
              java.net.ProtocolException: Didn't meet stated Content-Length, wrote:
              '73584' bytes instead of stated: '94440' bytes.
              at
              weblogic.servlet.internal.ServletOutputStreamImpl.finish(ServletOutputStreamImpl.java:413)
              at
              weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:974)
              at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1964)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              I read about it on this newsgroup, and I saw some people suggesting to
              flush the output streams with ( out.flush()).
              But this is weird, doesn't Weblogic flush the output streams by itself??
              I had the same application running on tomcat before and everything was
              fine, I didn't have to flush the output streams with tomcat
              And what is the consequence of not flushing the output streams.
              Thanks guys
              Itani
              [att1.html]
              

    I have the same problem. I have seen a lot of messages reporting this
              problem... what is the right solution? Can weblogic become instable
              due to this condition?
              I use some Oreilly classes (com.oreilly.servlet.MultipartRequest) to
              intercept some POST data; Is there anyone who knows if these classes
              can cause the ProtocolException problem?
              Bye
              Luca
              "Vinod Mehra" <[email protected]> wrote in message news:<[email protected]>...
              > No flush will not help here.
              >
              > This exception will show up in only two cases:
              >
              > 1. You wrote less than the promised content length was.
              >
              > 2. While you were writing the client terminated the connection. I
              > remember we used
              > to throw this ProtocolException exception at the end, which was
              > unnecessary.
              > I know this problem has been fixed. We don't throw this exception
              > anymore
              > when the client abnormally terminates the connection. I believe the
              > problem has
              > been fixed in 610sp2. Which release/service pack are you using? If
              > you
              > can't upgrade and need a one off patch please contact support.
              > CR057091
              > was used to track this problem. One off patches are available for
              > 610sp1 and
              > 510sp12.
              >
              > Cheers!
              > --Vinod.
              > "Mohamed Itani" <[email protected]> wrote in message
              > news:[email protected]...
              > Hello,
              > I was a getting a harmlous excpetion :
              >
              > <4/06/2002 16:48:04> <Error> <HTTP> <Servlet execution in servlet
              > context "WebAppServletContext(5985988,root,/root)" failed,
              > java.net.ProtocolException: Didn't meet stated Content-Length, wrote:
              > '7358
              > 4' bytes instead of stated: '94440' bytes.
              > java.net.ProtocolException: Didn't meet stated Content-Length, wrote:
              > '73584' bytes instead of stated: '94440' bytes.
              > at
              > weblogic.servlet.internal.ServletOutputStreamImpl.finish(ServletOutputStr
              > eamImpl.java:413)
              > at
              > weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.ja
              > va:974)
              > at
              > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.j
              > ava:1964)
              > at
              > weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              > I read about it on this newsgroup, and I saw some people suggesting to
              > flush the output streams with ( out.flush()).
              >
              > But this is weird, doesn't Weblogic flush the output streams by
              > itself??
              > I had the same application running on tomcat before and everything was
              > fine, I didn't have to flush the output streams with tomcat
              >
              > And what is the consequence of not flushing the output streams.
              >
              > Thanks guys
              > Itani
              >
              >
              >
              > --
              

  • What exactly happens when stop button of web browser is clicked?

    Hi
    I have a servlet with a service method to process a form.
    I submit the form and immediately click the stop button of the browser.
    What happens here?
    Will the service method be invoked?
    Or if it is in half way ..will it run to completion?
    Thanks

    I agree with Gita_Weiner that the stop button will only affect the browser's loading of the page. I have actually faced this situation in my recent project and I would say that in case you have an insert request into some table, then the insert will succeed. The result page which is intended to be shown after servlet processing will be stopped. So you will get a connection reset by peer error message.
    Hence the request will be submitted and processed to server during submit, but you might not be able to see the resultant page.
    To be able to manage to hit the stop button before the browser has had a chance to get the request off needs a very quick action. And in that case the the servlet won't be run at all.
    Regards
    Rohit

  • Error "424 Object Required" when opening journal report using HFM 11.1.2.1

    Hi experts,
    I've installed EPM 11.1.2.1 along with Hyperion Financial Management and Financial Reporting on an virtual machine (OS is windows server 2008),
    when I logon to workspace and tried to open an journal report in HFM-Format, appears error message as follows:
    An error has occurred. Please contact your administrator
    Error Number:424
    Error Description: Object required
    Error Source: Microsoft VBScript runtime error
    Page On which Error Occurred:../reports/CheckStatus.asp
    I've checked oracle support and found article ID 967025.1 describing almost the same issue of mine,
    but the suggested solution was to add workspace and HFM web server to trusted site. (I'm using IE9)
    I did so as well as other recommended browser settings but still the error remains.
    The article said the solution was applied to Version 9.2.0.0 to 11.1.1.3, so I'm not sure if version 11.1.2.1 has other causes or solutions.
    Could experts provide any ideas?

    I believe you might have already done with the below steps, but please reconfirm:
    1) Ensure, that both the Hyperion Workspace URL AND the HFM webservername i.e(Http://<hfmwebservername>/hfm) is added in the sites button in the Trusted sites option. under Security tab.
    2) Here is a list of Internet Explorer settings which are recommended to be set on the client machine:
    1. Configure browser to check for new version every time user visits a page
    * Open Internet Explorer
    * Go to Tools > Internet options > General
    In 'Browsing history' section select 'Every time I visit the webpage'
    * Click Ok, then Apply.
    2. Disable default pop-up blocking
    * Open Internet Explorer
    * Go to Tools > Internet options > Privacy tab
    Uncheck 'Turn on Pop-up Blocker'
    3. Add workspace URL to trusted sites
    * Open Internet Explorer
    * Go to Tools > Internet options > Security tab
    * Select Trusted sites from Select a zone to view or change security settings.
    * Type your workspace URL in form http://workspaceserver:portnumber in 'Add this website to the zone'
    * Uncheck 'Require server verification (https:) for all sites in this zone'
    * Click Add, then Close.
    * Click Ok and Apply.
    4. Minimize security setting for trusted sites
    * Open Internet Explorer
    * Go to Tools > Internet options > Security tab
    * Select Trusted Sites from select a zone to view or change security settings
    * Select custom level
    * From Reset to list select Low
    * Click Ok
    * Click Apply, then Ok
    5. Customize security settings
    * Open Internet Explorer
    * Go to Tools > Internet options > Security Tab > Custom Level
    * In 'Miscellaneous' section enable the option "Allow script-initiated windows without size or position constraints"
    * In 'ActiveX controls and plug-ins' section enable “Run ActiveX controls and plug-ins” and “Script ActiveX controls marked safe for scripting.”
    6. Enable option "Always allow session cookies".
    * Open Internet Explorer
    * Go to Tools > Internet options > Privacy Tab > Advanced > Check the "Override automatic cookie handling" and accept the first and third party cookies and check the "Always allow session cookies" option.
    7. Disable option "Enable Native XMLHTTP".
    * Open Internet Explorer
    * Go to Tools > Internet options > Advanced Tab > Uncheck the option "Enable Native XMLHTTP"
    If still facing the same issue, perform the below action plan:
    1) Give full permission to Filetransferfolder and try generating the reports.
    2) Add the Everyone user and dcom user to BIPubSystemReports.
    DCOM Config-> BIPubSystemReports-> Security tab-> add the users in Launch and Activation Permission, Access permissions and Configuration Permissions.
    Best regards.

  • Reports output delayed when exported to Excel using OLE2

    Hi All,
    Platform - Oracle Application Server 10g Release 2 10.1.2.3 on Windows 32 bit.
    The report output is getting generated in a minute when exported to PDF i.e destype=cache & desformat=pdf. When we generate the output to excel is considerably delayed. It is taking time and internal server error is occuring.
    1) Report developed with simple query
    2) Used RPT2XLS procedure which uses OLE2 builtin to export report output into excel.
    3) Called RPT2XLS.run procedure in After-Report trigger of the report.
    4) We have relased all memory objects in the RPT2XLS package after exporting data and there is no EXCEL.exe running once the file is generated.
    System parameters used in the URL.
    . destype=file
    desformat=pdf
    CONTAINSOLE=yes (Required for exporting OLE2 objects into Excel in report)
    desname=path & name of the file.
    I have gone through the tuning documents for reports server and increased minengine, maxengine and initengine parameters of the reports engine and also changed maxconnect and IdleTimeout parameters in reports server configuration file.
    What might be the reason for delaying in the output of the reports when exported to Excel. Can the guys with special knowledge on this area help us in getting out of this issue.
    Thanks in advance.

    hey all,
    Thanks everyone for the reply.
    I am using the foloowing field cat:
    l_col_pos = l_col_pos + 1.
        wa_fieldcat-col_pos = l_col_pos.
        wa_fieldcat-outputlen = 32.            
         wa_fieldcat-fieldname = 'SOLLWERT'.
         wa_fieldcat-inttype   = 'P'.             
    *    wa_fieldcat-tabname = 'i_final'.      
        wa_fieldcat-seltext_l = text-t11.         "Target Value
        APPEND wa_fieldcat TO i_fieldcat.
        CLEAR wa_fieldcat.
    I have use this also in the field cat but stil i get space in the excel header.
    wa_fieldcat-REF_FIELDNAME = 'SOLLWERT'.
    *    wa_fieldcat-REF_TABNAME =  'QAMV'.
    Also the space comes with the descrip[tion in the cell of excel.
    its like [space Target Value] and i dont need this Space.
    I have also used  wa_layout-colwidth_optimize = 'X'. but it doesnt wrk.
    Please suggest

  • Regd. error in sender agreement(when to check sender uses virtual receiver)

    hi Experts,
    I  am doing a file(  SFTP adapter ) to IDOC scenario.
    I got an error :
    Couldn't retrieve inbound binding for the given P/S/A values:FP=XYZ;TP=;FS=XXXX;TS=XXXX;AN=XXXXXX;ANS=;
    I checked my sender agreement  and saw some "*" symbol displayed at the end on SA name.
    To quick fix it and remove the star symbol'', i have just created SAgreement  again and this time i checked "Sender uses virtual receiver " and revomved thestar symbol '' and saved without mentioning anything there.
    When i tested it worked!  but i want to know what made it work, is it the right practice.
    i did a lilttle search on when to use  "sender uses virtual receiver" option.i came to an understanding that it is mainly used to handle multiple input file formats in a single configuration scenario.
    one more qns:
    What are marketplace adapters,is this error comes when we use adapters which are not inbuilt or bought from external vender.
    Regards,
    Anika
    Edited by: Anika Gulati on Jun 10, 2009 1:23 PM

    Here are few ways for it...
    SAP Process Integration: When to Use u201CSender Uses Virtual Receiveru201D in a Sender Agreement
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40cb67f7-6464-2b10-bcb9-8edb9a3569f9
    SAP Network Blog: Virtual Receiver - Why do you 'really' need it?
    /people/shabarish.vijayakumar/blog/2008/09/16/virtual-receiver--why-do-you-really-need-it
    -SM

  • CallOut when back button is used

    Hello,
    I have a problem, i open a callOut modal, until here everything is nice. But when the user type on back button (the back button of Android device) the application back's to other view (OK) but the callOut is on the screen.
    Any suggestions???

    I found a solution:
    1. Listener is not the component itself but systemManager.stage
    2. Listen event in the capture phase like systemManager.stage.addEventListener(KeyboardEvent.KEY_DOWN, backKeyHandler,  true)
    3. In the handler if(e.keyCode == Keyboard.BACK)e.preventDefault();
    Ty

  • I am getting error code 130:11 when I try to use Adobe Acrobat Pro X

    I get an error message when I try to start Accrobat Pro X.  I am using the cxloud subscription and am getting the error 130.11

    Hi Thomas,
    Please try the solution described here:
    http://helpx.adobe.com/acrobat/kb/acrobat-x-closes-launch-creative.html
    -Dave

  • Error message saying something is stopping updates whilst using 4.0v

    I keep getting error messages saying that my updates are being prevented because I have not got the latest Firefox browser. On checking it seems that I have got 4.0.1 of which I believe is the latest.
    Is 4.0.1 the latest Firefox browser and if so how do I stop these error messages from appearing.

    FaceTime uses Wi-Fi, so you have a weak Wi-Fi connection message. Your Wi-Fi needs to be upgraded.

  • I get a [newnullresponse] error on my iphone when I try to use the iTunes app any solutions?

    I can't connect to the iTunes Store. All I get is an error message that says "Your Request produced an error [newNullResponse]. I have logged out of iTunes and AppStore and signed back in and that did not help. Is there a solution to this?

    Hi,
    This message is due an error of connection.
    Try to change the usb or use your origin cable.
    Also, you can desactivate your firewall if you are using windows7...
    Have a nice day.

  • 0xe0ef000e error code continually recurs when I try to use recovery partition on cq61-415sa

    I am trying to use the recovery partition to recover the system on my daughter's laptop. I suspect a faulty motherboard. How can I check that?

    Are you running modified software on your phone?  This error seems to be common if the firmware has been modified and you're trying to restore the phone again. 

  • Error in output determination via collective billing VF06

    Hi,
    We are facing error in output determination when collective billing is done. Multiple Orders numbers are entered in VF06 and processed to generate billing documents. VF06, which is used for batch billing, creates a batch job which internally calls VF04 to do this. For some of the invoices generated from the documents, we do not have anything in the Output, i.e. when we open the invoices in VF03 and go to Goto->Header ->Output, nothing appears.
    Say out of the 5 documents, 2 should have output determined and 3 do not. Then we see that it appears for either of the 2 or does not appear at all.
    This does not happens when the documents are processed one by one in VF04. We have to do collective billing and generate one invoice for each document. The condition records are also maintained correctly.
    Regards,
    Tarun

    Go to some of the invoices on which no output has appeared in change mode and do a output determination analysis in Go to Header-Output and then Ouptut Determinatino analysis.
    Please do this analysis for atleast 10 problamatic invoices. This will give yousome insight into the problem

Maybe you are looking for

  • Oracle 9i and Crystal report 9

    Can somebody help me in this. Both the database using the same version of oracle (That is 9.2. Created package for referential cursor,Created global temporary table and created SP using the ref cursor and global temporary table in both database. Usin

  • How to configure HA system

    Hi Expert, how to configure HA system, i am having ecc6.0 ehp4 with maxdb7.8.in my existing landscape i am having DR setup. please guide me on that. Thanks. Naresh KK

  • "Pin tab" in Safari

    I'm just wondering if Apple developers know about the existence of other browsers, such as Google Chrome. No, seriously, is it that hard for a multi-billion dollar company to implement pinning tabs in Safari?

  • Order for free cd

    how do i order my free cd of oracle 8i/9i for solaris and Windows 2000 server?

  • Problems with JUnit

    Hello, I'm using KODO 2.4.3 and JUnit 3.8.1 and log4j 1.2.8. I have a problem when executing TestCases with JUnit! I think it have to do with log4j. The Error is: javax.jdo.JDOFatalUserException: Exception thrown by getPersistenceManagerFactory(Prope