oracle-datasource
: Provision theOracleDS
non xa datasource. Depends onoracle-driver
layer.oracle-driver
: Provision theoracle
driver. This layer installs the JBoss Modules modulecom.oracle.database.jdbc
.
Configuration to provide when provisioning the Galleon feature-pack.
-
ORACLE_DRIVER_VERSION
- Description: The version of the
com.oracle.database.jdbc:ojdbc11
Maven artifact. - No default value.
- Required: True
- System Property:
org.jboss.eap.datasources.oracle.driver.version
- Description: The version of the
Configuration that can be provided when provisioning the Galleon feature-pack.
-
ORACLE_DRIVER_ARTIFACT_ID
- Description: The artifactId of the driver Maven artifact.
- Default value:
ojdbc11
- Required: False
- System Property:
org.jboss.eap.datasources.oracle.driver.artifactId
-
ORACLE_DRIVER_GROUP_ID
- Description: The groupId of the driver Maven artifact.
- Default value:
com.oracle.database.jdbc
- Required: False
- System Property:
org.jboss.eap.datasources.oracle.driver.groupId
The following set of environment variables and corresponding Java system properties can be used to configure the datasource.
-
ORACLE_PASSWORD
- Description: Defines the password for the datasource.
- No default value.
- Required: True
- System Property:
org.jboss.eap.datasources.oracle.password
-
ORACLE_URL
- Description: Defines the connection URL for the datasource. For example:
jdbc:oracle:thin:@localhost:51521:XE
. - No default value.
- Required: True
- System Property:
org.jboss.eap.datasources.oracle.connection-url
- Description: Defines the connection URL for the datasource. For example:
-
ORACLE_USER
- Description: Defines the username for the datasource.
- No default value.
- Required: True
- System Property:
org.jboss.eap.datasources.oracle.user-name
-
ORACLE_BACKGROUND_VALIDATION
- Description: When set to true database connections are validated periodically in a background thread prior to use. Defaults to false, meaning the
validate-on-match
method is enabled by default instead. - Default Value:
false
- System Property:
org.jboss.eap.datasources.oracle.background-validation
- Description: When set to true database connections are validated periodically in a background thread prior to use. Defaults to false, meaning the
-
ORACLE_BACKGROUND_VALIDATION_MILLIS
- Description: Specifies frequency of the validation, in milliseconds, when the
background-validation
database connection validation mechanism is enabled. - Default Value:
10000
- System Property:
org.jboss.eap.datasources.oracle.background-validation-millis
- Description: Specifies frequency of the validation, in milliseconds, when the
-
ORACLE_CONNECTION_CHECKER
- Description: Specifies a connection checker class that is used to validate connections. Valid value:
org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker
- Default Value:
org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker
- System Property:
org.jboss.eap.datasources.oracle.valid-connection-checker-class-name
- Description: Specifies a connection checker class that is used to validate connections. Valid value:
-
ORACLE_DATASOURCE
- Description: Datasource name used in the
jndi-name
. - Default Value:
OracleDS
- System Property:
org.jboss.eap.datasources.oracle.datasource
- Description: Datasource name used in the
-
ORACLE_DRIVER_XA_DATASOURCE_CLASS_NAME
- Description: The driver
driver-xa-datasource-class-name
attribute value. - Default Value:
oracle.jdbc.xa.client.OracleXADataSource
- System Property:
org.jboss.eap.datasources.oracle.driver.xa.datasource.class.name
- Description: The driver
-
ORACLE_ENABLED
- Description: Set to false to disable the datasource.
- Default Value:
true
- System Property:
org.jboss.eap.datasources.oracle.enabled
-
ORACLE_EXCEPTION_SORTER
- Description: Specifies the exception sorter class that is used to properly detect and clean up after fatal database connection exceptions. Valid value:
org.jboss.jca.adapters.jdbc.extensions.oracle.OracleExceptionSorter
- Default Value:
org.jboss.jca.adapters.jdbc.extensions.oracle.OracleExceptionSorter
- System Property:
org.jboss.eap.datasources.oracle.exception-sorter-class-name
- Description: Specifies the exception sorter class that is used to properly detect and clean up after fatal database connection exceptions. Valid value:
-
ORACLE_FLUSH_STRATEGY
- Description: Specifies how the datasource should be flushed in case of an error.
- Default Value:
FailingConnectionOnly
- System Property:
org.jboss.eap.datasources.oracle.flush-strategy
-
ORACLE_IDLE_TIMEOUT_MINUTES
- Description: Specifies the maximum time, in minutes, a connection may be idle before being closed.
- Default Value:
30
- System Property:
org.jboss.eap.datasources.oracle.idle-timeout-minutes
-
ORACLE_JNDI
- Description: Defines the JNDI name for the datasource.
- Default Value:
java:jboss/datasources/${ORACLE_DATASOURCE}
- System Property:
org.jboss.eap.datasources.oracle.jndi-name
-
ORACLE_JTA
- Description: Defines Java Transaction API (JTA) option for the non-XA datasource.
- Default Value:
true
- System Property:
org.jboss.eap.datasources.oracle.jta
-
ORACLE_MAX_POOL_SIZE
- Description: Defines the maximum pool size option for the datasource.
- Default Value:
20
- System Property:
org.jboss.eap.datasources.oracle.max-pool-size
-
ORACLE_MIN_POOL_SIZE
- Description: Defines the minimum pool size option for the datasource.
- Default Value:
0
- System Property:
org.jboss.eap.datasources.oracle.min-pool-size
-
ORACLE_STALE_CONNECTION_CHECKER
- Description: Specifies a connection checker class that is used to check stale connections. Valid values:
org.jboss.jca.adapters.jdbc.extensions.oracle.OracleStaleConnectionChecker
ororg.jboss.jca.adapters.jdbc.extensions.novendor.NullStaleConnectionChecker
- Default Value:
org.jboss.jca.adapters.jdbc.extensions.novendor.NullStaleConnectionChecker
- System Property:
org.jboss.eap.datasources.oracle.stale-connection-checker-class-name
- Description: Specifies a connection checker class that is used to check stale connections. Valid values:
-
ORACLE_TX_ISOLATION
- Description: Defines the
java.sql.Connection
transaction isolation level for the datasource. - Default Value:
TRANSACTION_READ_COMMITTED
- System Property:
org.jboss.eap.datasources.oracle.transaction-isolation
- Description: Defines the
-
ORACLE_VALIDATE_ON_MATCH
- Description: Indicates whether or not connection level validation should be done when a connection factory attempts to match a managed connection for a given set. This is typically exclusive to the use of background validation.
- Default Value:
true
- System Property:
org.jboss.eap.datasources.oracle.validate-on-match