ERROR An embedded messaging broker is added by default , to disable configuring an embedded messaging broker set the DISABLE_EMBEDDED_JMS_BROKER environment variable to true

Solution Verified - Updated -

Issue

  • If the default server configured in messaging-activemq subsystem, the EAP 7.3 container fails to start with the following console log:
WARN Configuration of an embedded messaging broker within the appserver is enabled but is not recommended. Support for such a configuration will be removed in a future release.
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.
INFO Configuring the server using embedded server
Error applying /tmp/cli-configuration-script-1585617434.cli CLI script. Embedded server started successfully. The Operations were executed but there were unexpected values. See list of errors in /tmp/cli-script-error-1585617434.cli
INFO Duration: 5604 milliseconds
ERROR An embedded messaging broker is added by default, to disable configuring an embedded messaging broker set the DISABLE_EMBEDDED_JMS_BROKER environment variable to true. Fix your configuration to not contain a default server configured on messaging-activemq subsystem for this to happen.
  • If the below customized standalone-openshift.xml that started properly in EAP 7.2 is brought to EAP 7.3, the EAP 7.3 container fails to start.
<subsystem xmlns="urn:jboss:domain:messaging-activemq:4.0">
    <server name="default">
     ...
    </server>
</subsystem>

Environment

  • JBoss EAP for OpenShift Container Platform
    • 7.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content