Skip to content

Spring Boot 1.4.0 M1 Configuration Changelog

Phillip Webb edited this page Jun 8, 2020 · 1 revision

Configuration properties change between 1.3.3.RELEASE and 1.4.0.M1

Table 1. New keys in 1.4.0.M1

Key

Default value

Description

server.ssl.enabled-protocols

spring.data.couchbase.auto-index

false

Automatically create views and indexes.

spring.data.couchbase.bootstrap-hosts

Couchbase nodes (host or IP address) to bootstrap from.

spring.data.couchbase.bucket.name

Name of the bucket to connect to.

spring.data.couchbase.bucket.password

``

Password of the bucket.

spring.data.couchbase.consistency

Consistency to apply by default on generated queries.

spring.data.couchbase.repositories.enabled

true

Enable Couchbase repositories.

spring.datasource.dbcp.access-to-underlying-connection-allowed

spring.datasource.dbcp.connection-init-sqls

spring.datasource.dbcp.default-auto-commit

spring.datasource.dbcp.default-catalog

spring.datasource.dbcp.default-read-only

spring.datasource.dbcp.default-transaction-isolation

spring.datasource.dbcp.driver-class-name

spring.datasource.dbcp.initial-size

spring.datasource.dbcp.log-abandoned

spring.datasource.dbcp.login-timeout

spring.datasource.dbcp.max-active

spring.datasource.dbcp.max-idle

spring.datasource.dbcp.max-open-prepared-statements

spring.datasource.dbcp.max-wait

spring.datasource.dbcp.min-evictable-idle-time-millis

spring.datasource.dbcp.min-idle

spring.datasource.dbcp.num-tests-per-eviction-run

spring.datasource.dbcp.password

spring.datasource.dbcp.pool-prepared-statements

spring.datasource.dbcp.remove-abandoned

spring.datasource.dbcp.remove-abandoned-timeout

spring.datasource.dbcp.test-on-borrow

spring.datasource.dbcp.test-on-return

spring.datasource.dbcp.test-while-idle

spring.datasource.dbcp.time-between-eviction-runs-millis

spring.datasource.dbcp.url

spring.datasource.dbcp.username

spring.datasource.dbcp.validation-query

spring.datasource.dbcp.validation-query-timeout

spring.datasource.dbcp2.abandoned-usage-tracking

spring.datasource.dbcp2.access-to-underlying-connection-allowed

spring.datasource.dbcp2.cache-state

spring.datasource.dbcp2.connection-init-sqls

spring.datasource.dbcp2.default-auto-commit

spring.datasource.dbcp2.default-catalog

spring.datasource.dbcp2.default-query-timeout

spring.datasource.dbcp2.default-read-only

spring.datasource.dbcp2.default-transaction-isolation

spring.datasource.dbcp2.disconnection-sql-codes

spring.datasource.dbcp2.driver

spring.datasource.dbcp2.driver-class-name

spring.datasource.dbcp2.enable-auto-commit-on-return

spring.datasource.dbcp2.eviction-policy-class-name

spring.datasource.dbcp2.fast-fail-validation

spring.datasource.dbcp2.initial-size

spring.datasource.dbcp2.jmx-name

spring.datasource.dbcp2.lifo

spring.datasource.dbcp2.log-abandoned

spring.datasource.dbcp2.log-expired-connections

spring.datasource.dbcp2.login-timeout

spring.datasource.dbcp2.max-conn-lifetime-millis

spring.datasource.dbcp2.max-idle

spring.datasource.dbcp2.max-open-prepared-statements

spring.datasource.dbcp2.max-total

spring.datasource.dbcp2.max-wait-millis

spring.datasource.dbcp2.min-evictable-idle-time-millis

spring.datasource.dbcp2.min-idle

spring.datasource.dbcp2.num-tests-per-eviction-run

spring.datasource.dbcp2.password

spring.datasource.dbcp2.pool-prepared-statements

spring.datasource.dbcp2.remove-abandoned-on-borrow

spring.datasource.dbcp2.remove-abandoned-on-maintenance

spring.datasource.dbcp2.remove-abandoned-timeout

spring.datasource.dbcp2.rollback-on-return

spring.datasource.dbcp2.soft-min-evictable-idle-time-millis

spring.datasource.dbcp2.test-on-borrow

spring.datasource.dbcp2.test-on-create

spring.datasource.dbcp2.test-on-return

spring.datasource.dbcp2.test-while-idle

spring.datasource.dbcp2.time-between-eviction-runs-millis

spring.datasource.dbcp2.url

spring.datasource.dbcp2.username

spring.datasource.dbcp2.validation-query

spring.datasource.dbcp2.validation-query-timeout

spring.datasource.hikari.allow-pool-suspension

spring.datasource.hikari.auto-commit

spring.datasource.hikari.catalog

spring.datasource.hikari.connection-customizer-class-name

spring.datasource.hikari.connection-init-sql

spring.datasource.hikari.connection-test-query

spring.datasource.hikari.connection-timeout

spring.datasource.hikari.data-source-class-name

spring.datasource.hikari.data-source-jndi

spring.datasource.hikari.data-source-properties

spring.datasource.hikari.driver-class-name

spring.datasource.hikari.health-check-properties

spring.datasource.hikari.health-check-registry

spring.datasource.hikari.idle-timeout

spring.datasource.hikari.initialization-fail-fast

spring.datasource.hikari.isolate-internal-queries

spring.datasource.hikari.jdbc-url

spring.datasource.hikari.jdbc4-connection-test

spring.datasource.hikari.leak-detection-threshold

spring.datasource.hikari.login-timeout

spring.datasource.hikari.max-lifetime

spring.datasource.hikari.maximum-pool-size

spring.datasource.hikari.metric-registry

spring.datasource.hikari.minimum-idle

spring.datasource.hikari.password

spring.datasource.hikari.pool-name

spring.datasource.hikari.read-only

spring.datasource.hikari.register-mbeans

spring.datasource.hikari.transaction-isolation

spring.datasource.hikari.username

spring.datasource.hikari.validation-timeout

spring.datasource.tomcat.abandon-when-percentage-full

spring.datasource.tomcat.access-to-underlying-connection-allowed

spring.datasource.tomcat.alternate-username-allowed

spring.datasource.tomcat.commit-on-return

spring.datasource.tomcat.connection-properties

spring.datasource.tomcat.data-source

spring.datasource.tomcat.data-source-jndi

spring.datasource.tomcat.db-properties

spring.datasource.tomcat.default-auto-commit

spring.datasource.tomcat.default-catalog

spring.datasource.tomcat.default-read-only

spring.datasource.tomcat.default-transaction-isolation

spring.datasource.tomcat.driver-class-name

spring.datasource.tomcat.fair-queue

spring.datasource.tomcat.ignore-exception-on-pre-load

spring.datasource.tomcat.init-sql

spring.datasource.tomcat.initial-size

spring.datasource.tomcat.jdbc-interceptors

spring.datasource.tomcat.jmx-enabled

spring.datasource.tomcat.log-abandoned

spring.datasource.tomcat.log-validation-errors

spring.datasource.tomcat.login-timeout

spring.datasource.tomcat.max-active

spring.datasource.tomcat.max-age

spring.datasource.tomcat.max-idle

spring.datasource.tomcat.max-wait

spring.datasource.tomcat.min-evictable-idle-time-millis

spring.datasource.tomcat.min-idle

spring.datasource.tomcat.name

spring.datasource.tomcat.num-tests-per-eviction-run

spring.datasource.tomcat.password

spring.datasource.tomcat.propagate-interrupt-state

spring.datasource.tomcat.remove-abandoned

spring.datasource.tomcat.remove-abandoned-timeout

spring.datasource.tomcat.rollback-on-return

spring.datasource.tomcat.suspect-timeout

spring.datasource.tomcat.test-on-borrow

spring.datasource.tomcat.test-on-connect

spring.datasource.tomcat.test-on-return

spring.datasource.tomcat.test-while-idle

spring.datasource.tomcat.time-between-eviction-runs-millis

spring.datasource.tomcat.url

spring.datasource.tomcat.use-disposable-connection-facade

spring.datasource.tomcat.use-equals

spring.datasource.tomcat.use-lock

spring.datasource.tomcat.username

spring.datasource.tomcat.validation-interval

spring.datasource.tomcat.validation-query

spring.datasource.tomcat.validation-query-timeout

spring.datasource.tomcat.validator-class-name

spring.jta.atomikos.properties.checkpoint-interval

500

Interval between checkpoints.

spring.jta.atomikos.properties.console-file-count

1

Number of debug logs files that can be created.

spring.jta.atomikos.properties.console-file-limit

-1

How many bytes can be stored at most in debug logs files.

spring.jta.atomikos.properties.console-file-name

tm.out

Debug logs file name.

spring.jta.atomikos.properties.console-log-level

Console log level.

spring.jta.atomikos.properties.default-jta-timeout

10000

Default timeout for JTA transactions.

spring.jta.atomikos.properties.enable-logging

true

Enable disk logging.

spring.jta.atomikos.properties.force-shutdown-on-vm-exit

false

Specify if a VM shutdown should trigger forced shutdown of the transaction core.

spring.jta.atomikos.properties.log-base-dir

Directory in which the log files should be stored.

spring.jta.atomikos.properties.log-base-name

tmlog

Transactions log file base name.

spring.jta.atomikos.properties.max-actives

50

Maximum number of active transactions.

spring.jta.atomikos.properties.max-timeout

300000

Maximum timeout (in milliseconds) that can be allowed for transactions.

spring.jta.atomikos.properties.output-dir

Directory in which to store the debug log files.

spring.jta.atomikos.properties.serial-jta-transactions

true

Specify if sub-transactions should be joined when possible.

spring.jta.atomikos.properties.service

Transaction manager implementation that should be started.

spring.jta.atomikos.properties.threaded-two-phase-commit

true

Use different (and concurrent) threads for two-phase commit on the participating resources.

spring.jta.atomikos.properties.transaction-manager-unique-name

Transaction manager’s unique name.

spring.jta.bitronix.properties.allow-multiple-lrc

false

Allow multiple LRC resources to be enlisted into the same transaction.

spring.jta.bitronix.properties.asynchronous2-pc

false

Enable asynchronously execution of two phase commit.

spring.jta.bitronix.properties.background-recovery-interval

1

Interval in minutes at which to run the recovery process in the background.

spring.jta.bitronix.properties.background-recovery-interval-seconds

60

Interval in seconds at which to run the recovery process in the background.

spring.jta.bitronix.properties.current-node-only-recovery

true

Recover only the current node.

spring.jta.bitronix.properties.debug-zero-resource-transaction

false

Log the creation and commit call stacks of transactions executed without a single enlisted resource.

spring.jta.bitronix.properties.default-transaction-timeout

60

Default transaction timeout in seconds.

spring.jta.bitronix.properties.disable-jmx

false

Enable JMX support.

spring.jta.bitronix.properties.exception-analyzer

Set the fully qualified name of the exception analyzer implementation to use.

spring.jta.bitronix.properties.filter-log-status

false

Enable filtering of logs so that only mandatory logs are written.

spring.jta.bitronix.properties.force-batching-enabled

true

Set if disk forces are batched.

spring.jta.bitronix.properties.forced-write-enabled

true

Set if logs are forced to disk.

spring.jta.bitronix.properties.graceful-shutdown-interval

60

Maximum amount of seconds the TM will wait for transactions to get done before aborting them at shutdown time.

spring.jta.bitronix.properties.jndi-transaction-synchronization-registry-name

JNDI name of the TransactionSynchronizationRegistry.

spring.jta.bitronix.properties.jndi-user-transaction-name

JNDI name of the UserTransaction.

spring.jta.bitronix.properties.journal

disk

Name of the journal.

spring.jta.bitronix.properties.log-part1-filename

btm1.tlog

Name of the first fragment of the journal.

spring.jta.bitronix.properties.log-part2-filename

btm2.tlog

Name of the second fragment of the journal.

spring.jta.bitronix.properties.max-log-size-in-mb

2

Maximum size in megabytes of the journal fragments.

spring.jta.bitronix.properties.resource-configuration-filename

ResourceLoader configuration file name.

spring.jta.bitronix.properties.server-id

ASCII ID that must uniquely identify this TM instance.

spring.jta.bitronix.properties.skip-corrupted-logs

false

Skip corrupted transactions log entries.

spring.jta.bitronix.properties.warn-about-zero-resource-transaction

true

Log a warning for transactions executed without a single enlisted resource.

spring.redis.cluster.max-redirects

Maximum number of redirects to follow when executing commands across the cluster.

spring.redis.cluster.nodes

Comma-separated list of "host:port" pairs to bootstrap from.

spring.resources.chain.gzipped

false

Enable resolution of already gzipped resources.

spring.sendgrid.api-key

SendGrid api key.

Table 2. Removed keys in 1.4.0.M1

Key

Default value

Description

server.session-timeout

server.tomcat.access-log-enabled

server.tomcat.access-log-pattern

server.undertow.access-log-dir

server.undertow.access-log-enabled

server.undertow.access-log-pattern

spring.datasource.abandon-when-percentage-full

spring.datasource.access-to-underlying-connection-allowed

spring.datasource.allow-pool-suspension

spring.datasource.alternate-username-allowed

spring.datasource.auto-commit

spring.datasource.catalog

spring.datasource.commit-on-return

spring.datasource.connection-customizer-class-name

spring.datasource.connection-init-sql

spring.datasource.connection-init-sqls

spring.datasource.connection-properties

spring.datasource.connection-test-query

spring.datasource.connection-timeout

spring.datasource.data-source

spring.datasource.data-source-class-name

spring.datasource.data-source-jndi

spring.datasource.data-source-properties

spring.datasource.db-properties

spring.datasource.default-auto-commit

spring.datasource.default-catalog

spring.datasource.default-read-only

spring.datasource.default-transaction-isolation

spring.datasource.fair-queue

spring.datasource.health-check-properties

spring.datasource.health-check-registry

spring.datasource.idle-timeout

spring.datasource.ignore-exception-on-pre-load

spring.datasource.init-sql

spring.datasource.initial-size

spring.datasource.initialization-fail-fast

spring.datasource.isolate-internal-queries

spring.datasource.jdbc-interceptors

spring.datasource.jdbc-url

spring.datasource.jdbc4-connection-test

spring.datasource.leak-detection-threshold

spring.datasource.log-abandoned

spring.datasource.log-validation-errors

spring.datasource.login-timeout

spring.datasource.max-active

spring.datasource.max-age

spring.datasource.max-idle

spring.datasource.max-lifetime

spring.datasource.max-open-prepared-statements

spring.datasource.max-wait

spring.datasource.maximum-pool-size

spring.datasource.metric-registry

spring.datasource.min-evictable-idle-time-millis

spring.datasource.min-idle

spring.datasource.minimum-idle

spring.datasource.num-tests-per-eviction-run

spring.datasource.pool-name

spring.datasource.pool-prepared-statements

spring.datasource.propagate-interrupt-state

spring.datasource.read-only

spring.datasource.register-mbeans

spring.datasource.remove-abandoned

spring.datasource.remove-abandoned-timeout

spring.datasource.rollback-on-return

spring.datasource.suspect-timeout

spring.datasource.test-on-borrow

spring.datasource.test-on-connect

spring.datasource.test-on-return

spring.datasource.test-while-idle

spring.datasource.time-between-eviction-runs-millis

spring.datasource.transaction-isolation

spring.datasource.use-disposable-connection-facade

spring.datasource.use-equals

spring.datasource.use-lock

spring.datasource.validation-interval

spring.datasource.validation-query

spring.datasource.validation-query-timeout

spring.datasource.validation-timeout

spring.datasource.validator-class-name

spring.jta.allow-multiple-lrc

spring.jta.asynchronous2-pc

spring.jta.background-recovery-interval

spring.jta.background-recovery-interval-seconds

spring.jta.current-node-only-recovery

spring.jta.debug-zero-resource-transaction

spring.jta.default-transaction-timeout

spring.jta.disable-jmx

spring.jta.exception-analyzer

spring.jta.filter-log-status

spring.jta.force-batching-enabled

spring.jta.forced-write-enabled

spring.jta.graceful-shutdown-interval

spring.jta.jndi-transaction-synchronization-registry-name

spring.jta.jndi-user-transaction-name

spring.jta.journal

spring.jta.log-part1-filename

spring.jta.log-part2-filename

spring.jta.max-log-size-in-mb

spring.jta.resource-configuration-filename

spring.jta.server-id

spring.jta.skip-corrupted-logs

spring.jta.warn-about-zero-resource-transaction

spring.view.prefix

Spring MVC view prefix.

spring.view.suffix

Spring MVC view suffix.

Clone this wiki locally