Hi Vincent, In the Wiki FAQ, there is the following answer to the question " I am not using a J2EE distro to run my Tomcat 5 server, just J2SE. Which version of Catus do I download?":
"Tomcat 5 implements versions 2.4 and 2.0 of the Servlet and JSP specs respectively. These are part of J2EE 1.4 (for which Cactus does not have a specific distribution). However, you should be able to use the Cactus distribution targeted at J2EE 1.3 successfully for most tests". - NicholasLesiecki That is why I assumed I could use Cactus with servlets v. 2.4. In fact, the problem I am having is mostly related to the Ant integration, which relies in the parsing of some specific descriptors, rather than to the 2.4 specification. Anyway, I will try some way around the ant tasks to see if is possible to run Cactus tests in Tomcat 5.0.x. Regards, Pedro -----Mensaje original----- De: Vincent Massol [mailto:[EMAIL PROTECTED] Enviado el: miercoles, 01 de septiembre de 2004 14:15 Para: 'Cactus Users List' Asunto: RE: CactifyWar ant task and problems with version 2.4 Hi Pedro, ATM Cactus does not support Servlet 2.4. This check is exactly for this reason, i.e. to prevent using something that is not supposed to work (or that has not been proved to work). All that said, I'm keen to get 2.4 support in Cactus but it requires some work. I have started the work in CVS HEAD but I've not found the time to finish it yet. Let me know what you think. Thanks -Vincent > -----Original Message----- > From: Pedro Nevado [mailto:[EMAIL PROTECTED] > Sent: mercredi 1 septembre 2004 13:28 > To: [EMAIL PROTECTED] > Subject: CactifyWar ant task and problems with version 2.4 > > The actual code of the class/method WebXmlVersion.class/compareTo(Object > theOther) returns 1 in the condition > > if (WebXmlVersion.V2_3.compareTo(theWebXml.getVersion()) <= 0) > > of the class/method CactifyWarTask.class/mergeInto(WebXml theWebXml). > > This fact results in the FilterRedirector information not included in the > cactified web.xml if one uses, for example, Tomcat 5.0.x with 2.4 web > deployment descriptors. > > I think the easiest solution is to change the actual code in one or both > of > the affected classes. Without that, I am building manually with Ant an > ad-hoc cactifywar target; to do this, could someone tell me, please, where > is CactifyWarTask copying the jspRedirector.jsp file? > > Regards, > > Pedro Nevado > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
