Use the Waveset debug pages to set trace options on the following class:
com.waveset.adapter.DominoResourceAdapter
Tracing can also be enabled on the following methods to diagnose problems connecting to the gateway:
com.waveset.adapter.AgentResourceAdapter#sendRequest
com.waveset.adapter.AgentResourceAdapter#getResponse