| JBoss / Eclipse RCP: Could not dereference object [message #336997] | 
Mon, 20 July 2009 09:10  | 
 
Eclipse User  | 
 | 
 | 
   | 
 
I have a problem instantiating my remote session bean from my Eclipse RCP  
client. I get a nest of 3 exceptions: 
 
javax.naming.NamingException: Could not dereference object 
Caused by: java.lang.reflect.UndeclaredThrowableException 
Caused by: java.land.ClassNotFound: company.service.SessionRemote 
 
Interestingly, this final exception is thrown from the JBoss  
ClassLoaderUtility. It appears to me that JBoss is overriding Eclipse's  
ClassLoader, and can't find the relevant class. 
 
This is definetely an Eclipse/JBoss issue - when I run a standalone JUnit  
test, all the tests pass. When I run it from an Eclipse plug-in test, it  
fails. 
 
Has anyone run across this before? (X-Posted to the JBoss forums here: 
 http://www.jboss.org/index.html?module=bb&op=viewtopic&a mp;p=4244641#4244641) 
 
Other key points: 
 
* There is no output on the server (i.e. client-side issue) 
* Currently both the client and the JBoss server are running from the same  
JDK 
 
Cheers, 
 
Robert
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.04228 seconds