Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Highlighted
Absent Member.. tswann Absent Member..
Absent Member..
1159 views

Webservers: Tomcat vs. Apache

I am having a tough time understanding exactly what the advantages/disadvantages are to using Tomcat over Apache as the SM9 webserver (or vice versa).

My current working configuration is with Tomcat servering SM9, however I am moving to a PKI-enabled environment where our user base may grow significantly. The only disadvantage I have found on the forums (unsure if it is actually true) is someone mentioned Apache would be best for a larger user base.

In addition to my question about the advantages of one webserver over the other, I'd like to know if the number of SM9 users (operators) matters when it comes to which webserver I choose to use.

--------------------------------
Windows Server 2008 R2
Server Manager Server 9.30.021
Webtier-9.30.511
Apache Tomcat 7.0.22
Oracle 11g R1
--------------------------------

Thanks in advance for your help!

Tags (2)
0 Likes
7 Replies
Kvark Absent Member.
Absent Member.

Re: Webservers: Tomcat vs. Apache

IMHO, Tomcat for Windows, Apache for Linux
=-=-=-=-=-=-=-=-=-=-=-=--=-=
In wine wisdom!
In the beer force!
In water, the microbes...
0 Likes
Absent Member.. John Stagaman Absent Member..
Absent Member..

Re: Webservers: Tomcat vs. Apache

They aren't the same thing: one is a web application server and the other is a web server. You need both components to deploy web tier.

----------------------------------------------------
Kudos - what, where, how, and why
Want Good Answers? Ask Good Questions...
0 Likes
Absent Member.. tswann Absent Member..
Absent Member..

Re: Webservers: Tomcat vs. Apache

Thanks for your response John. Tomcat can serve web pages. I currently have a working SM9 environment using only the Tomcat webserver, not the Apache webserver. I am just curious when I would need Apache, if ever. I am sure there are advantages to using Apache, I just need to know what they are...and if I actually care about those advantages.

0 Likes
Absent Member.. John Stagaman Absent Member..
Absent Member..

Re: Webservers: Tomcat vs. Apache

My understanding is that, in a geographically dispersed system, it is beneficial to locate the web application server with the SM application server and the web servers regionally to the user population.

--The communication between the web application server and the web servers is highly compressed.

--the web server to browser communication is less compressed, so there is a benefit to splitting them.

 

This may not matter in a smaller deployment. 

----------------------------------------------------
Kudos - what, where, how, and why
Want Good Answers? Ask Good Questions...
0 Likes
Absent Member.. tswann Absent Member..
Absent Member..

Re: Webservers: Tomcat vs. Apache

Thanks again, John. That makes sense. I am thinking that the relatively small size of my environment (<50 users, with everything residing on one server, with the exception of the db) lends well for the use of Tomcat...no issues thus far.

 

I would love to hear other folks' opinions on this, tho...

0 Likes
Absent Member.. jad Absent Member..
Absent Member..

Re: Webservers: Tomcat vs. Apache

The only scenario in which I needed a web server (Apache or IIS) was for SSO implementation.

0 Likes
Acclaimed Contributor.. Kelalek2 Acclaimed Contributor..
Acclaimed Contributor..

Re: Webservers: Tomcat vs. Apache

I agree with Jad (and disagree with John Stagaman) - to implement a webtier, running Tomcat is enough to get the job done. Maybe John meant larger implemenations, but just wanted to tell another side of the story.

 

Like jad said, web server is needed for some purposes but it's not "must", especially for smaller implementations like you (and I) seem to have. 

---
Moving on, this account is no longer active. Best regards, Kelalek
- So Long, and Thanks for All the Fish
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.