[AMQ] Error on the Console when we allow 0.0.0.0 in jolokia-access.xml CORS

Solution Verified - Updated -

Issue

  • When we allow 0.0.0.0 in jolokia-access.xml, we got the following error in AMQ Console:
        [Core] Operation unknown failed due to: java.lang.Exception : Origin http://x.x.x.x:8161 is not allowed to call this agent
        [Core] ActiveMQ Management Console started
        [Window] Uncaught TypeError: Cannot read property 'apply' of undefined (http://x.x.x.x:8161/console/app/app.js?0d5300a336117972:16:14366)
        [Window] Uncaught TypeError: Cannot read property 'apply' of undefined (http://x.x.x.x:8161/console/app/app.js?0d5300a336117972:16:14366)
        [Window] Uncaught TypeError: Cannot read property 'apply' of undefined (http://x.x.x.x:8161/console/app/app.js?0d5300a336117972:16:14366)
        [Window] Uncaught TypeError: Cannot read property 'apply' of undefined (http://x.x.x.x:8161/console/app/app.js?0d5300a336117972:16:14366)

Environment

  • Red Hat AMQ
    • 7.2.0

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