Skip to main content
Participating Frequently
Feb 11, 2025 6:55 PM UTC
Question

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

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?

    13 replies

    pegarmAuthor
    Participating Frequently
    Feb 12, 2025 10:01 PM UTC

    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.

    Translate
    426F626279
    Participant
    Feb 13, 2025 7:27 PM UTC

    We're now running into this same issue.  I also updated to macOS 15.3.1 last night and was worried doing so was to blame, but another colleague only updated Docker to 4.38.0 and is now seeing the issue.

     

    And, yeah, we're surprised there's still no native Apple silicon support.

    Translate
    Participant
    Mar 27, 2025 3:06 PM UTC

    This seems to be fixed in 4.39.0, i just tried it.

    Translate
    pegarmAuthor
    Participating Frequently
    Feb 12, 2025 3:22 AM UTC

    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.

    Translate