Craig R. McClanahan wrote: >>Here is a simple example which reproduces this behaviour: [snip] >>In my eyes, this should work without any problems. (It does work just >>fine in Tomcat 3.2.2.)
> No, this should not work -- and Tomcat 3.2 was broken in allowing it. > > Per the servlet spec, the container is not allowed to call destroy() if > any requests are currently active. Doh. That explains it. Alright. So, what choices are you left with if you want to do something like this? Adding a shutdown hook to the servlet container which asks the servlet to release its connections? Thanks for your help! /D -- Daniel Aborg - Developer -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>