cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11405] - LoginAction throws an IllegalStateException
Date Mon, 12 Aug 2002 07:37:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11405>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11405

LoginAction throws an IllegalStateException





------- Additional Comments From cziegeler@apache.org  2002-08-12 07:37 -------
I don't have enough time to test it myself, but I think this bug
is related to some recent changes to the flushing of the output
stream. The authentication framework uses (in the demo) the
cocoon: protocol, this creates an internal pipeline which is
built up and processed. When the serializer of this internal
pipeline is recycled it flushes the output stream (which is
wrong as this should be the concern of the environment). So 
perhaps removing these lines from the recycle method of the
AbstractTextSerializer might help:
        if (this.output != null) {
            try {
                this.output.flush();
            } catch (IOException ignored) {
            }
        }
Perhaps there are other places where this occurs

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message