[ https://issues.apache.org/jira/browse/GUACAMOLE-1325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17816627#comment-17816627 ]
Libor Svehlak commented on GUACAMOLE-1325: ------------------------------------------ My pragmatic suggestion approach would be the following (in constraints like limited development resources and time in mind): 1. Switch to Tomcat 10 and drop the support for Tomcat 9 with the next Guacamole version Applicable only when there aren't too many Tomcat 9 users. Has to be available as soon as possible (e.g. till end of 2024). 2. Allow to use Tomcat 9 together with Tomcat 10 with a solution with a low development effort Forget about too complicate dynamic handling of two parallel Tomcat versions as the old version is available just for limited time till EOL. Split a Guacamole to two versions: one for "javax" (Tomcat 9) and another for "jakarta" (Tomcat 10). Such approach is already taken by some OSS projects. E.g. the next Gucamole version can be primarly focused on Tomcat 10 ("jakarta") but a simple pre-compilation task for Tomcat 9 ("javax") can do a simple sed replacement in sources from "jakarta.servlet" to older "javax.servlet, "jakarta.websocket" to older "javax.websocket" etc. Maybe replacement will be more complicate but IMHO it can be implemented much faster than generic dynamic handling of different versions (which will be then obsolete when Tomcat 9 reaches EOL). I agree that solution is not very nice from architectural / pure technical point of view but it is pragmatic approach and in each case the support for Tomcat 9 will be dropped sooner or later. Then it is IMHO easier (with this approach) to drop support for Tomcat 9 and keep just support for Tomcat 10. > Apache Tomcat 10.0 Servlet API incompatibility > ---------------------------------------------- > > Key: GUACAMOLE-1325 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-1325 > Project: Guacamole > Issue Type: Improvement > Components: guacamole, guacamole-common, guacamole-ext > Affects Versions: 1.3.0, 1.4.0 > Reporter: Mathias > Priority: Minor > > Guacamole client 1.3.0 is not working with Apache Tomcat 10. Apache Tomcat > 10.0.x requires a new Servlet 5.0 API. The Java package has changed from > javax.servlet to jakarta.servlet. > [Migrating from Tomcat 9.0 to 10.0|http://tomcat.apache.org/migration-10.html] -- This message was sent by Atlassian Jira (v8.20.10#820010)