Tuning WebLogic JRockit with WebLogic Server on Linux
BEA WebLogic JRockit JVM is the default JVM shipped with BEA WebLogic Server. Although there are other JVMs available on the market today that you can use to develop Java applications, BEA Systems recommends that you use WebLogic JRockit JVM as the production JVM for any application deployed on WebLogic Server.
This section describes basic environment changes necessary to migrate to WebLogic JRockit JVM from Sun Microsystems HotSpot JVM or any other third-party JVM. It includes information on the following subjects:
The migration tips in this chapter are very similar to those for other operating systems, such as Windows. For more comprehensive migration information than is presented here, please refer to Migrating to WebLogic JRockit in the Migration Guide. Along with detailed migration information, this document also includes a discussion of best coding practices for applications designed to run on WebLogic JRockit and extensive troubleshooting information, both of which are equally germane to Linux users.
JAVA_HOMEenvironmental variable to the appropriate path; for example:
JAVA_VENDORenvironmental variable to
BEA; for example:
If you are using start-up scripts, remove any Sun- (or other JVM provider) specific options from the start command line (for example,
-hotspot). If possible, replace them with WebLogic JRockit-specific options; for example,
-jrockit. Other flags that might need to be changed include
If you are using Red Hat Enterprise Linux AS/ES/WS 2.1 (32-bit) and want to ensure that a
javacore file is created in the working directory in the event WebLogic JRockit crashes, you need to enable core dumps. To do this, set the
ulimit -c value to something greater than zero, but no greater than a value your filesystem can accommodate; for example,
ulimit -c 10000000. These values are measured in blocks, with each block equaling one kilobyte. You can set the
ulimit value either from the command line, in the
*.profile file, or in a shell script.
Should you experience any problems or find any bugs with an application you have migrated to WebLogic JRockit 8.1, please report it to
firstname.lastname@example.org. You should provide as much information as possible about the problem, for example: