You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by Murray Altheim <mu...@altheim.com> on 2008/04/15 21:42:42 UTC
IllegalStateException with rss.jsp?
Hi,
Anyone seen this before, or is this an artifact of my system using
Jetty? If it's not an artifact I can file a bug. I seem to remember
this from a few months ago.
[java] 2008-04-15 22:28:51.848::WARN: /wiki/rss.jsp
[java] java.lang.IllegalStateException: STREAM
[java] at org.mortbay.jetty.Response.getWriter(Response.java:583)
[java] at com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:111)
[java] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
[java] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
[java] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
[java] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
[java] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
[java] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
[java] at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
[java] at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
[java] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
[java] at org.mortbay.jetty.Server.handle(Server.java:313)
[java] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
[java] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
[java] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
[java] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
[java] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
[java] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:227)
[java] at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
...........................................................................
Murray Altheim <murray07 at altheim.com> === = =
http://www.altheim.com/murray/ = = ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk = = = =
Boundless wind and moon - the eye within eyes,
Inexhaustible heaven and earth - the light beyond light,
The willow dark, the flower bright - ten thousand houses,
Knock at any door - there's one who will respond.
-- The Blue Cliff Record
Re: IllegalStateException with rss.jsp?
Posted by Murray Altheim <mu...@altheim.com>.
Janne Jalkanen wrote:
>
> Could it be this?
>
> https://issues.apache.org/jira/browse/JSPWIKI-126
I don't think so. JSPWIKI-126 is due to calling getWriter() after
getOutputStream() has already been called. This seems to be a direct
result of WikiJSPFilter calling getWriter() and has something to do
with either RSS and/or Jetty. I haven't seen this with Tomcat yet.
> /Janne
>
> On 15 Apr 2008, at 22:42, Murray Altheim wrote:
>> Hi,
>>
>> Anyone seen this before, or is this an artifact of my system using
>> Jetty? If it's not an artifact I can file a bug. I seem to remember
>> this from a few months ago.
>>
>> [java] 2008-04-15 22:28:51.848::WARN: /wiki/rss.jsp
>> [java] java.lang.IllegalStateException: STREAM
>> [java] at
>> org.mortbay.jetty.Response.getWriter(Response.java:583)
>> [java] at
>> com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:111)
>> [java] at
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>>
>> [java] at
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
>> [java] at
>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>>
>> [java] at
>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>> [java] at
>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>> [java] at
>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>> [java] at
>> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
>>
>> [java] at
>> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>>
>> [java] at
>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>> [java] at org.mortbay.jetty.Server.handle(Server.java:313)
>> [java] at
>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
>> [java] at
>> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
>>
>> [java] at
>> org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
>> [java] at
>> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>> [java] at
>> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
>> [java] at
>> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:227)
>>
>> [java] at
>> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
>>
>>
>> ...........................................................................
>>
>> Murray Altheim <murray07 at altheim.com>
>> === = =
>> http://www.altheim.com/murray/ =
>> = ===
>> SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk =
>> = = =
>>
>> Boundless wind and moon - the eye within eyes,
>> Inexhaustible heaven and earth - the light beyond light,
>> The willow dark, the flower bright - ten thousand houses,
>> Knock at any door - there's one who will respond.
>> -- The Blue Cliff Record
>
>
--
...........................................................................
Murray Altheim <murray07 at altheim.com> === = =
http://www.altheim.com/murray/ = = ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk = = = =
Boundless wind and moon - the eye within eyes,
Inexhaustible heaven and earth - the light beyond light,
The willow dark, the flower bright - ten thousand houses,
Knock at any door - there's one who will respond.
-- The Blue Cliff Record
Re: IllegalStateException with rss.jsp?
Posted by Janne Jalkanen <Ja...@ecyrd.com>.
Could it be this?
https://issues.apache.org/jira/browse/JSPWIKI-126
/Janne
On 15 Apr 2008, at 22:42, Murray Altheim wrote:
> Hi,
>
> Anyone seen this before, or is this an artifact of my system using
> Jetty? If it's not an artifact I can file a bug. I seem to remember
> this from a few months ago.
>
> [java] 2008-04-15 22:28:51.848::WARN: /wiki/rss.jsp
> [java] java.lang.IllegalStateException: STREAM
> [java] at org.mortbay.jetty.Response.getWriter
> (Response.java:583)
> [java] at com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter
> (WikiJSPFilter.java:111)
> [java] at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1084)
> [java] at org.mortbay.jetty.servlet.ServletHandler.handle
> (ServletHandler.java:360)
> [java] at org.mortbay.jetty.security.SecurityHandler.handle
> (SecurityHandler.java:216)
> [java] at org.mortbay.jetty.servlet.SessionHandler.handle
> (SessionHandler.java:181)
> [java] at org.mortbay.jetty.handler.ContextHandler.handle
> (ContextHandler.java:712)
> [java] at org.mortbay.jetty.webapp.WebAppContext.handle
> (WebAppContext.java:405)
> [java] at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle
> (ContextHandlerCollection.java:211)
> [java] at
> org.mortbay.jetty.handler.HandlerCollection.handle
> (HandlerCollection.java:114)
> [java] at org.mortbay.jetty.handler.HandlerWrapper.handle
> (HandlerWrapper.java:139)
> [java] at org.mortbay.jetty.Server.handle(Server.java:313)
> [java] at org.mortbay.jetty.HttpConnection.handleRequest
> (HttpConnection.java:506)
> [java] at org.mortbay.jetty.HttpConnection
> $RequestHandler.headerComplete(HttpConnection.java:830)
> [java] at org.mortbay.jetty.HttpParser.parseNext
> (HttpParser.java:514)
> [java] at org.mortbay.jetty.HttpParser.parseAvailable
> (HttpParser.java:211)
> [java] at org.mortbay.jetty.HttpConnection.handle
> (HttpConnection.java:381)
> [java] at org.mortbay.jetty.bio.SocketConnector
> $Connection.run(SocketConnector.java:227)
> [java] at org.mortbay.thread.BoundedThreadPool
> $PoolThread.run(BoundedThreadPool.java:442)
>
> ......................................................................
> .....
> Murray Altheim <murray07 at altheim.com>
> === = =
> http://www.altheim.com/murray/
> = = ===
> SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk
> = = = =
>
> Boundless wind and moon - the eye within eyes,
> Inexhaustible heaven and earth - the light beyond light,
> The willow dark, the flower bright - ten thousand houses,
> Knock at any door - there's one who will respond.
> -- The Blue Cliff Record