@@ -0,0 +1,1279 @@
+package example;%0A%0Aimport org.apache.catalina.connector.Connector;%0Aimport org.springframework.beans.factory.annotation.Value;%0Aimport org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;%0Aimport org.springframework.boot.context.embedded.EmbeddedServletContainerFactory;%0Aimport org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory;%0Aimport org.springframework.context.annotation.Bean;%0Aimport org.springframework.context.annotation.Configuration;%0A%0A@Configuration%0Apublic class WebContainerConfiguration %7B%0A%0A    @Value(%22$%7Btomcat.ajp.port%7D%22)%0A    private int ajpPort;%0A%0A    @Value(%22$%7Btomcat.ajp.redirect.port%7D%22)%0A    private int ajpRedirectPort;%0A%0A    @Bean%0A    public EmbeddedServletContainerFactory containerWithDynamoDBSessionManager() %7B%0A        TomcatEmbeddedServletContainerFactory tomcat = new TomcatEmbeddedServletContainerFactory();%0A        tomcat.addAdditionalTomcatConnectors(createAjpConnector());%0A        return tomcat;%0A    %7D%0A%0A    private Connector createAjpConnector() %7B%0A        Connector connector = new Connector(%22org.apache.coyote.ajp.AjpProtocol%22);%0A        connector.setProtocol(%22AJP/1.3%22);%0A        connector.setPort(this.ajpPort);%0A        connector.setRedirectPort(this.ajpRedirectPort);%0A        return connector;%0A    %7D%0A%0A%7D

add ajp connector