Chris, a little more progress this morning... This is what I currently have in my xyz.xml
<Context override="true" swallowOutput="true" docBase="wfsservice.war"> And, this is what I get in my catalina.out... INFO: Deploying configuration descriptor /dg/local/cots/tomcat/tomcat_8082/conf/Catalina/localhost/xyz.xml ...then... WARNING: A docBase /dg/local/cots/tomcat/tomcat_8082/webapps/abc.war inside the host appBase has been specified, and will be ignored ...then... SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base /dg/local/cots/tomcat/tomcat_8082/webapps/xyz does not exist or is not a readable directory So, it looks like it's looking for an exploded xyz directory. On Fri, Dec 9, 2016 at 8:07 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Victor, > > On 12/8/16 7:57 PM, Victor Rodriguez wrote: > > On Thu, Dec 8, 2016 at 2:50 PM, Christopher Schultz < > > ch...@christopherschultz.net> wrote: > > > >> Victor, > >> > >> On 12/8/16 4:59 PM, Victor Rodriguez wrote: > >>>>> THANKS IN ADVANCE FOR YOUR HELP! (not yelling, just > >>>>> emphasizing!) > >>>>> > >>>>> I have abc.war and I want both /abc and /xyz to work for > >>>>> it. I've tried adding aliases="/abc=abc.war,/xyz=abc.war" > >>>>> and aliases="/abc=abc,/xyz=abc" but neither of those > >>>>> worked. This is how my original context.xml looked like. > >>>>> > >>>>> <Context override="true" swallowOutput="true"> <!-- Doing > >>>>> swallowOutput=true to allow each web applications > >>>>> System.out and System.err calls to end up in a separate > >>>>> log, not in catalina.out. See Jira CA-4589 --> <!-- Default > >>>>> set of monitored resources --> > >>>>> <WatchedResource>WEB-INF/web.xml</WatchedResource> <!-- > >>>>> Disable session persistence across Tomcat restarts by > >>>>> including this line; no sessions used for many OGC > >>>>> implemenations--> <Manager pathname="" /> > >>>>> > >>>>> <!-- Uncomment this to enable Comet connection tacking > >>>>> (provides events on session expiration as well as webapp > >>>>> lifecycle) --> <!-- <Valve > >>>>> className="org.apache.catalina.valves.CometConnectionManagerValve" > >>>>> > >>>>> > /> --> > >>>>> > >>>>> </Context> > >>>>> > >> > >> Tomcat 7 aliases are intended to map URLs within a single web > >> application. You can't use it to duplicate the web application on > >> two base paths. > >> > >> Here's what you need to do: > >> > >> 1. Put your WAR file in webapps/abc.war. This will deploy as > >> usual. > >> > >> 2. Copy webapps/abc.war/META-INF/context.xml into > >> conf/Catalina/localhost/xyz.xml and modify the <Context> element > >> like this: > >> > >> <Context override="true" swallowOutput="true" > >> docBase="webapps/abc.war "> ... </Context> > > > > Thanks Chris! I now get "Document base > > /dg/local/cots/tomcat/tomcat_8082/webapps/xyz does not exist or is > > not a readable directory" > > Is that path correct? What is the stack trace of that error? > > I would have expected the path to be pointing to abc.war, not .../xyz > > - -chris > -----BEGIN PGP SIGNATURE----- > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBCAAGBQJYStazAAoJEBzwKT+lPKRYPyEQAJZ8YpO/qzFtGkvZnR5Ws9CS > jns81BMXXW01tPbTqEUVmGOnuTcDS/fTzaOtqp5QfkeAy9408vh8ynC1es2ZuKZ9 > iwlI9Rvwlg0LMiLIHOvmvTHEjxDEN6UCDtUb7iUc2IgVe3LCUm7wgAF6d84uhbIm > +wi+HYd9ezl+KXfmr9izvfX3iFghdCS+MLR3OIusHhtlTzipmQVF6Vxrr7LcMv1F > CR31oClB4XY6fFuzUmbLfV+O39ccHNGdb72fXcWAIFJNtjjLdQdpgw97O7J5BSRt > Bmrk803NditwB0Zb99Fl39pf7+AMREkagnI1NHVuC0XwCOqNI0eHflPMEhJE9BUA > Z3nlIUemi42lc8+IqXm+qIoZ67MG52UnUfOFcpc0g0tgO9YLRLJrhAsQY8E9QLQc > kMPRD6GsFXFY38K9owX9znFPjR5FvCHdCdgln+emhCxGJt4MnyOs8I6U8ZCxyRSL > gGSpTCmPYs0gx+6AaAhSpiy21E5LsFE1W5UdsEcBtjmy/XcFg+qJWn1OxThR8Iyj > +24ooVNgmY6bR7HLNCUd7EE9baS1Fu0v2TWzN0Aw9E4gdGBr7TVNrI9lw4gXSHsv > qtKRkQvSDmwNNmRUqFz//NIKlNGLSSYj4qa40pPux6ysNLRJ3mXudzq9bGKY73n1 > 9Y7HBzUnFlQj8NzP6kJM > =Q+Vp > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Sent from neither my iPhone nor my iPad.