...
Now we need to set up 2 context files, one to describe the webapp we wish to deploy on Server A and the other for the webapp to deploy on Server B. We then put these files into $JETTY_HOME/contextsA or $JETTY_HOME/contextsB respectively.
| Section |
|---|
| Column |
|---|
{:xml|title= |
|---|
| xml |
|---|
| bgColor | FFFFFF |
|---|
| titleBGColor | #54FF9F |
|---|
| title | contextA.xml |
|---|
| |titleBGColor=#54FF9F|bgColor=FFFFFF <Configure i |
<Configure i class="org.mortbay.jetty.webapp.WebAppContext"> |
<Set
<Set name="war"><SystemProperty name="jetty.home"/>/webapps/A</Set> |
<Set
<Set name="contextPath">/webappA</Set> |
|
| Column |
|---|
| Code Block |
|---|
| xml |
|---|
| bgColor | FFFFFF |
|---|
| titleBGColor | #AB82FF |
|---|
| title | contextB.xml |
|---|
|
<Configure i class="org.mortbay.jetty.webapp.WebAppContext">
<Set name="war"><SystemProperty name="jetty.home"/>/webapps/B</Set>
<Set name="contextPath">/webappB</Set>
...
</Configure>
|
|
|
...