[jboss-user] [EJB/JBoss] - Re: Thread.getContextClassLoader() and scoped classloading

2007-08-31 Thread be326814
Found my own answer. I did use local ejb-refs, when I switched to remote it worked ok. Man, somethimes the cause can be so far from the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079947#4079947 Reply to the post : http://www.jboss.com/index.htm

[jboss-user] [EJB/JBoss] - Thread.getContextClassLoader() and scoped classloading

2007-08-31 Thread be326814
I found an issue with the proposed way to access the current classloader. The wiki and this forums always tell to use: Thread.currentThread().getContextClassLoader().loadClass("package.className"); For most cases that is the right way to do it, exept in the following senario. 2 Distinct EARs, bo