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-12-06
  • 2021-04-15
  • 2022-01-21
  • 2021-11-14
  • 2021-11-24
  • 2021-08-22
  • 2021-04-05
猜你喜欢
  • 2021-04-19
  • 2021-07-12
  • 2021-12-30
  • 2021-07-13
  • 2022-12-23
  • 2022-02-02
  • 2021-07-27
相关资源
相似解决方案