You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by gr...@apache.org on 2003/08/18 15:30:41 UTC

cvs commit: incubator-geronimo/modules/web/src/java/org/apache/geronimo/web AbstractWebApplication.java AbstractWebContainer.java WebApplication.java WebConnector.java WebContainer.java

gregw       2003/08/18 06:30:41

  Added:       modules/web maven.log maven.xml project.properties
                        project.xml
               modules/web/src/java/org/apache/geronimo/web
                        AbstractWebApplication.java
                        AbstractWebContainer.java WebApplication.java
                        WebConnector.java WebContainer.java
  Log:
  Moved web stuff to web module
  
  Revision  Changes    Path
  1.1                  incubator-geronimo/modules/web/maven.log
  
  Index: maven.log
  ===================================================================
  2003-08-18 22:01:08,277 INFO  org.apache.maven.plugin.PluginManager - Initializing Plugins!
  2003-08-18 22:01:08,323 INFO  org.apache.maven.plugin.PluginManager - Unpacking plugins from directory --> /usr/local/java/maven/DEFAULT/plugins
  2003-08-18 22:01:08,344 INFO  org.apache.maven.plugin.PluginManager - Processing unpacked plugins in /home/gregw/.maven/plugins
  2003-08-18 22:01:08,344 INFO  org.apache.maven.plugin.PluginManager - Processing Plugin: maven-deploy-plugin-1.1
  2003-08-18 22:01:08,526 INFO  org.apache.maven.plugin.PluginManager - Processing Plugin: maven-plexus-plugin-0.2
  2003-08-18 22:01:08,563 INFO  org.apache.maven.plugin.PluginManager - Processing Plugin: maven-runner-plugin-0.2
  2003-08-18 22:01:08,569 INFO  org.apache.maven.plugin.PluginManager - Processing Plugin: maven-vdoclet-plugin-1.0
  2003-08-18 22:01:08,581 INFO  org.apache.maven.plugin.PluginManager - Processing Plugin: maven-sea-plugin-1.0
  2003-08-18 22:01:08,586 INFO  org.apache.maven.plugin.PluginCacheManager - Saving caches to /home/gregw/.maven/plugins
  2003-08-18 22:01:08,651 INFO  org.apache.maven.plugin.PluginManager - Finished initializing Plugins!
  2003-08-18 22:01:15,501 WARN  org.apache.commons.jelly.expression.jexl.JexlExpression - Caught exception evaluating: org.apache.commons.jexl.ExpressionImpl@3cb075. Reason: java.lang.NumberFormatException: For input string: "includes"
  java.lang.NumberFormatException: For input string: "includes"
  	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
  	at java.lang.Integer.parseInt(Integer.java:426)
  	at java.lang.Integer.valueOf(Integer.java:532)
  	at org.apache.commons.jexl.util.Coercion.coerceInteger(Coercion.java:95)
  	at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:177)
  	at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:104)
  	at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:106)
  	at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:88)
  	at org.apache.commons.jexl.parser.ASTNotNode.value(ASTNotNode.java:88)
  	at org.apache.commons.jexl.parser.ASTExpression.value(ASTExpression.java:85)
  	at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:123)
  	at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:115)
  	at org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:168)
  	at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:106)
  	at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsBoolean(ExpressionSupport.java:116)
  	at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:90)
  	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
  	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
  	at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:84)
  	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
  	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
  	at com.werken.werkz.jelly.ProjectTag.doTag(ProjectTag.java:112)
  	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  	at org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:112)
  	at org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:139)
  	at org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager.java:734)
  	at org.apache.maven.plugin.PluginManager.prepDynamicTagLib(PluginManager.java:611)
  	at org.apache.maven.plugin.PluginManager.prepDynaTagLibs(PluginManager.java:586)
  	at org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager.java:686)
  	at org.apache.maven.plugin.PluginManager.loadPlugins(PluginManager.java:766)
  	at org.apache.maven.plugin.PluginManager.prepForCallbacks(PluginManager.java:554)
  	at org.apache.maven.plugin.PluginManager.prepForGoal(PluginManager.java:525)
  	at org.apache.maven.MavenSession.prepForGoal(MavenSession.java:248)
  	at org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag.doTag(LazyAttainGoalTag.java:105)
  	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
  	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
  	at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
  	at com.werken.werkz.Goal.fire(Goal.java:639)
  	at com.werken.werkz.Goal.attain(Goal.java:575)
  	at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:434)
  	at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
  	at org.apache.maven.cli.App.doMain(App.java:525)
  	at org.apache.maven.cli.App.main(App.java:1088)
  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  	at java.lang.reflect.Method.invoke(Method.java:324)
  	at com.werken.forehead.Forehead.run(Forehead.java:543)
  	at com.werken.forehead.Forehead.main(Forehead.java:573)
  2003-08-18 22:01:15,504 WARN  org.apache.commons.jelly.expression.jexl.JexlExpression - Caught exception evaluating: org.apache.commons.jexl.ExpressionImpl@c16b18. Reason: java.lang.NumberFormatException: For input string: "excludes"
  java.lang.NumberFormatException: For input string: "excludes"
  	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
  	at java.lang.Integer.parseInt(Integer.java:426)
  	at java.lang.Integer.valueOf(Integer.java:532)
  	at org.apache.commons.jexl.util.Coercion.coerceInteger(Coercion.java:95)
  	at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:177)
  	at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:104)
  	at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:106)
  	at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:88)
  	at org.apache.commons.jexl.parser.ASTNotNode.value(ASTNotNode.java:88)
  	at org.apache.commons.jexl.parser.ASTExpression.value(ASTExpression.java:85)
  	at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:123)
  	at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:115)
  	at org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:168)
  	at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:106)
  	at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsBoolean(ExpressionSupport.java:116)
  	at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:90)
  	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
  	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
  	at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:84)
  	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
  	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
  	at com.werken.werkz.jelly.ProjectTag.doTag(ProjectTag.java:112)
  	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  	at org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:112)
  	at org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:139)
  	at org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager.java:734)
  	at org.apache.maven.plugin.PluginManager.prepDynamicTagLib(PluginManager.java:611)
  	at org.apache.maven.plugin.PluginManager.prepDynaTagLibs(PluginManager.java:586)
  	at org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager.java:686)
  	at org.apache.maven.plugin.PluginManager.loadPlugins(PluginManager.java:766)
  	at org.apache.maven.plugin.PluginManager.prepForCallbacks(PluginManager.java:554)
  	at org.apache.maven.plugin.PluginManager.prepForGoal(PluginManager.java:525)
  	at org.apache.maven.MavenSession.prepForGoal(MavenSession.java:248)
  	at org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag.doTag(LazyAttainGoalTag.java:105)
  	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
  	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
  	at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
  	at com.werken.werkz.Goal.fire(Goal.java:639)
  	at com.werken.werkz.Goal.attain(Goal.java:575)
  	at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:434)
  	at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
  	at org.apache.maven.cli.App.doMain(App.java:525)
  	at org.apache.maven.cli.App.main(App.java:1088)
  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  	at java.lang.reflect.Method.invoke(Method.java:324)
  	at com.werken.forehead.Forehead.run(Forehead.java:543)
  	at com.werken.forehead.Forehead.main(Forehead.java:573)
  2003-08-18 22:01:15,532 WARN  org.apache.commons.jelly.expression.jexl.JexlExpression - Caught exception evaluating: org.apache.commons.jexl.ExpressionImpl@4d2af2. Reason: java.lang.NumberFormatException: For input string: "includes"
  java.lang.NumberFormatException: For input string: "includes"
  	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
  	at java.lang.Integer.parseInt(Integer.java:426)
  	at java.lang.Integer.valueOf(Integer.java:532)
  	at org.apache.commons.jexl.util.Coercion.coerceInteger(Coercion.java:95)
  	at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:177)
  	at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:104)
  	at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:106)
  	at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:88)
  	at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:123)
  	at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:115)
  	at org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:168)
  	at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:106)
  	at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsIterator(ExpressionSupport.java:146)
  	at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:127)
  	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
  	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
  	at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:271)
  	at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:267)
  	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
  	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
  	at com.werken.werkz.jelly.ProjectTag.doTag(ProjectTag.java:112)
  	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  	at org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:112)
  	at org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:139)
  	at org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager.java:734)
  	at org.apache.maven.plugin.PluginManager.prepDynamicTagLib(PluginManager.java:611)
  	at org.apache.maven.plugin.PluginManager.prepDynaTagLibs(PluginManager.java:586)
  	at org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager.java:686)
  	at org.apache.maven.plugin.PluginManager.loadPlugins(PluginManager.java:766)
  	at org.apache.maven.plugin.PluginManager.prepForCallbacks(PluginManager.java:554)
  	at org.apache.maven.plugin.PluginManager.prepForGoal(PluginManager.java:525)
  	at org.apache.maven.MavenSession.prepForGoal(MavenSession.java:248)
  	at org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag.doTag(LazyAttainGoalTag.java:105)
  	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
  	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
  	at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
  	at com.werken.werkz.Goal.fire(Goal.java:639)
  	at com.werken.werkz.Goal.attain(Goal.java:575)
  	at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:434)
  	at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
  	at org.apache.maven.cli.App.doMain(App.java:525)
  	at org.apache.maven.cli.App.main(App.java:1088)
  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  	at java.lang.reflect.Method.invoke(Method.java:324)
  	at com.werken.forehead.Forehead.run(Forehead.java:543)
  	at com.werken.forehead.Forehead.main(Forehead.java:573)
  2003-08-18 22:01:15,534 WARN  org.apache.commons.jelly.expression.jexl.JexlExpression - Caught exception evaluating: org.apache.commons.jexl.ExpressionImpl@3e97df. Reason: java.lang.NumberFormatException: For input string: "excludes"
  java.lang.NumberFormatException: For input string: "excludes"
  	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
  	at java.lang.Integer.parseInt(Integer.java:426)
  	at java.lang.Integer.valueOf(Integer.java:532)
  	at org.apache.commons.jexl.util.Coercion.coerceInteger(Coercion.java:95)
  	at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:177)
  	at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:104)
  	at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:106)
  	at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:88)
  	at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:123)
  	at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:115)
  	at org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:168)
  	at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:106)
  	at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsIterator(ExpressionSupport.java:146)
  	at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:127)
  	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
  	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
  	at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:271)
  	at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:267)
  	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
  	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
  	at com.werken.werkz.jelly.ProjectTag.doTag(ProjectTag.java:112)
  	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  	at org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:112)
  	at org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:139)
  	at org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager.java:734)
  	at org.apache.maven.plugin.PluginManager.prepDynamicTagLib(PluginManager.java:611)
  	at org.apache.maven.plugin.PluginManager.prepDynaTagLibs(PluginManager.java:586)
  	at org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager.java:686)
  	at org.apache.maven.plugin.PluginManager.loadPlugins(PluginManager.java:766)
  	at org.apache.maven.plugin.PluginManager.prepForCallbacks(PluginManager.java:554)
  	at org.apache.maven.plugin.PluginManager.prepForGoal(PluginManager.java:525)
  	at org.apache.maven.MavenSession.prepForGoal(MavenSession.java:248)
  	at org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag.doTag(LazyAttainGoalTag.java:105)
  	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
  	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
  	at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
  	at com.werken.werkz.Goal.fire(Goal.java:639)
  	at com.werken.werkz.Goal.attain(Goal.java:575)
  	at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:434)
  	at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
  	at org.apache.maven.cli.App.doMain(App.java:525)
  	at org.apache.maven.cli.App.main(App.java:1088)
  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  	at java.lang.reflect.Method.invoke(Method.java:324)
  	at com.werken.forehead.Forehead.run(Forehead.java:543)
  	at com.werken.forehead.Forehead.main(Forehead.java:573)
  
  
  
  1.1                  incubator-geronimo/modules/web/maven.xml
  
  Index: maven.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  
  <!-- $Revision: 1.1 $ $Date: 2003/08/18 13:30:40 $ -->
  
  <project default="default"
    xmlns:j="jelly:web"
    xmlns:ant="jelly:ant"
    xmlns:maven="jelly:maven">
    
    <preGoal name="xdoc:jelly-transform">
      <attainGoal name="html2xdoc"/>
    </preGoal>
  
    <preGoal name="java:compile">
      <!--
      <j:set var="maven.javacc.compile.src" value="target/gen-src"/>
      <ant:path id="maven.javacc.compile.src.set" location="${maven.javacc.compile.src}"/>
      <maven:addPath id="maven.compile.src.set" refid="maven.javacc.compile.src.set"/>
  
      <ant:mkdir dir="${maven.javacc.compile.src}/geronimo/persistence/ejb/ejbql"/>
      <ant:jjtree target="src/java/geronimo/persistence/ejb/ejbql/EJBQL20Parser.jjt"
                  outputdirectory="${maven.javacc.compile.src}/geronimo/persistence/ejb/ejbql"
                  javacchome="${maven.repo.local}/javacc/jars" />
      <ant:javacc target="${maven.javacc.compile.src}/geronimo/persistence/ejb/ejbql/EJBQL20Parser.jj"
                  javacchome="${maven.repo.local}/javacc/jars"/>
      -->
    </preGoal>
    
    <!-- ============================== -->
    <!-- Helpers to run Apache Geronimo -->
    <!-- ============================== -->
    
    <!-- jason: need to fix this -->
    
    <goal name="run" description="Runs the Geronimo Server using the current build">
    
      <ant:path id="test.classpath">
        <ant:pathelement path="target/test-classes"/>
        <ant:pathelement path="src/conf/"/>
        <ant:pathelement path="${maven.build.dest}"/>
        <ant:path refid="maven.dependency.classpath"/>
      </ant:path>
      
      <ant:java classname="org.apache.geronimo.Main" fork="yes">
        <ant:classpath refid="test.classpath"/>
      </ant:java>
      
    </goal>
    
  </project>
  
  
  
  1.1                  incubator-geronimo/modules/web/project.properties
  
  Index: project.properties
  ===================================================================
  ##
  ## $Revision: 1.1 $ $Date: 2003/08/18 13:30:40 $
  ##
  
  
  
  1.1                  incubator-geronimo/modules/web/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  
  <!-- $Revision: 1.1 $ $Date: 2003/08/18 13:30:40 $ -->
  
  <project>
    <pomVersion>3</pomVersion>
    <extend>${basedir}/../../etc/project.xml</extend>
    
    <!-- ===================== -->
    <!-- Module Identification -->
    <!-- ===================== -->
    
    <name>Geronimo :: Web</name>
    <id>geronimo-web</id>
    <shortDescription>Geronimo Web J2EE Container</shortDescription>
    <description>Geronimo Web J2EE Container</description>
    <url>http://incubator.apache.org/projects/geronimo/web/</url>
    <siteDirectory>/www/incubator.apache.org/projects/geronimo/web</siteDirectory>
    <distributionDirectory>/www/incubator.apache.org/projects/geronimo/builds/web</distributionDirectory>
    
    <currentVersion>DEV</currentVersion>
    
    <!-- ============ -->
    <!-- Dependencies -->
    <!-- ============ -->
    
    <dependencies>
      
      <!-- Module Dependencies -->
      
      <dependency>
        <groupId>geronimo</groupId>
        <artifactId>geronimo-common</artifactId>
        <version>DEV</version>
        <properties>
          <module>true</module>
        </properties>
      </dependency>
  
      <dependency>
        <groupId>geronimo</groupId>
        <artifactId>geronimo-core</artifactId>
        <version>DEV</version>
        <properties>
          <module>true</module>
        </properties>
      </dependency>
      
      <dependency>
        <groupId>geronimo-spec</groupId>
        <artifactId>geronimo-spec-jta</artifactId>
        <version>DEV</version>
        <properties>
          <module>true</module>
        </properties>
      </dependency>
      
      <dependency>
        <groupId>geronimo-spec</groupId>
        <artifactId>geronimo-spec-ejb</artifactId>
        <version>DEV</version>
        <properties>
          <module>true</module>
        </properties>
      </dependency>
      
      <dependency>
        <groupId>geronimo-spec</groupId>
        <artifactId>geronimo-spec-j2ee-management</artifactId>
        <version>DEV</version>
        <properties>
          <module>true</module>
        </properties>
      </dependency>
      
      <dependency>
        <groupId>geronimo-spec</groupId>
        <artifactId>geronimo-spec-j2ee-deployment</artifactId>
        <version>DEV</version>
        <properties>
          <module>true</module>
        </properties>
      </dependency>
      
      <!-- Thirdparty -->
      
      <dependency>
        <id>commons-logging</id>
        <version>1.0.3</version>
        <url>http://jakarta.apache.org/commons/logging/</url>
        <properties>
          <runtime>true</runtime>
        </properties>
      </dependency>
      
      <dependency>
        <id>commons-httpclient</id>
        <version>2.0-beta1</version>
        <url>http://jakarta.apache.org/commons/httpclient/</url>
        <properties>
          <runtime>true</runtime>
        </properties>
      </dependency>
      
      <dependency>
        <id>log4j</id>
        <version>1.2.8</version>
        <properties>
          <runtime>true</runtime>
        </properties>
      </dependency>
      
      <dependency>
        <id>concurrent</id>
        <version>1.3.2</version>
        <properties>
          <runtime>true</runtime>
        </properties>
      </dependency>
      
      <dependency>
        <id>javacc</id>
        <jar>JavaCC.zip</jar>
        <properties>
          <runtime>false</runtime>
        </properties>
      </dependency>
      
      <dependency>
        <id>mx4j</id>
        <version>SNAPSHOT</version>
        <properties>
          <runtime>true</runtime>
        </properties>
      </dependency>
      
      <dependency>
        <id>mx4j+tools</id>
        <version>SNAPSHOT</version>
        <properties>
          <runtime>true</runtime>
        </properties>
      </dependency>
  
      <dependency>
        <id>servletapi</id>
        <version>SNAPSHOT</version>
        <properties>
          <runtime>true</runtime>
        </properties>
      </dependency>
  
    </dependencies>
    
    
    <!-- =================== -->
    <!-- Build Specification -->
    <!-- =================== -->
    
    <build>
      <resources>
        <resource>
          <directory>${basedir}/src/conf</directory>
          <includes>
            <include>*.properties</include>
          </includes>
        </resource>
      </resources>
    </build>
    
  </project>
  
  
  
  1.1                  incubator-geronimo/modules/web/src/java/org/apache/geronimo/web/AbstractWebApplication.java
  
  Index: AbstractWebApplication.java
  ===================================================================
  /* ====================================================================
  * The Apache Software License, Version 1.1
  *
  * Copyright (c) 2003 The Apache Software Foundation.  All rights
  * reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *
  * 1. Redistributions of source code must retain the above copyright
  *    notice, this list of conditions and the following disclaimer.
  *
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in
  *    the documentation and/or other materials provided with the
  *    distribution.
  *
  * 3. The end-user documentation included with the redistribution,
  *    if any, must include the following acknowledgment:
  *       "This product includes software developed by the
  *        Apache Software Foundation (http://www.apache.org/)."
  *    Alternately, this acknowledgment may appear in the software itself,
  *    if and wherever such third-party acknowledgments normally appear.
  *
  * 4. The names "Apache" and "Apache Software Foundation" and
  *    "Apache Geronimo" must not be used to endorse or promote products
  *    derived from this software without prior written permission. For
  *    written permission, please contact apache@apache.org.
  *
  * 5. Products derived from this software may not be called "Apache",
  *    "Apache Geronimo", nor may "Apache" appear in their name, without
  *    prior written permission of the Apache Software Foundation.
  *
  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  * ====================================================================
  *
  * This software consists of voluntary contributions made by many
  * individuals on behalf of the Apache Software Foundation.  For more
  * information on the Apache Software Foundation, please see
  * <http://www.apache.org/>.
  *
  * ====================================================================
  */
  
  package org.apache.geronimo.web;
  
  import java.net.URL;
  
  import org.apache.geronimo.common.AbstractComponent;
  import org.w3c.dom.Document;
  
  /* -------------------------------------------------------------------------------------- */
  /**
   * AbstractWebApplication
   *  
   * Instances are created by a deployer. The deployer finds the 
   * WebContainer and associates it with the WebApplication, then calls
   *  deploy() on the container passing in the identity of the WebApplication.
   * 
   * 
   * @version $Revision: 1.1 $ $Date: 2003/08/18 13:30:41 $
   */
  public class AbstractWebApplication
      extends AbstractComponent
      implements WebApplication
  {
  
      
  
      /* -------------------------------------------------------------------------------------- */
      /* Start the webapp. Called by the container or management interface
       * @throws Exception
       * @throws IllegalStateException
       * @see org.apache.geronimo.common.Component#start()
       */
      public void doStart() 
          throws Exception
      {
          if (getContainer() == null)
              throw new IllegalStateException("WebApplication must have a container set before START can be called");
  
          //start the webapp
      }
  
      /* -------------------------------------------------------------------------------------- */
      /* Stop the webapp. Called by the container, or by mangement
       * interface
       * 
       * @see org.apache.geronimo.common.Component#stop()
       */
      public void doStop()
      {
  
      }
  
      /* -------------------------------------------------------------------------------------- */
      /* Return the list of Servlets of this webapp
       * @return
       * @see org.apache.geronimo.web.WebApplication#getServlets()
       */
      public String[] getServlets()
      {
          return null;
      }
  
      /* -------------------------------------------------------------------------------------- */
      /* Get the context path of this webapp
       * @return
       * @see org.apache.geronimo.web.WebApplication#getContextName()
       */
      public String getContextPath()
      {
          // TODO
          return null;
      }
  
      /* -------------------------------------------------------------------------------------- */
      /* 
       * @return
       * @see org.apache.geronimo.web.WebApplication#getDeploymentDescriptor()
       */
      public Document getDeploymentDescriptor()
      {
          // TODO
          return null;
      }
  
      /* -------------------------------------------------------------------------------------- */
      /* 
       * @return
       * @see org.apache.geronimo.web.WebApplication#getDeploymentDescriptorURL()
       */
      public URL getDeploymentDescriptorURL()
      {
          // TODO
          return null;
      }
  
      /* -------------------------------------------------------------------------------------- */
      /* 
       * @return
       * @see org.apache.geronimo.web.WebApplication#getURL()
       */
      public URL getURL()
      {
          // TODO
          return null;
      }
  
  }
  
  
  
  1.1                  incubator-geronimo/modules/web/src/java/org/apache/geronimo/web/AbstractWebContainer.java
  
  Index: AbstractWebContainer.java
  ===================================================================
  /* ====================================================================
  * The Apache Software License, Version 1.1
  *
  * Copyright (c) 2003 The Apache Software Foundation.  All rights
  * reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *
  * 1. Redistributions of source code must retain the above copyright
  *    notice, this list of conditions and the following disclaimer.
  *
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in
  *    the documentation and/or other materials provided with the
  *    distribution.
  *
  * 3. The end-user documentation included with the redistribution,
  *    if any, must include the following acknowledgment:
  *       "This product includes software developed by the
  *        Apache Software Foundation (http://www.apache.org/)."
  *    Alternately, this acknowledgment may appear in the software itself,
  *    if and wherever such third-party acknowledgments normally appear.
  *
  * 4. The names "Apache" and "Apache Software Foundation" and
  *    "Apache Geronimo" must not be used to endorse or promote products
  *    derived from this software without prior written permission. For
  *    written permission, please contact apache@apache.org.
  *
  * 5. Products derived from this software may not be called "Apache",
  *    "Apache Geronimo", nor may "Apache" appear in their name, without
  *    prior written permission of the Apache Software Foundation.
  *
  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  * ====================================================================
  *
  * This software consists of voluntary contributions made by many
  * individuals on behalf of the Apache Software Foundation.  For more
  * information on the Apache Software Foundation, please see
  * <http://www.apache.org/>.
  *
  * ====================================================================
  */
  package org.apache.geronimo.web;
  
  import org.apache.geronimo.common.AbstractContainer;
  
  /**
   * Base class for web containers.
   *
   * @version $Revision: 1.1 $ $Date: 2003/08/18 13:30:41 $
   */
  public class AbstractWebContainer extends AbstractContainer implements WebContainer {
      /**
       * Location of the defualt web.xml file
       */
      private String defaultWebXmlURL;
  
      /**
       * Creates a WebApplication from the url and associates it with this container.
       * @param url the location of the web application to deploy
       * @throws Exception
       * @see org.apache.geronimo.web.WebContainer#deploy(java.lang.String)
       */
      public void deploy(String url) throws Exception {
      }
  
      /**
       * Get the URL of the web defaults.
       * @return the location of the default web.xml file for this container
       * @see org.apache.geronimo.web.WebContainer#getDefaultWebXmlURL()
       */
      public String getDefaultWebXmlURL() {
          return defaultWebXmlURL;
      }
  
      /**
       * Set a url of a web.xml containing defaults for this continer.
       * @param url the location of the default web.xml file
       * @see org.apache.geronimo.web.WebContainer#setDefaultWebXmlURL(java.lang.String)
       */
      public void setDefaultWebXmlURL(String url) {
          defaultWebXmlURL = url;
      }
  }
  
  
  
  1.1                  incubator-geronimo/modules/web/src/java/org/apache/geronimo/web/WebApplication.java
  
  Index: WebApplication.java
  ===================================================================
  /* ====================================================================
  * The Apache Software License, Version 1.1
  *
  * Copyright (c) 2003 The Apache Software Foundation.  All rights
  * reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *
  * 1. Redistributions of source code must retain the above copyright
  *    notice, this list of conditions and the following disclaimer.
  *
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in
  *    the documentation and/or other materials provided with the
  *    distribution.
  *
  * 3. The end-user documentation included with the redistribution,
  *    if any, must include the following acknowledgment:
  *       "This product includes software developed by the
  *        Apache Software Foundation (http://www.apache.org/)."
  *    Alternately, this acknowledgment may appear in the software itself,
  *    if and wherever such third-party acknowledgments normally appear.
  *
  * 4. The names "Apache" and "Apache Software Foundation" and
  *    "Apache Geronimo" must not be used to endorse or promote products
  *    derived from this software without prior written permission. For
  *    written permission, please contact apache@apache.org.
  *
  * 5. Products derived from this software may not be called "Apache",
  *    "Apache Geronimo", nor may "Apache" appear in their name, without
  *    prior written permission of the Apache Software Foundation.
  *
  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  * ====================================================================
  *
  * This software consists of voluntary contributions made by many
  * individuals on behalf of the Apache Software Foundation.  For more
  * information on the Apache Software Foundation, please see
  * <http://www.apache.org/>.
  *
  * ====================================================================
  */
  
  package org.apache.geronimo.web;
  
  import java.net.URL;
  
  import org.apache.geronimo.common.Component;
  import org.w3c.dom.Document;
  
  /* -------------------------------------------------------------------------------------- */
  /**
   * WebApplication
   * This interface represents a web application deployable within
   * a WebContainer.
   * 
   * It supports the JSR077 WebModule attribute servlets[]
   *
   * @version  $Revision: 1.1 $ $Date: 2003/08/18 13:30:41 $
   */
  public interface WebApplication extends Component {
  
  	/* -------------------------------------------------------------------------------------- */
  	/**Get the url of the webapp
  	* @return
  	*/
  	public URL getURL();
  
  	/*-------------------------------------------------------------------------------- */
  	/** JSR077 WebModule method to expose the
  	 * names of all servlets contained within this webapp.
  	 * 
  	* @return Names of all servlets contained by this webapp
  	*/
  	public String[] getServlets();
  
  	public String getContextPath();
  
  	public Document getDeploymentDescriptor();
      
      public URL getDeploymentDescriptorURL();
  }
  
  
  
  1.1                  incubator-geronimo/modules/web/src/java/org/apache/geronimo/web/WebConnector.java
  
  Index: WebConnector.java
  ===================================================================
  /* ====================================================================
  * The Apache Software License, Version 1.1
  *
  * Copyright (c) 2003 The Apache Software Foundation.  All rights
  * reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *
  * 1. Redistributions of source code must retain the above copyright
  *    notice, this list of conditions and the following disclaimer.
  *
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in
  *    the documentation and/or other materials provided with the
  *    distribution.
  *
  * 3. The end-user documentation included with the redistribution,
  *    if any, must include the following acknowledgment:
  *       "This product includes software developed by the
  *        Apache Software Foundation (http://www.apache.org/)."
  *    Alternately, this acknowledgment may appear in the software itself,
  *    if and wherever such third-party acknowledgments normally appear.
  *
  * 4. The names "Apache" and "Apache Software Foundation" and
  *    "Apache Geronimo" must not be used to endorse or promote products
  *    derived from this software without prior written permission. For
  *    written permission, please contact apache@apache.org.
  *
  * 5. Products derived from this software may not be called "Apache",
  *    "Apache Geronimo", nor may "Apache" appear in their name, without
  *    prior written permission of the Apache Software Foundation.
  *
  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  * ====================================================================
  *
  * This software consists of voluntary contributions made by many
  * individuals on behalf of the Apache Software Foundation.  For more
  * information on the Apache Software Foundation, please see
  * <http://www.apache.org/>.
  *
  * ====================================================================
  */
  
  /*
   * WebConnector
   * 
   * 
   * @author    jan@coredevelopers.net
   * @version  Aug 10, 2003
   */
  package org.apache.geronimo.web;
  
  import org.apache.geronimo.common.Component;
  
  /* -------------------------------------------------------------------------------------- */
  /**
   * WebConnector
   * 
   * 
   * @version $Revision: 1.1 $ $Date: 2003/08/18 13:30:41 $
   */
  public interface WebConnector extends Component
  {
  
      /*-------------------------------------------------------------------------------- */
      /** Port number of connector
      * @param port number on which to listen
      */
      public void setPort(int port);
  
      public int getPort();
  
      /*-------------------------------------------------------------------------------- */
      /** Protocol of connector
      * @param protocol eg http, https, ftp etc
      */
      public void setProtocol(String protocol);
  
      public String getProtocol();
  
      /*-------------------------------------------------------------------------------- */
      /** Interface of connector
      * @param iface (hostname or IP) on which to listen
      */
      public void setInterface(String iface);
  
      public String getInterface();
  
      /*-------------------------------------------------------------------------------- */
      /** Maximum number of connections supported by connector
      * @param maxConnects
      */
      public void setMaxConnections(int maxConnects);
  
      public int getMaxConnections();
  
      /*-------------------------------------------------------------------------------- */
      /** Maximum time (in ms) that a connection can be idle
       * before the connector will close it.
      * @param maxIdleTime time in msec
      */
      public void setMaxIdleTime(int maxIdleTime);
  
      public int getMaxIdleTime();
  
      /*-------------------------------------------------------------------------------- */
      /** Names of contexts that must be registered and started
       * in the associated web container before this connector will
       * accept connections.
      * @param contexts
      */
      public void setContexts(String[] contexts);
  
      public String[] getContexts();
  }
  
  
  
  1.1                  incubator-geronimo/modules/web/src/java/org/apache/geronimo/web/WebContainer.java
  
  Index: WebContainer.java
  ===================================================================
  /* ====================================================================
  * The Apache Software License, Version 1.1
  *
  * Copyright (c) 2003 The Apache Software Foundation.  All rights
  * reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *
  * 1. Redistributions of source code must retain the above copyright
  *    notice, this list of conditions and the following disclaimer.
  *
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in
  *    the documentation and/or other materials provided with the
  *    distribution.
  *
  * 3. The end-user documentation included with the redistribution,
  *    if any, must include the following acknowledgment:
  *       "This product includes software developed by the
  *        Apache Software Foundation (http://www.apache.org/)."
  *    Alternately, this acknowledgment may appear in the software itself,
  *    if and wherever such third-party acknowledgments normally appear.
  *
  * 4. The names "Apache" and "Apache Software Foundation" and
  *    "Apache Geronimo" must not be used to endorse or promote products
  *    derived from this software without prior written permission. For
  *    written permission, please contact apache@apache.org.
  *
  * 5. Products derived from this software may not be called "Apache",
  *    "Apache Geronimo", nor may "Apache" appear in their name, without
  *    prior written permission of the Apache Software Foundation.
  *
  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  * ====================================================================
  *
  * This software consists of voluntary contributions made by many
  * individuals on behalf of the Apache Software Foundation.  For more
  * information on the Apache Software Foundation, please see
  * <http://www.apache.org/>.
  *
  * ====================================================================
  */
  
  package org.apache.geronimo.web;
  
  import org.apache.geronimo.common.Container;
  
  /*
   * WebContainer
   *  
   * 
   * @version $Revision: 1.1 $  $Date: 2003/08/18 13:30:41 $
   */
  public interface WebContainer extends Container
  {
  
      /*-------------------------------------------------------------------------------- */
      /** Deploy a web application. Convenience method to 
       * have the container create the WebApplication and add it to itself.
      * @param url 
      * @throws Exception
      */
      public void deploy(String url) throws Exception;
  
      /*-------------------------------------------------------------------------------- */
      /** Set up a web.xml descriptor for the Container to use as
       * defaults.
      * @param url 
      */
      public void setDefaultWebXmlURL(String url);
  
      /*-------------------------------------------------------------------------------- */
      /** Get the url of the default web.xml descriptor used 
       * by this container.
      * @return
      */
      public String getDefaultWebXmlURL();
  }