Hello guys.

I have servlet in a WAR deployed to webapps folder.

I also have a context defined like this:

<Configure class="org.eclipse.jetty.webapp.WebAppContext">


  <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
  <!-- Required minimal context configuration :                        -->
  <!--  + contextPath                                                  -->
  <!--  + war OR resourceBase                                          -->
  <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
  <Set name="contextPath">/dyn</Set>
  <Set name="war"><SystemProperty name="jetty.home"
default="."/>/webapps/mailer.war</Set>

  <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
  <!-- Optional context configuration                                  -->
  <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
  <Set name="extractWAR">true</Set>
  <Set name="copyWebDir">false</Set>

...................


As a result I get two contexts, mydomain/dyn and mailer. Mailer is obviosuly
created by the autodeployer. How do I get rid of the mailer context? I want
to still be able to do hot swap of the war. Thanks for any suggestion!
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to