Hi Vincent,
Sorry, I was not very clear. By recycling, I meant the "redeployment" of the whole web-application. This happens when a web application which has been deployed from a WAR
- has its WAR file updated: the expanded web application is removed, and the WAR is expanded again.
- has its /WEB-INF/web.xml file updated.
- when the reload command is issued for the web application
For more details see for example: http://tinyurl.com/5mln2
Any serious web-application needs to make sure that when redeployed resources are recycled properly, e.g. files released, db connections closed, etc. This redeployment problem is also closely related to hot deployment as well as clustering and session replication.
Given the tight coupling with the App Server, redeployment tests require in-container testing.
At 05:56 AM 1/13/2005, Vincent Massol wrote:
Hi Ceki,
I am not sure what you mean by "recycling" but you could certainly call the destroy() method of your Servlet and then call again the init() method, and then check that your business methods are still working (or something similar - I don't remember by heart the lifecycle of a servlet). The same would apply to JSP/Taglibs/Filters. I have never done that though.
Is that what you meant?
Thanks -Vincent
> -----Original Message----- > From: Ceki G�lc� [mailto:[EMAIL PROTECTED] > Sent: mardi 11 janvier 2005 22:19 > To: [email protected] > Subject: Testing web-application recycling? > > > Hello, > > Can Cactus be used to test the correct recycling of Web applications? > > > -- > Ceki G�lc� > > The complete log4j manual: http://www.qos.ch/log4j/ > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Ceki G�lc�
The complete log4j manual: http://www.qos.ch/log4j/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
