You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Edward Diener <ed...@tropicsoft.com> on 2006/06/24 00:52:37 UTC

Version of Tomcat installed

How can I programatically find out which version(s) of Tomcat is 
installed on my system ?


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Version of Tomcat installed

Posted by Edward Diener <ed...@tropicsoft.com>.
Len Popp wrote:
> Tomcat 5.5 has the value "Version" under
> HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\5.5
> I don't know if earlier versions of Tomcat have a similar registry setting.

I did find a similar registry setting for the 4.1 version. Thanks !


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Version of Tomcat installed

Posted by Len Popp <le...@gmail.com>.
Tomcat 5.5 has the value "Version" under
HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\5.5
I don't know if earlier versions of Tomcat have a similar registry setting.
-- 
Len

On 6/24/06, Edward Diener <ed...@tropicsoft.com> wrote:
> I need to be more precise in my question.
>
> How can I programatically find out which version(s) of Tomcat is
> installed under Windows programming a C++ application ? There is
> probably some registry entries which will give me this information.
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Version of Tomcat installed

Posted by Edward Diener <ed...@tropicsoft.com>.
David Rees wrote:
> On 6/23/06, Edward Diener <ed...@tropicsoft.com> wrote:
>> How can I programatically find out which version(s) of Tomcat is
>> installed on my system ?
> 
> getServletContext().getServerInfo()

I need to be more precise in my question.

How can I programatically find out which version(s) of Tomcat is 
installed under Windows programming a C++ application ? There is 
probably some registry entries which will give me this information.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Version of Tomcat installed

Posted by David Rees <dr...@gmail.com>.
On 6/23/06, Edward Diener <ed...@tropicsoft.com> wrote:
> How can I programatically find out which version(s) of Tomcat is
> installed on my system ?

getServletContext().getServerInfo()

-Dave

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Version of Tomcat installed

Posted by Martin Gainty <mg...@hotmail.com>.
Good Morning Ed-

This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "Edward Diener" <ed...@tropicsoft.com>
To: <us...@tomcat.apache.org>
Sent: Friday, June 23, 2006 6:52 PM
Subject: Version of Tomcat installed


> How can I programatically find out which version(s) of Tomcat is 
> installed on my system ?
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Version of Tomcat installed

Posted by Martin Gainty <mg...@hotmail.com>.
Good Morning Ed-


use getServerInfo from ServletContext to obtain Server Information-
javax.servlet.ServletContext.getServerInfo(); 

HTH,
Martin --

This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "Edward Diener" <ed...@tropicsoft.com>
To: <us...@tomcat.apache.org>
Sent: Friday, June 23, 2006 6:52 PM
Subject: Version of Tomcat installed


> How can I programatically find out which version(s) of Tomcat is 
> installed on my system ?
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org