
Oracle SOA Suite 11g Performance Tuning Cookbook

JRockit is a JVM specifically designed for high performance application servers, and can often deliver better performance than HotSpot. This recipe explains how to switch to the JRockit JVM if you are not already using it.
This recipe assumes that you are starting WebLogic using the startWebLogic
or startManagedWebLogic
scripts, and if you are using the node manager or some other mechanism, you will need to specify the new JVM home location through the console or another mechanism.
To use the Oracle JRockit JVM, perform the following steps:
Navigate to the domain bin
directory, as shown in the following command line:
cd %MIDDLEWARE_HOME%/user_projects/soa_domain/bin
Edit the file setDomainEnv.cmd
or setDomainEnv.sh
, add the line set JAVA_VENDOR=Oracle
or set JAVA_VENDOR=Oracle
, depending on whether you are on Microsoft Windows or Linux.
Save the file.
Start WebLogic by running startWebLogic.sh
or startWebLogic.cmd
.
Check that the output lists...