Make HTTP Port to Open After Application Startup in Apache Tomcat 7 or 8

Solution Verified - Updated -

Issue

  • When starting the Tomcat instance, it immediately accepted the request from load balancer and hold the request and process the request once the application is started.
  • How to make HTTP port to open after application startup only, so that requests shouldn't reach Tomcat during boot.

Environment

  • Red Hat Enterprise Linux (RHEL) 7.x
  • JBoss Enterprise Web Server (EWS) 2.x
  • JBoss Web Server (JWS) 3.x
  • Apache Tomcat 7.x
  • Apache Tomcat 8.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content