tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10565] shutdown hook problem: java.lang.NoClassDefFoundError: java/util/Iterator
Date Wed, 15 Dec 2010 16:47:41 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=10565

Mark Thomas <markt@apache.org> changed:

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

--- Comment #6 from Mark Thomas <markt@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


Mime
View raw message