-
1. Re: IllegalStateException
thorinside Mar 26, 2002 1:21 PM (in response to erikture)This seems to be a recent thing. I was not getting
the IllegalStateExceptions on a JBoss 3.0 build
from March 20th, and only noticed them today (the 25th).
The problem seems to be that the getOutputStream
method in the ServletResponseWrapperInclude
simply throws an exception now. There is a getWriter()
method, and perhaps if you use that instead, it might
work without the exception. Is getOutputStream
deprecated or something?
-Neal -
2. Re: IllegalStateException
thorinside Mar 26, 2002 1:52 PM (in response to erikture)I found the line that emits the warning, and I think it's probably going to be modified by the Jetty folks, and whenever the latest Jetty gets refreshed in the JBoss CVS this warning
will probably go away. There's a line in org.mortbay.jetty.servlet.Dispatcher that says Code.warn(e) that can be commented out to stop the exceptions. It seems there's code in there to handle the exception by creating a WriterOutputStream...
hope this helps... Let's hope this is very temporary.
-Neal -
3. Re: IllegalStateException
jules_gosnell Apr 2, 2002 11:22 AM (in response to erikture)Post this to jetty-discuss@yahoogroups.com - they are very helpful.
Jules