Search code examples
ibm-mobilefirstmobilefirst-server

MobileFirst 8.0 DevKit - Server failed to start


MFP Version 8.0.0.0-MFPF-DevKit-MacOSX-IF2016082221

We have Java 1.8 installed on mac and trying to run the ./run.sh to start the local MFP server. Its failed with the below error for all context that MFP initialie.

CWWKX0203E: The WebSphere Java Management Extensions REST client received an unexpected response code 502 with message 'Tunnel Connection Failed' from the server for URL https://localhost:9443/IBMJMXConnectorREST on connection rest:localhost:9443 MfpRESTUser 9 [WARNING ] Management MBean not loaded yet, Exception: CWWKX0203E: The WebSphere Java Management Extensions REST client received an unexpected response code 502 with message 'Tunnel Connection Failed' from the server for URL https://localhost:9443/IBMJMXConnectorREST on connection rest:localhost:9443 MfpRESTUser 9 CWWKX0203E: The WebSphere Java Management Extensions REST client received an unexpected response code 502 with message 'Tunnel Connection Failed' from the server for URL https://localhost:9443/IBMJMXConnectorREST on connection rest:localhost:9443 MfpRESTUser 9


Solution

  • As a write in the comments, if this is a fresh installation of the devkit, then the only reason for the server to not start is if some ports are already taken by an exiting process. For example another application server...

    Typically a reboot of the host machine clears any such running processes, so:

    1. Either restart the Mac, or
    2. Kill the Java process, or
    3. Quit any related running software