Answer the question
In order to leave comments, you need to log in
A link or a separate copy of the application?
Good evening.
Let's say I need three applications that will all work together under load. Let it be tomcat.
It should look like this:
/opt/tomcat1
/opt/tomcat2
/opt/tomcat3
What is the best way to do this? Suppose I have downloaded the archive from tomcat and unpacked it into my home directory. What should I do, separately copy the unpacked to each of the three tomcat directories, or just make three links (hard or symbolic)? In the case of links, if all three tomcats are running at the same time, accessing the same file, will this cause problems?
Answer the question
In order to leave comments, you need to log in
As I understand it, you want your ONE application to run on THREE tomcat instances, right?
Regarding the installation, I advise you to simply unpack the archive with the tomcat into different folders.
Regarding clustering, Tomcat provides such an opportunity out of the box, read the docs.
Here is a step-by-step instruction for organizing a cluster with load balancing and session replication.
apt install tomcat7
stackoverflow.com/questions/23569327/deploying-multi...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question