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

java.net.ProtocolException: Didn't meet stated Content-Length

86 views
Skip to first unread message

Peter Vennel

unread,
Jun 28, 2004, 10:36:15 AM6/28/04
to

Hi,

I am getting this error when starting the admin console. Any ideas what is causing
this??

I had just configured my jdbc connection pool and datasource. I did not get any
problem and I verified the connection using utils.dbping utility. It gave me success.

Please advise.

Thanks

Peter Vennel.


*** Start of Logs *******
--------------------------

E:\BEA\user_projects\ImagingBuildDomain>"E:\BEA\jdk131_10\bin\java" -hotspot -Xms32m
-Xmx200m -Dweblogic.security.SSL.trustedCAKeyStore="E:\BEA\weblogic700\server\lib\cacerts"
-Dweblogic.Name=ImagingBuildServer -Dbea.home="E:\BEA" -Dweblogic.management.username=admin
-Dweblogic.management.password=abcd -Dweblogic
.ProductionModeEnabled= -Djava.security.policy="E:\BEA\weblogic700\server\lib\weblogic.policy"
weblogic.Server
Starting WebLogic Server...
<Jun 28, 2004 10:29:11 AM EDT> <Notice> <Management> <140005> <Loading configuration
E:\BEA\user_projects\ImagingBuildDomain\.\config.xml>
<Jun 28, 2004 10:29:21 AM EDT> <Notice> <Security> <090082> <Security initializing
using realm myrealm.>
<Jun 28, 2004 10:29:22 AM EDT> <Notice> <WebLogicServer> <000327> <Starting WebLogic
Admin Server "ImagingBuildServer" for domain "ImagingBuildDomain">
<Jun 28, 2004 10:30:35 AM EDT> <Notice> <Management> <141052> <Application Poller
started for development server.>
<Jun 28, 2004 10:30:38 AM EDT> <Notice> <Management> <141030> <Starting discovery
of Managed Server... This feature is on by default, you may turn this off by passing
-Dweblogic.management.discover=false>
<Jun 28, 2004 10:30:38 AM EDT> <Notice> <WebLogicServer> <000331> <Started WebLogic
Admin Server "ImagingBuildServer" for domain "ImagingBuildDomain" running in Development
Mode>
<Jun 28, 2004 10:30:38 AM EDT> <Notice> <WebLogicServer> <000354> <Thread "SSLListenThread.Default"
listening on port 7002>
<Jun 28, 2004 10:30:39 AM EDT> <Notice> <WebLogicServer> <000354> <Thread "ListenThread.Default"
listening on port 7001>
<Jun 28, 2004 10:30:39 AM EDT> <Notice> <WebLogicServer> <000365> <Server statechanged
to RUNNING>
<Jun 28, 2004 10:30:39 AM EDT> <Notice> <WebLogicServer> <000360> <Server started
in RUNNING mode>
<Jun 28, 2004 10:31:08 AM EDT> <Error> <HTTP> <101083> <Connection failure java.net.ProtocolException:
Didn't meet stated Content-Length, wrote: '12216' bytes instead of stated: '34079'
bytes.
at weblogic.servlet.internal.ServletOutputStreamImpl.ensureContentLength(ServletOutputStreamImpl.java:469)
at weblogic.servlet.internal.ServletResponseImpl.ensureContentLength(ServletResponseImpl.java:1186)
at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1198)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2560)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:251)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:219)
>
<Jun 28, 2004 10:31:08 AM EDT> <Error> <HTTP> <101104> <Servlet execution in servlet
context "ServletContext(id=6480502,name=console,context-path=/console)" failed,
java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '12216'
bytes instead of stated: '34079' bytes.
java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '12216'
bytes instead of stated: '34079' bytes.
at weblogic.servlet.internal.ServletOutputStreamImpl.ensureContentLength
(ServletOutputStreamImpl.java:469)
at weblogic.servlet.internal.ServletResponseImpl.ensureContentLength(ServletResponseImpl.java:1186)
at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1198)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2560)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:251)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:219)

Peter Vennel

unread,
Jun 29, 2004, 10:54:55 AM6/29/04
to

I reinstalled WLS 7.0. I still get the same error.

Everything is fine when I launch Weblogic server. The problem in when I log in
to the Admin Console (browser), I noticed that while refreshing the left frame
(containing the trees), It gives me this errors mentioned below...

Please help.

p.s. I am not getting this error on my build PC. So I gue, this must be something
to do with the Test PC, when I am getting this error.

Peter Vennel

unread,
Jun 29, 2004, 12:34:17 PM6/29/04
to

Now when I tried it for one last time, for some strange reason, I did not get this
error in server log. Looks like the problme has been resolved by itself.

Thanks.

Peter.

0 new messages