You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by André Warnier <aw...@ice-sa.com> on 2009/02/05 22:14:37 UTC

Upgrade .. a Tomcat

Hi.

Now I'm going to ask a question, sotto-voce, humbly, and don't get upset.
There happens to be this Tomcat 5.5.20 you see, running under Linux 
Debian Etch.  It wasn't me who installed it, it was the sysadmin, and 
he's a really difficult guy to relate to, and he has the power switch.
But suppose, just suppose, that I would quietly want to bring this 
Tomcat 5.5.20 up to the 5.5.25+ level, just so that I could try the 
Listener mentioned here :
http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html

Do you think I could download a real 5.5 Tomcat from tomcat.apache.org, 
untargz it to some temporary directory, and replace just the few bits 
that would bring it up to level, without the sysadmin even noticing ?
And if so, any idea of which are the relevant bits for that Listener ?

Or is that kind of thing really likely to bring the whole building down ?

(I would of course backup any relevant bit before I do that, and this is 
a development system in a remote central European town, not the one 
controlling the airspace above Minnesota).

If it matters, the current Tomcat is running so :
Using CATALINA_BASE:   /usr/share/tomcat5.5
Using CATALINA_HOME:   /usr/share/tomcat5.5
Using CATALINA_TMPDIR: /usr/share/tomcat5.5/temp
Using JRE_HOME:       /usr/lib/jvm/java-1.5.0-sun
Server version: Apache Tomcat/5.5
Server built:   Jan 20 2008 12:32:00
Server number:  5.5.20.0
OS Name:        Linux
OS Version:     2.6.18-6-686
Architecture:   i386
JVM Version:    1.5.0_14-b03
JVM Vendor:     Sun Microsystems Inc.


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


Re: Upgrade .. a Tomcat

Posted by André Warnier <aw...@ice-sa.com>.
Gregor Schneider wrote:
> Besides, it's Debian, and, if I'm not mistaken, it's a packaged installation.
> 
I know that, but you're the first one to mention it, and it has been 3 
days since the post. So my phrasing wasn't so bad.
;-)


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


Re: Upgrade .. a Tomcat

Posted by Gregor Schneider <rc...@googlemail.com>.
Besides, it's Debian, and, if I'm not mistaken, it's a packaged installation.

Rgds

Gregor
-- 
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

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


RE: Upgrade .. a Tomcat

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: David Smith [mailto:dns4@cornell.edu]
> Subject: Re: Upgrade .. a Tomcat

> I suppose you could just trade out the jars that changed

In this case, he can't: the listener of interest is *not* in the jars - it's only in the Tomcat source download, and has to be compiled by whomever wants to use it.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

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


Re: Upgrade .. a Tomcat

Posted by David Smith <dn...@cornell.edu>.
André Warnier wrote:
> Hi.
>
> Now I'm going to ask a question, sotto-voce, humbly, and don't get upset.
> There happens to be this Tomcat 5.5.20 you see, running under Linux
> Debian Etch.  It wasn't me who installed it, it was the sysadmin, and
> he's a really difficult guy to relate to, and he has the power switch.
> But suppose, just suppose, that I would quietly want to bring this
> Tomcat 5.5.20 up to the 5.5.25+ level, just so that I could try the
> Listener mentioned here :
> http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html
>
> Do you think I could download a real 5.5 Tomcat from
> tomcat.apache.org, untargz it to some temporary directory, and replace
> just the few bits that would bring it up to level, without the
> sysadmin even noticing ?
> And if so, any idea of which are the relevant bits for that Listener ?
>
> Or is that kind of thing really likely to bring the whole building down ?
>
> (I would of course backup any relevant bit before I do that, and this
> is a development system in a remote central European town, not the one
> controlling the airspace above Minnesota).
>
> If it matters, the current Tomcat is running so :
> Using CATALINA_BASE:   /usr/share/tomcat5.5
> Using CATALINA_HOME:   /usr/share/tomcat5.5
> Using CATALINA_TMPDIR: /usr/share/tomcat5.5/temp
> Using JRE_HOME:       /usr/lib/jvm/java-1.5.0-sun
> Server version: Apache Tomcat/5.5
> Server built:   Jan 20 2008 12:32:00
> Server number:  5.5.20.0
> OS Name:        Linux
> OS Version:     2.6.18-6-686
> Architecture:   i386
> JVM Version:    1.5.0_14-b03
> JVM Vendor:     Sun Microsystems Inc.
>
>

I suppose you could just trade out the jars that changed given it's a
minor version upgrade.  Doing it without the admin noticing is a
different story.  Your better off convincing the admin to upgrade and
cite security fixes as the reason.

--David

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


RE: Upgrade .. a Tomcat

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: André Warnier [mailto:aw@ice-sa.com]
> Subject: Upgrade .. a Tomcat
>
> And if so, any idea of which are the relevant bits for that Listener ?

>From looking at the changelog, I think all you need is the one class file:
org.apache.catalina.mbeans.JMXAdaptorLifecycleListener

However, this does not appear to be in the binary downloads - you have to compile it from the source.  (Which explains why the doc says "supported with Tomcat 5.5.25 src release".)  You should be able to take the resulting .class file and put it in 5.5.20's server/classes directory, configure the listener, and have at it.  I'd suggest trying it on your own copy of 5.5.20 first, before upsetting the guy with the power switch.  If you don't have that version, you can find 5.5.20 here:
http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.20/

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

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