【问题标题】:HornetQ live lock issueHornetQ 活锁问题
【发布时间】:2017-12-12 21:41:10
【问题描述】:

我正在开发一个使用HornetQ 作为消息服务器的应用程序。在HornetQ 启动时,我总是收到与HornetQ 实时锁定相关的错误。

我针对这个特定问题进行了研究,但无法得出相同的结论。

此错误的堆栈跟踪如下所示。

[main] 21:09:09,516 INFO [org.hornetq.integration.bootstrap.HornetQBootstrapServer]
Starting HornetQ Server
[main] 21:09:11,208 WARNING [org.hornetq.core.deployers.impl.FileConfigurationParser]  
AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your  
platform is Linux, install LibAIO to enable the AIO journal
[main] 21:09:11,283 INFO [org.hornetq.core.server.impl.HornetQServerImpl]  live server      
is starting with configuration HornetQ Configuration   
clustered=false,backup=false,sharedStore=true,journalDirectory=data/journal,bindingsDirecto     
ry=data/bindings,largeMessagesDirectory=data/largemessages,pagingDirectory=data/paging)
[main] 21:09:11,284 INFO [org.hornetq.core.server.impl.HornetQServerImpl]  Waiting to     
 obtain live lock

对此的任何帮助将不胜感激。

【问题讨论】:

    标签: linux jakarta-ee hornetq


    【解决方案1】:

    这是日志中的最后一条记录吗?我只看到一个与 libAIO 相关的警告,但它应该可以在没有它的情况下使用 java NIO。

    【讨论】:

      猜你喜欢
      • 2012-12-13
      • 2021-01-19
      • 2017-10-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-04-01
      • 2011-03-28
      相关资源
      最近更新 更多