• Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting a ClassCastException in PortableRemoteObject.narrow method in J2EE RI 8  RSS feed

 
Rudy Baylor
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
While executing a client for EJB Module, am getting a ClassCastException in PortableRemoteObject.narrow method in J2EE RI 8.2. Have googled it. One solution suggested atForum at Java Websitewas to include a stub files which RI generates in [install-dir]/domains/[domain-name]/generated/ejb/j2ee-modules/. Didn't find any, but found implementation of abstract entity beans here. Constructed a jar of that and included in the classpath, but didn't help..
Am really going nuts over this. Would be grateful for any help..

Kind regards,
Rudy
 
Rudy Baylor
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have also tried including [ejb-module-name]Client.jar file found in RI domain application directories, as was suggested in one forum but to no avail..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!