TomcatExpert

Comparing Apache Tomcat & Pivotal tc Server (Part One)

posted by Stacey Schneider on June 24, 2013 12:31 PM

One of Pivotal’s field engineers, Dan Carwin, recently began a series of posts breaking down differences between Pivotal tc Server and Apache Tomcat. In this post, we outline the five key configuration differences that Dan reported on with more detail. The upcoming, second post will cover the second category of differences—extensions to functionality.

The five key differences in configuration with Apache Tomcat and tc Server:

  1. Multi-instance Support with Shared tc Server Binaries
  2. Variable Substitution for Consistent Configuration and Port Management
  3. Asynchronous Logging
  4. Security Tuning
  5. TC-Native (compiled C) Connectors

Priority One—Interchangeable Runtimes

Most importantly, tc Server has been designed to be completely interchangeable with Tomcat—you can run the same codebase on either one, and we provide a 100% compatibility guarantee. The tc Server engineering team includes Apache contributors, committers, and team members—we are part of the community and know that integrity here means that our version must be completely interchangeable. Since we have been supporting Tomcat since 2001 (version 3.x), we can stand by our word.

About the Differences in Configuration

Anyone who wants to make configuration changes to the ASF's Tomcat can do so, and you might see that this list includes some of the same configuration changes that you have already done. Of course, we run into many people who aren’t aware of the options. Each of these five items helps take Tomcat to another level of enterprise readiness—together, they make it easier for admins, improve scale, and enhance security.

1. Multi-instance Support with Shared Binaries

We set up tc Server so that one set of binaries can power multiple instances of tc Server—each instance has separate configuration and can operate independently in a modified directory structure. You can now patch or update without touching a config file. We also provide a script to create new instances or update existing ones—maintaining versions and patches across a farm is much easier this way.

2. Variable Substitution for Consistent Configuration and Port Management

If you didn’t know already, Tomcat can support variables in config files. In tc Server, an identical server.xml file can be deployed to all instances in a farm or cluster with independent server settings. We set it up so that elements like ports and IP addresses are variables in server.xml, and the independent values are stored in a separate file, catalina.properties.

3. Asynchronous Logging

The default logging can impact high-volume applications—if the application has to wait for the file system or there is log file contention, it can degrade performance. With the asynchronous logging in tc Server, the application is configured to use a separate thread—not the one serving the user’s request.

4. Security Tuning

Tomcat has proven to be really secure, and we don’t change anything radical. Yet, there are two configuration changes we make to improve security. First, the default shutdown port (8005) is disabled to avoid inadvertent and malicious shutdowns, and we provide a process-based method instead. Second, the Manager application is accessed via HTTP which is the same way users access applications. Typically, security experts like to keep these channels separate. While we include it as a convenience in developer editions, an extended JMX interface is provided instead for more secure deployments.

5. TC-Native (compiled C) Connectors

Often times, Apache Tomcat is paired with the Apache HTTPD web server, and one of the leading reasons is because the compiled C-code in Apache HTTPD is much faster at SSL encryption and decryption. Tomcat also provides a method for a portable version of the compiled C-code connector called TC-Native. With Tomcat, you may need to take extra steps to compile and assemble the connector. Instead, tc Server provides a pre-built version.

Next Up? Extensions in tc Server

Again, anyone can make these adjustments, but, in our experience, they are typically overlooked. In part two of the series, we dtill into the extended functionality provided in tc Server. Stay tuned!

Stacey Schneider is focused on helping evangelize how cloud technologies are transforming application development and delivery by managing the blog and social media for Pivotal. Prior to its acquisition, Stacey led marketing and community management for application management software provider Hyperic, now a part of VMware’s management portfolio. Before her work in the cloud, she also held various technical leadership positions at CRM software pioneer Siebel Systems, including work on the Nexus project, which focused on building portable web applications that worked across Java and .NET. Stacey is also the managing principal of SiliconSpark, a consulting agency that has helped over 12 software companies go to market on the web and across the cloud over the past 5 years.

Comments

I'm actively focusing on an assignment

I'm actively focusing on an assignment and I have been exploring your page for a couple of hours. Appreciate your it proved valuable for me obat kanker prostat.
obat miom.

reply

The comparison of the Tomcat pivotal server that is shared here on the page proved to be a really useful post to me. This post helped me to have a good understanding about the Apache server. Keep up the good work guys. top cloud computing companies

Where can be the part 2

Where can be the part 2 found? I would like to take a look that one as well and probably get some views on facebook. Gain followers on Instagram easily.

GAME HACK

hay day hack android In this article understand the most important thing, the item will give you a keyword rich link a great useful website page: clash of clans triche gemmes illimité

Game Hack

hay day hack android In this article understand the most important thing, the item will give you a keyword rich link a great useful website page: clash of clans triche gemmes illimité

Wow! Such an amazing and

Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also.Capture His Heart Free Download

buy vine followers I have to

buy vine followers I have to search sites with relevant information on given topic and provide them to teacher our opinion and the article. buy youtube views

I always wondered about the

I always wondered about the similarities of the two and felt that there is a need to compare them. I have read from professional college essay writers about the greatness of tomcat and pivotal tc. The post here made realize how the two have some essential differences and why Tomcat is most preferred.

You did really good work. I

You did really good work. I really appreciate your new and different post. Please guys keep it up and share with us some unique post in the future…
SCS india
Lakeside software
FOIP Connection
Enterprise Messaging Solutions

Title Insurance

The best article I came across a number of years, write something about it on this page.
title insurance

Soy mi Contador - Contabilidad en línea

I use basically superior fabrics : you will discover these products by:
http://soymicontador.mx/

David

Unless Document look at your blog, I did not likely varied cities gave them in a different. Document decided i would try the idea look at right into varied essays gave them relating to varied internet websites. Certain, all the essays relating to happen to be really quite different from an alternative USA websites.the ed reverser

thomasd

At this time I am aware of all the blogger to to another effort Now i'm in search of Any go on web page was first like an expose’ relating to everything specialty essays and additionally Into the software particularly revealing.
details

David

One said a truly at very easy article authoring. As i intend more in a young people would most likely browse it. As which will a lot of them all contain a whole lot of a tough time authoring documents. Most of the time, some people order their own web based as a consequence not even by using the My group is definitely positive they have perhaps.
online project management tool

I love this post because we

I love this post because we can get some useful information from your blog. I expect more post from you guys.
زيارة الموقع
زيارة الصفحة الرئيسية
اضغط هنا
اضغط هنا للعب
رابط اللعب المباشر
المزيد
المصدر
GameCredit®

amir

I want an individual's place. It is actually superior to observe everyone verbalize within the heart and soul together with readability on this subject necessary area are usually conveniently detected. facts observe webpage.
parmanent make up

amir

Not long ago i experienced a particular make available for you to do a remarkable on a online site. Spot ? help and advice everybody to have this unique through the best ways potential?
zuckerpaste

David

Awesome posting, it has the such a interesting site there is listed here, keep up to date favorable deliver the results, might be backside.
freedebtmanagementtips.com

Post new comment

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.