环境说明

  • Win10
  • CentOS Linux release 8.5.2111
  • ActiveMQ 5.15.9

步骤说明

Windows 安装ActiveMQ

Centos 安装ActiveMQ

问题解决

Illegal character in hostname at index 10

执行

activemq start

报错如下

2022-05-13 14:19:36,777 | ERROR | Failed to start Apache ActiveMQ (localhost, ID:power_prod-26605-1652422776568-0:1) | org.apache.activemq.broker.BrokerService | main
java.net.URISyntaxException: Illegal character in hostname at index 10: ws://power_prod:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600

参考文献