Layer7 API Management

 View Only
  • 1.  Anyone able to run Container GW 10.1 on Macbook Pro with M1 Processor

    Posted Aug 30, 2022 10:13 AM

    Has anyone tried running the container GW on Macbook Pro with M1 processor?  If yes, have you run into any issues connecting thru policy manager?


    I am running Docker Desktop 4.11.1 and using the attached simple docker-compose.yaml file.  Though the gateway starts, however, I am unable to connect thru the policy manager.

    docker-compose.yaml file contents

    version: '3.8'

    services:

      dev-gateway:

        image: caapim/gateway:10.1.00

        ports: 

          - "10443:9443"

        volumes:

          - /opt/SecureSpan/Gateway/node/default/etc/bootstrap/services/restman      

          - ./license.xml:/opt/SecureSpan/Gateway/node/default/etc/bootstrap/license/license.xml

        environment:

          - 'ACCEPT_LICENSE=true'

          - 'SSG_ADMIN_USERNAME=admin'

          - 'SSG_ADMIN_PASSWORD=7layer'

          - 'SSG_CLUSTER_HOST=source.l7tech.com'

          - 'SSG_LICENSE'


    When I connect to the gateway from policy manager(running on openjdk version "11.0.2" 2019-01-15) though the admin user gets authenticated, it throws the below error in the log:

    2022-08-29T20:21:55.947+0000 INFO 404 com.l7tech.server.admin.AdminSessionManager: Authenticated on Internal Identity Provider
    2022-08-29T20:21:55.982+0000 INFO 404 com.l7tech.server.admin.AdminLoginImpl: User 'admin' logged in from IP '172.21.0.1'.
    2022-08-29T20:21:55.985+0000 INFO 404 com.l7tech.server.admin: User logged in
    2022-08-29T20:22:02.367+0000 WARNING 474 com.l7tech.gateway.common.spring.remoting.http.SecureHttpFilter: Error processing remote call 'java.util.EnumSet; local class incompatible: stream classdesc serialVersionUID = -2409567991088730183, local class serialVersionUID = 1009687484059888093'.

    I am able to use the same docker-compose file on windows box and it works like a charm without any issues at all.

    Any tips on how to resolve the above issue on mac would be appreciated.



  • 2.  RE: Anyone able to run Container GW 10.1 on Macbook Pro with M1 Processor

    Broadcom Employee
    Posted Sep 02, 2022 06:50 PM
    Hi Muthu:

    In documentation Gateway version 10.1 CR1 now supports AdoptOpenJDK 11.0.13+8. so perhaps try updating the JDK.   I don't have a work Mac but most of our development team does so will try and get some feedback from them if it is not the JDK giving you the issue.

    Regards, Alex.




    ------------------------------
    Solution Architect - Security & Integration
    Broadcom Software Division,
    Vancouver, B.C. Canada
    ------------------------------



  • 3.  RE: Anyone able to run Container GW 10.1 on Macbook Pro with M1 Processor

    Posted Sep 12, 2022 08:22 PM
    THanks Alex, it worked finally after installing the latest java version,