Information about Optimizeit™ is available at:
http://www.borland.com/us/products/optimizeit/index.html
Once Optimizeit is installed using the following instructions, its libraries are loaded into the server process.
To enable remote profiling with Optimizeit, do one of the following:
Go to the server instance page in the Administration interface, select the Java tab, click the JVM 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
<!-- Optimizeit options --> <PROFILER classpath="Optimizeit_dir/lib/optit.jar" nativelibrarypath="Optimizeit_dir/lib" enabled="true"> <JVMOPTIONS> -DOPTIT_HOME=Optimizeit_dir -Xboundthreads -Xrunoii -Xbootclasspath/a:Optimizeit_dir/lib/oibcp.jar </JVMOPTIONS> </PROFILER>
In addition, you may 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. For further details, see the Optimizeit documentation.
If any of the configuration options are missing or incorrect, the profiler may experience problems that affect the performance of the Sun Java System Web Server.