Gaelyk Appengine Java 8

142 views
Skip to first unread message

Serge Rehem

unread,
May 21, 2018, 9:20:42 PM5/21/18
to Gaelyk
Hi Guys,

Is there any roadmap to update Gaelyk for java 8 runtiime support?

Google is warning us that java 7 is obsolete...

I 'm worried about my gaelyk 2.1.2 (gae 1.9.20 sdk) apps stop working on January 16, 2019: https://cloud.google.com/appengine/docs/deprecations/java7?hl=pt_BR&_ga=2.217068182.-1276775550.1417469753

What should I do?

Best regards,
Serge

Guillaume Laforge

unread,
May 22, 2018, 4:29:41 AM5/22/18
to gae...@googlegroups.com
Hi Serge,

I've upgraded my Gaelyk apps to Java 8 without a problem, by just adding <runtime>java8</runtime> in the appengine-web.xml.

Guillaume


--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+unsubscribe@googlegroups.com
To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to the Google Groups "Gaelyk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaelyk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Guillaume Laforge
Apache Groovy committer & PMC Vice-President
Developer Advocate @ Google Cloud Platform

Serge Rehem

unread,
May 22, 2018, 6:40:14 AM5/22/18
to gae...@googlegroups.com
Using wich Appengine SDK version?

I tried using gae 1.9.20 sdk but gradlew appengineUpdate did not recognize this tag: <runtime>java8</runtime in the appengine-web.xml.

Em Ter, 22 de mai de 2018 05:29, Guillaume Laforge <glaf...@gmail.com> escreveu:
Hi Serge,

I've upgraded my Gaelyk apps to Java 8 without a problem, by just adding <runtime>java8</runtime> in the appengine-web.xml.

Guillaume

On Tue, May 22, 2018 at 3:20 AM, Serge Rehem <serge...@gmail.com> wrote:
Hi Guys,

Is there any roadmap to update Gaelyk for java 8 runtiime support?

Google is warning us that java 7 is obsolete...

I 'm worried about my gaelyk 2.1.2 (gae 1.9.20 sdk) apps stop working on January 16, 2019: https://cloud.google.com/appengine/docs/deprecations/java7?hl=pt_BR&_ga=2.217068182.-1276775550.1417469753

What should I do?

Best regards,
Serge

--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+un...@googlegroups.com

To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to the Google Groups "Gaelyk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaelyk+un...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Guillaume Laforge
Apache Groovy committer & PMC Vice-President
Developer Advocate @ Google Cloud Platform

--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+un...@googlegroups.com

To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to a topic in the Google Groups "Gaelyk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gaelyk/3h3ppZgDuls/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gaelyk+un...@googlegroups.com.

Wilson MacGyver

unread,
May 22, 2018, 7:05:55 AM5/22/18
to gae...@googlegroups.com
Too old. You need to use a recent gae sdk. Like 1.9.63 for example

Serge Rehem

unread,
May 22, 2018, 7:11:10 AM5/22/18
to gae...@googlegroups.com
I tried, but my gaelyk app crashed when I tried just to change  gae sdk to 1.9.63, so I think Gaelyk should release a new version packing everything.

The last 2.1.2 stable version " was tested with Groovy 2.3.0, and with the 1.9.20 version of the App Engine SDK.".

Guillaume Laforge

unread,
May 22, 2018, 7:13:13 AM5/22/18
to gae...@googlegroups.com
Of course, I forgot to mention that I also upgraded to a recent SDK version as well.
It all went transparently without an issue for my apps.
But yeah, we should certainly make a release with upgraded deps :-)

On Tue, May 22, 2018 at 1:05 PM, Wilson MacGyver <wmac...@gmail.com> wrote:
Too old. You need to use a recent gae sdk. Like 1.9.63 for example
On Tue, May 22, 2018 at 6:40 AM Serge Rehem <serge...@gmail.com> wrote:
Using wich Appengine SDK version?

I tried using gae 1.9.20 sdk but gradlew appengineUpdate did not recognize this tag: <runtime>java8</runtime in the appengine-web.xml.

Em Ter, 22 de mai de 2018 05:29, Guillaume Laforge <glaf...@gmail.com> escreveu:
Hi Serge,

I've upgraded my Gaelyk apps to Java 8 without a problem, by just adding <runtime>java8</runtime> in the appengine-web.xml.

Guillaume

On Tue, May 22, 2018 at 3:20 AM, Serge Rehem <serge...@gmail.com> wrote:
Hi Guys,

Is there any roadmap to update Gaelyk for java 8 runtiime support?

Google is warning us that java 7 is obsolete...

I 'm worried about my gaelyk 2.1.2 (gae 1.9.20 sdk) apps stop working on January 16, 2019: https://cloud.google.com/appengine/docs/deprecations/java7?hl=pt_BR&_ga=2.217068182.-1276775550.1417469753

What should I do?

Best regards,
Serge

--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+unsubscribe@googlegroups.com

To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to the Google Groups "Gaelyk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaelyk+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Guillaume Laforge
Apache Groovy committer & PMC Vice-President
Developer Advocate @ Google Cloud Platform

--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+unsubscribe@googlegroups.com

To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to a topic in the Google Groups "Gaelyk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gaelyk/3h3ppZgDuls/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gaelyk+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+unsubscribe@googlegroups.com

To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to the Google Groups "Gaelyk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaelyk+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+unsubscribe@googlegroups.com

To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to the Google Groups "Gaelyk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaelyk+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Guillaume Laforge

unread,
May 22, 2018, 7:13:35 AM5/22/18
to gae...@googlegroups.com
What errors did you encounter?

On Tue, May 22, 2018 at 1:11 PM, Serge Rehem <serge...@gmail.com> wrote:
I tried, but my gaelyk app crashed when I tried just to change  gae sdk to 1.9.63, so I think Gaelyk should release a new version packing everything.

The last 2.1.2 stable version " was tested with Groovy 2.3.0, and with the 1.9.20 version of the App Engine SDK.".
Em Ter, 22 de mai de 2018 08:05, Wilson MacGyver <wmac...@gmail.com> escreveu:
Too old. You need to use a recent gae sdk. Like 1.9.63 for example
On Tue, May 22, 2018 at 6:40 AM Serge Rehem <serge...@gmail.com> wrote:
Using wich Appengine SDK version?

I tried using gae 1.9.20 sdk but gradlew appengineUpdate did not recognize this tag: <runtime>java8</runtime in the appengine-web.xml.

Em Ter, 22 de mai de 2018 05:29, Guillaume Laforge <glaf...@gmail.com> escreveu:
Hi Serge,

I've upgraded my Gaelyk apps to Java 8 without a problem, by just adding <runtime>java8</runtime> in the appengine-web.xml.

Guillaume

On Tue, May 22, 2018 at 3:20 AM, Serge Rehem <serge...@gmail.com> wrote:
Hi Guys,

Is there any roadmap to update Gaelyk for java 8 runtiime support?

Google is warning us that java 7 is obsolete...

I 'm worried about my gaelyk 2.1.2 (gae 1.9.20 sdk) apps stop working on January 16, 2019: https://cloud.google.com/appengine/docs/deprecations/java7?hl=pt_BR&_ga=2.217068182.-1276775550.1417469753

What should I do?

Best regards,
Serge

--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+unsubscribe@googlegroups.com

To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to the Google Groups "Gaelyk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaelyk+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Guillaume Laforge
Apache Groovy committer & PMC Vice-President
Developer Advocate @ Google Cloud Platform

--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+unsubscribe@googlegroups.com

To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to a topic in the Google Groups "Gaelyk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gaelyk/3h3ppZgDuls/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gaelyk+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+unsubscribe@googlegroups.com

To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to the Google Groups "Gaelyk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaelyk+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+unsubscribe@googlegroups.com

To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to a topic in the Google Groups "Gaelyk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gaelyk/3h3ppZgDuls/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gaelyk+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+unsubscribe@googlegroups.com

To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to the Google Groups "Gaelyk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaelyk+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Serge Rehem

unread,
May 22, 2018, 8:26:34 AM5/22/18
to gae...@googlegroups.com
 Local: ./gradlew appengineRun

:appengineDownloadSdk
:compileJava UP-TO-DATE
:compileGroovy UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:gaelykConvertTemplates SKIPPED
:gaelykPrecompileTemplates UP-TO-DATE
:war UP-TO-DATE
:appengineExplodeApp UP-TO-DATE
:gaelykSynchronizeResources
     [sync] Copying 228 files to /home/serge/bit/geradordecertificado/build/exploded-app/WEB-INF/appengine-generated
:appengineRun
Executing [/usr/lib/jvm/java-8-oracle/jre/bin/java, -D--enable_all_permissions=true, -Duse_jetty9_runtime=true, -Dfile.encoding=UTF-8, -classpath, /home/serge/bit/geradordecertificado/gradle/wrapper/gradle-wrapper.jar:/home/serge/.gradle/appengine-sdk/appengine-java-sdk-1.9.63/lib/appengine-tools-api.jar, com.google.appengine.tools.development.DevAppServerMain, --property=kickstart.user.dir=/home/serge/bit/geradordecertificado, --no_java_agent, --port=8080, --address=localhost, --allow_remote_shutdown, /home/serge/bit/geradordecertificado/build/exploded-app]
mai 22, 2018 9:22:34 AM com.google.appengine.tools.development.SystemPropertiesManager setSystemProperties
INFORMAÇÕES: Overwriting system property key 'file.encoding', value 'UTF-8' with value 'UTF-8' from '/home/serge/bit/geradordecertificado/build/exploded-app/WEB-INF/appengine-web.xml'
mai 22, 2018 9:22:34 AM com.google.appengine.tools.development.SystemPropertiesManager setSystemProperties
INFORMAÇÕES: Overwriting system property key 'java.util.logging.config.file', value '/home/serge/.gradle/appengine-sdk/appengine-java-sdk-1.9.63/config/sdk/logging.properties' with value 'WEB-INF/logging.properties' from '/home/serge/bit/geradordecertificado/build/exploded-app/WEB-INF/appengine-web.xml'
2018-05-22 09:22:34.472:INFO::main: Logging initialized @1349ms
2018-05-22 09:22:34.767:INFO:oejs.Server:main: jetty-9.3.18.v20170406
2018-05-22 09:22:39.173:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=4115ms
mai 22, 2018 9:22:39 AM org.codehaus.groovy.runtime.m12n.MetaInfExtensionModule newModule
ADVERTÊNCIA: Module [gaelyk-extension-module] - Unable to load extension class [groovyx.gaelyk.extensions.FilesExtensions]
mai 22, 2018 9:22:39 AM org.codehaus.groovy.runtime.m12n.MetaInfExtensionModule newModule
ADVERTÊNCIA: Module [gaelyk-extension-module] - Unable to load extension class [groovyx.gaelyk.extensions.BackendExtensions]
2018-05-22 09:22:39.486:WARN:oejw.WebAppContext:main: Failed startup of context c.g.a.t.d.j.DevAppEngineWebAppContext@663411de{/,file:///home/serge/bit/geradordecertificado/build/exploded-app/,UNAVAILABLE}{/home/serge/bit/geradordecertificado/build/exploded-app}
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:83)
at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:70)
at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:403)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:522)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
at org.eclipse.jetty.server.Server.start(Server.java:422)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:389)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at com.google.appengine.tools.development.jetty9.JettyContainerService.startContainer(JettyContainerService.java:346)
at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:284)
at com.google.appengine.tools.development.AutomaticInstanceHolder.startUp(AutomaticInstanceHolder.java:26)
at com.google.appengine.tools.development.AbstractModule.startup(AbstractModule.java:87)
at com.google.appengine.tools.development.Modules.startup(Modules.java:105)
at com.google.appengine.tools.development.DevAppServerImpl.doStart(DevAppServerImpl.java:274)
at com.google.appengine.tools.development.DevAppServerImpl.access$000(DevAppServerImpl.java:47)
at com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:219)
at com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:217)
at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:368)
at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:45)
at com.google.appengine.tools.development.DevAppServerMain.run(DevAppServerMain.java:223)
at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:214)
Caused by: 
java.lang.IllegalStateException: Missing leading '/' for location: error404.gtpl
at org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitErrorPage(StandardDescriptorProcessor.java:1120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:83)
at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:70)
at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:403)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:522)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
at org.eclipse.jetty.server.Server.start(Server.java:422)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:389)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at com.google.appengine.tools.development.jetty9.JettyContainerService.startContainer(JettyContainerService.java:346)
at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:284)
at com.google.appengine.tools.development.AutomaticInstanceHolder.startUp(AutomaticInstanceHolder.java:26)
at com.google.appengine.tools.development.AbstractModule.startup(AbstractModule.java:87)
at com.google.appengine.tools.development.Modules.startup(Modules.java:105)
at com.google.appengine.tools.development.DevAppServerImpl.doStart(DevAppServerImpl.java:274)
at com.google.appengine.tools.development.DevAppServerImpl.access$000(DevAppServerImpl.java:47)
at com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:219)
at com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:217)
at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:368)
at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:45)
at com.google.appengine.tools.development.DevAppServerMain.run(DevAppServerMain.java:223)
at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:214)
2018-05-22 09:22:39.495:INFO:oejs.AbstractConnector:main: Started NetworkTrafficSelectChannelConnector@4b41e4dd{HTTP/1.1,[http/1.1]}{localhost:8080}
2018-05-22 09:22:39.496:INFO:oejs.Server:main: Started @6373ms
mai 22, 2018 9:22:39 AM com.google.appengine.tools.development.AbstractModule startup
INFORMAÇÕES: Module instance default is running at http://localhost:8080/
mai 22, 2018 9:22:39 AM com.google.appengine.tools.development.AbstractModule startup
INFORMAÇÕES: The admin console is running at http://localhost:8080/_ah/admin
mai 22, 2018 9:22:39 AM com.google.appengine.tools.development.DevAppServerImpl doStart
INFORMAÇÕES: Dev App Server is now running


When I tried to access via browser http://localhost:8080

HTTP ERROR: 503

Problem accessing /gc. Reason:

    Service Unavailable


Powered by Jetty:// 9.3.18.v20170406


===> No LOG messsage at console :(



And remotely, 500 Server Error:


Error: Server Error

The server encountered an error and could not complete your request.

Please try again in 30 seconds.


Abraço

Serge Rehem

unread,
May 22, 2018, 8:32:49 AM5/22/18
to gae...@googlegroups.com
Hum.... I saw this at apengine log:

2018-05-22 09:30:31.239 BRTcom.google.apphosting.runtime.jetty9.JettyLogger warn: Failed startup of context c.g.a.r.j.AppEngineWebAppContext@4d382d8{/,file:///base/data/home/apps/s~geradordecertificado/v8.409898698765156523/,UNAVAILABLE}{/base/data/home/apps/s~geradordecertificado/v8.409898698765156523} (JettyLogger.java:29) java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:83) at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:70) at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:403) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:522) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at com.google.apphosting.runtime.jetty9.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:244) at com.google.apphosting.runtime.jetty9.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:182) at com.google.apphosting.runtime.jetty9.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:97) at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.dispatchServletRequest(JavaRuntime.java:686) at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.dispatchRequest(JavaRuntime.java:648) at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:618) at com.google.apphosting.runtime.JavaRuntime$NullSandboxRequestRunnable.run(JavaRuntime.java:812) at com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:274) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: Missing leading '/' for location: error404.gtpl at org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitErrorPage(StandardDescriptorProcessor.java:1120) ... 21 more
2018-05-22 09:30:31.239 BRTFailed startup of context c.g.a.r.j.AppEngineWebAppContext@4d382d8{/,file:///base/data/home/apps/s~geradordecertificado/v8.409898698765156523/,UNAVAILABLE}{/base/data/home/apps/s~geradordecertificado/v8.409898698765156523} java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:83) at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:70) at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:403) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:522) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at com.google.apphosting.runtime.jetty9.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:244) at com.google.apphosting.runtime.jetty9.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:182) at com.google.apphosting.runtime.jetty9.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:97) at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.dispatchServletRequest(JavaRuntime.java:686) at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.dispatchRequest(JavaRuntime.java:648) at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:618) at com.google.apphosting.runtime.JavaRuntime$NullSandboxRequestRunnable.run(JavaRuntime.java:812) at com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:274) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: Missing leading '/' for location: error404.gtpl at org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitErrorPage(StandardDescriptorProcessor.java:1120) ... 21 more
2018-05-22 09:30:31.242 BRTUncaught exception from servlet java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:83) at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:70) at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:403) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:522) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at com.google.apphosting.runtime.jetty9.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:244) at com.google.apphosting.runtime.jetty9.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:182) at com.google.apphosting.runtime.jetty9.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:97) at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.dispatchServletRequest(JavaRuntime.java:686) at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.dispatchRequest(JavaRuntime.java:648) at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:618) at com.google.apphosting.runtime.JavaRuntime$NullSandboxRequestRunnable.run(JavaRuntime.java:812) at com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:274) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: Missing leading '/' for location: error404.gtpl at org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitErrorPage(StandardDescriptorProcessor.java:1120) ... 21 more
--
Abraço

Guillaume Laforge

unread,
May 22, 2018, 8:37:17 AM5/22/18
to gae...@googlegroups.com
Interesting...

"Missing leading '/' for location: error404.gtpl"

Could you double check your routes to see what you have for your 404 page?

Serge Rehem

unread,
Jul 3, 2018, 8:23:46 AM7/3/18
to Gaelyk
It's  working now!

I just put the misleading '/' inside web.xml:
    <error-page>
        <error-code>404</error-code>
        <location>/error404.gtpl</location>
    </error-page>

I also had some problems with AppEngine Google Cloud Storage clients and Joda, so I:

1) Updated my build.gradle from  "com.google.appengine.tools:appengine-gcs-client:0.4.4"  to "com.google.appengine.tools:appengine-gcs-client:0.7"

2) Added compile "joda-time:joda-time:2.10" to build,gradle

3) Change all com.google.appengine.repackaged.org.joda.time.* importos to org.joda.time.*

Thanks for your help!

Serge
To unsuscribe from this group: gaelyk+un...@googlegroups.com

To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to the Google Groups "Gaelyk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaelyk+un...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Guillaume Laforge
Apache Groovy committer & PMC Vice-President
Developer Advocate @ Google Cloud Platform

--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+un...@googlegroups.com

To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to a topic in the Google Groups "Gaelyk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gaelyk/3h3ppZgDuls/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gaelyk+un...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+un...@googlegroups.com

To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to the Google Groups "Gaelyk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaelyk+un...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+un...@googlegroups.com

To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to a topic in the Google Groups "Gaelyk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gaelyk/3h3ppZgDuls/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gaelyk+un...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+un...@googlegroups.com

To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to the Google Groups "Gaelyk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaelyk+un...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Guillaume Laforge
Apache Groovy committer & PMC Vice-President
Developer Advocate @ Google Cloud Platform

--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+un...@googlegroups.com

To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to a topic in the Google Groups "Gaelyk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gaelyk/3h3ppZgDuls/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gaelyk+un...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Abraço



--
Abraço

--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+un...@googlegroups.com

To show more options: http://groups.google.fr/group/gaelyk?hl=en

---
You received this message because you are subscribed to the Google Groups "Gaelyk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaelyk+un...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages