Updates for Tomcat 8 on Elastic Beanstalk

This commit is contained in:
Sean Owen 2014-11-07 22:55:05 +00:00
parent d876b3e178
commit 02a6347396
3 changed files with 2 additions and 4 deletions

View file

@ -33,7 +33,7 @@
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>6.0</version>
<version>7.0</version>
<scope>provided</scope>
</dependency>
<dependency>

View file

@ -1,3 +1,3 @@
container_commands:
replace-config:
command: cp .ebextensions/server.xml /etc/tomcat7/server.xml
command: cp .ebextensions/server.xml /etc/tomcat8/server.xml

View file

@ -18,8 +18,6 @@
<Server port="8005" shutdown="SHUTDOWN">
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
<Listener className="org.apache.catalina.core.JasperListener" />
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />