tomcat deploy

Hi All
        i have 1 Linux server and the tomcat has been install on this server. now i have many website will be deployed on this server. should i setup multiple tomcat on this server or i should setup only one tomcat and deploy all website in one tomcat on this server ?which way is the best?
        how to setup multiple tomcat on one linux server? how to deploy multiple website in one tomcat?
beardog1113Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gheistCommented:
How to set up multiple tomcat instances?
- add multiple users, each with 1 tomcat instance, tart with tanuki wrappers or catalina jsvc
How to setup multiple sites in 1 tomcat?
-add many host definitions in server.xml and deploy from XML files conf/Catalina/<hostname>/ROOT.xml (WAR files should not be in webapps)

Which way is the best? No idea - well behaved applications will work fine, one bad seed will kill the rest.
Try this to monitor server: https://github.com/psi-probe/psi-probe
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
beardog1113Author Commented:
how about in one user, copy multiple tomcat folder, then change the port for each tomcat, for example, first one use 80 port, the second one use 8001   etc.... deploy one website in one tomcat ?
0
gheistCommented:
Just like in 2nd option host names have to be unique, in 1st option you must choose unique port names.
Depending on how you start tomcat you might not need shutdown port, and probably will use one of AJP and HTTP, not both...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.