Support deploying exploded WAR/JAR for Java11
See original GitHub issueCurrently, the artifact
config is waiting for a single JAR/WAR/Binary file to be uploaded, but this constraint has nothing to do with the gcloud app deploy
command.
The use case: explode WAR file in order to configure static resources with Java11 application.
I’m referring to the approach described in the docs that allows deploying static files for Spring Boot uber-jar app: https://cloud.google.com/appengine/docs/standard/java11/serving-static-files#configuring_your_static_file_handlers
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Deploying an Exploded J2EE Application - Oracle Help Center
This tutorial chapter describes how to use the built-in tools to generate deployment descriptors, package a sample J2EE application, and deploy it on...
Read more >Strategies for deploying an exploded ear - java - Stack Overflow
I've found that what works best for us, is to create the ZIP/EAR/WAR/JAR contents in exploded form in the file system, and then...
Read more >Spring Boot + JSP + WAR + Java 11 + GAE Standard ...
As best I can tell it seems that GAE:Standard:Java11 only supports deployments with JAR files, while SpringBoot:JSP only supports WAR packaging.
Read more >Java 11/17 runtime environment - App Engine - Google Cloud
With the App Engine Java 11/17 runtimes, you can deploy executable JAR files. ... and its supported openjdk-11-jdk for Java 11 or openjdk-17-jdk...
Read more >Configure Web application deployment - IntelliJ IDEA - JetBrains
A Web application can be deployed to the server as an exploded directory where files and folders are presented in the file system...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hrmm… @saturnism I know we can probably do some work here? Any suggestions in the meantime?
eak! thnx for the ping. i totally missed this.
There are several ways to do this, but at the end of the day, the static files needs to be exploded within the app engine deployment directory, and then in
app.yaml
file, specify thestatic_files
section.Here is @ludoch’s example handlers section for JHipster uberjar deployment: https://github.com/jhipster/generator-jhipster/issues/10331#issuecomment-528563349