Installing Multiple Tomcat Instances Using Single Catalina Home

In this tuto­r­i­al i am going to describe how to cre­ate mul­ti­ple instances of Tom­cat with­out hav­ing to install the soft­ware mul­ti­ple times, This post will also clear your many doubt about CATALINA_HOME & CATALINA_BASE, So here we go.

Tom­cat uses 5 Envi­ron­ment vari­ables which are -


I am describ­ing each vari­able one by one -


CATALINA_HOME Prop­er­ty points to the com­mon files used by tom­cat , basi­cal­ly it is a direc­to­ry path which must con­tain “bin” & “lib”  direc­to­ries. These direc­to­ries have files which runs the tom­cat.



CATALINA_BASE points to the direc­to­ry which  con­tains instance/application spe­cif­ic direc­to­ries. This direc­to­ry must con­tain “conf”,“webapps”,“temp” and “logs” direc­to­ries. if we are not set­ting CATALINA_BASE explic­it­ly then tom­cat search­es these direc­to­ries inside the CATALINA_HOME direc­to­ry (most­ly we do  this). So tom­cat pro­vides you fea­ture to take your CATALINA_BASE direc­to­ry any­where,  even you can also run mul­ti­ple tom­cat instances by hav­ing mul­ti­ple CATALINA_BASE  & dif­fer­ent dif­fer­ent ports for each instance.



Web Developer & Server Admin, Skilled in Java , PHP , LAMP, Tomcat, Mongo DB & SQL. Available for freelancing project or Open Source Contribution, Feel free to contact me at .

You may also like...