Receive the Error 'Failed to Execute a Server Script Due to EJBException User: 'weblogic' has insufficient permission to access EJB' (Doc ID 2064379.1)

Last updated on APRIL 19, 2017

Applies to:

Oracle Financial Services Revenue Management and Billing - Version 2.3 and later
Information in this document applies to any platform.

Symptoms

On : 2.3 version, SC - Scripting

With an XAI Inbound Service in Oracle Revenue Management and Billing (ORMB)  which allows an external system to interact  with ORMB, the XAI consumes a Service Script using the Business Adapter. While submitting requests to the XAI, the following exception occurs:


splwg.serviceclient.RemoteXMLBasedServiceDispatcherHelper) Failed execute server script due to EJBException
javax.ejb.EJBAccessException: [EJB:010160]Security Violation: User: 'weblogic' has insufficient permission to access EJB: type=<ejb>, application=SPLService, module=spl-servicebean-4.2.0.2.0.jar, ejb=SPLServiceBean, method=executeSS, methodInterface=Remote, signature=


If a request is submitted immediately after this, the XAI Service is invoked without any problem.


This exception occurs approximately once every 10 to 20 times, and gives a false notion that something is terribly wrong and on the other hand runs fine during the next request.

Below are a few scenarios when the exception occurs:
1.    Immediately after the instance restart.
2.    Any change in credentials.
3.    All of a sudden in the middle of multiple request submission.
4.    Also faced while submitting using ‘SYSUSER’.


Cause

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