Ronald,
On 10/24/24 10:31, Ronald Klop wrote:
Van: "Rémy Maucherat" <r...@apache.org>
Datum: woensdag, 23 oktober 2024 17:48
Aan: users@tomcat.apache.org
Onderwerp: Re: deploying on 9.0.96 is painful
On Wed, Oct 23, 2024 at 5:37PM Ronald Klop
<ronald-li...@klop.ws.invalid> wrote:
>
> Hi,
>
> We pre-compile our JSPs. Team Dev uses Tomcat jars for this. And
team Sys keeps the Tomcat servers running and up-to-date.
> Running Tomcat since 5.x or maybe even before. Currently running 9.0.x.
>
> For years it worked fine if we kept the jars versions of team Dev
close to the Tomcat server version of team Sys. It was very efficient
because versions didn't need to be exactly the same. And we could test
versions without doing a turn-key deploy. Occasional rollback of a
deploy was also possible, although the JSPs were not compiled with the
exact same jar versions.
>
> Tomcat 9.0.96 was very painful in this regard. We found the reason
for it in https://lists.apache.org/
thread/62j98og8xn9p9ovxxj6bfqht85xg2qgz.
> 9.0.96 JSPs didn't work on 9.0.95 and 9.0.95 JSPs didn't work on
9.0.96 Tomcat. (I didn't check this personally, but trust my colleague
in it.)
> Deploy needed to be turn-key with synchronization between teams on
multiple clusters of servers.
>
> I'm not here to rant about it. Things can break.
> But I didn't find any information about solutions on the website/ML.
> We couldn't be sure that 9.0.97 would have a fix or just have the
same incompatibility so decided to push through with 9.0.96.
>
> Anyways, I thought it is good to give some feedback about the issue
as a user of the product.
>
> I think it would have been nice to have a statement about 9.0.96 and
pre-compiled JSPs and how future versions would handle this situation.
>
> If I missed this statement on the website or in the ML archives than
I will happily stand corrected. :-)
>
> And now we go further with development and hope that future releases
will be as easy as they were before.
It's not possible to guarantee never having to recompile due to having
to do fixes in the generated code (this should be rather obvious).
However in this case it was easy to keep compatibility so it was fixed
and the fix will be in 9.0.97.
Rémy
> Regards,
> Ronald.
> Â
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Thanks for the response and the confirmation that it will be handled
better in 9.0.97.
I've added an entry in the Tomcat 9.0.x Migration Guide's "Noteable
Changes" section about this issue.
https://tomcat.apache.org/migration-9.html#Upgrading_9.0.x
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org