You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/12/15 17:47:41 UTC

DO NOT REPLY [Bug 10565] shutdown hook problem: java.lang.NoClassDefFoundError: java/util/Iterator

https://issues.apache.org/bugzilla/show_bug.cgi?id=10565

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #6 from Mark Thomas <ma...@apache.org> 2010-12-15 11:47:36 EST ---
I don't see a way to fix this given the class loading issues.

I agree with Remy that web applications should not be registering shut down
hooks. There are lots of things the specification doesn't mention (shut down
hooks, calling System.exit(), etc) - that doesn't mean they are all a good idea
in a container environment.

A ServletContextListener is the probably the way to go.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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