This content has been marked as final.
Show 2 replies
-
1. Re: How to detect a live and backup server in Jboss eap 6.4 at the application level?
mmusaji Nov 26, 2015 11:15 AM (in response to mamuni.nayak)I don't believe there is any such mechanism because JBoss itself doesn't care whether you are running in production or not. It's up to you what you consider as production. So what would perhaps work better is if you have a system property your application looks for "-Dmy.application.is.live=true" for example. You set this on startup of the JVM and have your application check it. When you use this in test, set it to false.
-
2. Re: How to detect a live and backup server in Jboss eap 6.4 at the application level?
mnovak Feb 18, 2016 5:50 AM (in response to mmusaji)Live and backup is naming convention for HornetQ. Are you referring to HornetQ cluster? If yes then there is a way to detect using CLI.