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?
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
smime.p7s
Description: S/MIME cryptographic signature
