[jboss-jira] [JBoss JIRA] Closed: (JBREM-1) Thread.currentThread().getContextClassLoader() is wrong
David Lloyd (JIRA)
jira-events at lists.jboss.org
Wed Sep 26 05:30:54 EDT 2007
[ http://jira.jboss.com/jira/browse/JBREM-1?page=all ]
David Lloyd closed JBREM-1.
---------------------------
> Thread.currentThread().getContextClassLoader() is wrong
> -------------------------------------------------------
>
> Key: JBREM-1
> URL: http://jira.jboss.com/jira/browse/JBREM-1
> Project: JBoss Remoting
> Issue Type: Bug
> Affects Versions: 1.0.1 alpha
> Reporter: Tom Elrod
> Assigned To: Tom Elrod
> Fix For: 1.0.1 final
>
>
> 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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list