Skip to Content
author's profile photo Former Member
Former Member

WebIOException: The connection is closed

Dear people,

I developed a web dynpro application and it worked fine

with my user.

When I asked users to test the application - some of them had no problem operating it but there were a few users who got exception:

com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: The connection is closed.

I don't know why some users don't have any problem and others get an exception.

Mayby somebody here had the same problem ??

Thanks so much.

Ruthie.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2006 at 08:05 PM

    Hi,

    This exception means that client's HTTP connection is closed. For example the user has pressed the stop button, or refresh, or browses away too fast before the entire page is fully loaded, or just the browser has decided to close its socket for some reason. Then when your application tries to write something into client's response stream, you get this error.

    Of course it may show a problematic situation but should be tracked further in order to find it out.

    Regards,

    Maria

    java" target="_blank">www.sdn.sap.com/irj/sdn?rid=/library/uuid/da699d27-0b01-0010-99b0-f11458f31ef2">java EE 5 at SAP

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2006 at 06:09 AM

    Dear Maria,

    Thanks so much for your answer.

    The problem was caused because users didn't have the appropriate authorization - when I gave the users

    SAP_ALL - everything worked okey.So now I have to check which authorizations to give the users.

    I tried to award you points but I got an error message -

    Error:

    Rewarding the message failed.

    So - I will try again later.

    Thanks again.

    Ruthie.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      I am new to Netweaver.

      Kindly let me know how to go about authorizing using the web based NW administartion tool.

      I am not sure if the exception I am getting is the same as what is being discussed here. Please let me know how to resolve this:

      regards.

      #1.5 #0050568211B5001B0000002C0000253802BFE5BB03073453#1201720509023#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#callidussoftware.com/TrueComp#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#69792####ac19def0cf6711dc97340050568211b5#HTTP Worker [4]##0#0#Error#1#/System/Server/WebRequests#Plain###Processing HTTP request to servlet [ConfigServlet] finished with error.

      The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIllegalStateException: The stream has already been committed.0050568211B5001B0000002A0000253802BFE5BB03073453#

      #1.5 #0050568211B5001B0000002D0000253802BFE5BB03073453#1201720509023#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#callidussoftware.com/TrueComp#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#Guest#69792####ac19def0cf6711dc97340050568211b5#HTTP Worker [4]##0#0#Warning##Plain###Cannot send an HTTP error response [500 "Application error occurred during the request procession." (details: com.sap.engine.services.servlets_jsp.server.exceptions.WebIllegalStateException: The stream has already been committed.

      at com.sap.engine.services.servlets_jsp.server.runtime.client.HttpServletResponseBase.locked(HttpServletResponseBase.java:1000)

      at com.sap.engine.services.servlets_jsp.server.runtime.client.HttpServletResponseFacade.setContentLength(HttpServletResponseFacade.java:663)

      at javax.servlet.http.NoBodyResponse.setContentLength(HttpServlet.java:849)

      at javax.servlet.http.HttpServlet.doHead(HttpServlet.java:282)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:724)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

      at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:59)

      at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:31)

      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)

      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:288)

      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)

      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)

      at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)

      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

      at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)

      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

      at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)

      at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

      at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

      at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

      at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

      at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

      at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

      at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

      at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:308)

      at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:221)

      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:137)

      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:229)

      )]. The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: The stream is closed.

      at com.sap.engine.services.servlets_jsp.server.runtime.client.ServletOutputStreamImpl.ensureOpen(ServletOutputStreamImpl.java:344)

      at com.sap.engine.services.servlets_jsp.server.runtime.client.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:142)

      at javax.servlet.ServletOutputStream.print(ServletOutputStream.java:101)

      at com.sap.engine.services.servlets_jsp.server.runtime.client.HttpServletResponseFacade.sendBodyText(HttpServletResponseFacade.java:437)

      at com.sap.engine.services.servlets_jsp.server.runtime.client.HttpServletResponseFacade.writeError(HttpServletResponseFacade.java:428)

      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.sendError(HttpHandlerImpl.java:1081)

      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.processError(HttpHandlerImpl.java:988)

      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:443)

      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:288)

      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)

      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)

      at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)

      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

      at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)

      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

      at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)

      at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

      at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

      at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

      at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

      at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

      at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

      at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

      at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:308)

      at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:221)

      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:137)

      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:229)

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.