This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push: new 8e94406 63765: Properly mark container as FAILED when a JVM error occurs on stop 8e94406 is described below commit 8e94406ba19e58cfa919889c215216cd6b4599bc Author: remm <r...@apache.org> AuthorDate: Fri Oct 11 18:12:53 2019 +0200 63765: Properly mark container as FAILED when a JVM error occurs on stop --- java/org/apache/catalina/util/LifecycleBase.java | 2 +- webapps/docs/changelog.xml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/java/org/apache/catalina/util/LifecycleBase.java b/java/org/apache/catalina/util/LifecycleBase.java index 8ea4d65..870cb9a 100644 --- a/java/org/apache/catalina/util/LifecycleBase.java +++ b/java/org/apache/catalina/util/LifecycleBase.java @@ -432,8 +432,8 @@ public abstract class LifecycleBase implements Lifecycle { private void handleSubClassException(Throwable t, String key, Object... args) throws LifecycleException { - ExceptionUtils.handleThrowable(t); setStateInternal(LifecycleState.FAILED, null, false); + ExceptionUtils.handleThrowable(t); String msg = sm.getString(key, args); if (getThrowOnFailure()) { if (!(t instanceof LifecycleException)) { diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 90b59b9..a860c45 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -51,6 +51,10 @@ Bad paths for URIs can cause exceptions on Windows due to its path separator, so wrap using an IOException. (remm) </fix> + <fix> + <bug>63765</bug>: Properly mark container as FAILED when a JVM error + occurs on stop. (remm) + </fix> </changelog> </subsection> <subsection name="Coyote"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org