• 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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!