Wednesday, March 1, 2017

java.net.ProtocolException: EOF after reading only BLA of MUMBLE promised bytes

java.net.ProtocolException: EOF after reading only: '1343374' of: '17674381' promised bytes, 
               out of which at least: '0' were already buffered
        at weblogic.servlet.internal.PostInputStream.complain(PostInputStream.java:97)
        at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:198)
        at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:228)
        at java.io.FilterInputStream.read(FilterInputStream.java:116)
        at org.apache.commons.fileupload.util.LimitedInputStream.read(LimitedInputStream.java:134)
        at org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStream.java:999)
        at org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:903)
        at java.io.FilterInputStream.read(FilterInputStream.java:116)
        at org.apache.commons.fileupload.util.LimitedInputStream.read(LimitedInputStream.java:134)
        at java.io.FilterInputStream.read(FilterInputStream.java:90)
        at org.apache.commons.fileupload.util.Streams.copy(Streams.java:100)
        at org.apache.commons.fileupload.util.Streams.copy(Streams.java:70)
        at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:347)



Several things can be attempted:
1) increase max post size and post timeout
2) restart server
3) change browser

https://blogs.oracle.com/vijaya/entry/java_net_protocolexception_eof_after

https://docs.oracle.com/cd/E13222_01/wls/docs81/ConsoleHelp/domain_server_protocols_http.html



No comments: