Hi, I want to migrate my webapp from Java EE8 to Jakarta EE 9 in order to run it on tomcat 10.0.18. I am trying to run jakartaee migration tool at runtime by adding - <Loader jakartaConverter="TOMCAT" />, in my context defined in server.xml. The tomcat version that I am using is 10.0.18. I am providing the value of path as /chetna and docbase as absolute path to my webapp's folder. On starting Tomcat, it is running fine and is not giving any error in logs but seems like it is not able to access my webapp folder. When trying to hit url - https://localhost/chetna, it is giving error 404. While when I run migration tool on my webapp explicitly and then use that migrated webapp's path in docbase, my app is running fine.
In changelog of Tomcat 10.0.3, it is given that - Allow the loader to directly use the Tomcat Migration Tool for JakartaEE as a ClassFileTransformer using the jakartaConverter attribute. This only supports javax to jakarta conversion for classes, not for classloader resources or static files. Is there a way I can migrate my webapp at runtime while running it on tomcat 10. Please let me know if I am doing something wrong in this method. Regards, Chetna Agrawal Disclaimer: The information in this email is strictly confidential and may be legally privileged. If you are not the intended recipient, any use of this email or the information contained therein or disclosure or any action taken or omissions made including but not limited to copying, distribution or placing reliance on it, is expressly prohibited and may be unlawful. This email is intended solely for the addressee, access to this email by anyone else is unauthorized, the recipient is requested to notify Seclore and delete this email from their system immediately.