[
https://issues.apache.org/jira/browse/ARTEMIS-2528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
wangzj closed ARTEMIS-2528.
---------------------------
Resolution: Fixed
> Web Console prompt Cannot read property 'apply' of undefined
> ------------------------------------------------------------
>
> Key: ARTEMIS-2528
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2528
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Web Console
> Affects Versions: 2.10.1
> Environment: CentOS 7.3
> Reporter: wangzj
> Priority: Major
>
> Hello, I deployed to the server according to the document artemis. When I set
> it to public IP, the program could not be started, and prompted
> java.net.BindException: Cannot assign requested address, so I tried to change
> the intranet IP, but when I log in Web Console, I found that always prompt
> Cannot read property 'apply' of undefined, is my operation wrong? How should
> I do it?
> {code:java}
> {code}
> {code:java}
> jolokia-access.xml
> //代码占位符
> <cors>
> <!-- Allow cross origin access from 172.24.34.102 ... -->
> <allow-origin>*://172.24.34.102*</allow-origin>
> <!-- Options from this point on are auto-generated by Create.java
> from the Artemis CLI -->
> <!-- Check for the proper origin on the server side, too -->
> <strict-checking/>
> </cors>
> {code}
> ----
>
> {code:java}
> bootstrap.xml
> //代码占位符
> <web bind="http://172.24.34.102:8080" path="web">
> <app url="activemq-branding" war="activemq-branding.war"/>
> <app url="artemis-plugin" war="artemis-plugin.war"/>
> <app url="console" war="console.war"/>
> </web>
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)