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 50282] Reference from javax.security.auth.login.LoginContext.contextClassLoader initalized in static code block prevents an undeployed Web application from being garbage collected (similar to #49669)
Date Wed, 17 Nov 2010 18:47:18 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50282

Justin Almquist <justin.almquist@pnl.gov> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|PC                          |Macintosh
         OS/Version|                            |All

--- Comment #1 from Justin Almquist <justin.almquist@pnl.gov> 2010-11-17 13:47:15 EST
---
I think I confused myself a little while researching this and somehow
referenced javax.security.auth.login.LoginContext when in fact I *meant*
javax.security.auth.login.Configuration.  The LoginContext may be a problem as
well, however the Configuration class is what is being listed in YourKit as the
offending class causing the WebappClassloader to stick around.  Once again,
here's the output of YourKit:

"contextClassLoader of javax.security.auth.login.Configuration [Class]"


Then, looking at the code for Configuration
(http://kickjava.com/src/javax/security/auth/login/Configuration.java.htm), the
following line of code is similar to the problem fixed by bug #49669
(https://issues.apache.org/bugzilla/show_bug.cgi?id=49669)

"private static ClassLoader  JavaDoc contextClassLoader;"


Sorry for any confusion...

-- 
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