JBossRMIClassLoader
/*
* Ignore the JVM, use the thread context classloader for proxy
caching
*/
public Class<?> loadProxyClass(String codebase, String[] interfaces,
ClassLoader ignored)
throws MalformedURLException, ClassNotFoundException
{
return delegate.loadProxyClass(codebase, interfaces,
Thread.currentThread().getContextClassLoader());
}
So my guess is that the class isn't visible from the
context classloader, e.g. it is in a scoped ear.
See also:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=113516
On Thu, 2007-09-06 at 16:17 +0200, Carlo de Wolf wrote:
Who can give me a clue why this failing?
<snipped/>
2007-09-06 15:56:04,289 ERROR [STDERR:151] Caused by:
java.lang.ClassNotFoundException: No ClassLoaders found for:
com.sun.ts.tests.common.vehicle.wsejb.WSEJBVehicleHome (no security manager: RMI class
loader disabled)
2007-09-06 15:56:04,289 ERROR [STDERR:151] at
sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:531)
2007-09-06 15:56:04,291 ERROR [STDERR:151] at
java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:628)
2007-09-06 15:56:04,292 ERROR [STDERR:151] at
org.jboss.system.JBossRMIClassLoader.loadProxyClass(JBossRMIClassLoader.java:82)
2007-09-06 15:56:04,292 ERROR [STDERR:151] at
java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:294)
2007-09-06 15:56:04,293 ERROR [STDERR:151] at
sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:238)
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx