File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 50
50
import org .apache .catalina .WebResourceSet ;
51
51
import org .apache .catalina .Wrapper ;
52
52
import org .apache .catalina .connector .Connector ;
53
+ import org .apache .catalina .core .AprLifecycleListener ;
53
54
import org .apache .catalina .loader .WebappLoader ;
54
55
import org .apache .catalina .session .StandardManager ;
55
56
import org .apache .catalina .startup .Tomcat ;
@@ -122,7 +123,9 @@ public class TomcatServletWebServerFactory extends AbstractServletWebServerFacto
122
123
123
124
private List <Valve > contextValves = new ArrayList <>();
124
125
125
- private List <LifecycleListener > contextLifecycleListeners = new ArrayList <>();
126
+ private List <LifecycleListener > contextLifecycleListeners = new ArrayList <>(Arrays .asList (
127
+ new AprLifecycleListener ()
128
+ ));
126
129
127
130
private List <TomcatContextCustomizer > tomcatContextCustomizers = new ArrayList <>();
128
131
You can’t perform that action at this time.
0 commit comments