我想在tomcat7-maven-plugin上启用JMX。如何将CATALINA_OPTS传入插件配置?
发布于 2015-08-11 20:36:46
已将以下行添加到我的.profile
export MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9000 -Xmx1024m -XX:MaxPermSize=256m -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"发布于 2013-01-05 02:17:48
两种可能的解决方案(未测试):
https://stackoverflow.com/questions/14160944
复制相似问题