question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support deploying exploded WAR/JAR for Java11

See original GitHub issue

Currently, 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:open
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
loosebazookacommented, Sep 18, 2020

Hrmm… @saturnism I know we can probably do some work here? Any suggestions in the meantime?

0reactions
saturnismcommented, Oct 13, 2020

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 the static_files section.

Here is @ludoch’s example handlers section for JHipster uberjar deployment: https://github.com/jhipster/generator-jhipster/issues/10331#issuecomment-528563349

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found