I can’t think of a good reason to not do that. By all means, create an issue.
-- Misagh From: William <[email protected]> Reply: William <[email protected]> Date: August 19, 2016 at 2:43:51 PM To: CAS Community <[email protected]> Subject: [cas-user] Suggestion: Setting spring.jmx.default-domain To Unique Values For cas-server-webapp and cas-management-webapp For CAS 5 Most of the time I will test with cas-server-webapp and cas-management-webapp on the same server which are both Spring Boot applications in CAS 5. I know this is not typical when deploying these applications as they usually are on different servers. This results in the following exception: ... 2016-08-19 17:37:08,442 ERROR [org.springframework.boot.SpringApplication] - <Application startup failed> org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.springframework.cloud.context.environment.EnvironmentManager@19480877] with key 'environmentManager'; nested exception is javax.management.InstanceAlreadyExistsException: org.springframework.cloud.context.environment:name=environmentManager,type=EnvironmentManager at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:625) ~[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.jmx.export.MBeanExporter.registerBeans(MBeanExporter.java:550) ~[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE] ... In src/main/resources/bootstrap.properties in both cas-server-webapp and cas-management-webapp, the spring.jmx.default-domain is not set. Could I suggest setting this value uniquely for both applications in bootstrap.properties? Any reason not to do that? I can open an issue in GitHub on it. -- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/c8daa79c-ba2e-4582-9a5e-9712823f1fbf%40apereo.org. For more options, visit https://groups.google.com/a/apereo.org/d/optout. -- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.57b77f76.29783b46.290f%40unicon.net. For more options, visit https://groups.google.com/a/apereo.org/d/optout.
