Skip to content

Commonly Used Configuration

eostermueller edited this page Nov 18, 2014 · 16 revisions

Change the wuqiSpank TCP Port

By default, wuqiSpank listens on port 8080. If a different process is already listening on 8080, wuqiSpank startup will display an ugly java.net.BindException: Address already in use <null>:8080.

The -httpPort parameter documented here shows how to change that. This changes the port in the wuqiSpank browser URL. For example, the URL http://foo.com:9191/wuqiSpank connects to the wuqiSpank instance launched with java -jar wuqiSpank.jar -httpPort 9191.

Trace SQL from Multiple WebApps on Same Machine

The Getting Started instructions only support a minimal use case: a single wuqiSpank instance traces SQL from a single WebApp co-located on the same machine. These instructions detail wuqiSpank configuration for tracing from multiple WebApps on the same machine.

Trace SQL from WebApp on a Different Machine

If wuqiSpank is deployed on one machine, use these instructions to configure it to listen to a WebApp with that is deployed on a separate machine. No changes are required to the WebApp's configuration, other than the basic setup detailed in Step #2-2 in the Getting Started guide.

Change Location of the Import/Export Directory

When you launch wuqiSpank, be default it creates the folder export-dir as a child folder of the current directory. Use these instructions to configure a different location. This folder is used for Text File Import and export.

Un-supported JDBC Driver

These instructions detail how to add configuration to support JDBC drivers other than those in the Supported JDBC Drivers list.

Clone this wiki locally