You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a war file is deployed to Tomcat, Jetty, or Undertow, we currently configure and customise the servlet web server factory even though it will never be used. It would be useful to be able to make the configuration and customization conditional on the app not being deployed to an external container.
The text was updated successfully, but these errors were encountered:
Adding a note here in case we need to return to this issue in the future.
The code below currently works because we set the ServletContext quite late in the embedded case. With a war deployment, it's set very early.
ServletContextservletContext = applicationContext.getServletContext();
if (servletContext != null) {
returnConditionOutcome.match("Application is deployed as a WAR file.");
}
If a war file is deployed to Tomcat, Jetty, or Undertow, we currently configure and customise the servlet web server factory even though it will never be used. It would be useful to be able to make the configuration and customization conditional on the app not being deployed to an external container.
The text was updated successfully, but these errors were encountered: