| Summary: | Run cluster test suite with Tomcat | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Rüdiger Herrmann <ruediger.herrmann> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | 1.5 M1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 348587 | ||
| Bug Blocks: | 341761 | ||
|
Description
Rüdiger Herrmann
Tomcat 7.x implements the Servlet 3.0 API, this is why bug bug bug 348587 needs to be resolved before this bug can be closed. The cluster tests now also run against Tomcat. To compile and run the cluster tests, some extra requirements are necessary: * the patch from bug bug 348587 needs to be applied * the servlet 3.0 API from "orbit":http://download.eclipse.org/tools/orbit/downloads/drops/R20110523182458 needs to be present in the target platform * a "tomcat bundle". For now, I took the sources from "CQ 5094":https://dev.eclipse.org/ipzilla/show_bug.cgi?id=5094, put them into a plug-in project and removed the javax.servlet.* package. Changes are in CVS HEAD The remaining problem with tests against Tomcat is how to provide the org.apache.tomcat.* packages. In Gemini/Web project offers Tomcat bundles as part of their release. An attempt to use these bundles revealed the following: The packages necessary for cluster support are contained in a fragment (com.springsource.org.apache.catalina.ha). Apparently, fragments that reside in the target platform cannot be resolved. For now, we will piggyback on "CQ 5094":https://dev.eclipse.org/ipzilla/show_bug.cgi?id=5094 and maintain our own copy of Tomcat. Opned "CQ 5286":https://dev.eclipse.org/ipzilla/show_bug.cgi?id=5286 org.apahce.tomcat can now be found in CVS: /cvsroot/rt/org.eclipse.rap/runtime.rwt.test The cluster tests run now against Jetty *and* Tomcat. Changes are in CVS HEAD |