Unable to run jps, jstack, and other Java utilities on Tomcat after upgrading to JDK 1.6 update 23 and later

Solution Verified - Updated -


  • In order to execute any of the Oracle commands will only get picked up if Tomcat CATALINA_TMPDIR is set to /tmp.
  • For java version "1.6.0_21"
    • It creates /tmp/hsperfdata_<ApplicationID> and creates and writes to the <PID> file inside the directory.
  • For java version "1.6.0_24"
    • It creates /tmp/hsperfdata_<ApplicationID> but never creates or writes to the <PID> file locate in hsperfdata_<ApplicationID>.
    • It also creates a hsperfdata_<ApplicationID> directory and it writes to the <PID> file located in the directory $CATALINA_BASE/temp.
  • http://bugs.sun.com/view_bug.do?bug_id=6447182


  • JBoss Enterprise Web Server (EWS) Tomcat
  • Red Hat Enterprise Linux (RHEL) Tomcat
  • Oracle JDK 1.6 update 23 and higher

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