You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Christopher Lenz <cm...@gmx.de> on 2003/03/23 18:46:04 UTC
Re: ServletRedirector to early
Hi Stefan,
Stefan Groschupf wrote:
> Hi, now since I get cactus using allready started jboss instance I get
> another problem.
> I would say that cactus try to early to call the ServletRedirector.
> My jetty reports a 404 since the deployment is just running.
> What can I do that cactus wait some seconds longer on my server?
Ant has a <sleep> task, but a more reliable method is to can use the Ant
<waitfor> task with a nested <http> condition to make Ant wait until the
servlet redirector responds.
> Thanks
> Stefan
> [junit] Caused an ERROR
> [junit] Failed to get the test results. This is probably due to an error
> that happened on the server side when trying to execute the tests. Here is
> what was returned by the server : [<HTML>
> [junit] <HEAD>
> [junit] <TITLE>Error 404 Could not find resource for
> /weta-util/ServletRedir
> ector</TITLE>
> [junit] <BODY>
> [junit] <H2>HTTP ERROR: 404 Could not find resource for
> /weta-util/ServletRe
> director</H2
--
Christopher Lenz
/=/ cmlenz at gmx.de
AW: ServletRedirector to early
Posted by Stefan Groschupf <sg...@media-style.com>.
Hey Christopher,
><waitfor> task with a nested <http> condition to make Ant wait until the
>servlet redirector responds.
That was a very good hint, thank you it run now.
By the way I also notice that is necessary to have a well working clean
target, since it will not run if you only overwrite *.war or +.jar files.
Normally that is working well in jboss, since with a overwrite jboss
undeploy and redeploy ypur app.
Thanks a lot for your help!
Stefan