What version of tomcat am I using?

2004-05-06 Thread Glanville, Jay
Is there a way to programmatically determine what version of tomcat is installed on my system? The situation is this: I'm writing an upgrade script for my application, and if the version of tomcat is 4.x, then I need to shutdown, install tomcat 5, configure tomcat 5 and then startup tomcat 5. If

Re: What version of tomcat am I using?

2004-05-06 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#version Glanville, Jay wrote: Is there a way to programmatically determine what version of tomcat is installed on my system? The situation is this: I'm writing an upgrade script for my application, and if the version of tomcat is 4.x, then I need to

Re: What version of tomcat am I using?

2004-05-06 Thread QM
On Thu, May 06, 2004 at 10:08:51AM -0400, Glanville, Jay wrote: : Is there a way to programmatically determine what version of tomcat is : installed on my system? method: org/apache/catalina/util/ServerInfo.getServerInfo() and resource bundle:

RE: What version of tomcat am I using?

2004-05-06 Thread Jay Glanville
:26 AM To: Tomcat Users List Subject: Re: What version of tomcat am I using? http://jakarta.apache.org/tomcat/faq/misc.html#version Glanville, Jay wrote: Is there a way to programmatically determine what version of tomcat is installed on my system? The situation is this: I'm writing

RE: What version of tomcat am I using?

2004-05-06 Thread Jay Glanville
On Thu, May 06, 2004 at 10:08:51AM -0400, Glanville, Jay wrote: : Is there a way to programmatically determine what version of tomcat is : installed on my system? method: org/apache/catalina/util/ServerInfo.getServerInfo() and resource bundle:

Re: What version of tomcat am I using?

2004-05-06 Thread QM
On Thu, May 06, 2004 at 12:04:58PM -0400, Jay Glanville wrote: : Ah, the latter looks useable, although requires a little more jumping : through hoops then I was hoping for. Baring any easier solutions, I'll : start using that property file. Is your upgrade tool (or any part of it) written in