jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Kriger <andy.kri...@gmail.com>
Subject Re: problem with ServletTestRunner
Date Wed, 19 Jan 2005 21:24:23 GMT
I found the problem - 2 character typo in the cactus.properties file
(which I'm not even sure why I have to begin with :) I think it was
because I was trying to run this from the command line because the ant
tasks weren't working right).



On Wed, 19 Jan 2005 15:16:39 -0600, Korver, Aaron
<Aaron.Korver@fiserv.com> wrote:
> Is the ServletTestRunner setup to start in the Web Deployment Descriptor?
> The Runner and the Redirector are two different servlets.  Make sure that
> they are both set to load on startup.
> 
> > -----Original Message-----
> > From: Andy Kriger [mailto:andy.kriger@gmail.com]
> > Sent: Wednesday, January 19, 2005 3:16 PM
> > To: cactus-user@jakarta.apache.org
> > Subject: problem with ServletTestRunner
> >
> >
> > When I run...
> > http://localhost:8080/myApp/ServletTestRunner?suite=myFQNClass
> >
> > I get...
> > Failed to get the test results at
> > http://localhost:8080/myApp/ServletRedirector
> > And the log file shows 404 errors under the hood
> >
> > However, I can run...
> > http://localhost:8080/myApp/ServletRedirector?Cactus_Service=RUN_TEST
> > http://localhost:8080/myApp/ServletRedirector?Cactus_TestMetho
> d=myMethod&Cactus_TestClass=myFQNClass&Cactus_AutomaticSession=true&Cactus_S
> ervice=CALL_TEST
> > http://localhost:8080/CapitalServices/ServletRedirector?Cactus
> > _Service=GET_RESULTS
> > And all of those calls work (producing the XML results I expected from
> > the ServletTestRunner
> >
> > Does anyone know why I would get a 404 from the ServletTestRunner
> > while being able to run the individual commands through
> > ServletRedirector or how I can get more information on why this is
> > happening?
> >
> > Also, is there a list of tokens that can be passed to
> > ServletRedirector through the Cactus_Service parameter?
> >
> > thx
> > andy
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> >
> 
>

Mime
View raw message