Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 46189 invoked from network); 1 Feb 2006 19:49:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Feb 2006 19:49:51 -0000 Received: (qmail 96225 invoked by uid 500); 1 Feb 2006 19:49:33 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 96211 invoked by uid 500); 1 Feb 2006 19:49:33 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 96198 invoked by uid 99); 1 Feb 2006 19:49:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 11:49:33 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of Mike.Sabroff@cygnusb2b.com designates 69.223.214.2 as permitted sender) Received: from [69.223.214.2] (HELO forex.cygnuspub.com) (69.223.214.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 11:49:31 -0800 Received: from [192.168.0.159] ([192.168.0.159]) by forex.cygnuspub.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 1 Feb 2006 13:46:39 -0600 Message-ID: <43E1109A.4020004@cygnusb2b.com> Date: Wed, 01 Feb 2006 13:48:42 -0600 From: Mike Sabroff Reply-To: mike.sabroff@cygnusb2b.com User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: How to identify version of a running Tomcat and similar trivia References: <43E0F22D.3090806@joedog.org> In-Reply-To: <43E0F22D.3090806@joedog.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Feb 2006 19:46:39.0313 (UTC) FILETIME=[37D07C10:01C62768] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N go to tomcat/bin type "catalina.sh version" output will look like: Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/local/tomcat Using CATALINA_TMPDIR: /usr/local/tomcat/temp Using JRE_HOME: /usr/local/java Server version: Apache Tomcat/5.5.12 Server built: Sep 23 2005 09:40:42 Server number: 5.5.12.0 OS Name: Linux OS Version: 2.6.11-1.1369_FC4 Architecture: i386 JVM Version: 1.5.0_06-b05 JVM Vendor: Sun Microsystems Inc. Tim Funk wrote: > Tomcat is like any server based java app. It will always require a > convulted classpath as well as multiple classloaders to do anything > interesting. > > The most failsafe way to get the version regarless of the packaging is > to do the following: (no, i'm not kidding) > 1) find catalina.jar. It *should* be in server/lib/catalina.jar of > your tomcat installation > 2) Open it with winzip like program > 3) Look for ServerInfo.properties (in org/apache/catalina/util/) > 4) In that file is ther server version > > The version.sh script is just a wrapper the created the appropriate > classpath so that the properties file can be loaded. > > > -Tim > > Ralph.Grothe@itdz-berlin.de wrote: > >> Hi Tim, >> >> >> Only problem is, my Tomcat depot on this box (randomly picked one >> of our HP-UX boxes, but we also have Tomcats running on Linux, >> AIX, Solaris (and probably Win32) doesn't seem to have bundled >> such a wrapper script. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > -- Mike Sabroff Web Services Developer mike.sabroff@cygnusb2b.com 920-568-8379 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org