当前位置: 代码迷 >> 综合 >> activemq启动错误:ERROR | Temporary Store limit is 51200 mb, whilst the temporary data directory
  详细解决方案

activemq启动错误:ERROR | Temporary Store limit is 51200 mb, whilst the temporary data directory

热度:115   发布时间:2023-10-19 01:16:59.0
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

activemq启动错误:ERROR | Temporary Store limit is 51200 mb, whilst the temporary data directory


2.配置集群时日志报错
Could not start network bridge due to: java.net.ConnectException: Connection refused: connect
activemq启动错误:ERROR | Temporary Store limit is 51200 mb, whilst the temporary data directory


https://stackoverflow.com/questions/28285320/could-not-start-network-bridge-due-to-java-net-connectexception-connection-ref

解决方案:
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名称即可。
  相关解决方案