Policy Deny Code Issues In OCSG (Doc ID 1405943.1)

Last updated on JUNE 21, 2017

Applies to:

Oracle Communications Services Gatekeeper - Version: 5.0.0 and later   [Release: 5.0 and later ]
Information in this document applies to any platform.

Symptoms

OCSG is throwing unknown Policy Deny Code 44 but alarm showing application quota limit exceeded. The Policy deny Code 44 not defined in documentation. As per the documentation 14 is used for application quota limit exceeded, 7 for application request limit exceeded.

Now sending 44 for quota limit reached.

1. Testing quota using PTE with the following composed Service Contract.

<composedServiceContract>
<composedServiceName>SendMultimediaMessaging</composedServiceName>
<service>
<serviceTypeName>MultimediaMessaging</serviceTypeName>
<method>
<scs>com.bea.wlcp.wlng.px21.plugin.SendMessagePlugin</scs>
<methodName>sendMessage</methodName>
</method>
</service>
<startDate>2012-01-12</startDate>
<endDate>2040-01-30</endDate>
<rate>
<reqLimit>100</reqLimit>
<timePeriod>1000</timePeriod>
</rate>
<quota>
<qtaLimit>2</qtaLimit>
<days>3</days>
<limitExceedOK>false</limitExceedOK>
</quota></composedServiceContract>


Sent the 3rd MT MMS and got "Error while starting engine: A policy error occurred. Error code is '44' (POL0001)." and error message as below.

Alarm with PolicyDenyCode: 44
PolicyInfo: Application request limit exceeded, the request limit for Composed Service:SendMultimediaMessaging was reached by: default_provider app_domain1

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault>
<faultcode>env:Server</faultcode><faultstring></faultstring><detail><v2:PolicyException xmlns:v2="http://www.csapi.org/schema/parlayx/common/v2_1"><messageId>POL0001</messageId>
<text>A policy error occurred. Error code is %1</text><variables>44</variables></v2:PolicyException></detail>
</env:Fault>
</env:Body>
</env:Envelope>


2. Testing rate limit using PTE with the following composed Service Contract.

<composedServiceContract>
<composedServiceName>SendMultimediaMessaging</composedServiceName>
<service>
<serviceTypeName>MultimediaMessaging</serviceTypeName>
<method>
<scs>com.bea.wlcp.wlng.px21.plugin.SendMessagePlugin</scs>
<methodName>sendMessage</methodName>
</method>
</service>
<startDate>2012-01-12</startDate>
<endDate>2040-01-30</endDate>
<rate>
<reqLimit>1</reqLimit>
<timePeriod>10000</timePeriod>
</rate>
<quota>
<qtaLimit>2000</qtaLimit>
<days>3</days>
<limitExceedOK>false</limitExceedOK>
</quota></composedServiceContract>


Sent two MT MMS within 10 seconds and got "Error while starting engine: A policy error occurred. Error code is '41' (POL0001)." and error message as below.

Alarm with PolicyDenyCode: 41
PolicyInfo: Application request limit exceeded, the request limit for Composed Service:SendMultimediaMessaging was reached by: default_provider app_domain1

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault>
<faultcode>env:Server</faultcode><faultstring></faultstring><detail><v2:PolicyException xmlns:v2="http://www.csapi.org/schema/parlayx/common/v2_1"><messageId>POL0001</messageId>
<text>A policy error occurred. Error code is %1</text><variables>41</variables></v2:PolicyException></detail>
</env:Fault>
</env:Body>
</env:Envelope>

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