> From: randhir.si...@sterlite.com
> Date: Tue, 1 Apr 2014 10:43:28 +0530
> Subject: How to deploy Java application into Tomcat in Linux
> To: users@tomcat.apache.org
>
> Hi,
>
>
>
> As per my understanding, the steps to deploy a Java application on Tomcat
> (5.X/6.X) in Linux would be as follows:
>
>
>
> 1) Install Tomcat on Linux
>
> 2) Add a host entry in $TOMCAT_HOME/conf with the syntax like-
>
> -----------------------------------------------------------------------------------------------------------------------------------------
>
> <Host name="xxx.co.in" debug="0"
> appBase="/opt/setuponm/jakarta-tomcat-5.0.28/sterlite/reportstool"
> unpackWARs="false" autoDeploy="false">
MG>Unfortunately that Host designation wont work.. try
<Host name=www.tomcatexpert.com" appBase="webapps"
unpackWARs="true" autoDeploy="false">
MG>
> <Alias>reports.fion.co.in</Alias>
>
>
>
> <Context path=""
> docBase="/opt/setuponm/jakarta-tomcat-5.0.28/sterlite/reportstool" debug="0"
>
> reloadable="false" crossContext="false" />
>
>
>
>
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>
>
> The above code would assign the host name to access the URL, gives the
> location of the web application pointed out by appBase & context path.
>
>
>
> 3) Start Tomcat.
>
>
>
> Please let me know if the steps above are correct and also please let me
> know in detail if the steps are not correct.
>
> --
>
> *STL Disclaimer:*
> The content of this message may be legally privileged and confidential and
> are for the use of the intended recipient(s) only. It should not be read,
> copied and used by anyone other than the intended recipient(s). If you have
> received this message in error, please immediately notify the sender,
> preserve its confidentiality and delete it. Before opening any attachments
> please check them for viruses and defects. No employee or agent is
> authorised to conclude any binding agreement on behalf of Sterlite
> Technologies Limited with another party by email without express written
> confirmation by authorised person. Visit us at www.sterlitetechnologies.com
> Please consider environment before printing this email !
>
>
>
>