少年阿宾

那些青春的岁月

  BlogJava :: 首页 :: 联系 :: 聚合  :: 管理
  500 Posts :: 0 Stories :: 135 Comments :: 0 Trackbacks

方法一:
# cd $CATALINA_HOME  -> 进入到tomcat安装目录下(或用其他command进入)

# more RELEASE-NOTES -> 即可看到

 上面得到的信息准确的前提:没有打新的tuning patch

[abin@abin tomcat]$ more RELEASE-NOTES
================================================================================
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
================================================================================

$Id: RELEASE-NOTES 786654 2009-06-19 20:25:01Z markt $


                     Apache Tomcat Version 6.0.29
                            Release Notes


=============================
KNOWN ISSUES IN THIS RELEASE:
=============================






方法二:
[abin@abin bin]$ ./version.sh
/app/jiekou3/bin/catalina.sh: line 86: SET: command not found
Using CATALINA_BASE:   /app/jiekou3
Using CATALINA_HOME:   /app/jiekou3
Using CATALINA_TMPDIR: /app/jiekou3/temp
Using JRE_HOME:        /usr/jdk1.6
Using CLASSPATH:       /app/jiekou3/bin/bootstrap.jar
Server version: Apache Tomcat/6.0.29
Server built:   July 19 2010 1458
Server number:  6.0.0.29
OS Name:        Linux
OS Version:     2.6.32-71.el6.x86_64
Architecture:   amd64
JVM Version:    1.6.0_26-b03
JVM Vendor:     Sun Microsystems Inc.




方法三:
[abin@abin bin]$ sh version.sh
/app/jiekou3/bin/catalina.sh: line 86: SET: command not found
Using CATALINA_BASE:   /app/jiekou3
Using CATALINA_HOME:   /app/jiekou3
Using CATALINA_TMPDIR: /app/jiekou3/temp
Using JRE_HOME:        /usr/jdk1.6
Using CLASSPATH:       /app/jiekou3/bin/bootstrap.jar
Server version: Apache Tomcat/6.0.29
Server built:   July 19 2010 1458
Server number:  6.0.0.29
OS Name:        Linux
OS Version:     2.6.32-71.el6.x86_64
Architecture:   amd64
JVM Version:    1.6.0_26-b03
JVM Vendor:     Sun Microsystems Inc.

posted on 2012-11-14 11:13 abin 阅读(18765) 评论(1)  编辑  收藏 所属分类: tomcat

Feedback

# re: linux下查看tomcat 版本 2015-02-03 22:18 叫我小马哥
要是不知道tomcat在哪里安装,怎么查找路径?  回复  更多评论
  


只有注册用户登录后才能发表评论。


网站导航: