I am running Cactus in Tomcat 5.5 with authentication through a JNDI context connection pool. Sometimes (but not always) when I run a test using ServletTestRunner I get a ChainedRuntimeException. Looking at the Cactus log, I see that the various requests to ServletRedirector or FilterRedirector are getting rejected with '401 Unauthorized'. However, if I run the ServletRedirector calls manually through the browser (CALL_TEST and GET_RESULTS), I can often get a results page back. My testclass defines a beginXXX method that sets the authentication and when I access through the browser, I am also logging in. Of course, this is complicated by the fact that it doesn't consistenly happen.
Does anyone have an ideas on how I can fix this problem so that ServletTestRunner works more consistently? thx andy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
