BlogTomcat

What to Look for When Hiring a Tomcat Consultant

Scott Sternloff

By Scott Sternloff, Senior Enterprise Architect

LinkedIn · Updated · 5 min read

What to Look for When Hiring a Tomcat Consultant
On this page

Short answer

Hire a Tomcat consultant who can say, before you sign, who reads your thread dumps and what they look for first, which Java and Tomcat versions your path crosses, and how they find javax references inside libraries. Ask for a written, ranked report as the first deliverable, and treat anyone who starts by raising maxThreads as a warning.

Hire a Tomcat consultant who can say, before you sign, who reads your thread dumps and what they look for first, which Java and Tomcat versions your path crosses, and how they find javax references inside libraries. Ask for a written, ranked report as the first deliverable, and treat anyone who starts by raising maxThreads as a warning.

Apache Tomcat has no vendor behind it. Its Find help page says support is provided by the community on a purely volunteer basis, and points to a list of support organisations on the Tomcat wiki.

What should I ask a Tomcat consultant before I sign?

These ten questions only make sense for Tomcat. For each, the second sentence is what a good answer sounds like.

  1. Who reads the thread dump, and what do they look for first? They count the http-nio-*-exec threads, group them by the frame they wait in, and compare three dumps taken from jcmd <pid> Thread.print a few seconds apart.
  2. What do you do before changing maxThreads? They find what the threads are waiting on (database pool, outbound call with no timeout) first. A bigger pool on a stuck dependency only queues more requests. Our how to run Tomcat in production guide covers the defaults.
  3. Which Java version does each Tomcat line need? Tomcat 9.0 runs on Java 8 or later, 10.1 needs Java 11, and 11.0 needs Java 17, per the Apache migration guides. A good consultant plans the Java move alongside the Tomcat one.
  4. How do you find javax references that are not in our code? They scan the WAR and WEB-INF/lib, because the namespace change from javax to jakarta usually breaks libraries and agents, not application source. They know Tomcat can convert a webapp at deployment from the webapps-javaee folder, and that the Apache migration tool exists for converting ahead of time.
  5. Is Tomcat embedded in Spring Boot here? If it is, the Tomcat version comes from the Spring Boot dependency management (the tomcat.version property), so the upgrade runs through the Boot build, not a Tomcat download.
  6. Which CVEs apply to our exact version? They read the per-major security pages on tomcat.apache.org, name the fixed-in release, and prefer a patch release to a major jump when that is enough.
  7. How do you handle a Tomcat 9 estate? The Apache site lists end of support for Tomcat 9.0.x as 31 March 2027. Expect a dated plan that picks 10.1 or 11 by Java version and spec level, not a generic "upgrade soon". See Tomcat EOL dates.
  8. What do you put in place for stuck requests? StuckThreadDetectionValve with a threshold far below its 600-second default, so a hang appears in the log with a stack trace.
  9. How is a server.xml change made and rolled back? One change at a time, diffed, tested on a copy, with the old file kept.
  10. What happens to our sessions on restart? They know Tomcat 9.0 saves sessions to SESSIONS.ser on a clean shutdown and 10.1 does not unless pathname is set, and they ask how your load balancer routes users.

How do the options compare?

Provider typeScopeHoursWho ships fixesPrice transparency
Vendor or paid support of a bundled Tomcat buildThe vendor's build and contractPer contractThe vendor, in its own releasesVaries by vendor
Platform-managed (a service that runs Tomcat for you)Platform and its settingsPlatform's ownThe platform providerVaries by platform
Independent engineersYour servers, configs and upgradesPer engagement or retainerYour team, with their changesQuoted per engagement
In-houseEverything you ownYour rotaYour teamSalary cost

What are the red flags?

  • A fix proposed before anyone has seen a thread dump or a heap histogram.
  • "Just raise maxThreads" or "just add heap" as the first answer.
  • No question about Spring Boot, your proxy or your load balancer.
  • A migration plan that only searches your own source for javax.
  • Promises to get a fix "into Tomcat". Fixes come through Apache releases, and a consultant can report a bug or ask on the users list, not guarantee a patch.

What should a first engagement deliver?

A health check should leave you with files:

  1. A written report ranking findings by risk, with the exact server.xml lines it refers to.
  2. Thread dumps and the reading of them, so your team can repeat the method.
  3. A table of connector, executor, timeout and database pool values, current against proposed.
  4. A list of CVEs that apply to your exact version, with fixed-in releases.
  5. A javax scan of the WAR and its libraries, if a Jakarta move is planned.
  6. A dated upgrade path across Java and Tomcat, with a rollback.

When is outside help the wrong call?

If your Tomcat ships inside an application server or platform whose contract already covers it, start with that vendor, because only the vendor can patch its own build. If the problem is a slow query or a leaking library in your code, a developer fix beats a Tomcat consultant. If you only need a patch release, the Apache upgrade notes are enough for a team that has a staging environment.

Where does AceMQ fit?

AceMQ is one independent option. Its tomcat consulting page lists a fixed-scope health check, Jakarta migration, Java and Tomcat upgrade planning, container sizing and session design, quoted per engagement, with 24/7 support and response targets from 15 minutes, by plan. Comparing a tomcat consultant with an in-house hire? Use the ten questions on every candidate.

Sources

Frequently Asked Questions

How much does a Tomcat consultant cost?

It depends on scope and provider. Most independent engagements are quoted per engagement, so ask for the scope, the deliverables and what happens if the review finds more than expected before comparing numbers.

Can a consultant fix a Tomcat bug for us?

They can find whether it is your configuration, your application or Tomcat itself, and report an upstream bug, but cannot promise a fix in an Apache release.

Do we need a consultant to move from Tomcat 9 to 10.1?

Not always. The change is the javax to jakarta package rename, and the hard part is libraries and agents. If a scan of your WAR shows few javax references, your team can do it from the Apache migration guide.

Scott Sternloff

Author

Scott SternloffSenior Enterprise Architect

Senior Enterprise Architect at AceMQ. Writes the technical coverage here: RabbitMQ, Kafka and Redis architecture, clustering and migrations.

Talk to an engineer

Need a hand with Tomcat?

Senior engineers who run it in production. Get a quote or a free consultation, no sales pitch.

Free Consultation

Get Expert Eyes on Your Tomcat Environment

Whether you're troubleshooting a production incident, planning a migration, or want a second opinion on your architecture — our team is ready. No pitch, just answers.

Email Us