How can I debug a WBI plugin?
The WBI console can display all sorts of tracing and messaging information. WBI also logs transactions in two files stored in the log directory (off the WBI home directory). Of course, any Java debugger can be used, such as Sun’s JDB or IBM’s Jikes Debugger. And then there is good old System.out.println(…). • What kind of information is available (through WBI) from an HTTP request/response? A DocumentInfo instance contains HTTP request and response header information for a specific transaction. This information includes client data (IP address, name, and port used), the URL that was requested, the response code, as well as the complete headers themselves. • What is the convention for saving files created by a WBI plugin? In general, a WBI plugin can store files wherever and however it wants. However, we prefer to put them in the data directory, off the WBI home directory, to keep things organized. Because many plugins may be storing their own data, it helps to have one folder in the