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.
本文出自:冯立彬的博客
本文详细介绍了如何在Apache Tomcat中启用JMX远程访问,并强调了限制密码文件访问的重要性以确保应用程序的安全性。文章还提到了远程监控和管理的必要性及安全措施。
1369

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



