I have been going off this documentation...

http://tomcat.apache.org/tomcat-4.1-doc/html-manager-howto.html

which is a bit confusing.  I really want to do something like this...

      <Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true"
            xmlValidation="false" xmlNamespaceAware="false">

        <Context path="/" docBase="../apps/saasmain.war"/>

but the doc says path HAS to be saasmain.  Doc also says docBase can't be
inside appBase which is why I do the ../apps.  I want to do 3 different
domains each being at the root of tomcat, but I seem to keep getting it
wrong.  ALSO, I want my files to be saasmain.war, timecard.war, not ROOT.war
as well.  I could cheat and do the ROOT.war path but I would rather not do
that and figure out how this all works.

I do have another config that does work with 3 urls and app names BUT it
boots the apps twice every time because docBase is inside appBase according
to the docs.
thanks,
Dean

Reply via email to