When I attempt to use the API Gateway Policy Manager to validate policies, I run into the following error:
It is possible you may run into a more generic error:
<Please see attached file for image>
API Gateway 10.x version
The likely cause of the issue is Java memory allocation.
Before proceeding with the steps to increase the java memory allocation, please verify you see the following errors in the Policy Manager log called ssm0.log.
The ssm0.log is notmally located in following directory:
<root_drive>:\Users\<your_OS_user_name\.l7tech
Check the log for the following line:
Caused by: java.lang.OutOfMemoryError: Java heap space
If you see Java heap space messages in the ssm0.log, the resolution is to increase the amount of memory allocated to the Policy Manager.
The policy manager .ini file defines how much memory can be allocated to the application. It is normally located in the installation path of the Policy Manager but it could be anywhere you specified during the installation.
For example :
C:\Program Files (x86)\CA Technologies - A Broadcom Company\Layer7 API Gateway Policy Manager<version>\CA API Gateway Policy Manager.ini
Resolution Steps:
By default, Automatic policy validation is enabled. If it is causing problems you can disable the automatic validation via the following steps in Policy Manager
File -> Preferences -> Policy Validation Feedback