On Thu, Mar 4, 2021 at 10:20 PM Mark Thomas <ma...@apache.org> wrote:
> The proposed Apache Tomcat 10.0.3 release is now available for > voting. > > Apache Tomcat 10.x implements Jakarta EE 9 and, as such, the primary > package for all the specification APIs has changed from javax.* to > jakarta.* > > Applications that run on Tomcat 9 will not run on Tomcat 10 without > changes. Java EE applications designed for Tomcat 9 and earlier may be > placed in the $CATALINA_BASE/webapps-javaee directory and Tomcat will > automatically convert them to Jakarta EE and copy them to the webapps > directory > > The notable changes compared to 10.0.2 are: > > - Integration of the Apache Tomcat Migration Tool for Jakarta EE via > the webapps-javaee directory > > - Improvements to Async and non-blocking IO error handling > > - Add support for Unix Domain Sockets to the APR/Native connector > > Along with lots of other bug fixes and improvements. > > > For full details, see the changelog: > https://ci.apache.org/projects/tomcat/tomcat10/docs/changelog.html > > It can be obtained from: > https://dist.apache.org/repos/dist/dev/tomcat/tomcat-10/v10.0.3/ > The Maven staging repo is: > https://repository.apache.org/content/repositories/orgapachetomcat-1300 > The tag is: > https://github.com/apache/tomcat/tree/10.0.3 > 50c2c705bb74e35ada28147aa2649cb43398b3f9 > > The proposed 10.0.3 release is: > [X] Broken - do not release > [ ] Beta - go ahead and release as 10.0.3 (beta) > [ ] Stable - go ahead and release as 10.0.3 (stable) > > The auto deployment from the migration folder fails with: 05-Mar-2021 10:11:35.541 WARNING [main] org.apache.catalina.startup.HostConfig.migrateLegacyApp Migration failure java.nio.file.NoSuchFileException: /home/remm/Work/tomcat/apache-tomcat-trunk/output/build/webapps/examples-tc85 at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116) at java.base/sun.nio.fs.UnixCopyFile.move(UnixCopyFile.java:430) at java.base/sun.nio.fs.UnixFileSystemProvider.move(UnixFileSystemProvider.java:267) at java.base/java.nio.file.Files.move(Files.java:1422) at org.apache.catalina.startup.HostConfig.migrateLegacyApp(HostConfig.java:1301) at org.apache.catalina.startup.HostConfig$MigrateApp.run(HostConfig.java:2040) Fixed with https://github.com/apache/tomcat/commit/1e99eaf16aee080bcb8b8c363373d4f4d2676bbc Rémy