第一点:context.xml配置jndi的参数修改
maxActive 替换为 :maxTotal
maxWait 替换为 :maxWaitMillis
factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory" 替换为:factory="org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory"或者factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
第二点:运行参数修改
-XX:MaxPermSize替换为:-XX:MaxMetaspaceSize
第三点:server.xml
<Listener className="org.apache.catalina.core.JasperListener" /> 替换为:<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />