Layer7 API Management

  • 1.  Policy Manager not working with Jdk 9

    Posted Oct 10, 2017 03:53 AM

    Hello,

    the policy manager 9.1 (9.2 also) is not working with jdk 9; this is the error stack trace:

     

    WARNING: An illegal reflective access operation has occurred
    WARNING: Illegal reflective access by com.l7tech.security.prov.ProviderUtil (file:/home/daniele/Software/Manager-9.1.00/lib/layer7-policy-9.1.00.jar) to method java.security.Provider.removeService(java.security.Provider$Service)
    WARNING: Please consider reporting this to the maintainers of com.l7tech.security.prov.ProviderUtil
    WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
    WARNING: All illegal access operations will be denied in a future release

    Oct 10, 2017 9:47:18 AM com.l7tech.console.util.AdminContextImpl a
    WARNING: Exception during remote API call: org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [https://securespangateway/ssg/manager/PolicyAdmin]; nested exception is org.apache.http.NoHttpResponseException: Did not receive successful HTTP response: status code = 500, status message = [Internal Server Error]
    Oct 10, 2017 9:47:18 AM com.l7tech.console.logging.CascadingErrorHandler a
    SEVERE: The Policy Manager encountered an internal error or misconfiguration and was unable to complete the operation.
    org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [https://securespangateway/ssg/manager/PolicyAdmin]; nested exception is org.apache.http.NoHttpResponseException: Did not receive successful HTTP response: status code = 500, status message = [Internal Server Error]
        at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:212)
        at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:145)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at com.sun.proxy.$Proxy17.findPolicyHeadersWithTypes(Unknown Source)
        at com.l7tech.console.policy.InvalidatingPolicyAdmin.findPolicyHeadersWithTypes(Unknown Source)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at com.l7tech.gateway.common.spring.remoting.http.a.call(Unknown Source)
        at com.l7tech.gateway.common.spring.remoting.http.SecureHttpComponentsHttpInvokerRequestExecutor.doWithSession(Unknown Source)
        at com.l7tech.gateway.common.spring.remoting.http.RemotingContext.doRemoteInvocation(Unknown Source)
        at com.l7tech.console.util.AdminContextImpl.access$001(Unknown Source)
        at com.l7tech.console.util.c.call(Unknown Source)
        at com.l7tech.gui.util.at.construct(Unknown Source)
        at com.l7tech.gui.util.av.run(Unknown Source)
        at java.base/java.lang.Thread.run(Thread.java:844)
    Caused by: org.apache.http.NoHttpResponseException: Did not receive successful HTTP response: status code = 500, status message = [Internal Server Error]
        at com.l7tech.gateway.common.spring.remoting.http.SecureHttpComponentsHttpInvokerRequestExecutor.validateResponse(Unknown Source)
        at com.l7tech.gateway.common.spring.remoting.http.SecureHttpComponentsHttpInvokerRequestExecutor.doExecuteRequest(Unknown Source)
        at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:136)
        at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:192)
        at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:174)
        at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:142)
        ... 16 more

     

     

     

    Anyone knows how to solve?

     

    Thanks



  • 2.  Re: Policy Manager not working with Jdk 9
    Best Answer

    Broadcom Employee
    Posted Oct 10, 2017 10:50 AM

    Hello

     

     

    The following document states that the policy manager is only compatible with java version 1.8.

     

    You can use the web browser version as well.  Navigate to https://gateway_url.8443/ssg/webadmin

     

    https://docops.ca.com/ca-api-gateway/9-2/en/release-notes-9-2/requirements-and-compatibility

     

    regards,

     

     

     

     

    Derek Orr

    ca technologies

    Principal Consultant, CA API Management Presales

    m: 778-980-0029

    Email = Derek.Orr@ca.com<mailto:Derek.Orr@ca.com>

     

    CA API Management Community: https://communities.ca.com/community/ca-api-management-community