Re: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 8/23/2011 4:02 PM, Konstantin Preißer wrote: > I see that you changed the flush() method in the decorator class to > pass flush() calls to the underlying stream as long as the stream > is set to be "active". > > The reason that I didn

RE: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-08-23 Thread Konstantin Preißer
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Tuesday, July 26, 2011 6:15 PM > To: Tomcat Users List > Subject: Re: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector > 1.2.32 > > Konstantin, > > Su

RE: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-08-03 Thread eurotrans-Verlag
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Tuesday, July 26, 2011 6:15 PM > To: Tomcat Users List > Subject: Re: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector > 1.2.32 > > You should also null-out t

Re: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-07-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 7/14/2011 8:41 AM, eurotrans-Verlag wrote: > An alternative that I could imagine, would be to create a class > (that has a boolean flag) which extends OutputStream, and decorates > another OutputStream that is given to the class in the

Re: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-07-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 7/13/2011 6:53 PM, eurotrans-Verlag wrote: > Thanks. In the meantime, I also came to that conclusion and replaced > all instances of > > ImageIO.write(img, "PNG", response.getOutputStream()) > > in my servlets/webapps with something l

RE: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-07-25 Thread eurotrans-Verlag
Hi all, > > An alternative that I could imagine, would be to create a class (that has a > boolean flag) which extends OutputStream, and decorates another OutputStream > that is given to the class in the constructor (that would be the > OutputStream from the servlet's response). This class would p

RE: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-07-14 Thread eurotrans-Verlag
Hi André, > -Original Message- > From: André Warnier [mailto:a...@ice-sa.com] > Sent: Thursday, July 14, 2011 1:00 PM > To: Tomcat Users List > Subject: Re: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector > 1.2.32 > > As a comment purely from a general p

Re: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-07-14 Thread André Warnier
eurotrans-Verlag wrote: Hi Rainer, -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Thursday, July 14, 2011 12:17 AM At least there was trouble about Java2D for several users in the past. One such issue: https://issues.apache.org/bugzilla/show_bug.cgi?id=4177

RE: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-07-13 Thread eurotrans-Verlag
Hi Rainer, > -Original Message- > From: Rainer Jung [mailto:rainer.j...@kippdata.de] > Sent: Thursday, July 14, 2011 12:17 AM > At least there was trouble about Java2D for several users in the past. > One such issue: > > https://issues.apache.org/bugzilla/show_bug.cgi?id=41772 > http://ne

Re: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-07-13 Thread Rainer Jung
On 13.07.2011 00:36, eurotrans-Verlag wrote: > Hmm, could it be that the Java ImageIO is re-using OutputStreams after > calling ImageIO.write(img, "PNG", out), so that I'm getting such a > IllegalStateException? (I think I read somewhere that Tomcat is recycling > OutputStream objects) > Maybe tha

RE: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-07-12 Thread eurotrans-Verlag
Hi André, > -Original Message- > From: André Warnier [mailto:a...@ice-sa.com] > Sent: Tuesday, July 12, 2011 9:25 PM > > Can you take a part of this setup out of the equation ? > > For example, at the moment you have > > browser <-> IIS <-> isapi_redir. <-> AJP Connector:8019 <-> > Tomc

Re: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-07-12 Thread André Warnier
eurotrans-Verlag wrote: However, when I switch to AJP BIO, it seems that the errors go away. Although I now switched to AJP-BIO (by deleting/renaming tcnative-1.dll), today morning I got an error again in the ISAPI log: [Tue Jul 12 06:04:49.812 2011] [4124:2444] [error] ajp_connection_tcp_get

RE: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-07-12 Thread eurotrans-Verlag
> > However, when I switch to AJP BIO, it seems that the errors go away. > Although I now switched to AJP-BIO (by deleting/renaming tcnative-1.dll), today morning I got an error again in the ISAPI log: [Tue Jul 12 06:04:49.812 2011] [4124:2444] [error] ajp_connection_tcp_get_message::jk_ajp_com