Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJBAccessException: [EJB:010160]Security Violation

 
Chandan Ghosh
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I am facing a problem. please help me out.

I have one MDB listening Queue for incoming messages. This MDB is CONTAINER managed transaction with NOT_SUPPORTED attribute.
When MDB is invoked on arrival of any message, it invokes another @Stateless session bean (SignatureDAO) method and the method is interacting with JPA EntityManager. But it is giving some error.

The @Stateless session bean (SignatureDAO) is CONTAINER managed transaction with MANDATORY attributes.

Can anyone please point me out what is the mistake?

Exception stack trace is below:

javax.ejb.EJBAccessException: [EJB:010160]Security Violation: User: 'anonymous' has insufficient permission to access EJB: type=<ejb>, application=FIH1_elardel2, module=common.jar, ejb=SignatureDAO, method=checkSignatureStatus, methodInterface=Remote, signature={int,int}..

javax.ejb.EJBAccessException: [EJB:010160]Security Violation: User: 'anonymous' has insufficient permission to access EJB: type=<ejb>, application=FIH1_elardel2, module=common.jar, ejb=SignatureDAO, method=checkSignatureStatus, methodInterface=Remote, signature={int,int}.

at weblogic.ejb.container.internal.MethodDescriptor.checkMethodPermissionsBusiness(MethodDescriptor.java:586)
at weblogic.ejb.container.internal.BaseRemoteObject.checkMethodPermissions(BaseRemoteObject.java:112)
at weblogic.ejb.container.internal.BaseRemoteObject.preInvoke(BaseRemoteObject.java:272)
at weblogic.ejb.container.internal.StatelessRemoteObject.preInvoke(StatelessRemoteObject.java:52)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic