This tutorial explains how to profile a WebObjects application that uses Java.
In this document:

1) Configuring WebObjects

Uncompress optit.jar

Disable the JIT

Set the PATH environment variable

Add <OptItDir>\lib to your PATH environment variable.

2) Starting OptimizeIt profiler from your code

Starting OptimizeIt profiler can be easily done by using OptimizeIt's API. Note: OptimizeIt's API is documented in OptimizeIt user manual, chapter 9.

3) Attaching from OptimizeIt

Now that your WebObjects application is running with OptimizeIt profiler, you can start OptimizeIt and attach to the virtual machine. Note: OptimizeIt does not have a "detach" function. If you press the stop button in OptimizeIt, the WebObjects application exits. Unless you have set on the Auto recover function for the application, you will have to start the application again..
 

Copyright (c) 1997, 1998, 1999, 2000 Intuitive Systems Inc. All rights reserved. Specifications subject to change without notice.
OptimizeIt is a trademark of Intuitive Systems, Inc.
Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. All other brand
names and products are trademarks or registered trademarks of their respective holders.