Information about Optimizeit is available at:
http://www.borland.com/optimizeit/
Once Optimizeit is installed, its libraries are loaded into the server process.
To enable remote profiling with Optimizeit, do one of the following:
Go to the Common Tasks page in the Admin Console, click the Edit Java Settings tab, click the Profiler link, and edit the following fields before selecting OK:
Profiler: Enable
Classpath: Optimizeit_dir/lib/optit.jar
Native Lib Path: Optimizeit_dir/lib
JVM Option: For each of these options, type the option in the JVM Option field, select Add, then check its box in the JVM Options list:
-DOPTITHOME=Optimizeit_dir
-Xrunoii
-Xbootclasspath/a:Optimizeit_dir/lib/oibcp.jar
or
Enable remote profiling by editing server.xml file
<!-- Optimizeit options --> <profiler classpath="Optimizeit_dir/lib/optit.jar" nativelibrarypath="Optimizeit_dir/lib" enabled="true"> <jvm-options> -DOPTIT_HOME=Optimizeit_dir -Xboundthreads -Xrunoii -Xbootclasspath/a:Optimizeit_dir/lib/oibcp.jar </jvm-options> </profiler>
In addition, you might need to set the following in your server.policy file:
grant codeBase "file:Optimizeit_dir/lib/optit.jar" { permission java.security.AllPermission; };
For more information about the server.policy file, see The server.policy File.
When the server starts up with this configuration, you can attach the profiler.
If any of the configuration options are missing or incorrect, the profiler might experience problems that affect the performance of the Web Server.