cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johnson <john...@erp.tw>
Subject Re: When cocoon is down
Date Mon, 11 Jun 2007 01:10:04 GMT
Hi Phil!

If cocoon is down, can you run the pages in Root of tomcat?

If tomcat is down, The server will not respond, untill timeout.

If tomcat is ok, but nothing response, may be cocoon is running in a 
loop, or waiting others, CPU may be full loading, In this case, it will 
hard to stop it by cocoon itself, and it's hard to stop by tomcat(use 
tomcat manager page) too, because of full loading, the most quickly 
method to stop it is stoping tomcat by hand, or by other program. so it 
will hard to reponse a page I think.

Even you can stop it by cocoon or tomcat, and response an error message, 
the system will be unstable, so I think It will better to stop tomcat 
outside, then client will got an error.

Best Regards

johnson


philguillard ??:
>
> When something wrong occurs (example: connection pull to database is 
> full / my fault when i don't close sessions correctly with hibernate), 
> cocoon is sometimes not responding. I'd like to know how to render a 
> 404 or 503 instead.
>
> Should i change something on cocoon itself? on the tomcat connector 
> configuration ? or on the httpd conf with a timeout?
>
> Regards,
>
> Philippe.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message