如何更改tomcat jmx密码的文件权限 [英] How to change tomcat jmx password's file permission

查看:213
本文介绍了如何更改tomcat jmx密码的文件权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Windows平台上托管的本地tomcat实例上保护JMX访问。我创建了访问和密码文件并使用以下VM参数插入了这些文件:

I am trying to secure JMX access on my local tomcat instance hosted on Windows platform. I have created access and password files and plugged those using the following VM arguments:

-Dcom.sun.management.jmxremote.password.file
-Dcom.sun.management.jmxremote.access.file 

但我是在tomcat启动期间遇到问题:错误:必须限制密码文件读取访问权限。我尝试使用文件安全选项卡更改密码的文件所有者和访问权限,但它似乎没有工作。

But I am running into an issue during tomcat start-up: Error: Password file read access must be restricted. I tried changing the password's file owner and access using file security tab but it doesn't seem to be working.

有什么想法?

推荐答案

按照上的说明进行操作href =http://download.oracle.com/javase/6/docs/technotes/guides/management/security-windows.html\"rel =noreferrer>页面以保护密码文件。

这篇关于如何更改tomcat jmx密码的文件权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆