• Post Reply Bookmark Topic Watch Topic
  • New Topic

ClassCast Exception on EJB remote object lookup

 
Sachin Deokar
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am a complete beginner to EJB, trying to debug an issue for an application I recently started to work on.

I am getting this error "Security Error: java.lang.ClassCastException: com.security.SecurityManagerEJB_2ym79a_EOImpl_CBV cannot be cast to com..security.SecurityManagerRemote" at the first line in the code. I have also copied the ejb-jar.xml and ResourceLocator method. This is EJB 2.0

Would appreciate your help.


Thanks,
Sachin
 
Marcelo Sousa Ancelmo
Ranch Hand
Posts: 498
Eclipse IDE Fedora Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Sachin,

Look if you don't have on your client classpath an older version of the stubs and /or dependecies of the EJB component.

Regards,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!