Skip to end of metadata
Go to start of metadata

Tomcat - Datasource Service

Overview

Internal Name: Tomcat Datasource
Description: A Tomcat Application (WAR) Datasource
Singleton: no
Plugin: Tomcat

Connection Settings

Name Description Required Internal Name
Object Name   yes objectName
Name The virtual host yes name
Host The datasource host yes host
Path The datasource application path yes path
Name Template   yes nameTemplate
Description Template   yes descriptionTemplate
You must use the internal name to reference properties in Dynamic Group Definition expressions.

Metrics

Name Type Description Internal Name
Num Active measurement Number of active connections in the pool numActive
Num Idle measurement Number of idle connections in the pool numIdle
You must use the internal name to reference traits in Dynamic Group Definition expressions.

Configuration Properties

Name Description Required Internal Name
Initial Size The initial number of connections that are created when the pool is started. Default is 0. yes initialSize
Max Active The maximum number of active connections that can be allocated from this pool at the same time, or negative for no limit. Default is 8. yes maxActive
Max Idle The maximum number of connections that can remain idle in the pool, without extra ones being released, or negative for no limit. Default is 8. yes maxIdle
Min Idle The minimum number of connections that can remain idle in the pool, without extra ones being created, or zero to create none. Default is 0. yes minIdle
Max Wait The maximum number of milliseconds that the pool will wait (when there are no available connections) for a connection to be returned before throwing an exception, or -1 to wait indefinitely. Default is indefinitely. yes maxWait
Pool Prepared Statements Enable prepared statement pooling for this pool. Default is false. yes poolPreparedStatements
Max Open Prepared Statements The maximum number of open statements that can be allocated from the statement pool at the same time, or zero for no limit. Default is unlimited. yes maxOpenPreparedStatements
Remove Abandoned Flag to remove abandoned connections if they exceed the removeAbandonedTimout. If set to true a connection is considered abandoned and eligible for removal if it has been idle longer than the removeAbandonedTimeout. Setting this to true can recover db connections from poorly written applications which fail to close a connection. Default is false. yes removeAbandoned
Remove Abandoned Timeout Timeout in seconds before an abandoned connection can be removed. Default is 300. yes removeAbandonedTimeout
Log Abandoned Flag to log stack traces for application code which abandoned a Statement or Connection. Logging of abandoned Statements and Connections adds overhead for every Connection open or new Statement because a stack trace has to be generated. Default is false. yes logAbandoned
You must use the internal name to reference properties in Dynamic Group Definition expressions.
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.