org.apache.anteater.tomcat
Class SimpleServletContainer

java.lang.Object
  |
  +--org.apache.anteater.tomcat.SimpleServletContainer

public class SimpleServletContainer
extends Object

Start an embedded Tomcat servlet container. This is a cut-down version of ServletContainer, containing the minimum necessary, with no integration with the rest of the Anteater framework. It is used purely for debugging.

The tomcat.home property must be specified. All webapps in tomcat.home/webapps will be auto-deployed.

The tomcat.port property may be set to specify the port Tomcat runs on. The default is 8100.

The tomcat.debug property lets you pass a debug level on to Tomcat. The default is 0.

Since:
January 3, 2001
Version:
$Revision: 1.1 $ $Date: 2002/01/03 11:10:14 $
Author:
Ovidiu Predescu, Costin Manolache

Constructor Summary
SimpleServletContainer()
           
 
Method Summary
 void execute()
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleServletContainer

public SimpleServletContainer()
Method Detail

execute

public void execute()

main

public static void main(String[] args)
                 throws Exception
Exception


Ant Functional Tester -- see Project home page for details