/[Apache-SVN]
ViewVC logotype

Revision 677640


Jump to revision: Previous Next
Author: costin
Date: Thu Jul 17 17:14:47 2008 UTC (11 years, 10 months ago)
Changed paths: 3
Log Message:
Add a non-config starter for tomcat. All you need is the classpath including tomcat and the servlets - no config file.
There is a requirement for a temp directory - the spec requires that webapps are provided with one I believe. 
It is possible to remove this or do it lazily or have some default in /tmp, if anyone wants to.

Also adding a context requires some base dir ( can be an empty one ) - so the default servlets points to something.
This can also be eliminated by setting a different default servlet - needs to be done if wanted.

It is also pretty fast - the unit tests show startup + first request in ~1 sec. 



Changed paths

Path Details
Directorytomcat/trunk/java/org/apache/catalina/startup/Tomcat.java added
Directorytomcat/trunk/test/org/apache/catalina/startup/ added
Directorytomcat/trunk/test/org/apache/catalina/startup/TomcatStartupAPITest.java added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26