dear all,
i have a customized RequestProcessor which will clone (for backup) each of the bean generated for the request and keep it in the session in an arraylist. to the maximum only 2 cloned beans can exists, others are removed periodically from the arraylist. this customrequestprocessor works to the core of the project arch to keep the beans for a special situation. our project's transaction pages uses various beans and VOs to store data and they keep the beans in the session for managing the data along different pages. the beans and VOs may have more data compared to the ActionForm bean, as this may contain only the field values of the pages.
The question is,
is the cloning of the ActionForm bean was the main reason that causes the outofmemory exeception? the exception is thrown whenever the deployment is done in the server. every time the server needs to be restarted manually for this problem?
I use BeanUtils for cloning and property copying.
can the reason be, as the customrequestprocessor was working to the core, there might be some request that are being served by the processor, in the mean time when a new class file was over written in the name of deployment, the server crashes. or something similar to this. i also have found this situation when i manually replace the customrequestprocessor class file in the server rather deploying while anyone (
testing?) working on our web application.
Thanks
Vijay Veeraraghavan