Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348315 - Run cluster test suite with Tomcat
Summary: Run cluster test suite with Tomcat
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.5 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 348587
Blocks: 341761
  Show dependency tree
 
Reported: 2011-06-05 05:43 EDT by Rüdiger Herrmann CLA
Modified: 2011-06-30 09:20 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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