Skip to content

Commit ad3fc3c

Browse files
Add flag to force Metadata Not Complete for #358
Signed-off-by: Lachlan Roberts <[email protected]>
1 parent ec8a450 commit ad3fc3c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

runtime/runtime_impl_jetty12/src/main/java/com/google/apphosting/runtime/jetty/ee8/AppEngineWebAppContext.java

+3
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ public AppEngineWebAppContext(File appDir, String serverInfo, boolean extractWar
117117
// If the application fails to start, we throw so the JVM can exit.
118118
setThrowUnavailableOnStartupException(true);
119119

120+
// This is a workaround to allow old quickstart-web.xml from Jetty 9.4 to be deployed.
121+
setAttribute("org.eclipse.jetty.ee8.annotations.AnnotationIntrospector.ForceMetadataNotComplete", "true");
122+
120123
// We do this here because unlike EE10 there is no easy way
121124
// to override createTempDirectory on the CoreContextHandler.
122125
createTempDirectory();

0 commit comments

Comments
 (0)