aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes EJBAccessException: [EJB:010160]Security Violation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJBAccessException: [EJB:010160]Security Violation" Watch "EJBAccessException: [EJB:010160]Security Violation" New topic
Author

EJBAccessException: [EJB:010160]Security Violation

Chandan Ghosh
Greenhorn

Joined: Jun 13, 2005
Posts: 21
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)

Thanks & Regards,<br />Chandan Ghosh<br />SCJP1.4
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: EJBAccessException: [EJB:010160]Security Violation