Default spring.datasource.jmx-enabled to false

Change the default value of spring.datasource.jmx-enabled to false
to prevent InstanceAlreadyExistsException problems when using the
Spring Test Framework.

Fixes gh-1590
This commit is contained in:
Phillip Webb
2014-11-06 20:55:04 -08:00
parent d040bb72d3
commit 96a031cf20
6 changed files with 8 additions and 4 deletions

View File

@@ -203,7 +203,7 @@ content into your application; rather pick only the properties that you need.
spring.datasource.time-between-eviction-runs-millis=
spring.datasource.min-evictable-idle-time-millis=
spring.datasource.max-wait=
spring.datasource.jmx-enabled=true # Export JMX MBeans (if supported)
spring.datasource.jmx-enabled=false # Export JMX MBeans (if supported)
# DATASOURCE ({sc-spring-boot-autoconfigure}/dao/PersistenceExceptionTranslationAutoConfiguration.{sc-ext}[PersistenceExceptionTranslationAutoConfiguration]
spring.dao.exceptiontranslation.enabled=true