Skip to content

使用Oracle JRockit 提高tomcat性能

这里选择Oracle JRockit Real Time 3.1.2 for Java version 61 Linux x86-64 大概121M


chmod u+x jrrt-3.1.2-1.6.0-linux-x64.bin
我安装在/usr/jrrt-3.1.2-1.6.0 目录下,做个软连接到/usr/jrrt
ln -s /usr/jrrt-3.1.2-1.6.0 /usr/jrrt

vi /etc/profile

  1. #set for j2sdk
  2.   JAVA_HOME=/usr/jrrt
  3.   export JAVA_HOME
  4.   CLASSPATH=$JAVA_HOME/jre/lib/ext/jcert.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/jpda.jar:$JAVA_HOME/lib/tools.jar
  5.   export CLASSPATH
  6.   PATH=.:$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin
  7.   export PATH

source /etc/profile


Posted in Tomcat, 技术.

Tagged with , .

One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Continuing the Discussion

  1. Apache Tomcat 6.0.35 denial of service and information disclosure vulnerability | Information News linked to this post on 2012/06/03

    […] the Oracle JRockit is use , Oracle JRockit can improve tomcat performance The current version of Oracle JRockit 6 – R28.2.3 “Includes” JRockit Mission […]

Some HTML is OK

or, reply to this post via trackback.