把IFEPA.war放在 apache-tomcat-8.0.26/webapps/ 目录下。 修改server.xml: 添加: <Service name="Catalina2"> <Connector URIEncoding="UTF-8" connectionTimeout="20000" port="80" protocol="HTTP/1.1" redirectPort="8444"/> <Connector port="8089" protocol="AJP/1.3" redirectPort="8444"/> <Engine defaultHost="localhost" name="Catalina2"> <Host appBase="" autoDeploy="true" name="localhost" unpackWARs="true" xmlNamespaceAware="false" xmlValidation="false"> <Context docBase="/home/apache-tomcat-8.0.26/webapps/VIBAP-WEB" path="" reloadable="true" workDir="/home/apache-tomcat-8.0.26/webapps/VIBAP-WEB"/> </Host> </Engine> </Service>
|