2008-04-15

Linux下Tomcat停止时报端口1021在使用

关键字: linux jconsole
在Linux下,tomcat/bin/catalina.sh文件中JAVA_OPTS后增加了 -Dcom.sun.management.jmxremote.port=1021 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false 后,启动tomcat正常,并且能从本地打开JConsole访问服务器的1021端口,但停止tomcat的时候抛出异常,异常如下: “代理抛出异常: java.rmi.server.ExportException: Port already ...
lzycxy
搜索本博客
博客分类
最新评论