Good Morning Bill (at least in my TZ that is),
many thanks for clarifying what Http10Connector stands for.
Of course I should have known that it refers to version 1.0 of
the HTTP.
I admid that I should be reading more of the docs of the Tomcat
project,
and probably have an occassional glance at
Hi Mike,
yesterday I already found out (thanks to a hint from Tim Funk)
that in the official Apache Tomcat tarball
a version.sh wrapper script is included.
Having had a deko at the file also revealed to be nothing more
than a mere invocation of catalina.sh script with the argument
version,
Hi Tim,
yes, at least the later Tomcat release of HP has such a
ServerInfo.properties method
# find /opt/hpws/tomcat -type f -name catalina.jar|xargs -n1 jar
tf|grep -F ServerInfo.properties
org/apache/catalina/util/ServerInfo.properties
# cd /tmp
# find /opt/hpws/tomcat -type f -name
This has been fixed in the tomcat 5.0.X line months ago with the inclusion of
the version.bat and version.sh scripts. (Which call catalina.sh version).
We can't help it if OS vendors repackage tomcat and omit those files.
-Tim
[EMAIL PROTECTED] wrote:
Hi Tim,
yes, at least the later Tomcat
Yes, TC stands for TomCat.
Well, this confirms that the version is one of 3.3.0, 3.3.1, or 3.3.1a.
Most likely the later (since most people upgraded to that). You can find
out for sure which by doing a HEAD request to anything but a JSP page: It
will be in the 'Server:' header.
There isn't
Hi Tomcatters,
I beg your pardon for this affront to any self-respecting servlet
coder's mind.
I am but merely a Unix sysadmin plagued with a varying zoo of
Tomcats on different Unices who is largely Java-ignorant and only
has to maintain these cats (sorry, but Perl suits my mundane
admin tasks
See the FAQ. http://tomcat.apache.org/faq/
There are a few ways to get the version
1) Use version.sh (or vertsion.bat)
2) Look at the manager webapp (in url /manager/html/)
3) More ways that I can't remember
-Tim
[EMAIL PROTECTED] wrote:
Hi Tomcatters,
I beg your pardon for this affront to
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Subject: How to identify version of a running Tomcat and
similar trivia
3. How to identify a Tomcat's config?
4. Parsing the config
5. Tool for monitoring a Tomcat's state
For all of the above, try the manager and admin apps that are
Hi Tim,
thanks for referring me to the Tomcat FAQs.
That's for sure the first source of information one should read
before nagging the list community with redundant questions.
At least did I find therein a description how to enable CGI
support.
Yet, the trivial task of identifying a running Java
Tomcat is like any server based java app. It will always require a convulted
classpath as well as multiple classloaders to do anything interesting.
The most failsafe way to get the version regarless of the packaging is to do
the following: (no, i'm not kidding)
1) find catalina.jar. It
go to tomcat/bin
type catalina.sh version
output will look like:
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/local/java
Server version: Apache Tomcat/5.5.12
Server built: Sep 23 2005
The Http10Connector refers to HTTP/1.0. It also means that you've got a TC
3.x server running there. If you've got a conf/modules.xml then it's
probably TC 3.3.1a (since 3.3.2 uses the CoyoteConnector by default).
Otherwise, it's probably TC 3.2.4.
It also explains why there is no /manager
12 matches
Mail list logo