[CONF] Apache Tomcat > WebSocket TCK
Title: Message Title There's 1 new edit on this page WebSocket TCK Mark Thomas edited this page Here's the version comment Mark Thomas edited at 12:46 PM Add note to reduce ws_wait Here's what changed: ... websocket.classes=/home/mark/repos/asf-public/tomcat/trunk/output/build/lib/tomcat-websocket.jar:/home/mark/repos/asf-public/tomcat/trunk/output/build/lib/servlet-api.jar:/home/mark/repos/asf-public/tomcat/trunk/output/build/lib/tomcat-util.jar:/home/mark/repos/asf-public/tomcat/trunk/output/build/lib/tomcat-api.jar:/home/mark/repos/asf-public/tomcat/trunk/output/build/bin/tomcat-juli.jar The WebSocket tests use a lot of pauses. The default pause time is 5s which means the elapsed time for the WebSocket tests is very high. It is recommended you set this to the minimum (1s) unless something in your environment means a longer wait is required. ws_wait=1 set JAVA_HOME Run ant gui Accept the defaults and then run the tests ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.2
[CONF] Apache Tomcat > WebSocket TCK
Title: Message Title There's 1 new edit on this page WebSocket TCK Mark Thomas edited this page Here's the version comment Mark Thomas edited at 12:24 PM Fix typo Here's what changed: ... 4 x extensions (TCK assumes invalid extensions are ignored) 1 x timeout related test expects more frequent expiration checks 2 Tests 'fixed' be by appropriate server.xml configuration ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.2
[CONF] Apache Tomcat > Financial Summary
Title: Message Title There's 1 new edit on this page Financial Summary Mark Thomas edited this page Here's what changed: Event Income Expense Net Running Total TomcatCon, London, 2017 1000.00 178.51 821.49 821.49 Tomcat Training, Manchester, 2018 900.86 885.24 15.62 837.11 Interest May'18 to Jul'18 0.43 - 0.43 837.54 Interest Aug '18 to May'19 2.30 - 2.30 839.84 Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.2
[CONF] Apache Tomcat > http workshop 2019
Title: Message Title There's 1 new edit on this page http workshop 2019 Mark Thomas edited this page Here's what changed: ... Proxy may interfere with HTTP/2 push Would require Tomcat changes to implement. No action required from us at this point. ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.2
[CONF] Apache Tomcat > Apache Tomcat Home
Title: Message Title There's 1 new edit on this page Apache Tomcat Home Mark Thomas edited this page Here's what changed: ... The majority of content in this wiki has been migration from the old Moin wiki. There are still quite a few few pages under Migrated Content waiting to be reorganised. Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.2
[CONF] Apache Tomcat > Ciphers
Title: Message Title There's 1 new edit on this page Ciphers Mark Thomas edited this page Here's what changed: TLS Cipher suite choice There is no right choice since there are always trade-offs to make between better security better interoperability, better performance etc.. Where you choose to draw that line is a choice you need to make. The following information is provided to help you make that choice. The ratings provided are those calculated by the excellent SSL Labs Test. Keep in mind that, as more vulnerabilities are discovered, these ratings are only ever going to get worse over time. The results shown on this page were correct at the time they were generated. BIO/NIO/NIO2 with JSSE Results (Default) Java 6 Java 7 Java 8 Java 9 Java 10 Tomcat 7 C B A A A Tomcat 8 N/A B A A A Tomcat 8.5 N/A B A A A Tomcat 9 N/A N/A A A A Note: These results were obtained using the JCE Unlimited Strength Jurisdiction Policy Files Note: The Java 6 results are capped at C because Java 6 does not support TLS 1.1 or 1.2. Note: The Java 7 results are capped at B because Java 7 does not support AEAD ciphers. The equivalent OpenSSL cipher configurations used to obtain the above results are: Java 6 HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!DHE Java 7 HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!kRSA:!DHE Java 8 HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!kRSA Java 9 HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!kRSA Note: kRSA ciphers are not excluded in Java 6 since they are likely to be the only ones left Note: In Java 7 and earlier DHE ciphers use insecure DH keys with no means to configure longer keys which is why DHE ciphers are excluded in those Java versions. NIO/NIO2 with JSSE+OpenSSL Results (Default) Java 6 Java 7 Java 8 Java 9 Java 10 Tomcat 8.5 N/A A A A A Tomcat 9 N/A N/A A A A The OpenSSL cipher configuration used was HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!kRSA. Up-to-date selection of secure cipher suites in OpenSSL format is available at Mozilla wiki. APR with OpenSSL Results (Default) Java 6 Java 7 Java 8 Java 9 Java 10 Tomcat 7 A A A A A Tomcat 8 N/A A A A A Tomcat 8.5 N/A A A A A Tomcat 9 N/A N/A A A A The OpenSSL cipher configuration used was HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!kRSA. Up-to-date selection of secure cipher suites in OpenSSL format is available at Mozilla wiki. Environment The results above were generated with: Java 6, 64-bit, update 45 Java 7, 64-bit, update 80 Java 8, 64-bit, update 172 Java 9, 9.0.4 Apache Tomcat 7.0.88-dev, r1737253. Apache Tomcat 8.0.53-dev, r1737224. Apache Tomcat 8.5.32-dev, r1737241. Apache Tomcat 9.0.9-dev, r1737193. tc-native 1.2.16 Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.2
[CONF] Apache Tomcat > Design and Development Issues
Title: Message Title There's 2 new edits on this page Design and Development Issues Mark Thomas edited this page Here's the version comments Mark Thomas edited at 02:28 PM UPdate links Mark Thomas edited at 02:21 PM Add archive link Here's what changed: ... Building the Tomcat Native Connector binaries for Windows Building the isapi_redirector.dll (mod_jk) for Windows Managing Tomcat's Dependency on the Eclipse JDT Core Batch Compiler Building AJP Client library and Command Line tool Managing translations Design Issues In progress AJP.next Removing unpackWARs Nested Filesystem Tomcat Grid Completed Cookies http workshop 2019 Notes Encoding and URIs Jakarta EE TCKs There is also an Archive of non-current issues. Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.2
[CONF] Apache Tomcat > Archive
Title: Message Title There's 1 new edit on this page Archive Mark Thomas edited this page Here's the version comment Mark Thomas edited at 02:29 PM Move cookies to archive Here's what changed: ... These pages were used to track one-off tasks that have been completed or where work has ceased. Cookies Git migration Java 9 Status tracking WAR URLs ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.2
[CONF] Apache Tomcat > Apache Tomcat Home
Title: Message Title There's 1 new edit on this page Apache Tomcat Home Mark Thomas edited this page Here's the version comment Mark Thomas edited at 02:35 PM Populate home page Here's what changed: This is the home of the Apache Tomcat wiki space. Contributing Anyone is welcome to contribute to this wiki. Please create an account and then email the Tomcat Developer mailing list (you'll need to subscribed first) with your user ID and a request to be added to the wiki . Categories The broad categories of information in this wiki are: Design and Development Issues TomcatCon Tomcat Training Course FAQ The majority of content in this wiki has been migration from the old Moin wiki. There are still quite a few Migrated Content waiting to be reorganised. Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.2
[CONF] Apache Tomcat > Archive
Title: Message Title There's 1 new edit on this page Archive Mark Thomas edited this page Here's what changed: ... AJP.next AJP Client Library and Command Line Tool (proposed GSoC project that was not selected) Nested Filesystem TomcatGrid Completed These pages were used to track one-off tasks that have been completed or where work has ceased. ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.2
[CONF] Apache Tomcat > Apache Tomcat Home
Title: Message Title There's 1 new edit on this page Apache Tomcat Home Mark Thomas edited this page Here's what changed: ... Design and Development Issues Debugging TomcatCon Tomcat Training Course FAQ ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.2
[CONF] Apache Tomcat > Tomcat Native - Java code
Title: Message Title There's 1 new edit on this page Tomcat Native - Java code Mark Thomas edited this page Here's the version comment Mark Thomas edited at 01:34 PM Add Java test code Here's what changed: ... # Start in the root of the Tomcat Native repogit remote add -f -t master --no-tags 9.0.x https://gitbox.apache.org/repos/asf/tomcat.git git merge -s ours --no-commit 9.0.x/mastergit read-tree --prefix=java/org/apache/tomcat/jni/ -u 9.0.x/master:java/org/apache/tomcat/jnigit read-tree --prefix=test/org/apache/tomcat/jni/ -u 9.0.x/master:test/org/apache/tomcat/jni git commit The Java code in Tomcat Native is updated using: # Start in the root of the Tomcat Native repogit mergerm -s ours --no-commit rf java/org/apache/tomcat/jni git read-tree --prefix=java/org/apache/tomcat/jni/ -u 9.0.x/master:java/org/apache/tomcat/jni git rm -rf javatest/org/apache/tomcat/jnigit read-tree --prefix=javatest/org/apache/tomcat/jni/ -u 9.0.x/master:javatest/org/apache/tomcat/jnigit commit Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.2
[CONF] Apache Tomcat > Building the Tomcat Native Connector binaries for Windows
Title: Message Title There's 1 new edit on this page Building the Tomcat Native Connector binaries for Windows Mark Thomas edited this page Here's what changed: ... c:\cmsc\setenv.bat /x86 nmake -f NMAKEMakefile WITH_APR=C:\deps-x86\apr-%APR_VER% WITH_OPENSSL=C:\deps-x86\openssl-%OPENSSL_VER% APR_DECLARE_STATIC=1 ENABLE_OCSP=1 move WINXPWIN7_X86_DLL_RELEASE WINXPWIN7_X86_OCSP_DLL_RELEASE nmake -f NMAKEMakefile WITH_APR=C:\deps-x86\apr-%APR_VER% WITH_OPENSSL=C:\deps-x86\openssl-%OPENSSL_VER% APR_DECLARE_STATIC=1 c:\cmsc\setenv.bat /x64 nmake -f NMAKEMakefile WITH_APR=C:\deps-x64\apr-%APR_VER% WITH_OPENSSL=C:\deps-x64\openssl-%OPENSSL_VER% APR_DECLARE_STATIC=1 ENABLE_OCSP=1 move WINXPWIN7_X64_DLL_RELEASE WINXPWIN7_X64_OCSP_DLL_RELEASE nmake -f NMAKEMakefile WITH_APR=C:\deps-x64\apr-%APR_VER% WITH_OPENSSL=C:\deps-x64\openssl-%OPENSSL_VER% APR_DECLARE_STATIC=1 ... Tomcat Native Connector DLLs may then be found in C:\tomcat-native-1.2.x\native\WINXPWIN7_*_[OCSP_]DLL_RELEASE Construct the binary distributions ... mkdir tomcat-native-%VER%-openssl-%OPENSSL_VER%-win32-bin\bin mkdir tomcat-native-%VER%-openssl-%OPENSSL_VER%-win32-bin\bin\x64 copy C:\deps-x86\openssl-%OPENSSL_VER%\openssl.exe tomcat-native-%VER%-openssl-%OPENSSL_VER%-win32-bin\bin xcopy /E tomcat-native-%VER%-openssl-%OPENSSL_VER%-win32-bin tomcat-native-%VER%-openssl-%OPENSSL_VER%-ocsp-win32-bin\ copy WINXPWIN7_X86_DLL_RELEASE\tcnative-1.dll tomcat-native-%VER%-openssl-%OPENSSL_VER%-win32-bin\bin copy WINXPWIN7_X86_OCSP_DLL_RELEASE\tcnative-1.dll tomcat-native-%VER%-openssl-%OPENSSL_VER%-ocsp-win32-bin\bin copy WINXPWIN7_X86_DLL_RELEASE\tcnative-1-src.pdb tomcat-native-%VER%-openssl-%OPENSSL_VER%-win32-bin\bin copy WINXPWIN7_X86_OCSP_DLL_RELEASE\tcnative-1-src.pdb tomcat-native-%VER%-openssl-%OPENSSL_VER%-ocsp-win32-bin\bin copy WINXPWIN7_X64_DLL_RELEASE\tcnative-1.dll tomcat-native-%VER%-openssl-%OPENSSL_VER%-win32-bin\bin\x64 copy WINXPWIN7_X64_OCSP_DLL_RELEASE\tcnative-1.dll tomcat-native-%VER%-openssl-%OPENSSL_VER%-ocsp-win32-bin\bin\x64 copy WINXPWIN7_X64_DLL_RELEASE\tcnative-1-src.pdb tomcat-native-%VER%-openssl-%OPENSSL_VER%-win32-bin\bin\x64 copy WINXPWIN7_X64_OCSP_DLL_RELEASE\tcnative-1-src.pdb tomcat-native-%VER%-openssl-%OPENSSL_VER%-ocsp-win32-bin\bin\x64 set PATH=%PATH%;%JAVA_HOME%\bin cd tomcat-native-%VER%-openssl-%OPENSSL_VER%-win32-bin jar -cMf ..\tomcat-native-%VER%-openssl-%OPENSSL_VER%-win32-bin.zip * cd ..\tomcat-native-%VER%-openssl-%OPENSSL_VER%-ocsp-win32-bin jar -cMf ..\tomcat-native-%VER%-openssl-%OPENSSL_VER%-ocsp-win32-bin.zip * ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.2
[CONF] Apache Tomcat > Building the Tomcat Native Connector binaries for Windows
Title: Message Title There's 1 new edit on this page Building the Tomcat Native Connector binaries for Windows Mark Thomas edited this page Here's what changed: ... c: cd \ svn co https://svn.apache.org/repos/asf/tomcat/native/trunk/ tomcat-native-1.2.x cd tomcat-native-1.2.x\native\srclib\apr Unpack APR 1.6.5 source distribution in this directory (C:\tomcat-native-1.2.x\native\srclib\apr). ... xcopy /E apr\include \deps-x86\apr-%APR_VER%\include\ xcopy /E apr\include \deps-x64\apr-%APR_VER%\include\ copy apr\WINXPWIN7_X86_LIB_RELEASE\apr-1.lib \deps-x86\apr-%APR_VER%\lib copy apr\WINXPWIN7_X64_LIB_RELEASE\apr-1.lib \deps-x64\apr-%APR_VER%\lib ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.2
[CONF] Apache Tomcat > Building the Tomcat Native Connector binaries for Windows
Title: Message Title There's 2 new edits on this page Building the Tomcat Native Connector binaries for Windows Mark Thomas edited this page Here's what changed: ... OpenSSL 1.1.0 and earlier As below but remove: OPENSSL_NEW_LIBS=1 from each of the nmake lines OpenSSL 1.1.1 and later c:\cmsc\setenv.bat /x86 nmake -f NMAKEMakefile WITH_APR=C:\deps-x86\apr-%APR_VER% WITH_OPENSSL=C:\deps-x86\openssl-%OPENSSL_VER% APR_DECLARE_STATIC=1 OPENSSL_NEW_LIBS=1 ENABLE_OCSP=1 move WIN7_X86_DLL_RELEASE WIN7_X86_OCSP_DLL_RELEASE nmake -f NMAKEMakefile WITH_APR=C:\deps-x86\apr-%APR_VER% WITH_OPENSSL=C:\deps-x86\openssl-%OPENSSL_VER% APR_DECLARE_STATIC=1 OPENSSL_NEW_LIBS=1 c:\cmsc\setenv.bat /x64 nmake -f NMAKEMakefile WITH_APR=C:\deps-x64\apr-%APR_VER% WITH_OPENSSL=C:\deps-x64\openssl-%OPENSSL_VER% APR_DECLARE_STATIC=1 OPENSSL_NEW_LIBS=1 ENABLE_OCSP=1 move WIN7_X64_DLL_RELEASE WIN7_X64_OCSP_DLL_RELEASE nmake -f NMAKEMakefile WITH_APR=C:\deps-x64\apr-%APR_VER% WITH_OPENSSL=C:\deps-x64\openssl-%OPENSSL_VER% APR_DECLARE_STATIC=1 OpenSSL 1.1.1 and later As above but add: OPENSSL OPENSSL_NEW_LIBS=1 to each of the nmake lines Tomcat Native Connector DLLs may then be found in C:\tomcat-native-1.2.x\native\WIN7_*_[OCSP_]DLL_RELEASE ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.2
[CONF] Apache Tomcat > Security
Title: Message Title There's 2 new edits on this page Security Mark Thomas edited this page Here's the version comment Mark Thomas edited at 08:27 AM Removed links to deleted pages Here's what changed: ... How do I use OpenSSL to set up my own Certificate Authority (CA)? Oh no! Port 8005 is available for anyone on localhost to shutdown my tomcat! What about Tomcat running as root? How do I force all my pages to run under HTTPS? What is the default login for the manager and admin app? How do I restrict access by ip address or remote host? How do I use jsvc/procrun to run Tomcat on port 80 securely? Has Tomcat's security been independently analyzed or audited? How do I change the Server header in the response? Why are passwords in plain text? How can I restrict the list of ciphers used for HTTPS? Is Tomcat vulnerable to Heartbleed bug? Is Tomcat vulnerable to POODLE attack? Which cipher suites should I use? ... We have a page dedicated to this topic. FAQ/ Password Anchor Q11 Q11 How can I restrict the list of ciphers used for HTTPS? See HowTo SSLCiphers. Anchor Q12 Q12 Is Tomcat vulnerable to Heartbleed bug? See Security/Heartbleed. ... Is Tomcat vulnerable to POODLE attack? See Security/POODLE. ... Which cipher suites should I use? ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.8
[CONF] Apache Tomcat > Design and Development Issues
Title: Message Title There's 1 new edit on this page Design and Development Issues Mark Thomas edited this page Here's what changed: ... Removing unpackWARs http workshop 2019 Jakarta EE Release Numbering Notes Encoding and URIs Jakarta EE TCKs ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.8
[CONF] Apache Tomcat > Jakarta EE Release Numbering
Title: Message Title There's 1 new edit on this page Jakarta EE Release Numbering Mark Thomas edited this page Here's what changed: *** DRAFT *** DRAFT *** DRAFT *** Jakarta EE 9 will be, as far as Tomcat is concerned, identical to Java EE 8 / Jakarta EE 9 with one notable exception. The package names for many of the Jakarta EE packages will change from javax.* to jakarta.* ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.8
[CONF] Apache Tomcat > Jakarta EE Release Numbering
Title: Message Title There's 1 new edit on this page Jakarta EE Release Numbering Mark Thomas edited this page Here's the version comment Mark Thomas edited at 09:25 PM Correct 9.11.x version in step 6. Clarify M == milestone Here's what changed: ... 7 : Continues to support Java EE 6 8 : Continues to support Java EE 7 9 : Continues to support Java EE 8 10.0.0.Mx (master) development branch for Jakarta EE 9 support Note the 10.0.0.Mx will be Milestone releases Step 2: Releases between now and Jakarta EE 9 release ... 8 : Continues to support Java EE 7 (likely to be EOL soon if not already EOL) 9 : Continues to support Java EE 8 9.11: Continues to support Java EE 8 with Tomcat API identical to latest Tomcat 1011.0.x 10: Supports Jakarta EE 10 11: (master): Supports of Jakarta EE 11 ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 6.15.8
[CONF] Apache Tomcat > Jakarta EE Release Numbering
Title: Message Title There's 2 new edits on this page Jakarta EE Release Numbering Mark Thomas edited this page Here's the version comments Mark Thomas edited at 06:49 PM Update current status with completed actions Mark Thomas edited at 06:47 PM Update to new versioning plan Here's what changed: ... 7.0.x : Continues to support Java EE 6 8.5.x : Continues to support Java EE 7 9.0.x (master) : Continues to support Java EE 8 10.0.x : Jakarta EE 9 development Step 1: ... Announce EOL for 7.0.x ... Announce EOL for Tomcat 7 (as 31 March 2021?) ... 7 : Continues to support Java EE 6 8 : Continues to support Java EE 7 9 : Continues to support Java EE 8 10.0.0.0-Mx (master) development branch for Jakarta EE 9 support Note the 10.0.0.0-Mx will be Milestone releases ... Apply Tomcat API changes planned for Tomcat 10 to 10.0.0.0-Mx Apply Jakarta EE 9 package rename changes. Other changes applied to 10.0.0.0-Mx and then back-ported to 9.0.x, 8.5.x and 7.0.x Monthly milestone releases of 10.0.0.0-Mx alongside 9.0.x and 8.5.x ... Once Jakarta EE 9 is released and Tomcat 10.0.0.0-Mx passes the TCK Release 10.0.0.0 (note the extra element in the version number) Create a 10.0.0.x branch from master. 10.0.0.x will be supported until there is a stable 10.1.0 .1 release. Create a 9.10.x branch (from master and revert the package rename commits) ... Latest 9.n aims to be identical to latest Tomcat n except it won't include the javax → jakarta package rename. That gives us: 7.0.x : Continues to support Java EE 6 8.5.x : Continues to support Java EE 7 9.0.x : Continues to support Java EE 8 9.10.x: Continues to support Java EE 8 with Tomcat API identical to latest Tomcat 10 10.0.0x: Continues to support Jakarta EE 9. Critical / important fixes only. Will be EOL'd as soon as Jakarta EE 10 is stable. 10.1-0.1-Mx (master): Development branch for Jakarta EE 10 support ... It is assumed that Tomcat 7 EOL has passed by this point. 10.0.0.x will also be EOL. That gives us: 8.5.x : Continues to support Java EE 7 9.0.x : Continues to support Java EE 8 9.10.x: Continues to support Java EE 8 with Tomcat API identical to latest Tomcat 10.01.x 10.1.x (master): Supports Jakarta EE 10 ... Announce EOL for Tomcat 8. Create 10.01.x branch from master. That gives us: 8.5.x : Continues to support Java EE 7 9.0.x : Continues to support Java EE 8 9.10.x : Continues to support Java EE 8 with Tomcat API identical to latest Tomcat 10.0.x 10.1.x : Supports Jakarta EE 10 11.0.x (master): Development of Jakarta EE 11 support ... Create a 9.11.x branch (from master and revert the package rename commits) That gives us: 8.5.x : Continues to support Java EE 7 (likely to be EOL soon if not already EOL) 9.0.x : Continues to support Java EE 8 9.11.x : Continues to support Java EE 8 with Tomcat API identical to latest Tomcat 11.0.x 10.1.x : Supports Jakarta EE 10 11.0.x : (master): Supports of Jakarta EE 11 ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.1.2
[CONF] Apache Tomcat > Jakarta EE Release Numbering
Title: Message Title There's 1 new edit on this page Jakarta EE Release Numbering Mark Thomas edited this page Here's the version comment Mark Thomas edited at 01:13 PM Correct 10.0.0.0-Mx version number Here's what changed: ... 7 : Continues to support Java EE 6 8 : Continues to support Java EE 7 9 : Continues to support Java EE 8 10.0.0.0-Mx (master) development branch for Jakarta EE 9 support Note the 10.0.0.0-Mx will be Milestone releases ... Apply Tomcat API changes planned for Tomcat 10 to 10.0.0.0-Mx Apply Jakarta EE 9 package rename changes. Other changes applied to 10.0.0.0-Mx and then back-ported to 9.0.x, 8.5.x and 7.0.x Monthly milestone releases of 10.0.0.0-Mx alongside 9.0.x and 8.5.x ... Once Jakarta EE 9 is released and Tomcat 10.0.0.0-Mx passes the TCK Release 10.0.0.0 (note the extra element in the version number) ... 7 : Continues to support Java EE 6 8 : Continues to support Java EE 7 9 : Continues to support Java EE 8 9.10: Continues to support Java EE 8 with Tomcat API identical to latest Tomcat 10 10.0.0: Continues to support Jakarta EE 9. Critical / important fixes only. Will be EOL'd as soon as Jakarta EE 10 is stable. 10.0.1.-Mx (master): Development branch for Jakarta EE 10 support ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.1.2
[CONF] Apache Tomcat > Common Native Build Environment
Title: Message Title There's 1 new edit on this page Common Native Build Environment Mark Thomas edited this page Here's the version comment Mark Thomas edited at 08:26 PM Update for Windows 10 build environment Here's what changed: ... Known working configurations include: Windows 7 10 Static IP address 1600x1200 screen resolution UTC timezone Install VMware Tools Apply all updates Others TBD ... Git for windows (http://git-scm.com/) 1.9.4-20140611 2.24.0.windows.2 Mladen's Custom Microsoft Compiler Toolkit Compilation https://github.com/mturk/cmsc (cb6be932c8c95a46262a64a89e68aae620dfdcee132baba36d88279e7a9950e7e5e8456ce757b78a) .NET 4.0 https://www.microsoft.com/en-us/download/details.aspx?id=17851 Windows SDK Windows Platform SDK no documentation No samples Windows 7 SDK no documentation No samples Complete set of developer tools Windows DDK Build environments Tools Compile as per /tools/README.txt Install Perl as per /tools/README.txt TortoiseSVN (http://tortoisesvn.net/) 1.8.7 64-bit 7-Zip 919.20 00 64-bit JDK 1.7.0_71 Adopt OpenJDK jdk8u242-b08 64-bit Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.1.2
[CONF] Apache Tomcat > Building the isapi_redirect (mod_jk) binaries for Windows
Title: Message Title There's 1 new edit on this page Building the isapi_redirect (mod_jk) binaries for Windows Mark Thomas edited this page Here's the version comment Mark Thomas edited at 08:49 PM Fix paths and upadte Java version Here's what changed: ... c: cd \ svn co https://svn.apache.org/repos/asf/tomcat/jk/trunk/ tomcat-jk-1.2.x cd tomcat-jk-1.2.x\native\iis Build isapi_redirector.dll:... set VER=1.2.43 mkdir tomcat-connectors-%VER%-windows-i386-iis copy ..\..\LICENSE tomcat-connectors-%VER%-windows-i386-iis\ copy ..\..\NOTICE tomcat-connectors-%VER%-windows-i386-iis\ copy README tomcat-connectors-%VER%-windows-i386-iis\ copy Release_x86\isapi_redirect.dll tomcat-connectors-%VER%-windows-i386-iis\ mkdir tomcat-connectors-%VER%-windows-x86_64-iis copy ..\..\LICENSE tomcat-connectors-%VER%-windows-x86_64-iis\ copy ..\..\NOTICE tomcat-connectors-%VER%-windows-x86_64-iis\ copy README tomcat-connectors-%VER%-windows-x86_64-iis\ copy Release_amd64\isapi_redirect.dll tomcat-connectors-%VER%-windows-x86_64-iis\ mkdir tomcat-connectors-%VER%-windows-i386-symbols copy ..\..\LICENSE tomcat-connectors-%VER%-windows-i386-symbols copy ..\..\NOTICE tomcat-connectors-%VER%-windows-i386-symbols copy Release_x86\isapi_redirect.pdb tomcat-connectors-%VER%-windows-i386-symbols\ mkdir tomcat-connectors-%VER%-windows-x86_64-symbols copy ..\..\LICENSE tomcat-connectors-%VER%-windows-x86_64-symbols copy ..\..\NOTICE tomcat-connectors-%VER%-windows-x86_64-symbols copy Release_amd64\isapi_redirect.pdb tomcat-connectors-%VER%-windows-x86_64-symbols\ SET JAVA_HOME=C:\Program Files\Java\jdk1.7.0_71 adopt-8.0.242.09-x64 set PATH=%PATH%;%JAVA_HOME%\bin cd tomcat-connectors-%VER%-windows-i386-iis jar -cMf ..\tomcat-connectors-%VER%-windows-i386-iis.zip * cd ..\tomcat-connectors-%VER%-windows-x86_64-iis jar -cMf ..\tomcat-connectors-%VER%-windows-x86_64-iis.zip * cd ..\tomcat-connectors-%VER%-windows-i386-symbols jar -cMf ..\tomcat-connectors-%VER%-windows-i386-symbols.zip * cd ..\tomcat-connectors-%VER%-windows-x86_64-symbols jar -cMf ..\tomcat-connectors-%VER%-windows-x86_64-symbols.zip * ... The Windows binary distributions may then be found in C:\tomcat-jk-1.2.x\native\iis... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.1.2
[CONF] Apache Tomcat > WebSocket TCK
Title: Message Title There's 1 new edit on this page WebSocket TCK Mark Thomas edited this page Here's the version comment Mark Thomas edited at 08:56 PM Remove ws_wait recommendation - it triggers test fialures. Here's what changed: ... websocket.classes=/home/mark/repos/asf-public/tomcat/trunk/output/build/lib/tomcat-websocket.jar:/home/mark/repos/asf-public/tomcat/trunk/output/build/lib/servlet-api.jar:/home/mark/repos/asf-public/tomcat/trunk/output/build/lib/tomcat-util.jar:/home/mark/repos/asf-public/tomcat/trunk/output/build/lib/tomcat-api.jar:/home/mark/repos/asf-public/tomcat/trunk/output/build/bin/tomcat-juli.jar The WebSocket tests use a lot of pauses. The default pause time is 5s which means the elapsed time for the WebSocket tests is very high. It is recommended you set this to the minimum (1s) unless something in your environment means a longer wait is required. ws_wait=1Do not reduce ws_wait below the default of 5s as it is likely to trigger test failures. set JAVA_HOME Run ant gui Accept the defaults and then run the tests ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.1.2
[CONF] Apache Tomcat > Building the Tomcat Native Connector binaries for Windows
Title: Message Title There's 1 new edit on this page Building the Tomcat Native Connector binaries for Windows Mark Thomas edited this page Here's the version comment Mark Thomas edited at 05:49 PM Version updates Here's what changed: ... c: cd \ svn co https://svn.apache.org/repos/asf/tomcat/native/trunk/ tomcat-native-1.2.x cd tomcat-native-1.2.x\native\srclib\aprUnpack APR 1.67.5 0 source distribution in this directory (C:\tomcat-native-1.2.x\native\srclib\apr). ... c:\cmsc\setenv.bat /x86 nmake -f NMAKEmakefile BUILD_CPU=x86 APR_DECLARE_STATIC=1 c:\cmsc\setenv.bat /x64 nmake -f NMAKEmakefile BUILD_CPU=x64 APR_DECLARE_STATIC=1 cd ..\openssl OpenSSL 1.1.0 and earlier ... . ... . ... \openssl ... Apply openssl-msvcrt.patch. Note that the patch will apply but depending on exactly which revision you are working with you may need to skip the first part of the patch. c:\cmsc\setenv.bat /x86 perl Configure VC-WIN32 ms\do_nasm nmake -f ms\nt.mak move out32 out32-x86 c:\cmsc\setenv.bat /x64 perl Configure VC-WIN64A ms\do_win64a nmake -f ms\nt.mak clean nmake -f ms\nt.mak move out32 out32-x64 OpenSSL 1.1.1 and later Unpack the OpenSSL 1.1.1a source distribution in this directory (C:\tomcat-native-1.2.x\native\srclib\openssl). ... Keeping the various libraries in versioned directories saves having to rebuild them next time if the version remains unchanged. cd .. set OPENSSL_VER=1.01.2q1g set APR_VER=1.6.5 mkdir \deps-x86\apr-%APR_VER%\include mkdir \deps-x86\apr-%APR_VER%\lib mkdir \deps-x86\openssl-%OPENSSL_VER%\include mkdir \deps-x86\openssl-%OPENSSL_VER%\lib xcopy /E \deps-x86\apr-%APR_VER% \deps-x64\apr-%APR_VER%\ xcopy /E \deps-x86\openssl-%OPENSSL_VER% \deps-x64\openssl-%OPENSSL_VER%\ xcopy /E apr\include \deps-x86\apr-%APR_VER%\include\ xcopy /E apr\include \deps-x64\apr-%APR_VER%\include\ copy apr\WIN7_X86_LIB_RELEASE\apr-1.lib \deps-x86\apr-%APR_VER%\lib copy apr\WIN7_X64_LIB_RELEASE\apr-1.lib \deps-x64\apr-%APR_VER%\lib ... xcopy /E openssl\inc32 \deps-x86\openssl-%OPENSSL_VER%\include\ xcopy /E openssl\inc32 \deps-x64\openssl-%OPENSSL_VER%\include\ OpenSSL 1.1.1 and later xcopy /E openssl\include\openssl \deps-x86\openssl-%OPENSSL_VER%\include\openssl\ xcopy /E openssl\include\openssl \deps-x64\openssl-%OPENSSL_VER%\include\openssl\ ... copy openssl\out32-x86\*.lib \deps-x86\openssl-%OPENSSL_VER%\lib\ copy openssl\out32-x64\*.lib \deps-x64\openssl-%OPENSSL_VER%\lib\ copy openssl\out32-x86\openssl.exe \deps-x86\openssl-%OPENSSL_VER%\ copy openssl\out32-x64\openssl.exe \deps-x64\openssl-%OPENSSL_VER%\ cd .. SETset JAVA_HOME=C:\Program Files\Java\jdk1.7.0_71 OpenSSL 1.1.0 and earlier As below but remove: OPENSSL_NEW_LIBS=1 from each of the nmake lines OpenSSL 1.1.1 and later java\adopt-8.0.242.09-x64 c:\cmsc\setenv.bat /x86 nmake -f NMAKEMakefile WITH_APR=C:\deps-x86\apr-%APR_VER% WITH_OPENSSL=C:\deps-x86\openssl-%OPENSSL_VER% APR_DECLARE_STATIC=1 OPENSSL_NEW_LIBS=1 ENABLE_OCSP=1 move WIN7_X86_DLL_RELEASE WIN7_X86_OCSP_DLL_RELEASE nmake -f NMAKEMakefile WITH_APR=C:\deps-x86\apr-%APR_VER% WITH_OPENSSL=C:\deps-x86\openssl-%OPENSSL_VER% APR_DECLARE_STATIC=1 OPENSSL_NEW_LIBS=1 ... Construct the binary distributions set VER=1.2.1824 mkdir tomcat-native-%VER%-openssl-%OPENSSL_VER%-win32-bin copy LICENSE.bin.win tomcat-native-%VER%-openssl-%OPENSSL_VER%-win32-bin\LICENSE copy NOTICE.bin.win tomcat-native-%VER%-openssl-%OPENSSL_VER%-win32-bin\NOTICE copy ..\README.txt tomcat-native-%VER%-openssl-%OPENSSL_VER%-win32-bin\ copy srclib\VERSIONS tomcat-native-%VER%-openssl-%OPENSSL_VER%-win32-bin\ ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.1.2
[CONF] Apache Tomcat > Building the Tomcat Native Connector binaries for Windows
Title: Message Title There's 1 new edit on this page Building the Tomcat Native Connector binaries for Windows Mark Thomas edited this page Here's the version comment Mark Thomas edited at 07:42 PM Version update Here's what changed: ... cd .. set OPENSSL_VER=1.1.1g set APR_VER=1.67.50 mkdir \deps-x86\apr-%APR_VER%\include mkdir \deps-x86\apr-%APR_VER%\lib mkdir \deps-x86\openssl-%OPENSSL_VER%\include mkdir \deps-x86\openssl-%OPENSSL_VER%\lib xcopy /E \deps-x86\apr-%APR_VER% \deps-x64\apr-%APR_VER%\ xcopy /E \deps-x86\openssl-%OPENSSL_VER% \deps-x64\openssl-%OPENSSL_VER%\ ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.1.2
[CONF] Apache Tomcat > WebSocket 2.0 TCK
Title: Message Title There's 1 new edit on this page WebSocket 2.0 TCK Mark Thomas edited this page Here's the version comment Mark Thomas edited at 08:33 PM Update testing results Here's what changed: ... A default 10.0.x build (as of 2020-0708-1521) running with the local staged TCK build (as of 2020-0708-1521) triggers 1 0 test failure: 1 faulty test ... failures: 5 Tests 'fixed' by appropriate system property configuration (see above). ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > JSP TCK
Title: Message Title There's 1 new edit on this page JSP TCK Mark Thomas edited this page Here's the version comment Mark Thomas edited at 03:17 PM Update for Jakarta EE 9. Tweak layout. Here's what changed: Running Common Configuration for all Tomcat versions None Tomcat 9.0.x None required (clean 9.0.x build). Tomcat 10.0.x Remove the request-character-encoding and response-character-encoding settings from conf/web.xml (the JSP TCK has one test that depends on the default encoding). Test Suite Download one of the following: latest EE4j8 nightly buildJakarta EE 8 (Tomcat 9.0.x): httpshttp://download.eclipse.org/ee4j/jakartaee-tck/8.0.1/nightly/jsptck-2.3_latest.ziplatest master nightly build: https://jenkinsjakartaee8/promoted/websocket-tck-1.1.1.zip Jakarta EE 9 (Tomcat 10.0.x): http://download.eclipse.org/ee4j/jakartaee-tck/jobmaster/standalonetck-nightly-build-run/lastSuccessfulBuild/artifact/standalone-bundles/jsptck-2.3_latest.zip/websocket-tck-2.0.0.zip (this will change once formally released) Extract to JSP_TCK_HOMEEdit $JSP_HOME/bin/ts.jte ... sigTestClasspath=${el.classes}${pathsep}${jspservlet.classes}${pathsep}${JAVA_HOME}/lib/rt.jarjar${pathsep}${JAVA_HOME}/lib/modules set JAVA_HOME cd $JSP_TCK_HOME/bin ... A default 9.0.x build with the above configuration passes both the latest master and EE4J8 nightly buildsthe Jakarta EE 8 JSP TCK. A default 10.0.x build with the above configuration passes the currently nightly build (as of 2020-05-26) of the Jakarta EE 9 JSP TCK with Java 8. Fixed bugs The Apache Tomcat project has reported the following bugs to the Eclipse Jakarta EE TCK project which have since been fixed in the latest nightly builds. 1 x signature test https://github.com/eclipse-ee4j/jakartaee-tck/issues/48 ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.1.2
[CONF] Apache Tomcat > JSP TCK
Title: Message Title There's 1 new edit on this page JSP TCK Mark Thomas edited this page Here's the version comment Mark Thomas edited at 03:31 PM Add note about re-running Here's what changed: ... Common Configuration for all Tomcat versions None. Note: If you re-run the TCK you must stop Tomcat, empty the work directory and then restart Tomcat. This is because the TCK assumes it is running for the first time and a number of tests check various compilation activities. Tomcat 9.0.x None required (clean 9.0.x build). ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.1.2
[CONF] Apache Tomcat > JSP TCK
Title: Message Title There's 1 new edit on this page JSP TCK Mark Thomas edited this page Here's what changed: ... 1 x signature test https://github.com/eclipse-ee4j/jakartaee-tck/issues/294 (PR to follow shortlyfix - https://github.com/eclipse-ee4j/jakartaee-tck/pull/295) Fixed bugs The Apache Tomcat project has reported the following bugs to the Eclipse Jakarta EE TCK project which have since been fixed. ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.1.2
[CONF] Apache Tomcat > JSP TCK
Title: Message Title There's 1 new edit on this page JSP TCK Mark Thomas edited this page Here's the version comment Mark Thomas edited at 09:03 PM Note Tomcat 10 JSP TCK issue with Java 11 Here's what changed: ... A default 10.0.x build with the above configuration passes the currently nightly build (as of 2020-05-26) of the Jakarta EE 9 JSP TCK with Java 8. A default 10.0.x build with the above configuration fails the currently nightly build (as of 2020-05-26) of the Jakarta EE 9 JSP TCK with Java 11 due to the following: 1 x signature test https://github.com/eclipse-ee4j/jakartaee-tck/issues/294 (PR to follow shortly) Fixed bugs The Apache Tomcat project has reported the following bugs to the Eclipse Jakarta EE TCK project which have since been fixed. ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.1.2
[CONF] Apache Tomcat > WebSocket 2.0 TCK
Title: Message Title There's 1 new edit on this page WebSocket 2.0 TCK Mark Thomas edited this page Here's what changed: ... A default 10.0.x build (as of 2020-0507-1315) running with the nightly local TCK build (as of 2020-0507-1315) triggers 10 1 test failures: The PRs have been applied. This TCK needs to be re-run to confirm the fixes. 2 unclear specification 2 x URI https://github.com/eclipse-ee4j/websocket-api/issues/228 PR to exclude https://github.com/eclipse-ee4j/jakartaee-tck/pull/263 3 faulty testsfailure: 1 faulty test 1 x signature teststest PR to update signatures in TCK https://github.com/eclipse-ee4j/jakartaee-tck/pull/2562 x faulty timeout tests https://github.com/eclipse-ee4j/jakartaee-tck/issues/260 PR to fix the tests https://github.com/eclipse-ee4j/jakartaee-tck/pull/261TCK TBC 5 Tests 'fixed' by appropriate system property configuration (see above). ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > WebSocket 2.0 TCK
Title: Message Title There's 1 new edit on this page WebSocket 2.0 TCK Mark Thomas edited this page Here's what changed: ... 1 x signature testPR to update signatures in TCK TBCTCK https://github.com/eclipse-ee4j/jakartaee-tck/pull/359 5 Tests 'fixed' by appropriate system property configuration (see above). ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > Jakarta EE TCKs
Title: Message Title There's 1 new edit on this page Jakarta EE TCKs Mark Thomas edited this page Here's what changed: ... JSP TCK (2.3 & 3.0) Servlet TCK 4.0 Servlet TCK 5.0 WebSocket 1.1 TCK WebSocket 2.0 TCK Other TCKs to follow Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > Servlet TCK 5.0 (DRAFT)
Title: Message Title There's 1 new edit on this page Servlet TCK 5.0 (DRAFT) Mark Thomas edited this page Here's what changed: ... A default 10.0.x build (as of 2020-06-18) with the above configuration and the TCK built from source (as of 2020-06-18) triggers 32 test failures 1 Expected failures 1 x default context path test as Tomcat configuration always overrides this TCK bugs PR 338 Incorrect major version (1 failure), Using LF rather an CRLF (15 failures) ... Strange /j_security_check test (2 failures) Error page attributes assumed to be unset when spec requires them to be set (3 failures) 10 failures suspected to be related to incomplete configuration or additional TCK bugs Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > WebSocket 1.1 TCK
Title: Message Title There's 1 new edit on this page WebSocket 1.1 TCK Mark Thomas edited this page Here's what changed: Running Tomcat Set the following system properties ... add backgroundProcessorDelay="1" to the element Test Suite Download latest nightly build ... Accept the defaults and then run the tests Expected results (Jakarta EE 9) A default 10.0.x build running with the nightly TCK build (as of 2020-05-13) triggers 10 test failures ... 4 x extensions (TCK assumes invalid extensions are ignored)Consider making TCK smarter so it ignores other extensions the server may advertise. Better still, detect them first and then exclude them from this test.Need to discuss expected behaviour if an unknown extension is specified. Are these required or optional? 1 x timeout related test expects more frequent expiration checks Expected results (Java EE 8) A default 9.0.x build without any configuration triggers 20 test failures ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > EL TCK (3.0 & 4.0)
Title: Message Title There's 1 new edit on this page EL TCK (3.0 & 4.0) Mark Thomas edited this page Here's what changed: Download ... one of the following: Jakarta EE 8 (Tomcat 9.0.x): http://download.eclipse.org/ee4j/jakartaee-tck ... /jakartaee8/promoted/_expression_-language-tck-3.0.0.zip Jakarta EE 9 (Tomcat 10.0.x): http://download.eclipse.org/ee4j/jakartaee-tck/master/nightly/_expression_-language-tck-4.0.0.zip (this will change once formally released) Extract to EL_TCK_HOME Edit $EL_TCK_HOME/bin/ts.jte ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > Servlet TCK 5.0 (DRAFT)
Title: Message Title There's 1 new edit on this page Servlet TCK 5.0 (DRAFT) Mark Thomas edited this page Here's what changed: Running Tomcat This is a work in progress while I figure out which settings required for the Servlet 4.0 TCK ar still required for the Servlet 5.0 TCK. setenv.[sh|bat] Set the following system properties -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=true context.xml Make the following changes: ... server.xml ... web.xml Remove the sections setting the default character encoding for requests and responses to UTF-8. Tomcat config for Servlet 4.0 setenv.[sh|bat] Set the following system properties -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=true -Dorg.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR=false -Duser.language=en -Duser.country=US context.xml Make the following changes: ... ... tomcat-users.xml Make the following changes: server.xml Enable h2c on port 8080, and add some trailer headers ... Client certificate tests: see below Test Suite Download latest nightly build ... Accept the defaults and then run the tests Expected results A default 10.0.x build (as of 2020-06-17) with the above configuration and the nightly TCK (as of -mm-dd) triggers 33+ test failures ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > JSP TCK (2.3 & 3.0)
Title: Message Title There's 1 new edit on this page JSP TCK (2.3 & 3.0) Mark Thomas edited this page Here's what changed: Running Common Configuration for all Tomcat versions None. Note: If you re-run the TCK you must stop Tomcat, empty the work directory and then restart Tomcat. This is because the TCK assumes it is running for the first time and a number of tests check various compilation activities. Tomcat 9.0.x None required (clean 9.0.x build). Tomcat 10.0.x Remove the request-character-encoding and response-character-encoding settings from conf/web.xml (the JSP TCK has one test that depends on the default encoding). Test Suite Download one of the following: ... Accept the defaults and then run the tests Expected results A default 9.0.x build with the above configuration passes the Jakarta EE 8 JSP TCK. ... 1 x signature test https://github.com/eclipse-ee4j/jakartaee-tck/issues/294 (PR to fix - https://github.com/eclipse-ee4j/jakartaee-tck/pull/295) Fixed bugs The Apache Tomcat project has reported the following bugs to the Eclipse Jakarta EE TCK project which have since been fixed. ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > Servlet TCK 5.0 (DRAFT)
Title: Message Title There's 1 new edit on this page Servlet TCK 5.0 (DRAFT) Mark Thomas edited this page Here's what changed: ... A default 10.0.x build (as of 2020-06-17) with the above configuration and the nightly TCK (as of -mm-dd) triggers 33+ 75 test failures 1 TCK bug PR 338 Incorrect major version 32+ 74 failures suspected to be related to incomplete configuration Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > JSP TCK ( 2.3 & .30)
Title: Message Title There's 1 new edit on this page JSP TCK ( 2.3 & .30) Mark Thomas edited this page Here's what changed: Running Common Configuration for all Tomcat versions None. Note: If you re-run the TCK you must stop Tomcat, empty the work directory and then restart Tomcat. This is because the TCK assumes it is running for the first time and a number of tests check various compilation activities. Tomcat 9.0.x None required (clean 9.0.x build). Tomcat 10.0.x Remove the request-character-encoding and response-character-encoding settings from conf/web.xml (the JSP TCK has one test that depends on the default encoding). Test Suite Download one of the following: Jakarta EE 8 (Tomcat 9.0.x): http://download.eclipse.org/ee4j/jakartaee-tck/jakartaee8/promoted/websocketpages-tck-12.13.10.zip Jakarta EE 9 (Tomcat 10.0.x): http://download.eclipse.org/ee4j/jakartaee-tck/master/nightly/websocketpages-tck-23.0.0.zip (this will change once formally released) ... Accept the defaults and then run the tests Expected results A default 9.0.x build with the above configuration passes the Jakarta EE 8 JSP TCK. ... A default 10.0.x build with the above configuration fails the currently nightly build (as of 2020-05-26) of the Jakarta EE 9 JSP TCK with Java 11 due to the following: This PR has been merged. Need to reset the current nightly TCK build) 1 x signature test https://github.com/eclipse-ee4j/jakartaee-tck/issues/294 (PR to fix - https://github.com/eclipse-ee4j/jakartaee-tck/pull/295) Fixed bugs The Apache Tomcat project has reported the following bugs to the Eclipse Jakarta EE TCK project which have since been fixed. ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > WebSocket 1.1 TCK
Title: Message Title There's 2 new edits on this page WebSocket 1.1 TCK Mark Thomas edited this page Here's what changed: ... Test Suite Download latest nightly promoted build httpshttp://download.eclipse.org/ee4j/jakartaee-tck/8.0.1/nightly/websockettckjakartaee8/promoted/websocket-tck-1.1_latest.1.zip Extract to WEBSOCKET_TCK_HOME ... Accept the defaults and then run the tests Expected results ( ... Java EE ... 8) A default 109.0.x build running with the nightly TCK build (as of 2020-05mm-13dd) without any configuration triggers 10 20 test failures 2 unclear specification 2 x URI https://github.com/eclipse-ee4j/websocket-api/issues/228 PR to exclude https://github.com/eclipse-ee4j/jakartaee-tck/pull/263 3 faulty tests 1 x signature tests PR to update signatures in TCK https://github.com/eclipse-ee4j/jakartaee-tck/pull/256 2 x faulty timeout tests https://github.com/eclipse-ee4j/jakartaee-tck/issues/260 PR to fix the tests https://github.com/eclipse-ee4j/jakartaee-tck/pull/261 5 Tests 'fixed' by appropriate system property configuration (see above). No need for the server.xml changes. 4 x extensions (TCK assumes invalid extensions are ignored) Consider making TCK smarter so it ignores other extensions the server may advertise. Better still, detect them first and then exclude them from this test. Need to discuss expected behaviour if an unknown extension is specified. Are these required or optional? 1 x timeout related test expects more frequent expiration checks Expected results (Java EE 8) A default 9.0.x build without any configuration triggers 20 test failuresTo be confirmed. Tomcat 9 was last tested with a nightly build of the WebSocket 1.1 TCK. It has yet to be tested with the 1.1.1 release of the TCK. 2 unclear specification 2 x URI https://github.com/eclipse-ee4j/websocket-api/issues/228 ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > WebSocket 2.0 TCK (DRAFT)
Title: Message Title There's 1 new edit on this page WebSocket 2.0 TCK (DRAFT) Mark Thomas edited this page Here's what changed: ... org.apache.tomcat.websocket.DISABLE_BUILTIN_EXTENSIONS=true org.apache.tomcat.websocket.ALLOW_UNSUPPORTED_EXTENSIONS=true org.apache.tomcat.websocket.DEFAULT_PROCESS_PERIOD=0 Make the following changes to server.xml add backgroundProcessorDelay="1" to the element Test Suite Download latest nightly build httpshttp://download.eclipse.org/ee4j/jakartaee-tck/8.0.1master/nightly/websockettck-1.1_latestwebsocket-tck-2.0.0.zip Extract to WEBSOCKET_TCK_HOME ... Expected results (Jakarta EE 9) A default 10.0.x build (as of 2020-05-13) running with the nightly TCK build (as of 2020-05-13) triggers 10 test failures: The PRs have been applied. This TCK needs to be re-run to confirm the fixes. 2 unclear specification 2 x URI https://github.com/eclipse-ee4j/websocket-api/issues/228 PR to exclude https://github.com/eclipse-ee4j/jakartaee-tck/pull/263 ... 5 Tests 'fixed' by appropriate system property configuration (see above). No need for the server.xml changes. 4 x extensions (TCK assumes invalid extensions are ignored)Consider making TCK smarter so it ignores other extensions the server may advertise. Better still, detect them first and then exclude them from this test.Need to discuss expected behaviour if an unknown extension is specified. Are these required or optional? 1 x timeout related test expects more frequent expiration checks Expected results (Java EE 8) A default 9.0.x build without any configuration triggers 20 test failures 2 unclear specification 2 x URI https://github.com/eclipse-ee4j/websocket-api/issues/228 11 Faulty tests 1 x https://github.com/eclipse-ee4j/jakartaee-tck/issues/33 (batching) 2 x https://github.com/eclipse-ee4j/jakartaee-tck/issues/35 (batching) 8 x https://github.com/eclipse-ee4j/jakartaee-tck/issues/37 (async concurrency) 5 Tests 'fixed' by appropriate system property configuration (see above) 4 x extensions (TCK assumes invalid extensions are ignored) 1 x timeout related test expects more frequent expiration checks 2 Tests 'fixed' by appropriate server.xml configuration 2 x timeout related tests requiring even more frequent expiration checks Still see intermittent failures on these A further 19 test failures caused by Tomcat bugs have been fixed 4 x Deployment failure didn't undeploy all WebSockets 4 x @PathParam not validated for correct type 6 x Throw DeploymentException rather than IAE 1 x Improve checking of multiple @OnMessage for the same type 4 x exception in encoder leading (incorrectly) to empty message Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > Servlet TCK 4.0
Title: Message Title There's 1 new edit on this page Servlet TCK 4.0 Mark Thomas edited this page Here's what changed: Running Tomcat setenv.[sh|bat] Set the following system properties -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=true -Dorg.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR=false -Duser.language=en -Duser.country=US context.xml Make the following changes: ... ... tomcat-users.xml Make the following changes: server.xml Enable h2c on port 8080, and add some trailer headers ... Client certificate tests: see below Test Suite Download latest nightly build ... Accept the defaults and then run the tests Expected results A default 9.0.x build with the above configuration triggers 10 test failures ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > WebSocket 2.0 TCK
Title: Message Title There's 1 new edit on this page WebSocket 2.0 TCK Mark Thomas edited this page Here's what changed: Running Tomcat Set the following system properties org.apache.tomcat.websocket.DISABLE_BUILTIN_EXTENSIONS=true org.apache.tomcat.websocket.ALLOW_UNSUPPORTED_EXTENSIONS=true org.apache.tomcat.websocket.DEFAULT_PROCESS_PERIOD=0 Test Suite Download latest nightly build ... Accept the defaults and then run the tests Expected results (Jakarta EE 9) A default 10.0.x build (as of 2020-05-13) running with the nightly TCK build (as of 2020-05-13) triggers 10 test failures: ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > Servlet TCK 5.0
Title: Message Title There's 2 new edits on this page Servlet TCK 5.0 Mark Thomas edited this page Here's what changed: Running Tomcat This is a work in progress while I figure out which settings required for the Servlet 4.0 TCK ar still required for the Servlet 5.0 TCK. setenv.[sh|bat] Set the following system properties -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=true context.xml Make the following changes: ... ... server.xml Enable h2c on port 8080, and add some trailer headers ... tomcat-users.xml Make the following changes: web.xml Remove the sections setting the default character encoding for requests and responses to UTF-8. ... . ... server.xml Enable TLS on port 8443 certificateKeystorePassword="changeit" type="RSA" /> Remove the lock-out realm Client certificate tests: see below Test Suite Download latest nightly build ... Extract to SERVLET_TCK_HOMEImportcd $SERVLET_TCK_HOME/bin/certificates Convert cts_cert to a truststore doing: "keytool -import -alias cts -file cts_cert -storetype JKS -keystore cacerts.jks" password should be "changeit" Create the truststore using "keytool -import -alias cts -file cts_cert -storetype JKS -keystore cacerts.jks" password should be "changeit" Place cacerts.jks truststore in $SERVLET_TCK_HOME/bin/certificates Add $SERVLET_TCK_HOME/bin/certificates/cacerts.jks and $SERVLET_TCK_HOME/bin/certificates/clientcert.jks in the Tomcat conf folder ... securedWebServicePort=8443 command.testExecute += -Djava.endorsed.dirs=${ts.home}/endorsedlib -Djavax.net.ssl.trustStore=${ts.home}/bin/certificates/cacerts.jks ... Accept the defaults and then run the tests Expected results A default 10.0.x build (as of 2020-06-18) with the above configuration and the TCK built from source (as of 2020-06-18) triggers 25 23 test failures 1 Expected failures ... PR 338 Incorrect major version (1 failure), Using LF rather an CRLF (15 failures) Strange /j_security_check test (2 failures) Error page attributes assumed to be unset when spec requires them to be set (3 failures) Missing annotation marker in Java 8 signature tests (1 failure) ... Re-do Java 11 signature test based on Java 8 Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > Servlet TCK 5.0
Title: Message Title There's 1 new edit on this page Servlet TCK 5.0 Mark Thomas edited this page Here's what changed: ... Enable TLS on port 8443 truststoreFile="conf/cacerts.jks"> certificateKeystorePassword certificateKeystorePassword="changeit" type type="RSA" /> Note: Set protocols="TLSv1.2" to disable TLSv1.3 since the TCK requires post-handshake authentication and the Java 11 client does not support that. tomcat-users.xml Make the following changes: ... A default 10.0.x build (as of 2020-06-1819) with the above configuration and the TCK built from source (as of 2020-06-1819) triggers 23 21 test failures 1 Expected failures ... PR 338 Incorrect major version (1 failure), Using LF rather an CRLF (15 failures) Strange /j_security_check test (2 failures)Error page attributes assumed to be unset when spec requires them to be set (3 failures) Missing annotation marker in Java 8 signature tests (1 failure) Re-do Java 11 signature test based on Java 8 Fix regression in error page tests (1 failure) Java 11 issues with HTTP/2 client Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > Servlet TCK 5.0
Title: Message Title There's 1 new edit on this page Servlet TCK 5.0 Mark Thomas edited this page Here's what changed: ... securedWebServicePort=8443 command.testExecute += -Djavax.net.ssl.trustStore=${ts.home}/bin/certificates/cacerts.jks command.textExecute -= -Djava.endorsed.dirs=${endorsedlib.dir} (Java 11 only) set JAVA_HOME cd $SERVLET_TCK_HOME/bin ... Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > Servlet TCK 5.0 (DRAFT)
Title: Message Title There's 1 new edit on this page Servlet TCK 5.0 (DRAFT) Mark Thomas edited this page Here's what changed: ... web.xml Remove the sections setting the default character encoding for requests and responses to UTF-8. Tomcat config for Servlet 4.0 setenv.[sh|bat] Set the following system properties -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=true -Dorg.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR=false -Duser.language=en -Duser.country=US tomcat-users.xml Make the following changes: web.xml Remove the sections setting the default character encoding for requests and responses to UTF-8. Tomcat config for Servlet 4.0 setenv.[sh|bat] Set the following system properties -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=true -Dorg.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR=false -Duser.language=en -Duser.country=US server.xml Enable h2c on port 8080, and add some trailer headers ... A default 10.0.x build (as of 2020-06-18) with the above configuration and the TCK built from source (as of 2020-06-18) triggers 58 32 test failures 1 Expected failures 1 x default context path test as Tomcat configuration always overrides this TCK bugs PR 338 Incorrect major version (1 failure), Using LF rather an CRLF (15 failures) 42 15 failures suspected to be related to incomplete configuration or additional TCK bugs Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > Servlet TCK 5.0 (DRAFT)
Title: Message Title There's 1 new edit on this page Servlet TCK 5.0 (DRAFT) Mark Thomas edited this page Here's what changed: ... resourceOnlyServlets="jsp"> ... server.xml allowedTrailerHeaders="myTrailer, myTrailer2" > ... -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=true -Dorg.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR=false -Duser.language=en -Duser.country=US context.xml ... ... tomcat-users.xml Make the following changes: ... A default 10.0.x build (as of 2020-06-1718) with the above configuration and the nightly TCK built from source (as of 2020-mm06-dd18) triggers 75 58 test failures 1 TCK bugbugs PR 338 Incorrect major version ... (1 failure), Using LF rather an CRLF (15 failures) 42 failures suspected to be related to incomplete configuration Go to page history View page Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0
[CONF] Apache Tomcat > Servlet TCK 5.0
Title: Message Title There's 1 new comment on this page Servlet TCK 5.0 Mark Thomas Yep. One of my messier hacks. I'm not interested in trying to pass the default-context-path test. If ignoring the failure is not an option (and lets be honest when was the last time anyone even asked if Tomcat passed the TCK?) then my first choice would be to challenge the TCK test on the grounds the spec says containers may override it - and Tomcat does. Always. Don't get me wrong, having access to the TCK is useful - I'm just not particularly hung up on the certification process. If our users change their view on that then I will too. Until then... Reply • Like View comment Stop watching space • Manage notifications This message was sent by Atlassian Confluence 7.5.0