Timer EJB throws javax.ejb.EJBAccessException: User <anonymous> has insufficient permission to access EJB type
Last updated on MARCH 29, 2017
Applies to:Oracle WebLogic Server - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
Deploying a EJB with Timer Annotation and setting the global Root Level Policy for EJB to Specific Role, the timer stops working and throws the below exception.
Setting option to "Allow access to everyone" works fine.
When using custom roles and policies and setting permission rule for all EJBs and Timer EJB, this problem occurs.
TimerEJB is also checked for permission. As TimerEJB is run by anonymous, fails to check permission.
Timeout callback should not be checked permission because it does not have client security context
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms