-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.
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
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="
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
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
.
-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
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
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
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
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
> 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
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 -
12 matches
Mail list logo