tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randhir Singh <randhir.si...@sterlite.com>
Subject How to deploy Java application into Tomcat in Linux
Date Tue, 01 Apr 2014 05:13:28 GMT
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">

                                <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 !





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