标签:
其实教程就这两布,但是我要把War放到webapp里发布呀。于是就去找Tomcat的安装位置。
tomcat.service - Apache Tomcat Web Application Container Loaded: loaded (/usr/lib/systemd/system/tomcat.service; disabled) Active: active (running) since Sat 2015-04-25 21:15:38 CST; 4min 57s ago Main PID: 8001 (java) CGroup: /system.slice/tomcat.service `-8001 /usr/bin/java -classpath /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar -Dcatalina.base=/usr/share/tomcat -Dcatalina.home=/usr/share/tomcat -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat/temp -Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager org.apache.catalina.startup.Bootstrap start Apr 25 21:15:41 linux-11i9.site tomcat.service[8001]: [84B blob data] Apr 25 21:15:41 linux-11i9.site tomcat.service[8001]: INFO: Starting Servlet Engine: Apache Tomcat/7.0.42 Apr 25 21:15:41 linux-11i9.site tomcat.service[8001]: [85B blob data] Apr 25 21:15:41 linux-11i9.site tomcat.service[8001]: INFO: Deploying web application directory /srv/tomcat/webapps/ext-5.1.0 Apr 25 21:15:43 linux-11i9.site tomcat.service[8001]: [71B blob data] Apr 25 21:15:43 linux-11i9.site tomcat.service[8001]: INFO: Starting ProtocolHandler ["http-apr-8080"] Apr 25 21:15:43 linux-11i9.site tomcat.service[8001]: [71B blob data] Apr 25 21:15:43 linux-11i9.site tomcat.service[8001]: INFO: Starting ProtocolHandler ["ajp-apr-8009"] Apr 25 21:15:43 linux-11i9.site tomcat.service[8001]: [73B blob data] Apr 25 21:15:43 linux-11i9.site tomcat.service[8001]: INFO: Server startup in 1760 ms
标签:
原文地址:http://www.cnblogs.com/VinceYang1994/p/4456773.html