> -----Original Message-----
> From: Matt Raible [mailto:[EMAIL PROTECTED]
> Sent: 29 November 2003 17:30
> To: Cactus Users List
> Subject: Re: Strange Error when invoking Cactus tests
>
> > Good catch Chris! Matt, it seems you're loading some resource bundle
in
> > your LoginServletTest constructor... Maybe you have some tests
changing
> > the locale or something like that?
> >
> > Thanks
> > -Vincent
> >
>
> Yeah - I saw that, but don't know if that's the problem since running
> the tests standalone - or running test-cactus (which runs all tests)
> works fine. The only thing I can think of is that I did change my
> form-based authentication from using /login.jsp and
> /login.jsp?error=true to using /security/login.jsp and
> /security/login.jsp?error=true as the form-login-page and error pages,
> respectively. It seems to me that just the form-based authentication
> is failing - does my cactifywar task look right with the new pages? I
> don't have to prefix the ServletRedirectorSecure with /security/ or
> anything do I?
I think <cactus> will look for the redirector under
localhost:[port]/[context]/[mapping] so that looks fine.
I'm not sure how we can help you further. We would need more
information. I you could provide a simple use case then I could test it
on my machine.
I don't have any ideas at the moment.
-Vincent
>
> Of course, it's also possible that the ResourceBundle is indeed
> missing, it's just strange that this test works sometimes, and doesn't
> others.
>
> <cactifywar srcfile="${webapp.dist}/${webapp.war}"
> destfile="${webapp.dist}/${webapp.name}-cactus.war">
> <lib dir="${strutstestcase.dir}" includes="*.jar"/>
> <lib dir="${cactus.dir}">
> <include name="*.jar"/>
> </lib>
> <servletredirector/>
> <!--
> Provide a secured servlet redirector in addition to
the
> default servlet redirector to test form-based
> authentication
> -->
> <servletredirector name="ServletRedirectorSecure"
> mapping="/ServletRedirectorSecure" roles="tomcat"/>
> </cactifywar>
>
> Thanks,
>
> Matt
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]