Thank you, the Migration Tool fixed this up lickety-split. Dream * Excel * Explore * Inspire Jon McAlexander Senior Infrastructure Engineer Asst. Vice President He/His
Middleware Product Engineering Enterprise CIO | EAS | Middleware | Infrastructure Solutions 8080 Cobblestone Rd | Urbandale, IA 50322 MAC: F4469-010 Tel 515-988-2508 | Cell 515-988-2508 [email protected] This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. > -----Original Message----- > From: Christopher Schultz <[email protected]> > Sent: Monday, March 20, 2023 6:43 PM > To: [email protected] > Subject: Re: Quick Question with Tomcat 10.1x > > Jon, > > On 3/16/23 15:19, [email protected] wrote: > > > >> -----Original Message----- > >> From: [email protected] > >> <[email protected]> > >> Sent: Thursday, March 16, 2023 1:54 PM > >> To: [email protected] > >> Subject: RE: Quick Question with Tomcat 10.1x > >> > >>> -----Original Message----- > >>> From: Torsten Krah <[email protected]> > >>> Sent: Thursday, March 16, 2023 1:40 PM > >>> To: Tomcat Users List <[email protected]> > >>> Subject: Re: Quick Question with Tomcat 10.1x > >>> > >>> <[email protected]> schrieb am Do., 16. März > >>> 2023, > >>> 19:32: > >>> > >> <SNIP> > >>> > >>> Please read > >>> > >> > https://urldefense.com/v3/__https://tomcat.apache.org/whichversion.ht > >> m > >>> l > >> > __;!!F9svGWnIaVPGSwU!sqrCJdsIe3_3iYLirxu4vrA4Xj8DffbYlvj5JdwcXcILyGX > >>> yLmBtRF78uePA8eNGJa8ahRawR8Fvw5jflikZzHI$ - you have used the > >> wrong > >>> servlet API version in your war file for tomcat 10.1 . > >> > >> Thank you so very much. This is exactly what I was looking for. > >> FWIW, I'm not any type of developer, just slapped something together > >> for my testing purposes. I'll see if I can figure out how to update my war > file. > >> > >> Thank you, > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > > > > Another silly add on to this, > > > > Is it possible to reference multiple servlet specs? Or can you only > > reference > 1? > > Torsten's reply was technically correct but not entirely helpful. > > Tomcat 10.1 implements the jakarta.servlet APIs but it has a feature would > allows you to deploy a javax.servlet-based application onto it through one of > two techniques: > > 1. Use the tomcat-migration-tool [1] to convert your application WAR (or > exploded WAR-directory) into a jakarta.servlet-compliant application. > > 2. Use the legacyAppBase option[1] on your <Host> ans just drop your > javax.servlet-compliant application into there in either WAR or expanded- > WAR format. > > > Again, not a developer, so silly question I know. > > This is not a silly question /at all/. It's quite complicated and I think the > Tomcat team did a great job building a migration path for developers and > admins who want to migrate from one major version of these APIs to > another completely 100% incompatible version in a way that is nearly > painless. > > Note that you should encourage your development team to begin looking at > migrating the original source from javax.servlet -> jakarta.servlet for a > "complete" migration. It's probably not a great idea to just keep running the > same old application without any changes forever and ever even if the > servlet container allows you to do so :) > > Hope that helps, > -chris > > [1] https://urldefense.com/v3/__https://tomcat.apache.org/download- > migration.cgi__;!!F9svGWnIaVPGSwU!qD- > Piu69IkRM061f2qi0iC8Oagbo158vkbPSBGRddFRLFfgD4CXcU2w7w9p5NFpkoZ > PmzRxvhbrSl-svNxCLBFnG9GkRL9nT$ > [2] https://urldefense.com/v3/__https://tomcat.apache.org/tomcat-10.1- > doc/config/host.html__;!!F9svGWnIaVPGSwU!qD- > Piu69IkRM061f2qi0iC8Oagbo158vkbPSBGRddFRLFfgD4CXcU2w7w9p5NFpkoZ > PmzRxvhbrSl-svNxCLBFnG9GcEiYro$ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]
