diff --git a/http-service/src/main/resources/application.yaml b/http-service/src/main/resources/application.yaml index 7b6785a325..9aa02c58ac 100644 --- a/http-service/src/main/resources/application.yaml +++ b/http-service/src/main/resources/application.yaml @@ -4,4 +4,9 @@ datasource: runelite-cache: jndiName: java:comp/env/jdbc/runelite-cache2 runelite-tracker: - jndiName: java:comp/env/jdbc/runelite-tracker \ No newline at end of file + 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 \ No newline at end of file