tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Hiller <d...@alvazan.com>
Subject how to configure multiple urls with app not starting twice
Date Sun, 01 Nov 2009 16:32:48 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message