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.

...

Set the following system properties

  • TBD

context.xml

Make the following changes:

TBD

tomcat-users.xml

Make the following changes:

TBD

server.xml

TBD

Test Suite

Download latest nightly build

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

...

...

Extract to JSP_TCK_HOME


Edit $JSP_HOME/bin/ts.jte

...

webServerHost=localhost
webServerPort=8080

eljspservlet.classes=${webServerHome}/lib/elservlet-api.jar${pathsep}${webServerHome}/moduleslib/jasperjsp-elapi.jar

sigTestClasspath=el.classes=${webServerHome}/lib/jspel-api.jar

sigTestClasspath=${el.classes}${pathsep}${jspservlet.classes}${pathsep}${JAVA_HOME}/lib/rt.jar${pathsep}${JAVA_HOME}/lib/modules

set JAVA_HOME
cd $SERVLET$JSP_TCK_HOME/bin
ant gui
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 triggers TBD test failurespasses 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.