B4J Question Two exceptions of my b4j-server

Discussion in 'B4J Questions' started by schimanski, Jul 10, 2015.

  1. schimanski

    schimanski Well-Known Member Licensed User

    Sometimes, i get the following two exceptions of my b4j-server, based on the b4x-Push- and file-server. Did somebody knows the reason for that? Is it possible, that these are mistakes in the url?

    Code:
    2015-07-10 09:59:56.432:WARN:oejs.HttpChannel:qtp18895094-26: /Kontakte/Stammi/VID-20150709-WA0000.Mirko.mp4?passwort=12345
    java.io.IOException: committed
        at org.eclipse.jetty.server.HttpOutput.sendContent(HttpOutput.java:
    609)
        at org.eclipse.jetty.servlet.DefaultServlet.sendData(DefaultServlet.java:
    874)
        at org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:
    499)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:
    687)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:
    790)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:
    738)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:
    551)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:
    219)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:
    1111)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:
    478)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:
    183)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:
    1045)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:
    141)
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:
    109)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:
    97)
        at org.eclipse.jetty.server.Server.handleAsync(
    Server.java:519)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:
    316)
        at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:
    236)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:
    607)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$
    1.run(QueuedThreadPool.java:536)
        at java.lang.Thread.run(
    Thread.java:745)
    2015-07-10 09:59:56.435:WARN:oejut.QueuedThreadPool:qtp18895094-26:
    java.lang.IllegalStateException: committed
        at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:
    723)
        at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:
    732)
        at org.eclipse.jetty.server.HttpChannel.handleException(HttpChannel.java:
    434)
        at org.eclipse.jetty.server.HttpConnection$HttpChannelOverHttp.handleException(HttpConnection.java:
    466)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:
    364)
        at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:
    236)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:
    607)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$
    1.run(QueuedThreadPool.java:536)
        at java.lang.Thread.run(
    Thread.java:745)
    Code:
    2015-07-10 10:02:02.687:WARN:oejs.DefaultServlet:qtp18895094-19-selector-ServerConnectorManager@b624b3/0:
    java.lang.IllegalStateException: s=COMPLETING i=
    false a=null
        at org.eclipse.jetty.server.HttpChannelState.complete(HttpChannelState.java:
    430)
        at org.eclipse.jetty.server.AsyncContextState.complete(AsyncContextState.java:
    92)
        at org.eclipse.jetty.servlet.DefaultServlet$
    1.succeeded(DefaultServlet.java:879)
        at org.eclipse.jetty.util.IteratingNestedCallback.completed(IteratingNestedCallback.java:
    53)
        at org.eclipse.jetty.util.IteratingCallback.processIterations(IteratingCallback.java:
    200)
        at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:
    126)
        at org.eclipse.jetty.util.IteratingCallback.succeeded(IteratingCallback.java:
    242)
        at org.eclipse.jetty.server.HttpConnection$ContentCallback.completed(HttpConnection.java:
    701)
        at org.eclipse.jetty.util.IteratingCallback.processIterations(IteratingCallback.java:
    200)
        at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:
    126)
        at org.eclipse.jetty.util.IteratingCallback.succeeded(IteratingCallback.java:
    242)
        at org.eclipse.jetty.io.WriteFlusher$PendingState.complete(WriteFlusher.java:
    265)
        at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:
    420)
        at org.eclipse.jetty.io.SelectChannelEndPoint.onSelected(SelectChannelEndPoint.java:
    111)
        at org.eclipse.jetty.io.SelectorManager$ManagedSelector.processKey(SelectorManager.java:
    572)
        at org.eclipse.jetty.io.SelectorManager$ManagedSelector.select(SelectorManager.java:
    543)
        at org.eclipse.jetty.io.SelectorManager$ManagedSelector.run(SelectorManager.java:
    485)
        at org.eclipse.jetty.util.thread.NonBlockingThread.run(NonBlockingThread.java:
    52)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:
    607)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$
    1.run(QueuedThreadPool.java:536)
        at java.lang.Thread.run(
    Thread.java:745)
    2015-07-10 10:02:02.687:WARN:oejs.DefaultServlet:qtp18895094-24:
    java.lang.IllegalStateException: s=COMPLETING i=
    false a=null
        at org.eclipse.jetty.server.HttpChannelState.complete(HttpChannelState.java:
    430)
        at org.eclipse.jetty.server.AsyncContextState.complete(AsyncContextState.java:
    92)
        at org.eclipse.jetty.servlet.DefaultServlet$
    1.failed(DefaultServlet.java:889)
        at org.eclipse.jetty.util.IteratingNestedCallback.failed(IteratingNestedCallback.java:
    60)
        at org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB.failed(HttpOutput.java:
    1059)
        at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:
    145)
        at org.eclipse.jetty.util.IteratingCallback.succeeded(IteratingCallback.java:
    242)
        at org.eclipse.jetty.server.HttpConnection$ContentCallback.completed(HttpConnection.java:
    701)
        at org.eclipse.jetty.util.IteratingCallback.processIterations(IteratingCallback.java:
    200)
        at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:
    126)
        at org.eclipse.jetty.util.IteratingCallback.succeeded(IteratingCallback.java:
    242)
        at org.eclipse.jetty.io.WriteFlusher$PendingState.complete(WriteFlusher.java:
    265)
        at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:
    420)
        at org.eclipse.jetty.io.SelectChannelEndPoint.onSelected(SelectChannelEndPoint.java:
    111)
        at org.eclipse.jetty.io.SelectorManager$ManagedSelector.processKey(SelectorManager.java:
    572)
        at org.eclipse.jetty.io.SelectorManager$ManagedSelector.select(SelectorManager.java:
    543)
        at org.eclipse.jetty.io.SelectorManager$ManagedSelector.run(SelectorManager.java:
    485)
        at org.eclipse.jetty.util.thread.NonBlockingThread.run(NonBlockingThread.java:
    52)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:
    607)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$
    1.run(QueuedThreadPool.java:536)
        at java.lang.Thread.run(
    Thread.java:745)
    2015-07-10 10:02:02.687:WARN:oejut.QueuedThreadPool:qtp18895094-24:
    java.lang.IllegalStateException: s=COMPLETING i=
    false a=null
        at org.eclipse.jetty.server.HttpChannelState.complete(HttpChannelState.java:
    430)
        at org.eclipse.jetty.server.AsyncContextState.complete(AsyncContextState.java:
    92)
        at org.eclipse.jetty.servlet.DefaultServlet$
    1.failed(DefaultServlet.java:889)
        at org.eclipse.jetty.util.IteratingNestedCallback.failed(IteratingNestedCallback.java:
    60)
        at org.eclipse.jetty.server.HttpOutput$ReadableByteChannelWritingCB.failed(HttpOutput.java:
    1059)
        at org.eclipse.jetty.io.AbstractConnection$
    2.run(AbstractConnection.java:103)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:
    607)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$
    1.run(QueuedThreadPool.java:536)
        at java.lang.Thread.run(
    Thread.java:745)
    Thanks for help...
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Such errors can happen if the client closed the connection before reading the response.
     
  3. schimanski

    schimanski Well-Known Member Licensed User

    Ok. But how is it possible. When I kill the app with the taskmanager?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Yes. Or if there was a communication problem.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice