Skip to main content
Participating Frequently
February 11, 2025
Question

"Checking server startup status..." in CF Docker containers.

  • February 11, 2025
  • 2 replies
  • 1028 views

I'm trying to work with the Adobe ColdFusion docker images on an Apple M3.  I have a `docker-compose.yml` file that contains the following:

services:
  coldfusion:
    image: adobecoldfusion/coldfusion:latest
    container_name: coldfusion
    hostname: coldfusion
    platform: linux/amd64
    ports:
      - "80:8500"
      - "443:8443"
    environment:
      - "acceptEULA=YES"
      - "installModules=all"
      - "password=P@ssword"
      - "enableSecureProfile=false"
      - "TZ=US/Pacific"
    volumes:
      - ./app:/app
    networks:
      - docker_network

...which should be pretty straightforward.  However, when I start the container, the docker logs say this:

2025-02-11 10:15:31 Start Time: 18:15:31
2025-02-11 10:15:31 Updating webroot to /app
2025-02-11 10:15:31 Configuring virtual directories
2025-02-11 10:15:32 Updating password
2025-02-11 10:15:32 Skipping language updation
2025-02-11 10:15:32 Serial Key: Not Provided
2025-02-11 10:15:32 Previous Serial Key: Not Provided
2025-02-11 10:15:32 Starting ColdFusion
2025-02-11 10:15:32 Starting ColdFusion 2023 server ...
2025-02-11 10:15:39 ======================================================================
2025-02-11 10:15:39 ColdFusion 2023 server has been started.
2025-02-11 10:15:39 ColdFusion 2023 will write logs to /opt/coldfusion/cfusion/bin/../logs/coldfusion-out.log
2025-02-11 10:15:39 ======================================================================
2025-02-11 10:15:40 [] Checking server startup status...
2025-02-11 10:15:46 [] Checking server startup status...
2025-02-11 10:15:52 [] Checking server startup status...
2025-02-11 10:15:58 [] Checking server startup status...

 

The "checking server startup status..." message repeats every six seconds. 

The coldfusion-out.log file (I trimmed all the "at java.lang... lines) is:

Dec 24, 2024 08:06:08 AM Information [main] - Starting logging...
Dec 24, 2024 08:06:08 AM Information [main] - Starting license...
Dec 24, 2024 08:06:09 AM Information [main] - Developer Edition enabled
Dec 24, 2024 08:06:52 AM Error [main] - Unable to install License package: java.lang.NoClassDefFoundError: coldfusion/license/UsageAnalytics/utils/f
java.lang.NoClassDefFoundError: coldfusion/license/UsageAnalytics/utils/f
Caused by: java.lang.ClassNotFoundException: coldfusion.license.UsageAnalytics.utils.f
Dec 24, 2024 08:06:52 AM Information [main] - Starting crypto...
Dec 24, 2024 08:06:52 AM Error [main] - Unable to install Cryptograpic package: java.lang.NullPointerException: Cannot invoke "coldfusion.server.LicenseService.isEnterprise()" because "licenseService" is null
java.lang.NullPointerException: Cannot invoke "coldfusion.server.LicenseService.isEnterprise()" because "licenseService" is null
Dec 24, 2024 08:06:52 AM Information [main] - Starting security...
Dec 24, 2024 08:06:52 AM Error [main] - Unable to install Security package: coldfusion.server.ServiceException: Cannot invoke "coldfusion.server.LicenseService.getServerType()" because the return value of "coldfusion.server.ServiceFactory.getLicenseService()" is null
coldfusion.server.ServiceException: Cannot invoke "coldfusion.server.LicenseService.getServerType()" because the return value of "coldfusion.server.ServiceFactory.getLicenseService()" is null
Dec 24, 2024 08:06:52 AM Error [main] - Unable to initialise CFStartupServlet:Cannot invoke "coldfusion.server.LicenseService.getServerType()" because the return value of "coldfusion.server.ServiceFactory.getLicenseService()" is null
Dec 24, 2024 08:06:52 AM Information [main] - Shutting down servlet container...

Has anyone experienced this, or resolved it?

    2 replies

    pegarmAuthor
    Participating Frequently
    February 12, 2025

    After a machine restart, this has been happening again.  I tried the same trick as yesterday but this time it didn't work, so it was clearly a coincidence.

    Truth be told, I've been fighting this issue since the Adobe docker images were released. On Apple silicon, they just don't work, and despite numerous requests, the CF development team hasn't resolved it.

    New Participant
    February 13, 2025
    I started seeing the same thing after updating to 4.38.0. I reverted to 4.37.2 and everything is working as expected now, so the issue is Docker 4.38.0.

     
    1. Download your desired version from the Release Notes.
    2. Open the download, drag "Docker" to "Applications"
    3. Chose to "Replace" the existing installation
    4. Run Docker desktop
     
    You can download 4.37.2 here: https://docs.docker.com/desktop/release-notes/ 
    pegarmAuthor
    Participating Frequently
    February 13, 2025

    Have you ever been able to get the Adobe provided containers working on Apple silicon?  I've been trying it on and off for four years now.  Each time I do, I end up going back to the Commandbox containers and shking my fist at the sky.

    pegarmAuthor
    Participating Frequently
    February 12, 2025

    Doing some more digging into this, it's clearly something with java and Rosetta 2 emulation on the Apple chip.  Multiple sources  have talked about how Java emulation under Rosetta 2 can have unexpected results.  In this case, I'm running Docker 4.38.0, and under Settings > General, I disabled the "Use Rosetta for x86_64/amd64 emulation on Apple Silicon" checkbox, applied the settings, then re-checked it and applied the settings.  It ended up working.

     

    To be clear, I don't think this is a "solution" but it seems to have fixed my immediate problem.  It's definitely not a cure.