WebSphere Application Server & Liberty

 View Only
  • 1.  "was-server" Docker-Container failed

    Posted Wed July 13, 2022 09:36 AM
    Edited by Milomir Soknic Wed July 13, 2022 11:12 AM
      |   view attached
    Hello,

    currently I am working on a MacBook with a M1 chip, when starting the Websphere container in Docker, the following error message appears:

    ADMU3011E: Server launched but failed initialization. Server logs,
    startServer.log, and other log files under
    /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1
    should
    contain failure information.

    The log file can be found in the attachment. I don't understand the problem myself. The container also terminates after the error message.

    Since I am working with the M1 chip, I added the following line to my Docker compose, since no container could be built before:

    platform: linux/amd64

    If anyone has experience with working with the components: Websphere, Docker and M1 chip any help would be appreciated.

    Thanks for your help

    ------------------------------
    Milomir Soknic
    ------------------------------

    Attachment(s)



  • 2.  RE: "was-server" Docker-Container failed

    Posted Wed July 13, 2022 12:05 PM
    I don't see anything in the attached log that looks like a failure. Can you retrieve the other logs in the folder /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs?

    I'm not sure what form of emulation Docker employs when asked to run AMD64 images on ARM64, but it's possible WebSphere may not be able to run under that emulation... If it can't, the path forward might be to move to Liberty/Open Liberty if that can.

    ------------------------------
    Liam Westby
    IBM
    ------------------------------



  • 3.  RE: "was-server" Docker-Container failed

    Posted Thu July 14, 2022 12:57 PM
    I had a problem with eclipse to run in container with the same problem and still not found a solution.

    By this article https://www.docker.com/blog/new-docker-desktop-preview-for-apple-m1-released/

    • If you are trying to run Intel-based containers on an M1 machine, they can sometimes crash. We are using a piece of software called qemu to emulate Intel chips on M1 but it occasionally fails to run the container. Where possible we recommend sticking to arm64 containers on M1 machines; they will also be faster.
    So my suggestion: You can try to install UTM (https://mac.getutm.app) that is a front for QEMU, and runs a Ubuntu/X86_64 to built your docker images

    ------------------------------
    ENIO RUBENS BASSO
    ------------------------------