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 2009/12/10 22:24:54 UTC

DO NOT REPLY [Bug 47512] Binding java.lang.reflect.Proxy to JNDI directory raises java.lang.ClassCastException

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

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

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

--- Comment #8 from Mark Thomas <ma...@apache.org> 2009-12-10 13:24:48 GMT ---
Whilst binding objects into the global JNDI directory where the classes are
only available to the web application class loader may be possible, this is
asking from all sorts of class loading pain and memory leaks.

On that basis I am marking this as WONTFIX.

If you want this functionality in your environment the simplest way to achieve
it is to patch org.apache.naming.NamingContext, compile the class and then
place the class file in CATALINA_HOME/lib/org/apache/naming/NamingContext.class
I'd also put the .java file alongside it so people can easily see what you
changed.

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