How to enable the JMX in tomcat, visit here: http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html. If we want to enable remote visit by JMX, we should pay attention to the tip:"The password file should be read-only and only accessible by the operating system user Tomcat is running as". This tip is very important, if we don't restrict this file as it said ,we will got an error: "Password file read access must be restricted", and the tomcat will exit.
And this article:http://docs.oracle.com/javase/1.5.0/docs/guide/management/agent.html#remote, said "Remote monitoring and management requires security, to ensure that unauthorized persons cannot control or monitor your application". This means the restriction is just for safe.
本文出自:冯立彬的博客
本文介绍如何在 Tomcat 中启用 JMX,并强调了密码文件权限的重要性。远程监控需要确保安全性,避免未授权访问。文章提供了配置步骤及注意事项。
1351

被折叠的 条评论
为什么被折叠?



