Project

General

Profile

Bug #2110

WebApp Context may not be cleaned up upon unsuccesful start

Added by Henning Blohm over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
23.09.2021
Due date:
% Done:

0%

Estimated time:
origin:

Description

Upon failure to start a Web application, the Web application context may not be automatically stopped in Jetty < 10.

Acceptance Criteria

  • Make sure to invoke stop() on the Web Application Context, in case the starting failed;
                            } finally {
                                  try {
                                  wac.stop();
                                } catch (Exception e) {
                                  logger.log(Level.WARNING, "Error during fail stop: "+WebAppResource.this.name,e);
                                }
                            }

Also available in: Atom PDF