You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andre-John Mas <aj...@sympatico.ca> on 2009/04/17 16:10:19 UTC

When is 5.5.28 planned to be released?

Hi,

Tomcat 5.5.28 offers us the ability to change the name of the  
JSESSIONID, something we depend on because we are operating two  
application servers behind the same HTTPD server. We currently have a  
patched version of 5.x and are in the process of moving to 5.5.x, but  
without this patch in place. We could patch our 5.5.27, but we would  
rather avoid this if possible. For this reason can anyone tell me when  
the target date for the 5.5.28 release is?

If the target date is after the target date for our project, what do  
you reckon is the simplest way to apply a patched Globals.java to a  
Tomcat instance without recompiling the whole Tomcat 5.5.27?

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


Re: When is 5.5.28 planned to be released?

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

André-John,

On 4/17/2009 10:10 AM, Andre-John Mas wrote:
> If the target date is after the target date for our project, what do you
> reckon is the simplest way to apply a patched Globals.java to a Tomcat
> instance without recompiling the whole Tomcat 5.5.27?

Unfortunately, you will have to recompile everything. The java compiler
performs an optimization for static final members that are assigned
values in their declaration: it actually copies the value into the
dependent class instead of referencing the original class. That means
that you can't simply replace Globals.class in catalina.jar and expect
it to change the name of the session cookie because Globals.class is
probably ignored most (or all) of the time.

You are always welcome to use the current HEAD version in svn, but YMMV.
Be sure to test, test, test! The good news is that TC 5.5 is seeing
little in the way of new feature development, so the svn HEAD should be
very stable.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAknon3EACgkQ9CaO5/Lv0PBgAwCfYC/zbxeTgqu5BkKtqhZz2cYW
ooEAn0npbYfaN9rtYxsTR59o7TpESd8n
=fbOW
-----END PGP SIGNATURE-----

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