After installing a new API gateway version 11.0, the Policy manager initially connects successfully to the layer7 node and displays the screen for entering licenses, but almost immediately fails with an error (without any action). Also tried to install the policy manager on another machine but the error remains the same:
Stack Trace from Policy manager log:
java.lang.IllegalStateException: Admin Context is required
Release : API Gateway 11.0
This issue can occur due to one of the following reasons:
1. Open the file /opt/SecureSpan/Gateway/node/default/var/logs/ssg_0_0.log and look for the below error:
com.l7tech.server.admin.AdminRemotingProvider: License checking failed when invoking the method, org.springframework.remoting.support.RemoteInvocation#findAllSecurityZones
If you see this error, please install a new valid API Gateway license.
If you have difficulty to install new license due to you cannot login to the policy manager, refer this KB to resolve the issue:
https://knowledge.broadcom.com/external/article?articleNumber=193104
2. If not, it could be a network issue since it is connecting successfully for sometime before disconnecting abruptly.
Please check with your network team to monitor the connection between the policy manager and the gateway (monitor by ping or tcpdump). While you check your network engineer, please create a support case and upload the SSG log for our review:
/opt/SecureSpan/Gateway/node/default/var/logs/ssg_0_0.log
3. It could also be a JAVA issue. For this, please modify the ini file under the policy manager directory in your windows machine:
1) Make a backup copy of this file:
C:\Program Files (x86)\CA Technologies\Policy Manager..\policy manager.ini
(the path might be difference)
2) Edit the original file with notepad or some other text editor.
3) Change "-Xmx256M" to "-Xmx512M".
4) Restart the Policy Manager
5) Test.