1. 需要在tomcat的 bin/catalina.sh 里 的 开头 配置:

if [ "$1" = "start" ];then
echo "set console";
JAVA_OPTS="-Djava.rmi.server.hostname=填写本机IP  -Dcom.sun.management.jmxremote.port=填写未被使用的端口 -Dcom.sun.management.jmxremote.rmi.port=填写未被使用的端口 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"
else
echo "no startup";
fi;

相关文章:

  • 2021-07-13
  • 2018-08-23
  • 2021-11-28
  • 2022-02-02
  • 2021-07-27
  • 2021-12-06
  • 2021-04-15
  • 2021-12-28
猜你喜欢
  • 2021-04-19
  • 2021-07-12
  • 2021-12-30
  • 2021-10-07
  • 2021-10-17
  • 2022-12-23
相关资源
相似解决方案