As what Christopher Schultz mentioned, "including switching package names", i.e. from javax to jakarta.. when I did the webapp migration to tomcat 10, I had to make all the libraries to reference jakarta though, including taglib-mailer, jsp and so on.
hth Jason On Fri, May 27, 2022 at 8:53 AM Rodrigo Cunha <rodrigo.root...@gmail.com> wrote: > > > > > I suspect you should be able to upgrade your Tomcat from 7 to 10 in one > > shot, but you might want to go from 7->9 and wait a little on 10. > > > Yes, it is! but not in a production environment. I want to upgrade in only > one shot. > > On Thu, May 26, 2022 at 8:32 PM Christopher Schultz < > ch...@christopherschultz.net> wrote: > > > Rodrigo, > > > > On 5/26/22 17:16, Rodrigo Cunha wrote: > > > i need upgrade my tomcat server from 7 to 10. I don't saw in internet > > > nothing about that. Commonly i upgraded in steps, 7 to 8, 8 to 9 and 9 to > > > 10. > > > Are there a problem upgrade from 7 to 10? > > > > I suspect you should be able to upgrade your Tomcat from 7 to 10 in one > > shot, but you might want to go from 7->9 and wait a little on 10. > > > > Why? > > > > Tomcat 10 is significantly different because it implements a new version > > of the servlet and related specifications, including switching package > > names, etc. There *is* an automated conversion tool that can be used at > > deployment-time to convert your pre-Jakarta-EE application to a > > Jakarta-EE application, but you might not want to trust it immediately > > in production without a whole lot of testing. So I recommend Tomcat 9 at > > first. > > > > YMMV > > > > Something that is critically important is that, when upgrading, you > > don't even try to re-use the existing server.xml file you have for your > > Tomcat 7 installation. Instead, look at the differences between your > > current server.xml file and an unmodified one from the original > > distribution of Tomcat 7, and make some notes. Then, make similar > > changes to the original server.xml file from the new Tomcat. > > > > -chris > > > > > -- > Atenciosamente, > Rodrigo da Silva Cunha > São Gonçalo, RJ - Brasil --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org