JBOSS - Resolve "set the DISABLE_EMBEDDED_JMS_BROKER environment variable to true"

by
Jeremy Canfield |
Updated: October 16 2024
| JBOSS articles
Let's say something like this is being returned.
WARN If you are not configuring messaging destinations, to disable configuring an embedded messaging broker set the DISABLE_EMBEDDED_JMS_BROKER environment variable to true.
I got this after I made a change to one of the files in the /opt/eap/standalone/configuration directory in a JBOSS pod deployed to OpenShift. For more details on JBOSS on OpenShift, check out my article FreeKB - JBOSS - Getting Started with JBOSS on OpenShift.
To resolve this, I had to update the deployment to have environment variable DISABLE_EMBEDDED_JMS_BROKER="true".
oc set env deployment eap74-openjdk8-openshift-rhel7 DISABLE_EMBEDDED_JMS_BROKER="true"
Did you find this article helpful?
If so, consider buying me a coffee over at