You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by ke...@neorislogistics.com on 2002/01/31 18:45:51 UTC

Cocoon destroy

I'm using Cocoon with orion server. This server has a very neat feature that allows you to set up a timeout attribute for your web application, meaning that when this time's passed orion will unload you web app and as a result will invoke destroy method of all servets declared in your web-app. I've noticed the following problem. CocoonServlet sets its thread context classloader in the beginning of the service method, but it is not setting it in the beginning of the destroy method which results in the improper Cocoon servlet destruction. Can anybody with commit rights to fix this issue.

Thanks.
/kesh

Re: Cocoon destroy

Posted by Davanum Srinivas <di...@yahoo.com>.
Kesh,

Can you send us a patch? Basically make changes to the code, then run "cvs diff -u", post the
results into bugzilla (http://nagoya.apache.org/bugzilla/index.html)

Thanks,
dims

--- kesha@neorislogistics.com wrote:
> I'm using Cocoon with orion server. This server has a very neat feature that allows you to set
> up a timeout attribute for your web application, meaning that when this time's passed orion will
> unload you web app and as a result will invoke destroy method of all servets declared in your
> web-app. I've noticed the following problem. CocoonServlet sets its thread context classloader
> in the beginning of the service method, but it is not setting it in the beginning of the destroy
> method which results in the improper Cocoon servlet destruction. Can anybody with commit rights
> to fix this issue.
> 
> Thanks.
> /kesh
> 


=====
Davanum Srinivas - http://jguru.com/dims/

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

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