[google-appengine] Re: Help troubleshooting running under the development server

2017-02-27 Thread Kevin Wise
@Adam the issue has been created: 
https://code.google.com/p/googleappengine/issues/detail?id=13587
Let me know if you need anything else

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/71d4d22f-4803-401d-be60-8093a566ba6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Help troubleshooting running under the development server

2017-02-27 Thread Brian de Alwis
In my experience, "bad runtime process port" usually indicates that something 
is writing to System.out.  It seems the dev_appserver communicates to the 
spawned JVMs via stdin/stdout, and so any other messages interfere.

Brian.

> On 26-Feb-2017, at 6:32 PM, 'Adam (Cloud Platform Support)' via Google App 
> Engine  wrote:
> 
> We've seen this error occasionally but reproducing it has been hit or miss. 
> I'd advise filing an issue on the googleappengine issue trackerĀ  
> and uploading a sample 
> app which exhibits the problem. If you provide a link to the issue I will 
> pick it up from there.
> 
> On Saturday, February 25, 2017 at 12:07:47 PM UTC-5, Kevin Wise wrote:
> I have an exceptionally strange situation. My web app, running on Guice in a 
> app engine standard environment, works fine in a development environment on 
> Linux or Mac, but doesn't work on Windows. The symptom is that when I try to 
> run the application, it appears to startup, but then always responds with a 
> 500 error. The log reports:
> 
> ERROR2017-02-24 15:06:29,865 http_proxy.py:116] bad runtime process port 
> ['']
> INFO 2017-02-24 15:06:29,964 module.py:806] default: "GET / HTTP/1.1" 500 
> 4379
> 
> Even stranger, the server returns the log file contents to the browser.  Here 
> is a sample of the browser output:
> 
> bad runtime process port ['']
> 
> Feb 24, 2017 3:04:52 PM 
> com.google.appengine.tools.development.AbstractContainerService configure
> WARNING: Null value for 
> containerConfigProperties.get(devappserver.portMappingProvider)
> Feb 24, 2017 3:04:52 PM com.google.apphosting.utils.jetty.JettyLogger info
> INFO: Logging to JettyLogger(null) via 
> com.google.apphosting.utils.jetty.JettyLogger
> Feb 24, 2017 10:04:52 PM com.google.apphosting.utils.jetty.JettyLogger info
> INFO: jetty-6.1.x
> Feb 24, 2017 10:05:15 PM org.hibernate.validator.internal.util.Version 
> 
> INFO: HV01: Hibernate Validator 5.2.4.Final
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
> INFO: Registering com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider as a 
> provider class
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
> INFO: Registering com.sample.health.HealthCheckResource as a root resource 
> class
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
> INFO: Registering com.example.appengine.helloworld.HelloResource as a root 
> resource class
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
> INFO: Registering com.sample.exception.ConflictExceptionMapper as a provider 
> class
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
> INFO: Registering com.sample.exception.IllegalArgumentExceptionMapper as a 
> provider class
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
> INFO: Registering com.sample.webjars.JaxRsWebjarsServlet as a root resource 
> class
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> INFO: Initiating Jersey application, version 'Jersey: 1.19.3 10/24/2016 03:43 
> PM'
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
> getComponentProvider
> INFO: Binding com.sample.exception.ConflictExceptionMapper to 
> GuiceManagedComponentProvider with the scope "Singleton"
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
> getComponentProvider
> INFO: Binding com.sample.exception.IllegalArgumentExceptionMapper to 
> GuiceManagedComponentProvider with the scope "Singleton"
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
> getComponentProvider
> INFO: Binding com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider to 
> GuiceManagedComponentProvider with the scope "Singleton"
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
> getComponentProvider
> INFO: Binding com.sample.health.HealthCheckResource to 
> GuiceManagedComponentProvider with the scope "Singleton"
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
> getComponentProvider
> INFO: Binding com.example.appengine.helloworld.HelloResource to 
> GuiceManagedComponentProvider with the scope "Singleton"
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
> getComponentProvider
> INFO: Binding com.sample.webjars.JaxRsWebjarsServlet to 
> GuiceManagedComponentProvider with the scope "Singleton"
> Feb 24, 2017 10:05:19 PM com.google.apphosting.utils.jetty.JettyLogger info
> INFO: Started SelectChannelConnector@localhost:54117
> 

[google-appengine] Re: Help troubleshooting running under the development server

2017-02-26 Thread 'Adam (Cloud Platform Support)' via Google App Engine
We've seen this error occasionally but reproducing it has been hit or miss. 
I'd advise filing an issue on the googleappengine issue tracker  
and uploading a 
sample app which exhibits the problem. If you provide a link to the issue I 
will pick it up from there.

On Saturday, February 25, 2017 at 12:07:47 PM UTC-5, Kevin Wise wrote:
>
> I have an exceptionally strange situation. My web app, running on Guice in 
> a app engine standard environment, works fine in a development environment 
> on Linux or Mac, but doesn't work on Windows. The symptom is that when I 
> try to run the application, it appears to startup, but then always responds 
> with a 500 error. The log reports:
>
> ERROR2017-02-24 15:06:29,865 http_proxy.py:116] bad runtime process 
> port ['']
> INFO 2017-02-24 15:06:29,964 module.py:806] default: "GET / HTTP/1.1" 
> 500 4379
>
> Even stranger, the server returns *the log file contents to the browser*.  
> Here is a sample of the browser output:
>
> bad runtime process port ['']
>
> Feb 24, 2017 3:04:52 PM 
> com.google.appengine.tools.development.AbstractContainerService configure
> WARNING: Null value for 
> containerConfigProperties.get(devappserver.portMappingProvider)
> Feb 24, 2017 3:04:52 PM com.google.apphosting.utils.jetty.JettyLogger info
> INFO: Logging to JettyLogger(null) via 
> com.google.apphosting.utils.jetty.JettyLogger
> Feb 24, 2017 10:04:52 PM com.google.apphosting.utils.jetty.JettyLogger info
> INFO: jetty-6.1.x
> Feb 24, 2017 10:05:15 PM org.hibernate.validator.internal.util.Version 
> 
> INFO: HV01: Hibernate Validator 5.2.4.Final
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
> INFO: Registering com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider as a 
> provider class
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
> INFO: Registering com.sample.health.HealthCheckResource as a root resource 
> class
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
> INFO: Registering com.example.appengine.helloworld.HelloResource as a root 
> resource class
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
> INFO: Registering com.sample.exception.ConflictExceptionMapper as a provider 
> class
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
> INFO: Registering com.sample.exception.IllegalArgumentExceptionMapper as a 
> provider class
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
> INFO: Registering com.sample.webjars.JaxRsWebjarsServlet as a root resource 
> class
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> INFO: Initiating Jersey application, version 'Jersey: 1.19.3 10/24/2016 03:43 
> PM'
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
> getComponentProvider
> INFO: Binding com.sample.exception.ConflictExceptionMapper to 
> GuiceManagedComponentProvider with the scope "Singleton"
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
> getComponentProvider
> INFO: Binding com.sample.exception.IllegalArgumentExceptionMapper to 
> GuiceManagedComponentProvider with the scope "Singleton"
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
> getComponentProvider
> INFO: Binding com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider to 
> GuiceManagedComponentProvider with the scope "Singleton"
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
> getComponentProvider
> INFO: Binding com.sample.health.HealthCheckResource to 
> GuiceManagedComponentProvider with the scope "Singleton"
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
> getComponentProvider
> INFO: Binding com.example.appengine.helloworld.HelloResource to 
> GuiceManagedComponentProvider with the scope "Singleton"
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
> getComponentProvider
> INFO: Binding com.sample.webjars.JaxRsWebjarsServlet to 
> GuiceManagedComponentProvider with the scope "Singleton"
> Feb 24, 2017 10:05:19 PM com.google.apphosting.utils.jetty.JettyLogger info
> INFO: Started SelectChannelConnector@localhost:54117
> Feb 24, 2017 10:05:19 PM 
> com.google.appengine.tools.development.AbstractModule startup
> INFO: Module instance default is running at http://localhost:54117/
> Feb 24, 2017 10:05:19 PM 
> com.google.appengine.tools.development.AbstractModule startup
> INFO: The admin console is running at http://localhost:54117/_ah/admin
> Feb 24, 2017 3:05:55 PM 
>