Layer7 API Management

Expand all | Collapse all

Policy Manager Error

  • 1.  Policy Manager Error

    Posted 03-12-2020 08:12 AM
    Edited by Pavansai C 03-12-2020 08:14 AM
    Hi Community,

    While working with one of the services in CA API Gateway I got the following error
    -- tried logging-in, re-login and with other accounts too but of no help..
    Am sharing the report -- please look into this and help me out!!


    REPORT:
    Date/Time:Date/Time: 2020/03/12 at 12:01:17 GMT
    Build Info: CA API Gateway 9.2.00 build 6904, built 20161213200114 by teamcity at apim-teamcityagent12
    System Properties: java.version: 1.8.0_102 java.specification.version: 1.8 os.name: Windows Server 2012 R2 os.arch: x86
    Memory Usage: 89,866,632 bytes: the amount of free memory in the Java Virtual Machine. 174,747,648 bytes: the total amount of memory in the Java virtual machine.
    Stack Trace: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at com.l7tech.console.policy.l.call(Unknown Source)
    at com.l7tech.console.policy.l.call(Unknown Source)
    at com.l7tech.console.action.DefaultAssertionPropertiesAction.performAction(Unknown Source)
    at com.l7tech.console.action.BaseAction.performAction(Unknown Source)
    at com.l7tech.console.action.BaseAction.actionPerformed(Unknown Source)
    at com.l7tech.console.action.SecureAction.actionPerformed(Unknown Source)
    at com.l7tech.console.action.ActionManager.invokeAction(Unknown Source)
    at com.l7tech.console.action.ActionManager.invokeAction(Unknown Source)
    at com.l7tech.console.tree.policy.c.mouseClicked(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
    at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:269)
    at java.awt.Component.processMouseEvent(Component.java:6536)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    at java.awt.Component.processEvent(Component.java:6298)
    at java.awt.Container.processEvent(Container.java:2236)
    at java.awt.Component.dispatchEventImpl(Component.java:4889)
    at java.awt.Container.dispatchEventImpl(Container.java:2294)
    at java.awt.Component.dispatchEvent(Component.java:4711)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4534)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
    at java.awt.Container.dispatchEventImpl(Container.java:2280)
    at java.awt.Window.dispatchEventImpl(Window.java:2746)
    at java.awt.Component.dispatchEvent(Component.java:4711)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.awt.EventQueue$4.run(EventQueue.java:731)
    at java.awt.EventQueue$4.run(EventQueue.java:729)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    ... 42 more
    Caused by: java.lang.NoSuchMethodError: com.l7tech.console.panels.TargetVariablePanel.setAllowDynamicStatusLabelVisibility(Z)V
    at com.l7tech.external.assertions.siteminder.console.SiteMinderAuthenticationPropertiesDialog.initComponents(Unknown Source)
    at com.l7tech.external.assertions.siteminder.console.SiteMinderAuthenticationPropertiesDialog.<init>(Unknown Source)
    ... 46 more

    CA Technologies Help Centre: Before requesting Policy Manager support,  please gather the following information: - Company name - Contact person information (email, phone number and location) - Details of problem
    Web Site: https://support.ca.com
    Phone: 1 800 255 5224 in North America or visit http://www.ca.com/phone for the local number in your country.


  • 2.  RE: Policy Manager Error

    Posted 03-12-2020 11:13 AM
    There is a memory contention on your machine causing your JAVA application to fail try
    1. Navigate to the folder Policy Manager is installed
    2. Look for Configuration file CA API Gateway Policy Manager.conf and
    [startup]
    jre=jre\bin\javaw.exe
    commandline=javaw -Dfile.encoding=UTF-8 -Duser.language=en -Duser.country=US -Xms128M -Xmx1024M -Xss256k -Dsun.net.inetaddr.ttl=10 -Dnetworkaddress.cache.ttl=10 -jar Manager.jar

    This value



    ------------------------------
    Pre-Sales Consultant
    CA Southern Africa
    ------------------------------



  • 3.  RE: Policy Manager Error

    Posted 03-12-2020 02:27 PM
    The error Caused by: java.lang.NoSuchMethodError indicates you may be using a Policy Manager version which do not match your current gateway version.
    It needs to match even the CR version.

    ------------------------------
    Sr. Consultant Services
    HCL Enterprise Studio
    ------------------------------