iamplane 2012-01-12
1.linux下查看tomcat和jdk版本号的命令:
这个需要进入到bin目录下面
[root@localhostbin]#./version.sh
UsingCATALINA_BASE:/usr/local/tomcat6
UsingCATALINA_HOME:/usr/local/tomcat6
UsingCATALINA_TMPDIR:/usr/local/tomcat6/temp
UsingJRE_HOME:/usr/java/jdk1.6.0_20
UsingCLASSPATH:/usr/local/tomcat6/bin/bootstrap.jar
Serverversion:ApacheTomcat/6.0.32
Serverbuilt:February220112003
Servernumber:6.0.32.0
OSName:Linux
OSVersion:2.6.18-194.el5
Architecture:i386
JVMVersion:1.6.0_20-b02
JVMVendor:SunMicrosystemsInc.
2.重启tomcat的命令:
第一个,这个需要进入到bin目录下面
[root@localhostbin]#./startup.sh
第二个,servicetomcatstart
3、查看tomcat日志的命令:
tail-f/usr/local/tomcat/logs/catalina.out