You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

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:

Extract to JSP_TCK_HOME


Edit $JSP_HOME/bin/ts.jte

You'll need to set the following properties (adjust the paths and values for your environment)

webServerHome=/path/to/tomcat

webServerHost=localhost
webServerPort=8080

jspservlet.classes=${webServerHome}/lib/servlet-api.jar${pathsep}${webServerHome}/lib/jsp-api.jar

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

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

set JAVA_HOME
cd $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 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:

This PR has been merged. Need to reset the current nightly TCK build)

Fixed bugs

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


  • No labels