Re: Programmatically Determine JVM Version used by Tomcat

2007-06-11 Thread bachuba
-b03 > JVM Vendor: Sun Microsystems Inc. > > -- > Mark H. Wood, Lead System Programmer [EMAIL PROTECTED] > Typically when a software vendor says that a product is "intuitive" he > means the exact opposite. > > > > -- View this message in context: http://www.

Re: Programmatically Determine JVM Version used by Tomcat

2007-06-08 Thread Mark H. Wood
Well, that was silly. The Tomcat HTML Manager already provides the JRE version at the bottom of the page, if you wanted to manually check it. To check by script, you could use the plain Manager: [EMAIL PROTECTED] ~ $ wget --quiet -O - --user USER --password PASSWORD http://localhost:8080/manage

Re: Programmatically Determine JVM Version used by Tomcat

2007-06-08 Thread Mark H. Wood
If you fetch 'java.runtime.version' in freestanding code then you'll get the version of the current default JRE, which might not be what Tomcat is using. But if you fetch it in a servlet, then you should get the version of the JRE that's running Tomcat, no? <%@ page language="java" contentType="

Re: Programmatically Determine JVM Version used by Tomcat

2007-06-08 Thread Johnny Kewl
erverBuilt() + "\n"; sInfo += "Tomcat Server number: " + org.apache.catalina.util.ServerInfo.getServerNumber() + "\n"; Everything you need enjoy You do know that the bin.... holds a version.bat and you could also just run that. - Original

RE: Programmatically Determine JVM Version used by Tomcat

2007-06-07 Thread gb1071nx
to compare the two strings to see if they're not equal. Or if one equals something it shouldn't... > -Original Message- > From: David kerber [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 07, 2007 10:31 AM > To: Tomcat Users List > Subject: Re: Programmatically Determine JVM

RE: Programmatically Determine JVM Version used by Tomcat

2007-06-07 Thread Robert Harper
. -Original Message- From: bachuba [mailto:[EMAIL PROTECTED] Sent: Thursday, June 07, 2007 2:48 PM To: users@tomcat.apache.org Subject: Re: Programmatically Determine JVM Version used by Tomcat I believe the suggested solutions will only poll the java version installed on the computer, correct? I

RE: Programmatically Determine JVM Version used by Tomcat

2007-06-07 Thread Propes, Barry L
t: Re: Programmatically Determine JVM Version used by Tomcat I believe the suggested solutions will only poll the java version installed on the computer, correct? I probably should have provided a little more detail on what is needed. Tomcat is being installed with JAVA_HOME pointed toward a 1.4 version of

RE: Programmatically Determine JVM Version used by Tomcat

2007-06-07 Thread Propes, Barry L
can't you open up the bat or .sh file and just make the change there? -Original Message- From: bachuba [mailto:[EMAIL PROTECTED] Sent: Thursday, June 07, 2007 3:48 PM To: users@tomcat.apache.org Subject: Re: Programmatically Determine JVM Version used by Tomcat I believe the sugg

Re: Programmatically Determine JVM Version used by Tomcat

2007-06-07 Thread bachuba
ation, so I'd like to write a program that detects when this situation occurs (JAVA_HOME set to 1.5, Tomcat using 1.4). Thanks. -- View this message in context: http://www.nabble.com/Programmatically-Determine-JVM-Version-used-by-Tomcat-tf3884522.html#a11015926 Sent from the Tomcat - User ma

Re: Programmatically Determine JVM Version used by Tomcat

2007-06-07 Thread David kerber
bachuba wrote: Hi, I'm fairly new to using Tomcat, but need to determine what JVM version (or at least the path to it) a running Tomcat service is currently using on a Windows system. If I run tomcat5w.exe and click on the Java tab, I notice the informaiton is listed there, but I would like to b

RE: Programmatically Determine JVM Version used by Tomcat

2007-06-07 Thread Caldarale, Charles R
> From: bachuba [mailto:[EMAIL PROTECTED] > Subject: Programmatically Determine JVM Version used by Tomcat > > I'm fairly new to using Tomcat, but need to determine what > JVM version (or at least the path to it) It's available in a system property

Programmatically Determine JVM Version used by Tomcat

2007-06-07 Thread bachuba
o get at that programmatically. We are currently using Tomcat version 5.0.28. Could somone please describe how this could be done? Thanks. -- View this message in context: http://www.nabble.com/Programmatically-Determine-JVM-Version-used-by-Tomcat-tf3884522.html#a11010153 Sent from the Tomcat -