tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 10565] shutdown hook problem: java.lang.NoClassDefFoundError: java/util/Iterator
Date Wed, 15 Dec 2010 16:47:41 GMT

Mark Thomas <> changed:

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

--- Comment #6 from Mark Thomas <> 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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message