来源:http://iffiffj.iteye.com/blog/1404148
把下面代码保存为BAT文件,并放到JBOSS节点中运行。
@echo off set HOME=%~dp0 set jmx_console=%HOME%deployjmx-console.war set jbossws_context=%HOME%deployjbossws.sarjbossws-context.war set web_console=%HOME%deploymanagementconsole-mgr.sarweb-console.war set root_console=%HOME%deployjboss-web.deployerROOT.war set root_context=%HOME%deployjboss-web.deployercontext.xml echo %HOME% for /d %%i in (%jmx_console% %jbossws_context% %web_console% %root_console%) do ( echo delete directory %%i @rd /s /q "%%i" ) del /q "%root_context%" pause
当然,还有其他的解决办法,比如加密码:
2、JBoss jmx-console和web-console安全设置
以及一篇安全漏洞分析文章: