Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Java.net.ProtocolException

13 views
Skip to first unread message

tony tao

unread,
May 4, 2000, 3:00:00 AM5/4/00
to
Hi, All:

I am trying to run a servlet under WLS510, got the following error:

Thu May 04 10:50:24 EDT 2000:<E> <HTTP> Servlet request terminated with
IOExcept
ion:
java.net.ProtocolException: Didn't meet stated Content-Length, wrote:
'30' bytes
instead of stated: '31' bytes.
at
weblogic.servlet.internal.ServletOutputStreamImpl.finish(ServletOutpu
tStreamImpl.java:372)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:249)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:361)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
Compiled Code)

thanks
ttao


Sean Scott

unread,
May 4, 2000, 3:00:00 AM5/4/00
to
I have the same problem and WebLogic tech support was able to duplicate the
problem and are currently working with the developers to resolve.


"tony tao" <qi...@prodigy.net> wrote in message
news:3911902A...@prodigy.net...

Goran Knutas

unread,
Jun 9, 2000, 3:00:00 AM6/9/00
to
I get a similar error message when i try to include .css-files or .js-files
in the html-page;

<link rel="stylesheet" type="text/css" href="gbs.css">
<script language="javascript" src="functions.js"></script>

though the file is included and it works....it is rather anoing with the
error message....

I have deployed a web-application as a directory structure on WLS 5.1 (no
service pack)

just the WLS being to talkative ??

/goran

err. message:

fr jun 09 16:31:37 GMT+02:00 2000:<E> <ServletContext-ContextRootGBS>
Servlet failed with
Exception
java.net.SocketException: socket write error (code=10053)
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java,
Compiled Code)
at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java,
Compiled Code
)
at
weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamI
mpl
.java, Compiled Code)
at
weblogic.servlet.internal.ServletOutputStreamImpl.writeStream(ServletOutputS
tre
amImpl.java, Compiled Code)
at weblogic.servlet.FileServlet.sendFile(FileServlet.java:199)
at weblogic.servlet.FileServlet.service(FileServlet.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
, C
ompiled Code)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.j
ava:742)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.j
ava:686)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Man
ager.java:247)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)


at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)

fr jun 09 16:31:37 GMT+02:00 2000:<E> <HTTP> Servlet request terminated with
IOException:

java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '4096'
bytes instead
of stated: '5277' bytes.
at
weblogic.servlet.internal.ServletOutputStreamImpl.finish(ServletOutputStream
Imp
l.java:372)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Man
ager.java:249)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)


at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)


Kuppuswamy Seshadhri <ku...@hotmail.com> skrev i
diskussionsgruppsmeddelandet:8f2vid$q66$1...@newsgroups.bea.com...
> Has this problem been resolved, for I am facing the same..
>
> Thanks in advance for the resolution
>
> Kuppu
>
>
> "Sean Scott" <sco...@zilliant.com> wrote in message
> news:8esieq$edm$1...@bayview.weblogic.com...

0 new messages