activeMQ持久化报错的问题

activeMQ持久化报错的问题_第1张图片

activeMQ持久化,启动activeMQ报错,

INFO | Using Persistence Adapter: JDBCPersistenceAdapter(org.apache.commons.dbcp2.BasicDataSource@5148e82a) jvm 1 | WARN | Could not get JDBC connection: Cannot create PoolableConnectionFactory (Communications link failure jvm 1 | jvm 1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)

 

问题出在SSL上面

在active.xml中

 
      
      
      
      
      
   

其中useSSL=false一定要加上,

我本地用的是mysql8.0以上,记得要在lib目录中加入响应的jar包

mysql-connector-j-8.x.xx.jar

你可能感兴趣的:(activemq)