bad runtime process port ['']

907 views
Skip to first unread message

Joe Pardi

unread,
Oct 21, 2016, 9:38:10 PM10/21/16
to Google App Engine
When I switched my servlet app to use Spring MVC and Thymeleaf, it started reporting the error below.  Anyone have any ideas?

ERROR    2016-10-21 21:21:36,223 http_runtime.py:396] bad runtime process port ['']
WARNING: Null value for containerConfigProperties.get(devappserver.portMappingProvider)

My gcloud info:
-----------------------

Google Cloud SDK [131.0.0]

Platform: [Windows, x86_64]
Python Version: [2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]]
Python Location: [e:\Users\Joe\AppData\Local\Google\Cloud SDK\google-cloud-sdk\platform\bundledpython\python.exe]
Site Packages: [Disabled]

Installation Root: [e:\Users\Joe\AppData\Local\Google\Cloud SDK\google-cloud-sdk]
Installed Components:
  bundled-python: [2.7.10]
  app-engine-python: [1.9.40]
  bq-win: [2.0.24]
  core: [2016.10.17]
  core-win: [2016.08.05]
  app-engine-java: [1.9.44]
  gcloud: []
  windows-ssh-tools: [2016.05.13]
  gsutil: [4.21]
  bq: [2.0.24]
  powershell: [0.1.8]
  gsutil-win: [4.20]
System PATH: [e:\Users\Joe\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\..\bin\sdk;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;E:\jdk1.8.0_102\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\MySQL\MySQL Utilities 1.4.4\;C:\Program Files (x86)\MySQL\MySQL Utilities 1.4.4\Doctrine extensions for PHP\;e:\Program Files (x86)\Bitvise SSH Client;E:\Program Files\AMD\ATI.ACE\Core-Static;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;E:\Program Files\nodejs\;C:\Program Files (x86)\QuickTime\QTSystem\;E:\Users\joe\AppData\Local\Programs\Python\Python35-32\Scripts\;E:\Users\joe\AppData\Local\Programs\Python\Python35-32\;E:\jython2.7.0\bi.;E:\Maven\apache-maven-3.3.9\bin;C:\Users\joe\AppData\Roaming\npm;E:\gradle-2.14.1\bin;e:\Users\joe\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin]
Cloud SDK on PATH: [False]

WARNING: There are old versions of the Google Cloud Platform tools on your system PATH.
  e:\Users\joe\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\gcloud-ps.ps1
  e:\Users\joe\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\bq.cmd
  e:\Users\joe\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\endpointscfg.py
  e:\Users\joe\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\gcloud.cmd
  e:\Users\joe\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\dev_appserver.py
  e:\Users\joe\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\bq-ps.ps1
  e:\Users\joe\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\gsutil-ps.ps1
  e:\Users\joe\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\git-credential-gcloud.cmd
  e:\Users\joe\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\gsutil.cmd

Installation Properties: [e:\Users\Joe\AppData\Local\Google\Cloud SDK\google-cloud-sdk\properties]
User Config Directory: [C:\Users\joe\AppData\Roaming\gcloud]
Active Configuration Name: [default]
Active Configuration Path: [C:\Users\joe\AppData\Roaming\gcloud\configurations\config_default]

Project: [xxxxxxxxxxx]

Current Properties:
  [core]
    project: [xxxxxxxxxxx]
    account: [xxxxx...@gmail.com]
    disable_usage_reporting: [True]
  [compute]
    region: [us-east1]
    zone: [us-east1-b]

Logs Directory: [C:\Users\joe\AppData\Roaming\gcloud\logs]
Last Log File: [C:\Users\joe\AppData\Roaming\gcloud\logs\2016.10.21\21.07.32.508000.log]

Adam (Cloud Platform Support)

unread,
Oct 24, 2016, 5:48:01 PM10/24/16
to Google App Engine
I'll guess that since you're running the development server with a Java app, it's a standard environment app and you're launching it with 'mvn appengine:run'.

This error can happen if you have some Java 8 classes included in your project (as reported here), as the standard runtime still only supports Java 7. If this doesn't help and you can provide a reproducible sample project, I'd advise filing an issue on the google-cloud-sdk issue tracker.
Reply all
Reply to author
Forward
0 new messages