Skip to content
This repository was archived by the owner on Jun 30, 2023. It is now read-only.
This repository was archived by the owner on Jun 30, 2023. It is now read-only.

javax.servlet.UnavailableException when trying to run Endpoints v1.1 locally using the Cloud SDK Java tooling #43

@patflynn

Description

@patflynn

Steps to reproduce:

  1. Checkout https://github.com/patflynn/appengine-potpourri/tree/cloud-sdk-refactor
  2. run gradlew :endpoints-frontend:appengineRun
  3. observe error included below
  • this seems to happen on Windows and Linux with Maven, Gradle, or Cloud Tools for IntelliJ.
  • works fine using the old AppCfg based tooling.

`PS C:\Users\patrick\Projects\appengine-potpourri-gradle> .\gradlew.bat :endpoints-frontend:appengineRun
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doL
ast(Action) instead.
at build_6t335i7cz5p80m7el4p825c7o.run(C:\Users\patrick\Projects\appengine-potpourri-gradle\jdo-backend\build.gr
adle:26)
:endpoints-frontend:compileJava UP-TO-DATE
:endpoints-frontend:processResources UP-TO-DATE
:endpoints-frontend:classes UP-TO-DATE
:endpoints-frontend:war UP-TO-DATE
:endpoints-frontend:explodeWar UP-TO-DATE
:endpoints-frontend:assemble UP-TO-DATE
:endpoints-frontend:appengineRun
INFO 2017-01-23 17:28:45,980 devappserver2.py:764] Skipping SDK update check.
INFO 2017-01-23 17:28:46,048 api_server.py:268] Starting API server at: http://localhost:49832
INFO 2017-01-23 17:28:46,052 dispatcher.py:199] Starting module "default" running at: http://localhost:8080
INFO 2017-01-23 17:28:46,053 admin_server.py:116] Starting admin server at: http://localhost:8000
Jan 23, 2017 10:28:47 PM com.google.appengine.tools.development.AbstractContainerService configure

WARNING: Null value for containerConfigProperties.get(devappserver.portMappingProvider)

Jan 23, 2017 10:28:47 PM com.google.apphosting.utils.jetty.JettyLogger info

INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger

Jan 23, 2017 10:28:47 PM com.google.apphosting.utils.jetty.JettyLogger info

INFO: jetty-6.1.x

Jan 23, 2017 10:28:48 PM com.google.apphosting.utils.jetty.JettyLogger info

INFO: Started SelectChannelConnector@localhost:49833

Jan 23, 2017 10:28:48 PM com.google.appengine.tools.development.AbstractModule startup

INFO: Module instance default is running at http://localhost:49833/

Jan 23, 2017 10:28:48 PM com.google.appengine.tools.development.AbstractModule startup

INFO: The admin console is running at http://localhost:49833/_ah/admin

Jan 23, 2017 10:28:48 PM com.google.appengine.tools.development.devappserver2.DevAppServer2Impl doStart

INFO: Dev App Server is now running

Jan 23, 2017 10:28:51 PM com.google.appengine.tools.development.LocalResourceFileServlet doGet

WARNING: No file found for: /_ah/warmup

INFO 2017-01-23 17:28:51,055 module.py:806] default: "GET /_ah/warmup HTTP/1.1" 404 83
Jan 23, 2017 10:29:09 PM com.google.appengine.tools.development.LocalResourceFileServlet doGet

WARNING: No file found for: /favicon.ico

Jan 23, 2017 10:29:09 PM com.google.appengine.tools.development.devappserver2.RemoteApiDelegate log

SEVERE: [1485210549900000] javax.servlet.ServletContext log: unavailable
com.google.appengine.tools.remoteapi.RemoteApiException: response was a python exception:
cgoogle.appengine.runtime.apiproxy_errors
ApplicationError
p0
(I1
tp1
Rp2
(dp3
S'application_error'
p4
I1
sS'error_detail'
p5
S''
p6
sb.

    at com.google.appengine.tools.development.devappserver2.RemoteRpc.call(RemoteRpc.java:63)

    at com.google.appengine.tools.development.devappserver2.RemoteApiDelegate.makeSyncCall(RemoteApiDelegate.java:45

)

    at com.google.appengine.tools.development.devappserver2.RemoteApiDelegate$1.call(RemoteApiDelegate.java:56)

    at com.google.appengine.tools.development.devappserver2.RemoteApiDelegate$1.call(RemoteApiDelegate.java:52)

    at java.util.concurrent.FutureTask.run(FutureTask.java:266)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

    at java.lang.Thread.run(Thread.java:745)

Jan 23, 2017 10:29:09 PM com.google.apphosting.utils.jetty.JettyLogger warn

WARNING: /_ah/api/discovery/v1/apis/potApi/v1/rest

com.google.appengine.tools.remoteapi.RemoteApiException: response was a python exception:
cgoogle.appengine.runtime.apiproxy_errors
ApplicationError
p0
(I1
tp1
Rp2
(dp3
S'application_error'
p4
I1
sS'error_detail'
p5
S''
p6
sb.

    at com.google.appengine.tools.development.devappserver2.RemoteRpc.call(RemoteRpc.java:63)

    at com.google.appengine.tools.development.devappserver2.RemoteApiDelegate.makeSyncCall(RemoteApiDelegate.java:45

)

    at com.google.appengine.tools.development.devappserver2.RemoteApiDelegate$1.call(RemoteApiDelegate.java:56)

    at com.google.appengine.tools.development.devappserver2.RemoteApiDelegate$1.call(RemoteApiDelegate.java:52)

    at java.util.concurrent.FutureTask.run(FutureTask.java:266)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

    at java.lang.Thread.run(Thread.java:745)

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions