http service: disable spring jmx
Multiple api deployments is causing Spring to try to register the datasources multiple times and is erroring
This commit is contained in:
@@ -4,4 +4,9 @@ datasource:
|
||||
runelite-cache:
|
||||
jndiName: java:comp/env/jdbc/runelite-cache2
|
||||
runelite-tracker:
|
||||
jndiName: java:comp/env/jdbc/runelite-tracker
|
||||
jndiName: java:comp/env/jdbc/runelite-tracker
|
||||
# By default Spring tries to register the datasource as an MXBean,
|
||||
# so if multiple apis are delpoyed on one web container with
|
||||
# shared datasource it tries to register it multiples times and
|
||||
# fails when starting the 2nd api
|
||||
spring.jmx.enabled: false
|
||||
Reference in New Issue
Block a user