[ http://jira.jboss.com/jira/browse/JBREM-1?page=comments#action_12314477 ] Tom Elrod commented on JBREM-1: --------------------------------
Per Bill's comments on checkin of revision 1.8 of AbstractInvoker: Don't use Thread.currentThread().getContextClassLoader to obtain parent CL for the ByteClassLoading class loader of Invokers. This is because the current CL may be a SAR or something that gets unloaded and unregistered thus screwing with the cached invoker. > Thread.currentThread().getContextClassLoader() is wrong > ------------------------------------------------------- > > Key: JBREM-1 > URL: http://jira.jboss.com/jira/browse/JBREM-1 > Project: JBoss Remoting > Type: Bug > Versions: 1.0.1 alpha > Reporter: Tom Elrod > Assignee: Tom Elrod > Fix For: 1.0.1 beta > > > AbstractInvoker should use Thread.currentThread().getContextClassLoader() to > initialize classbyteloader. Currently it uses > this.getClass().getClassLoader() which assumes that jboss-remoting.jar and my > classes are loaded by the same classloader, which is not always possible. In > my case, jboss-remoting.jar belongs to one Eclipse plugin and EJB3 client > interfaces to another and I get ClassNotFoundException whenever I try to call > an EJB. > http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851842#3851842 > Also need to check the CVS commit history as seem to remember that Bill might > have made this change to fix a problem that could occur is classloader is > from a SAR that re-deployed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development