All that having been said, it's still easiest to just rename jira.war as
ROOT.war and deploy that.
That really is the simplest method and well documented to boot.

> -----Original Message-----
> From: David Smiley @MITRE.org [mailto:dsmi...@mitre.org]
> Sent: Tuesday, August 24, 2010 10:43 AM
> To: users@tomcat.apache.org
> Subject: RE: Deploying a war to the root URL path
> 
> 
> It's true I can host the app at /jira but that feel very redundant
when
> the
> host is dedicated to jira as it is (it's DNS name is even jira).
> Perhaps
> I'll just do this.  Thanks Jeff.
> 
> ~ David
> 
> 
> Jeffrey Janner wrote:
> >
> > I'm not positive, but I think Chuck neglected to mention that the
> > docbase needs to contain the war in exploded format.  If I'm wrong,
> > please slap my wrist Chuck.
> >
> > Also, I'm surprised no one offered the obvious tuckey redirector
> > solution, which usually gets brought up a lot on this list.
> > You can always deploy your jira.war as normal, but also create a
> > ROOT.war that contains the tuckey redirector configured to redirect
> ALL
> > requests to insert "/jira" after the hostname of every request.
This
> > will add a little overhead, but probably only on the initial
> > http://hostname request.
> >
> > Jeff
> >
> >> -----Original Message-----
> >> From: David Smiley @MITRE.org [mailto:dsmi...@mitre.org]
> >> Sent: Friday, August 20, 2010 12:12 PM
> >> To: users@tomcat.apache.org
> >> Subject: RE: Deploying a war to the root URL path
> >>
> >>
> >> Ok, thanks Chuck.  Perhaps I'll put my war elsewhere... I just
don't
> >> know
> >> where it would be best placed.
> >> ~ David
> >>
> >>
> >> n828cl wrote:
> >> >
> >> >> From: David Smiley @MITRE.org [mailto:dsmi...@mitre.org]
> >> >> Subject: Deploying a war to the root URL path
> >> >>
> >> >> As a matter of taste, I'd prefer not to name my war "ROOT.war"
> >> >
> >> > So you don't want to do things the easy way...
> >> >
> >> >> I'd like it to be named after what it is, which is JIRA
> >> >> -- so jira.war.  And I'd like it to be in Tomcat's webapp
> >> >> directory since that is the expected place to find webapps.
> >> >
> >> > You can't do both.  Either follow standard practice and rename
the
> >> file to
> >> > ROOT.war, or keep it outside of the <Host> appBase directory and
> >> create a
> >> > conf/Catalina/[host]/ROOT.xml file containing a <Context> element
> >> with a
> >> > docBase attribute that points to the location of jira.war.  One
of
> >> the
> >> > advantages of keeping production webapps outside of the <Host>
> >> appBase, is
> >> > that it makes upgrading from one Tomcat version to another much
> >> easier.
> >> >
> >> >  - Chuck
> >> >
> >> >
> >> > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
> >> PROPRIETARY
> >> > MATERIAL and is thus for use only by the intended recipient. If
> you
> >> > received this in error, please contact the sender and delete the
> e-
> >> mail
> >> > and its attachments from all computers.
> >> >
> >> >
> >> >
> >
---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> > http://old.nabble.com/Deploying-a-war-to-
> >> the-root-URL-path-tp29493194p29493909.html
> >> Sent from the Tomcat - User mailing list archive at Nabble.com.
> >>
> >>
> >>
--------------------------------------------------------------------
> -
> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >>
> >
> >
>
_______________________________________________________________________
> ___
> >
> > Confidentiality Notice:  This Transmission (including any
> attachments) may
> > contain information that is privileged, confidential, and exempt
from
> > disclosure under applicable law.  If the reader of this message is
> not the
> > intended recipient you are hereby notified that any dissemination,
> > distribution, or copying of this communication is strictly
> prohibited.
> >
> > If you have received this transmission in error, please immediately
> reply
> > to the sender or telephone (512) 343-9100 and delete this
> transmission
> > from your system.
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> >
> >
> 
> --
> View this message in context:
http://old.nabble.com/Deploying-a-war-to-
> the-root-URL-path-tp29493194p29523408.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

__________________________________________________________________________

Confidentiality Notice:  This Transmission (including any attachments) may 
contain information that is privileged, confidential, and exempt from 
disclosure under applicable law.  If the reader of this message is not the 
intended recipient you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly prohibited.  

If you have received this transmission in error, please immediately reply to 
the sender or telephone (512) 343-9100 and delete this transmission from your 
system.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to