[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jetty-users] How to disable web application context and use only WebAppContext
|
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!