Running
Tomcat
Set the following system properties
-Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=true
-Dorg.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR=false
Make the following changes to context.xml
- <Context crossContext="true" >
Make the following changes to tomcat-users.xml
<user username="CN=CTS, OU=Java Software, O=Sun Microsystems Inc., L=Burlington, ST=MA, C=US" roles="Administrator"/>
<user username="j2ee" password="j2ee" roles="Administrator,Employee" />
<user username="javajoe" password="javajoe" roles="VP" />
Enable TLS on port 8443
Client certificate
- TBD
Test Suite
Download latest nightly build
https://download.eclipse.org/ee4j/jakartaee-tck/8.0.1/nightly/servlettck-4.0_latest.zip
Extract to SERVLET_TCK_HOME
Edit $SERVLET_TCK_HOME/bin/ts.jte
You'll need to set the following properties (adjust the paths and values for your environment)
servlet.classes=/home/mark/repos/asf-public/tomcat/trunk/output/build/lib/servlet-api.jar:/home/mark/repos/asf-public/tomcat/trunk/output/build/lib/annotations-api.jar
webServerHost=localhost
webServerPort=8080
securedWebServicePort=8443
set JAVA_HOME
Run ant gui
Accept the defaults and then run the tests
Expected results
A default 9.0.x build without any configuration triggers TBD test failures