configHome - default parent directory for the following paths.
If not set, this defaults to TOMCAT_HOME. Ignored
whenever any of the following paths is absolute.

workersConfig - path to workers.properties file used by
jk connector. If not set, defaults to
"conf/jk/workers.properties".

jkLog - path to log file to be used by jk connector.

jkDebug - Loglevel setting. May be debug, info, error, or emerg.
If not set, defaults to emerg.

jkWorker The desired worker. Must be set to one of the workers
defined in the workers.properties file. "ajp12", "ajp13"
or "inprocess" are the workers found in the default
workers.properties file. If not specified, defaults
to "ajp13" if an Ajp13Interceptor is in use, otherwise
it defaults to "ajp12".

forwardAll - If true, forward all requests to Tomcat. This helps
insure that all the behavior configured in the web.xml
file functions correctly. If false, let Apache serve
static resources. The default is true.
Warning: When false, some configuration in
the web.xml may not be duplicated in Apache.
Review the mod_jk conf file to see what
configuration is actually being set in Apache.

noRoot - If true, the root context is not mapped to
Tomcat. If false and forwardAll is true, all requests
to the root context are mapped to Tomcat. If false and
forwardAll is false, only JSP and servlets requests to
the root context are mapped to Tomcat. When false,
to correctly serve Tomcat's root context you may also
need to modify the web server to point it's home
directory to Tomcat's root context directory.
Otherwise some content, such as the root index.html,
may be served by the web server before the connector
gets a chance to claim the request and pass it to Tomcat.
The default is true.

getHost

setAppend

Append to config file.
Set to true if the config information should be
appended.

setForwardAll

public void setForwardAll(boolean b)

If false, we'll try to generate a config that will
let apache serve static files.
The default is true, forward all requests in a context
to tomcat.

setNoRoot

public void setNoRoot(boolean b)

Special option - do not generate mappings for the ROOT
context. The default is true, and will not generate the mappings,
not redirecting all pages to tomcat (since /* matches everything).
This means that the web server's root remains intact but isn't
completely servlet/JSP enabled. If the ROOT webapp can be configured
with the web server serving static files, there's no problem setting
this option to false. If not, then setting it true means the web
server will be out of picture for all requests.

setConfigHome

public void setConfigHome(java.lang.String dir)

set a path to the parent directory of the
conf folder. That is, the parent directory
within which path setters would be resolved against,
if relative. For example if ConfigHome is set to "/home/tomcat"
and regConfig is set to "conf/mod_jk.conf" then the resulting
path used would be:
"/home/tomcat/conf/mod_jk.conf".

However, if the path is set to an absolute path,
this attribute is ignored.

If not set, execute() will set this to TOMCAT_HOME.

Parameters:

dir - - path to a directory

setWorkersConfig

public void setWorkersConfig(java.lang.String path)

set a path to the workers.properties file.

Parameters:

path - String path to workers.properties file

setJkLog

public void setJkLog(java.lang.String path)

set the path to the log file

Parameters:

path - String path to a file

setJkDebug

public void setJkDebug(java.lang.String level)

Set the verbosity level
( use debug, error, etc. ) If not set, no log is written.