图片 4

Tomcat的安装和配置,Linux下Resin安装和配置

图片 1

CentOS 64-bit下安装JDK和Tomcat并设置Tomcat开机启动操作步骤
http://www.linuxidc.com/Linux/2015-01/111485.htm 

 

本文永久更新链接地址:http://www.linuxidc.com/Linux/2017-03/142196.htm

Tomcat的安装分为两个步骤:安装JDK和安装Tomcat

shell > curl “” # 全部可以访问
welcome to tomcat1
shell > curl “”
welcome to tomcat2
shell > curl “”
welcome to tomcat3

如果解析出Date()函数显示时间则表示我们配置的虚拟主机成功了。

出现上面的页面说明Tomcat搭建成功。

 

图片 2

JDK是Sun公司针对Java开发的产品,JDK是整个Java的核心,包括Java运行环境,Java工具,Java基础类库。所以要想运行jsp程序必须要有JDK的支持。

shell > vim tomcat2/conf/server.xml # 修改 tomcat2
22 <Server port=”8006″ shutdown=”SHUTDOWN”> # 原端口为 8005
修改为 8006
69 <Connector port=”8081″ protocol=”HTTP/1.1″ # 原端口为 8080 修改为
8081
91 <Connector port=”8019″ protocol=”AJP/1.3″ redirectPort=”8443″
/> # 原端口为 8009 修改为 8019

进入配置文件目录:
[root@linuxidc resin-4.0.36]# cd /usr/local/resin/conf/
查看都有哪些配置文件:
[root@linuxidc conf]# ls
app-default.xml      health.xml  licenses          resin.xml
cluster-default.xml  keys        resin.properties
配置1:改变端口8080为80:
编辑配置文件:
[root@linuxidc conf]# vim resin.properties
修改app.http :8080为app.http :80
重启:
[root@linuxidc conf]# /etc/init.d/resin stop
Stopping resin: .
[root@linuxidc conf]# /etc/init.d/resin start
Starting resin: .
查看端口:
[root@linuxidc conf]# netstat -lnp |grep java
tcp        0      0 127.0.0.1:6600              0.0.0.0:*             
    LISTEN      4387/java
tcp        0      0 127.0.0.1:6800              0.0.0.0:*             
    LISTEN      4432/java
tcp        0      0 :::80                      :::*                   
    LISTEN      4432/java
unix  2      [ ACC ]    STREAM    LISTENING    16890  4387/java       
  /tmp/.java_pid4387.tmp
在浏览器中输入:192.168.11.160(可以加上:80,也可以不加,默认就是80)进行测试。
配置2:配置虚拟主机
创建网站根目录:
[root@linuxidc conf]# mkdir /data/resinweb
编辑配置文件:
[root@linuxidc conf]# vim resin.xml
在cluster模块中增加一台虚拟主机内容如下:
<host id=”www.linuxidc.com” root-directory=”.”>
<web-app id=”/” root-directory=”/data/resinweb”/>
</host>
重启:
[root@linuxidc conf]# /etc/init.d/resin stop
Stopping resin: .
[root@linuxidc conf]# /etc/init.d/resin start
Starting resin: .
在根目录下写点东西:
[root@linuxidc conf]# vim /data/resinweb/1.jsp
<html>
<body>
<center>
Now time is: <%=new java.util.Date()%>
</center>
</body>
</html>
测试一下jsp解析:
[root@linuxidc conf]# curl -xlocalhost:80 www.linuxidc.com/1.jsp
<html>
<body>
<center>
Now time is: Sun Mar 12 03:51:05 CST 2017
</center>
</body>
</html>

CentOS 6.5下安装Tomcat 
http://www.linuxidc.com/Linux/2015-01/111415.htm 

shell > /usr/local/tomcat3/bin/startup.sh # 启动 tomcat3
Using CATALINA_BASE: /usr/local/tomcat3
Using CATALINA_HOME: /usr/local/tomcat3
Using CATALINA_TMPDIR: /usr/local/tomcat3/temp
Using JRE_HOME: /usr
Using CLASSPATH:
/usr/local/tomcat3/bin/bootstrap.jar:/usr/local/tomcat3/bin/tomcat-juli.jar
Tomcat started.

进入源码包目录:
[root@linuxidc ~]# cd /usr/local/src
下载安装包:
[root@linuxidc src]# wget ‘www.linuxidc.com/resin-4.0.36.tar.gz’
[root@linuxidc src]# ls
resin-4.0.36.tar.gz
解压:
[root@linuxidc src]# tar zxvf resin-4.0.36.tar.gz
进入安装包:
[root@linuxidc src]# cd resin-4.0.36
配置安装路径和JDK的路径:
[root@linuxidc resin-4.0.36]# ./configure –prefix=/usr/local/resin
–with-java=/usr/local/jdk1.8.0_31
编译:
[root@linuxidc resin-4.0.36]# make
安装:
[root@linuxidc resin-4.0.36]# make install
查看安装后的文件:
[root@linuxidc resin-4.0.36]# ls /usr/local/resin/
app-inf  conf  endorsed  libexec  project-jars  webapp-jars
bin      doc  lib      log      resin-inf    webapps
查看启动脚本:
[root@linuxidc resin-4.0.36]# ls /etc/init.d/resin
/etc/init.d/resin
先停掉Tomcat:
[root@linuxidc resin-4.0.36]# /etc/init.d/tomcat stop
Using CATALINA_BASE:  /usr/local/tomcat
Using CATALINA_HOME:  /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME:        /usr/local/jdk1.8.0_31
Using CLASSPATH:     
/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
启动resin:
[root@linuxidc resin-4.0.36]# /etc/init.d/resin start
Starting resin: .
查看进程:
[root@linuxidc resin-4.0.36]# ps aux |grep java
root      3398 13.3  3.4 349504 66812 pts/0    Sl  03:31  0:03
/usr/local/jdk1.8.0_31/bin/java -Dresin.watchdog=app-0
-Djava.util.logging.manager=com.caucho.log.LogManagerImpl
-Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl
-Djava.awt.headless=true -Dresin.home=/usr/local/resin/
-Dresin.root=/usr/local/resin -Xrs -Xss256k -Xmx32m -server
com.caucho.boot.WatchdogManager -root-directory /usr/local/resin -conf
/usr/local/resin/conf/resin.xml -log-directory /usr/local/resin/log
start-all –log-directory /usr/local/resin/log
root      3444 30.4  6.0 640564 117352 pts/0  Sl  03:31  0:06
/usr/local/jdk1.8.0_31/bin/java -Dresin.server=app-0
-Djava.util.logging.manager=com.caucho.log.LogManagerImpl
-Djava.system.class.loader=com.caucho.loader.SystemClassLoader
-Djava.endorsed.dirs=/usr/local/jdk1.8.0_31/jre/lib/endorsed:/usr/local/resin//endorsed:/usr/local/resin/endorsed
-Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl
-Djava.awt.headless=true -Dresin.home=/usr/local/resin/ -Xss1m -Xmx256m
-server com.caucho.server.resin.Resin –root-directory /usr/local/resin
-conf /usr/local/resin/conf/resin.xml -server app-0 -socketwait 58146
-root-directory /usr/local/resin -log-directory /usr/local/resin/log
start-all –log-directory /usr/local/resin/log
root      3502  0.0  0.0  5980  748 pts/0    S+  03:31  0:00 grep java
查看端口(默认端口6600,6800,8080):
[root@linuxidc resin-4.0.36]# netstat -lnp |grep java
tcp        0      0 127.0.0.1:6600              0.0.0.0:*             
    LISTEN      3398/java
tcp        0      0 127.0.0.1:6800              0.0.0.0:*             
    LISTEN      3444/java
tcp        0      0 :::8080                    :::*                   
    LISTEN      3444/java
unix  2      [ ACC ]    STREAM    LISTENING    15934  3398/java       
  /tmp/.java_pid3398.tmp
在浏览器中输入:192.168.147.140:8080

Tomcat官网:
进入源码包目录:
[root@cp4 ~]# cd /usr/local/src
下载Tomcat免编译安装包:
[root@cp4 src]# ls
apache-tomcat-7.0.75.tar.gz
解压:
[root@cp4 src]# tar zxvf apache-tomcat-7.0.75.tar.gz
移动到安装目录并重命名为tomcat:
[root@cp4 src]# mv apache-tomcat-7.0.75 /usr/local/tomcat
[root@cp4 src]# ls /usr/local/tomcat/
bin  lib      logs    RELEASE-NOTES  temp    work
conf  LICENSE  NOTICE  RUNNING.txt    webapps
进入安装目录:
[root@cp4 src]# cd /usr/local/tomcat/
复制启动脚本到init.d目录并命名为tomcat:
[root@cp4 tomcat]# cp -v bin/catalina.sh /etc/init.d/tomcat
“bin/catalina.sh” -> “/etc/init.d/tomcat”
编辑启动脚本:
[root@cp4 tomcat]# vim /etc/init.d/tomcat
在前面加入下面四行内容:
#!/bin/sh
#chkconfig:2345 63 37
. /etc/init.d/functions
JAVA_HOME=/usr/local/jdk1.8.0_31
CATALINA_HOME=/usr/local/tomcat
更改启动脚本权限:
[root@cp4 tomcat]# chmod 755 /etc/init.d/tomcat
加入开机启动列表:
[root@cp4 tomcat]# chkconfig –add tomcat
设置为开机启动:
[root@cp4 tomcat]# chkconfig tomcat on
启动Tomcat服务:
[root@cp4 tomcat]#  /etc/init.d/tomcat start
Using CATALINA_BASE:  /usr/local/tomcat
Using CATALINA_HOME:  /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME:        /usr/local/jdk1.8.0_31
Using CLASSPATH:     
/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
Tomcat started.
查看进程:
[root@cp4 tomcat]# ps aux | grep tomcat
root      1273 14.7  4.7 819628 91480 pts/0    Sl  00:43  0:07
/usr/local/jdk1.8.0_31/bin/java
-Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djdk.tls.ephemeralDHKeySize=2048
-Djava.endorsed.dirs=/usr/local/tomcat/endorsed -classpath
/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
-Dcatalina.base=/usr/local/tomcat -Dcatalina.home=/usr/local/tomcat
-Djava.io.tmpdir=/usr/local/tomcat/temp
org.apache.catalina.startup.Bootstrap start
查看端口(注意tomcat的进程名字是java,其实Tomcat启动的是Java进程):
[root@cp4 tomcat]# netstat -lnp | grep java
tcp        0      0 ::ffff:127.0.0.1:8005      :::*                   
    LISTEN      1273/java
tcp        0      0 :::8009                    :::*                   
    LISTEN      1273/java
tcp        0      0 :::8080                    :::*                   
    LISTEN      1273/java
tomcat不支持restart重启,只能先stop然后start
访问之前确保关闭了防火墙iptables:
[root@cp4 tomcat]# iptables -nvL
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target    prot opt in    out    source             
destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target    prot opt in    out    source             
destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target    prot opt in    out    source             
destination
[root@cp4 tomcat]#
在浏览器中输入:192.168.147.140:8080

shell > /usr/local/tomcat2/bin/startup.sh # 启动 tomcat2
Using CATALINA_BASE: /usr/local/tomcat2
Using CATALINA_HOME: /usr/local/tomcat2
Using CATALINA_TMPDIR: /usr/local/tomcat2/temp
Using JRE_HOME: /usr
Using CLASSPATH:
/usr/local/tomcat2/bin/bootstrap.jar:/usr/local/tomcat2/bin/tomcat-juli.jar
Tomcat started.

resin跟tomcat一样,也是解析jsp网站的,也需要JDK的支持,所以第一步也是安装JDK,安装JDK的方法参考Tomcat中的安装JDK部分。下面介绍安装resin。resin官网,它有两个版本,其中resin是开源免费的,另一个是resinpro是商业版收费的。

RedHat Linux
5.5安装JDK+Tomcat并部署Java项目 
http://www.linuxidc.com/Linux/2015-02/113528.htm 

Tomcat权威指南(第二版)(中英高清PDF版+带书签) 
http://www.linuxidc.com/Linux/2015-02/113062.htm 

Tomcat 安全配置与性能优化
http://www.linuxidc.com/Linux/2015-02/113060.htm 

shell > /usr/local/tomcat2/bin/shutdown.sh # 现在单独关闭任何一个
别的都不受影响
Using CATALINA_BASE: /usr/local/tomcat2
Using CATALINA_HOME: /usr/local/tomcat2
Using CATALINA_TMPDIR: /usr/local/tomcat2/temp
Using JRE_HOME: /usr
Using CLASSPATH:
/usr/local/tomcat2/bin/bootstrap.jar:/usr/local/tomcat2/bin/tomcat-juli.jar

Tomcat
的详细介绍
:请点这里
Tomcat
的下载地址
:请点这里

 

本文永久更新链接地址:http://www.linuxidc.com/Linux/2017-03/142195.htm

 

进入源码包目录:
[root@cp4 ~]# cd /usr/local/src/
下载JDK免编译安装包:
[root@cp4 src]# ls
jdk-8u31-linux-i586.tar.gz
解压:
[root@cp4 src]# tar zxvf jdk-8u31-linux-i586.tar.gz
移动到安装路径下:
[root@cp4 src]# mv jdk1.8.0_31 /usr/local/
新建一个Java配置文件写入如下内容:
[root@cp4 src]# vim /etc/profile.d/java.sh
JAVA_HOME=/usr/local/jdk1.8.0_31
JAVA_BIN=/usr/local/jdk1.8.0_31/bin
JRE_HOME=/usr/local/jdk1.8.0_31/jre
PATH=$PATH:/usr/local/jdk1.8.0_31/bin:/usr/local/jdk1.8.0_31/jre/bin
CLASSPATH=/usr/local/jdk1.8.0_31/jre/lib:/usr/local/jdk1.8.0_31/lib:/usr/local/jdk1.8.0_31/jre/lib/charsets.jar
初始化环境变量,使其立即生效:
[root@cp4 src]# source /etc/profile.d/java.sh
或者 . /etc/profile.d/java.sh
验证是否成功:
[root@cp4 src]# java -version
java version “1.8.0_31”
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Server VM (build 25.31-b07, mixed mode)

图片 3

Linux下使用Xshell查看Tomcat实时日志中文乱码解决方案
http://www.linuxidc.com/Linux/2015-01/112395.htm 

CentOS
6.6下安装配置Tomcat环境
 
http://www.linuxidc.com/Linux/2015-08/122234.htm

图片 4

 

Tomcat权威指南(第二版)(中英高清PDF版+带书签) 
http://www.linuxidc.com/Linux/2015-02/113062.htm 

shell > ps aux | grep java # 进程路径也都没有错
root 1381 1.3 8.4 2270676 86560 pts/0 Sl 16:53 0:06 /usr/bin/java
-Djava.util.logging.config.file=/usr/local/tomcat1/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.endorsed.dirs=/usr/local/tomcat1/endorsed -classpath
/usr/local/tomcat1/bin/bootstrap.jar:/usr/local/tomcat1/bin/tomcat-juli.jar
-Dcatalina.base=/usr/local/tomcat1 -Dcatalina.home=/usr/local/tomcat1
-Djava.io.tmpdir=/usr/local/tomcat1/temp
org.apache.catalina.startup.Bootstrap start
root 1411 1.3 8.5 2270808 87144 pts/0 Sl 16:53 0:06 /usr/bin/java
-Djava.util.logging.config.file=/usr/local/tomcat2/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.endorsed.dirs=/usr/local/tomcat2/endorsed -classpath
/usr/local/tomcat2/bin/bootstrap.jar:/usr/local/tomcat2/bin/tomcat-juli.jar
-Dcatalina.base=/usr/local/tomcat2 -Dcatalina.home=/usr/local/tomcat2
-Djava.io.tmpdir=/usr/local/tomcat2/temp
org.apache.catalina.startup.Bootstrap start
root 1441 1.4 8.6 2270836 87784 pts/0 Sl 16:54 0:06 /usr/bin/java
-Djava.util.logging.config.file=/usr/local/tomcat3/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.endorsed.dirs=/usr/local/tomcat3/endorsed -classpath
/usr/local/tomcat3/bin/bootstrap.jar:/usr/local/tomcat3/bin/tomcat-juli.jar
-Dcatalina.base=/usr/local/tomcat3 -Dcatalina.home=/usr/local/tomcat3
-Djava.io.tmpdir=/usr/local/tomcat3/temp
org.apache.catalina.startup.Bootstrap start

更多Tomcat相关教程见以下内容

shell > tar zxf apache-tomcat-8.0.14.tar.gz -C /usr/local/
shell > cd ..
shell > cp -r apache-tomcat-8.0.14 tomcat1 # 复制三份 tomcat 其中
tomcat1 保持不变
shell > cp -r apache-tomcat-8.0.14 tomcat2
shell > cp -r apache-tomcat-8.0.14 tomcat3

目前有很多网站使用jsp的程序编写,所以解析jsp的程序就必须要有相关的软件来完成。Tomcat就是用来解析jsp程序的一个软件,Tomcat是Apache软件基金会的Jakarta项目中的一个核心项目,由Apache、Sun和其他一些公司和个人共同开发而成。因为Tomcat技术先进、性能稳定而且免费,因而深受Java爱好者的喜爱并得到部分软件开发商的认可,成为目前比较流行的web应用服务器。Tomcat是一个轻量级的应用服务器,在中小型系统和并发访问量不是很多的场合下被普遍使用,是开发和调试jsp程序的首选。对于一个初学者来说,当一台机器上配置好Apache服务器,可以用它响应对HTML页面的访问请求。实际上Tomcat部分是Apache的扩展,但它是独立运行的,所以当运行Tomcat时,它实际上作为一个与Apache独立的进程单独运行的。

shell > /usr/local/tomcat1/bin/shutdown.sh # 关闭 tomcat1
Using CATALINA_BASE: /usr/local/tomcat1
Using CATALINA_HOME: /usr/local/tomcat1
Using CATALINA_TMPDIR: /usr/local/tomcat1/temp
Using JRE_HOME: /usr
Using CLASSPATH:
/usr/local/tomcat1/bin/bootstrap.jar:/usr/local/tomcat1/bin/tomcat-juli.jar

CentOS
6.6下安装配置Tomcat环境
 
http://www.linuxidc.com/Linux/2015-08/122234.htm

## 可以启动、关闭任意 tomcat
,没有顺序之分。唯一注意的一点,就是启动有一个过程,需要稍微等等,不要急。
 只需修改端口即可,无需按照网上所说,要设置变量、更改 catalina.sh
等文件(如有不对的地方,还请各位指正)

图片 5

 

Tomcat的安装非常简单,这里介绍几个简单的配置。
配置文件目录:
[root@cp4 tomcat]# cd /usr/local/tomcat/conf/
[root@cp4 conf]# ls
Catalina        catalina.properties  logging.properties 
tomcat-users.xml
catalina.policy  context.xml          server.xml          web.xml
配置1:更改端口8080为80
编辑配置文件:
[root@cp4 conf]# vim server.xml
把<Connector port=”8080″ >这个模块的port改为80:
<Connector port=”80″ protocol=”HTTP/1.1″
connectionTimeout=”20000″
redirectPort=”8443″ />
重启tomcat,先stop,后start:
[root@cp4 conf]# vim server.xml
[root@cp4 conf]# /etc/init.d/tomcat stop
Using CATALINA_BASE:  /usr/local/tomcat
Using CATALINA_HOME:  /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME:        /usr/local/jdk1.8.0_31
Using CLASSPATH:     
/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
[root@cp4 conf]# /etc/init.d/tomcat start
Using CATALINA_BASE:  /usr/local/tomcat
Using CATALINA_HOME:  /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME:        /usr/local/jdk1.8.0_31
Using CLASSPATH:     
/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
Tomcat started.
查看端口:(已经成功改成80)
[root@cp1 conf]# netstat -lnp | grep java
tcp        0      0 ::ffff:127.0.0.1:8005      :::*                   
    LISTEN      2045/java
tcp        0      0 :::8009                    :::*                   
    LISTEN      2045/java
tcp        0      0 :::80                      :::*                   
    LISTEN      2045/java
配置2:添加虚拟主机www.test.com,根目录为/data/tomcatweb:
创建网站根目录:
[root@cp4 conf]# mkdir -p /data/tomcatweb
编辑配置文件:
[root@cp4 conf]# vim server.xml
找到</Host>,在下面插入新的Host内容如下(参考模板:http://www.linuxidc.com/Linux/2017-03/142194.htm):
<Host name=”www.linuxidc.com” appBase=”/data/tomcatweb”
unpackWARs=”false” autoDeploy=”true”
xmlValidation=”false” xmlNamespaceAware=”false”>
<Context path=”” docBase=”./” reloadable=”true”
crossContext=”true”/>
</Host>
配置好后重启tomcat:
[root@cp4 conf]# /etc/init.d/tomcat stop
Using CATALINA_BASE:  /usr/local/tomcat
Using CATALINA_HOME:  /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME:        /usr/local/jdk1.8.0_31
Using CLASSPATH:     
/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
[root@cp4 conf]# /etc/init.d/tomcat start
Using CATALINA_BASE:  /usr/local/tomcat
Using CATALINA_HOME:  /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME:        /usr/local/jdk1.8.0_31
Using CLASSPATH:     
/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
Tomcat started.
在网站根目录下随便写点东西:
[root@cp4 conf]# echo “This is a test file” >
/data/tomcatweb/1.txt
测试访问结果:
[root@cp4 conf]# curl -xlocalhost:80 www.linuxidc.com/1.txt
This is a test file for jsp
测试jsp解析:
[root@cp4 conf]# vim /data/tomcatweb/1.jsp
<html>
<body>
<center>
Now time is: <%=new java.util.Date()%>
</center>
</body>
</html>
测试访问结果:
[root@cp4 conf]# curl -xlocalhost:80 www.linuxidc.com/1.jsp
<html>
<body>
<center>
Now time is: Sun Mar 12 00:59:48 CST 2017
</center>
</body>
</html>
如果解析出Date()函数显示时间则表示我们配置的虚拟主机成功了。

一、安装 JDK 、Tomcat

Tomcat中session的管理机制 
http://www.linuxidc.com/Linux/2016-09/135072.htm

shell > tail /usr/local/tomcat1/logs/catalina.out # 查看日志,这里有
tomcat 的开启、关闭信息
31-Oct-2014 16:46:29.296 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web
application directory /usr/local/tomcat1/webapps/manager has finished in
104 ms
31-Oct-2014 16:46:29.301 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
application directory /usr/local/tomcat1/webapps/examples
31-Oct-2014 16:46:30.488 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web
application directory /usr/local/tomcat1/webapps/examples has finished
in 1,187 ms
31-Oct-2014 16:46:30.492 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
application directory /usr/local/tomcat1/webapps/docs
31-Oct-2014 16:46:30.557 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web
application directory /usr/local/tomcat1/webapps/docs has finished in 65
ms
31-Oct-2014 16:46:30.564 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
application directory /usr/local/tomcat1/webapps/ROOT
31-Oct-2014 16:46:30.614 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web
application directory /usr/local/tomcat1/webapps/ROOT has finished in 50
ms
31-Oct-2014 16:46:30.624 INFO [main]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
[“http-nio-8080”]
31-Oct-2014 16:46:30.643 INFO [main]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
[“ajp-nio-8009”]
31-Oct-2014 16:46:30.649 INFO [main]
org.apache.catalina.startup.Catalina.start Server startup in 2772 ms

发表评论

电子邮件地址不会被公开。 必填项已用*标注