• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

ClassCastException at PortableRemoteObject.narrow

 
Ranch Hand
Posts: 126
1
Oracle Opera Java
  • 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 .

 
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

 
Your mother was a hamster and your father was a tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic