Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Passes with Java 11 as well

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 latest nightly buildhttpsone of the following:

...

Extract to JSP_TCK_HOME


Edit $JSP_HOME/bin/ts.jte

...

el.classes=${webServerHome}/lib/el-api.jar${pathsep}${webServerHome}/modules/jasper-el.jar

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

...

Accept the defaults and then run the tests

Expected results

A default 9.0.x build with the above configuration triggers TBD test failurespasses the Jakarta EE 8 JSP TCK.

A default 10.0.x build with the above configuration passes the Jakarta EE 9 JSP TCK with the following JREs:

  • Adopt OpenJDK 8u275 b01
  • Adopt OpenJDK 11.0.9 b11 (TCK and Tomcat)

Fixed bugs

The Apache Tomcat project has reported the following bugs to the Eclipse Jakarta EE TCK project which have since been fixed.