Timer EJB throws javax.ejb.EJBAccessException: User <anonymous> has insufficient permission to access EJB type
Last updated on APRIL 15, 2018
Applies to:Oracle WebLogic Server - Version 184.108.40.206.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
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms