Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 348315

Summary: Run cluster test suite with Tomcat
Product: [RT] RAP Reporter: Rüdiger Herrmann <ruediger.herrmann>
Component: RWTAssignee: 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 CLA 2011-06-05 05:43:25 EDT
As Tomcat is a widespread servlet engine we should make sure that RWT can run on a Tomcat cluster.
Comment 1 Rüdiger Herrmann CLA 2011-06-11 09:34:41 EDT
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.
Comment 2 Rüdiger Herrmann CLA 2011-06-11 09:56:05 EDT
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
Comment 3 Rüdiger Herrmann CLA 2011-06-15 09:29:50 EDT
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.
Comment 4 Rüdiger Herrmann CLA 2011-06-20 09:22:10 EDT
Opned "CQ 5286":https://dev.eclipse.org/ipzilla/show_bug.cgi?id=5286
Comment 5 Rüdiger Herrmann CLA 2011-06-30 09:20:02 EDT
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