Layer 7 API Management

Expand all | Collapse all

Cannot create log Sink

Jump to Best Answer
  • 1.  Cannot create log Sink

    Posted 11-19-2018 07:31 PM

    Couple of issues.

    When I click on view logs get the below error. It was working before and then stopped working.

     

    Error

    Date/Time:
    2018/11/20 at 11:03:13 AEDT

    Build Info:
    CA API Gateway Policy Manager 9.3.00 build 7814, built 20171204171622 by teamcity at apim-teamcityagent11.l7tech.com

    System Properties:
    java.version: 1.8.0_192
    java.specification.version: 1.8
    os.name: Mac OS X
    os.arch: x86_64

    Memory Usage:
    185,265,456 bytes: the amount of free memory in the Java Virtual Machine.
    465,043,456 bytes: the total amount of memory in the Java virtual machine.

    Stack Trace:
    org.springframework.remoting.RemoteAccessException: Could not deserialize result from HTTP invoker remote service [https://securespangateway/ssg/manager/LogSinkAdmin]; nested exception is java.io.InvalidClassException: com.l7tech.gateway.common.log.SinkConfiguration; local class incompatible: stream classdesc serialVersionUID = -1697354437361294760, local class serialVersionUID = 3599816920403650383
    at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:208)
    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.findAllSinkConfigurations(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    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.d.call(Unknown Source)
    at com.l7tech.gui.util.at.construct(Unknown Source)
    at com.l7tech.gui.util.av.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:748)
    Caused by: java.io.InvalidClassException: com.l7tech.gateway.common.log.SinkConfiguration; local class incompatible: stream classdesc serialVersionUID = -1697354437361294760, local class serialVersionUID = 3599816920403650383
    at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:699)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1885)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2042)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
    at java.util.ArrayList.readObject(ArrayList.java:797)
    at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1170)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2178)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
    at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.doReadRemoteInvocationResult(AbstractHttpInvokerRequestExecutor.java:290)
    at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.readRemoteInvocationResult(AbstractHttpInvokerRequestExecutor.java:241)
    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)
    ... 15 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: Cannot create log Sink

    Posted 11-20-2018 02:14 PM

    Please confirm that the version of the Gateway matches the version of the Policy Manager. The version described above is for base 9.3 and it is possible that the Gateway is running one of the CRs.

     

    Sincerely,

     

    Stephen Hughes

    Broadcom Support



  • 3.  Re: Cannot create log Sink

    Posted 11-29-2018 11:31 AM

    Hi,

    Did the answers on this thread  answered your question? If it did please mark it as the right answer.
    When your question is not answered or you still have additional questions please let us know.

    With Kind Regards
    Dirk



  • 4.  Re: Cannot create log Sink
    Best Answer

    Posted 11-29-2018 07:38 PM

    Hi Vivek, 

     

    You may also find this KB useful:

    Unable to access admin services on the Gateway: co - CA Knowledge 

     

    Regards,

    Aryne