[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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.