Rachel, > -----Original Message----- > From: Alderman, Rachel [mailto:[EMAIL PROTECTED]] > Sent: 26 March 2002 14:01 > To: 'Cactus Users List' > Subject: RE: cactus 1.3 > > Just to verify I understand this issue correctly, let me restate it. > With jdk version 1.3.0 or lower, there is an issue with the way > getInputStream handles errors. To get around this with cactus 1.2, I > added > a '/' to the end of the cactus.servletRedirectorURL and to the > servlet-mapping <url-pattern>/ServletRedirector/</url-pattern>. >
Well, you only have the problem if you wish to test for returned error codes like 40x. But for all other tests you don't need the trailing "/". BTW, it seems a trailing "/" confuses a lot of containers so I would suggest you remove it (It has been dropped in Cactus 1.3 for that reason). > With jdk version 1.3.1 or higher, the above issue is fixed. No, I don't think so it really is (maybe it is I don't remember). > So, if the > '/' > remains, I start getting the getInputStream exception again. > > So, I either have to use the combination of jdk1.3.0 and cactus 1.2, or > the > combination of jdk1.3.1 (or higher) and cactus 1.3. Is that right? > Bottom line : don't put a trailing "/" in cactus.properties nor in your web.xml mappings. If you're using Cactus 1.2, one of the samples will fail but that's normal. This test has been removed in Cactus 1.3 until we find a better solution (which involves using HttpClient instead of HttpURLConnection but we haven't done it yet). > Thanks. > Rachel > Sorry for the confusion. Thanks -Vincent > -----Original Message----- > From: Vincent Massol [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 26, 2002 3:16 AM > To: 'Cactus Users List' > Subject: RE: cactus 1.3 > > > Hi Rachel, > > Cactus 1.3 is only currently available through CVS or nightly builds (in > the Cactus download area). We hope to release it soon (although I've > been saying this for a while ... We still need to correct a few issues > prior to releasing it). > > Thanks > -Vincent > > > > -----Original Message----- > > From: Alderman, Rachel [mailto:[EMAIL PROTECTED]] > > Sent: 25 March 2002 18:26 > > To: '[EMAIL PROTECTED]' > > Subject: cactus 1.3 > > > > Hello. > > > > Where is cactus 1.3? I looked at the Migration guide, which says to > > modify > > the cactus.properties and web.xml, and to put the aspectjrt.jar file > on my > > server and client classpath. It also said aspectjrt.jar would be in > my > > CACTUS_HOME/lib directory. If I go to the downloads page and download > > v1.2 > > (which is the latest listed), I don't get this jar file. > > > > Thanks. > > Rachel > > > > -- > > To unsubscribe, e-mail: <mailto:cactus-user- > > [EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:cactus-user- > > [EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:cactus-user- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:cactus-user- > [EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
