Re: Programmatically Determine JVM Version used by Tomcat

2007-06-11 Thread bachuba
Thanks, this is just what I was looking for. Mark H. Wood wrote: 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] ~ $

Re: Programmatically Determine JVM Version used by Tomcat

2007-06-08 Thread Johnny Kewl
I copied this from the wildcat source at http://coolese.100free.com/ sInfo += OS Name: + System.getProperty(os.name) + \n; sInfo += OS Version: + System.getProperty(os.version) + \n; sInfo += Architecture: + System.getProperty(os.arch) + \n;

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? ?xml version=1.0 encoding=US-ASCII ?

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

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: System.getProperty(java.runtime.version) -

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

Re: Programmatically Determine JVM Version used by Tomcat

2007-06-07 Thread bachuba
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 java. Later, JAVA 1.5 is installed and

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 suggested

RE: Programmatically Determine JVM Version used by Tomcat

2007-06-07 Thread Propes, Barry L
: 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 java

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 gb1071nx
- From: David kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, June 07, 2007 10:31 AM To: Tomcat Users List Subject: Re: Programmatically Determine JVM Version used by Tomcat bachuba wrote: Hi, I'm fairly new to using Tomcat, but need to determine what JVM version (or at least the path