WebSphere HTTP Server - Re: IllegalStateException in WSAD..Please help me to solve this

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere HTTP Server > May 2004 > Re: IllegalStateException in WSAD..Please help me to solve this





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: IllegalStateException in WSAD..Please help me to solve this
nharrison

2004-05-11, 5:33 pm

I get the same error whilst starting a Portal Server Test environment (V5.0.2.1) in debug mode.

> [4/29/04 9:07:32:437 CDT] 7d697d69 TraceNLS u No
> message text associated with key
> HttpConnection.run:.java.lang.IllegalStateException:.0
> response.bytes.written,.but.Content-Length.header.equa
> s.1005 in bundle
> com.ibm.ejs.resources.seriousMessages
> [4/29/04 9:07:32:437 CDT] 7d697d69 HttpConnectio E
> HttpConnection.run: java.lang.IllegalStateException:
> 0 response bytes written, but Content-Length header
> equals 1005
> [4/29/04 9:07:32:437 CDT] 7d697d69 SystemOut O
> java.lang.IllegalStateException: 0 response bytes
> written, but Content-Length header equals 1005
> [4/29/04 9:07:32:437 CDT] 7d697d69 SystemOut O
> at java.lang.Throwable.<init>(Throwable.java)
> [4/29/04 9:07:32:437 CDT] 7d697d69 SystemOut O
> at java.lang.Throwable.<init>(Throwable.java)
> [4/29/04 9:07:32:437 CDT] 7d697d69 SystemOut O
> at
> com.ibm.ws.http.HttpResponse.finish(HttpResponse.java
> 99)
> [4/29/04 9:07:32:437 CDT] 7d697d69 SystemOut O
> at
> com.ibm.ws.http.HttpConnection.readAndHandleRequest(H
> tpConnection.java:681)
> [4/29/04 9:07:32:437 CDT] 7d697d69 SystemOut O
> at
> com.ibm.ws.http.HttpConnection.run(HttpConnection.jav
> :431)
> [4/29/04 9:07:32:437 CDT] 7d697d69 SystemOut O
> at
> com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java
> 593)



Todd Kaplinger

2004-05-11, 5:33 pm

Are you explicitly setting the content length? There is probably some
exception occuring in your code that is preventing output from being
written to the client after the content length has been set.

nharrison wrote:
> I get the same error whilst starting a Portal Server Test environment (V5.0.2.1) in debug mode.
>
>
>
>
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com