1.activemq启动错误:ERROR | Temporary Store limit is 51200 mb, whilst the temporary data directory
activemq版本:5.9
启动的时候报错:
ERROR | Temporary Store limit is 51200 mb, whilst the temporary data directory: D:\Program Files\apache-activemq-5.9.0\bin\..\data\localhost\tmp_storage only has 6338 mb of usable space
其实我们不用那么多temp空间,可以修改默认配置文件:apache-activemq-5.8.0\conf\activemq.xml
![](https://i-blog.csdnimg.cn/blog_migrate/7746f2e1e406da0733115c00adc4b0e4.png)
2.配置集群时日志报错
![](https://i-blog.csdnimg.cn/blog_migrate/eb84e0d1a069254cce9ce12edb1d03fd.png)
解决方案:
The issue was that the
<transportConnector/>
element in the primary broker was configured with
localhost
After changing it to use the actual server name instead it worked
<transportConnectors> <transportConnector name="primary_broker" uri="tcp://SERVER_NAME:2384"/></transportConnectors>
问题是<transportConnector/>
配置了本地代理,只需将
uri="tcp://SERVER_NAME:2384"/>改为host名称即可。