• Post Reply Bookmark Topic Watch Topic
  • New Topic

ClassCastException at PortableRemoteObject.narrow

 
karthik Suryanarayanan
Ranch Hand
Posts: 121
Java Opera Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
I am getting this exception when i try to run my application in JBoss. i'm passing a valid java class and proper InitialContext. But was not able to find the reason. Kindly help me resolve this.


My input is



where obj is




and props contains corresponding INITIAL_CONTEXT_FACTORY and PROVIDER_URL .

 
Amit M Tank
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WHat is your EJBHome class? tyy to cast to your EJBHome

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