Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting java.rmi.AccessException

 
Senthil NathanS
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Please help me on this.I tried to create a simple Stateless Session Bean using RI and tried to look up using a Client program.But I am getting java.rmi.AccessException when I call create method from the home object which I got using the PortableRemoteObject.narrow.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure about this, but check that you don't have a constructor which is not public, or a create/ejbCreate method which is not public.
 
Senthil NathanS
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Satou,
Thanks for your reply.But I find my create method public.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic