RocketMQ failed to send message MQBrokerException: CODE: 1 DESC: create mapped file failed, server is busy or broker

Problem Description:

org.apache.rocketmq.client.exception.MQClientException: Send [3] times, still failed, cost [840]ms, Topic: top_1, BrokersSent: [a, a, a]
........

.......
Caused by: org.apache.rocketmq.client.exception.MQBrokerException: CODE: 1  DESC: create mapped file failed, server is busy or broken.

Each software version:

        Operating system version: win10

        JDK:1.8

        MQ version: 4.3.0 (from the original 4.9.4/4.7.1 to 4.3.0 is still the problem)

Troubleshooting (:

I searched for various answers on the Internet, and the summary is as follows (it doesn’t work well for my problem):

1. Check whether the nameServer and broker are started successfully;

2. Check whether the connection information is configured correctly;

。。。。

My solution:

Check the jdk and find that it is 32-bit, change it to 64-bit and it will be OK

As a record of stepping on the pit, I hope it can help you.

Guess you like

Origin blog.csdn.net/weixin_42717648/article/details/125519456