jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith R. Davis <keith.da...@zunisoft.com>
Subject Re: Glassfish and FilterRedirector
Date Wed, 04 Jun 2008 12:15:18 GMT

 Thanks for the quick response!  See my answers below and here is the
important bit of my build.xml and as I said before, the task never
inserts the filterredirector:  

 	*   	*       	*           	*               	*               	*     
         	*               	*           	*           	*              
	*           	*      
  -- Begin properties for the above --  

 cactus.host = http://localhost cactus.port = 8080
cactus.webapp.context = openeprs-svcs cactus.service = RUN_TEST
cactus.servlet.redirector = ServletRedirectorSecure
cactus.jsp.redirector = JspRedirector cactus.filter.redirector =
FilterRedirector cactus.war = cactus-test.war  

 -- End properties for the above --   

 What is your Cactus version that you use? 1.8.0 (binary dist from
 What version of Ant you use? 1.7.0
 What is your JVM version and operating System? Ubuntu Linux 8.04
with JDK 1.6.0_06   
 On Wed, 4 Jun 2008 09:41:25 +0300, "Petar Tahchiev"  wrote:   Hi
 the short answer is Yes. You
should be able to test Filters with
Servlet API 2.5. 
 We do it in the sample projects that come with Cactus.
 What is your Cactus version that you use?
 What version of Ant you use?
 What is your JVM version and operating System?
 Please post your build.xml here to see what is wrong with it.
 Also have a look at the Cactus SVN repository - we have sample
applications that execute filter tests, and they work.
 Thanks, Petar.
  2008/6/4 Keith R. Davis :
 I am using Glassfish V2UR2 and my web application is using version
2.5 of the servlet API.  I have basic Cactus servlet tests working,
however I cannot get filter tests to work.  I think this has to do
with the cactifywar ant task not adding the filter redirector to the
web.xml.  I have one defined in the task, but it doesn't show up when
the war is cactified.
 The short question, can I test filters with 2.5 of the servlet API? 
Everything else seems to work fine except filters.  I did see older
threads on the list that
servlets using 2.4 and greater of the API
were not supported. Has this been updated?
 Finally if I am being an idiot and it is not supported, is there a
workaround or another tool that can test filters in container with the
newest servlet APIs.

 To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
 For additional commands, e-mail: cactus-user-help@jakarta.apache.org
 Regards, Petar!
 Karlovo, Bulgaria.
 - - - - - - - -
 | Author @ Manning Publications.
 | Technical Consultant @ HP
 | BGJUG-Bulgarian Java User Group Leader.
 | Apache Jakarta PMC member.
 | Jakarta Cactus Lead Developer.
 | Blogger: http://weblogs.java.net/blog/paranoiabla/ [4]
 - - - - - - - -
 Public PGP Key at:
 Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611  


[2] mailto:cactus-user-unsubscribe@jakarta.apache.org
[3] mailto:cactus-user-help@jakarta.apache.org
[4] http://weblogs.java.net/blog/paranoiabla/

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message