You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Carolyn Vo <cv...@acornsys.com> on 2003/04/22 19:05:46 UTC

problem with IllegalStateExceptions being thrown by Tomcat and bogging the server...

Hi there,
 
We have been using Tomcat 3.2 and we see this strange problem where if
you click on some form object in the JSP while the page is not being
done loading, then you get flooded in the server console with
IllegalStateExceptions being thrown til the server is bogged and
renderered useless. 
 
2003-04-22 11:58:41 - Ctx( /acorneps ): IOException in: R( /acorneps +
/acornpo/process + null) Connection reset by peer: socket write error
2003-04-22 11:58:41 - Ctx( /acorneps ): IllegalStateException in: R(
/acorneps + /acornpo/process + null) Current state = FLUSHED, new state
= CODING
2003-04-22 11:58:41 - Ctx( /acorneps ): IllegalStateException in: R(
/acorneps + /acornpo/process + null) Current state = FLUSHED, new state
= CODING
2003-04-22 11:58:41 - Ctx( /acorneps ): IllegalStateException in: R(
/acorneps + /acornpo/process + null) Current state = FLUSHED, new state
= CODING
2003-04-22 11:58:41 - Ctx( /acorneps ): IllegalStateException in: R(
/acorneps + /acornpo/process + null) Current state = FLUSHED, new state
= CODING
2003-04-22 11:58:41 - Ctx( /acorneps ): IllegalStateException in: R(
/acorneps + /acornpo/process + null) Current state = FLUSHED, new state
= CODING
2003-04-22 11:58:41 - Ctx( /acorneps ): IllegalStateException in: R(
/acorneps + /acornpo/process + null) Current state = FLUSHED, new state
= CODING
2003-04-22 11:58:41 - Ctx( /acorneps ): IllegalStateException in: R(
/acorneps + /acornpo/process + null) Current state = FLUSHED, new state
= CODING
2003-04-22 11:58:41 - Ctx( /acorneps ): IllegalStateException in: R(
/acorneps + /acornpo/process + null) Current state = FLUSHED, new state
= CODING
2003-04-22 11:58:41 - Ctx( /acorneps ): IllegalStateException in: R(
/acorneps + /acornpo/process + null) Current state = FLUSHED, new state
= CODING
 
We are using a JSP that uses inline frames, so what happens is that when
the page is still loading all the content into those inline frames and
we click on a checkbox that is in the main JSP, this makes a callback to
the controller but since the other pages are still loading, there must
be a clobbering of communication somewhere and the sockets get messed
up.  How do we fix this so that our server recovers much more
intelligently than having these exceptions being thrown til they bog
down our server?  Any ideas?
 
Thanks,
Carolyn
 
Carolyn Vo, Product Developer
Acorn Systems, Inc.
3721 Executive Center Dr, Ste 265
Austin, TX  78731
(work) 418-9400 ext 114
(fax) 418-9410
cvo@acornsys.com
 

Re: problem with IllegalStateExceptions being thrown by Tomcat and bogging the server...

Posted by Bill Barker <wb...@wilshire.com>.
You've hit one of the classic TC 3.2 bugs.  However, at the moment there are
currently no developers supporting TC 3.2.  This means that your options
are:
1) Upgrade to either TC 3.3.1 or TC 4.1.24 (both of which are currently
supported).
2) Decide that you want to take over the TC 3.2.x project, and start posting
enough patches to tomcat-dev that we can't ignore you anymore :).

"Carolyn Vo" <cv...@acornsys.com> wrote in message
news:000601c308f1$6addd7d0$2102a8c0@houston.acornsys.com...
> Hi there,
>
> We have been using Tomcat 3.2 and we see this strange problem where if
> you click on some form object in the JSP while the page is not being
> done loading, then you get flooded in the server console with
> IllegalStateExceptions being thrown til the server is bogged and
> renderered useless.
>
> 2003-04-22 11:58:41 - Ctx( /acorneps ): IOException in: R( /acorneps +
> /acornpo/process + null) Connection reset by peer: socket write error
> 2003-04-22 11:58:41 - Ctx( /acorneps ): IllegalStateException in: R(
> /acorneps + /acornpo/process + null) Current state = FLUSHED, new state
> = CODING
> 2003-04-22 11:58:41 - Ctx( /acorneps ): IllegalStateException in: R(
> /acorneps + /acornpo/process + null) Current state = FLUSHED, new state
> = CODING
> 2003-04-22 11:58:41 - Ctx( /acorneps ): IllegalStateException in: R(
> /acorneps + /acornpo/process + null) Current state = FLUSHED, new state
> = CODING
> 2003-04-22 11:58:41 - Ctx( /acorneps ): IllegalStateException in: R(
> /acorneps + /acornpo/process + null) Current state = FLUSHED, new state
> = CODING
> 2003-04-22 11:58:41 - Ctx( /acorneps ): IllegalStateException in: R(
> /acorneps + /acornpo/process + null) Current state = FLUSHED, new state
> = CODING
> 2003-04-22 11:58:41 - Ctx( /acorneps ): IllegalStateException in: R(
> /acorneps + /acornpo/process + null) Current state = FLUSHED, new state
> = CODING
> 2003-04-22 11:58:41 - Ctx( /acorneps ): IllegalStateException in: R(
> /acorneps + /acornpo/process + null) Current state = FLUSHED, new state
> = CODING
> 2003-04-22 11:58:41 - Ctx( /acorneps ): IllegalStateException in: R(
> /acorneps + /acornpo/process + null) Current state = FLUSHED, new state
> = CODING
> 2003-04-22 11:58:41 - Ctx( /acorneps ): IllegalStateException in: R(
> /acorneps + /acornpo/process + null) Current state = FLUSHED, new state
> = CODING
>
> We are using a JSP that uses inline frames, so what happens is that when
> the page is still loading all the content into those inline frames and
> we click on a checkbox that is in the main JSP, this makes a callback to
> the controller but since the other pages are still loading, there must
> be a clobbering of communication somewhere and the sockets get messed
> up.  How do we fix this so that our server recovers much more
> intelligently than having these exceptions being thrown til they bog
> down our server?  Any ideas?
>
> Thanks,
> Carolyn
>
> Carolyn Vo, Product Developer
> Acorn Systems, Inc.
> 3721 Executive Center Dr, Ste 265
> Austin, TX  78731
> (work) 418-9400 ext 114
> (fax) 418-9410
> cvo@acornsys.com
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org