How to set the JVM options for Tomcat on Linux

Solution Verified - Updated -

Issue

  • How do I set the Java VM options for Tomcat process with JBoss EWS on Linux?
  • How do I set the Java VM options for Tomcat included in RHEL?
  • How do I change the size of the Java VM's heap in Tomcat?
  • Where can I update the jvm heap and other java runtime options in JBoss Web Server 3 for tomcat7 and tomcat8?

Environment

  • JBoss Enterprise Web Server (EWS) 1.x, 2.x

    • Tomcat 5.5
    • Tomcat 6.0
    • Tomcat 7.0
  • JBoss Web Server (JWS) 3.x

    • Tomcat 7
    • Tomcat 8
  • Red Hat Enterprise Linux (RHEL) 5.x

    • Tomcat 5.5
  • Red Hat Enterprise Linux (RHEL) 6.x

    • Tomcat 6
  • Red Hat Enterprise Linux (RHEL) 7.x

    • Tomcat 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In