Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/spring-boot/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring boot Ehcache Mbean在Hawtio GUI中不可见_Spring Boot_Ehcache_Jmx_Mbeans_Hawtio - Fatal编程技术网

Spring boot Ehcache Mbean在Hawtio GUI中不可见

Spring boot Ehcache Mbean在Hawtio GUI中不可见,spring-boot,ehcache,jmx,mbeans,hawtio,Spring Boot,Ehcache,Jmx,Mbeans,Hawtio,我已经用我的Spring Boot项目和JPA/Hibernate配置了Ehcache。我知道,我可以尝试通过JMX监控Ehcache。Ehcache现在确实在工作。我还安装了Hawtio GUI,可以成功监视嵌入式ActiveMQ,但在那里找不到Ehcache Mbean 如何激活Ehcache Mbean以便能够在Hawtio GUI中查看它?您可以使用jconsole找到Ehcache Mbean吗?如果没有,很可能ehcache的jmx功能刚刚关闭。谢谢您的评论。我也找不到使用jcons

我已经用我的Spring Boot项目和JPA/Hibernate配置了Ehcache。我知道,我可以尝试通过JMX监控Ehcache。Ehcache现在确实在工作。我还安装了Hawtio GUI,可以成功监视嵌入式ActiveMQ,但在那里找不到Ehcache Mbean


如何激活Ehcache Mbean以便能够在Hawtio GUI中查看它?

您可以使用jconsole找到Ehcache Mbean吗?如果没有,很可能ehcache的jmx功能刚刚关闭。谢谢您的评论。我也找不到使用jconsole的ehcache mbean。如何在Spring Boot中启用ehcache MBean?您可能会发现这很有帮助。