Want the standard Tomcat JMX exposed during development (grails run-app) ?
Add this to your Config.groovy:
grails.tomcat.jvmArgs=["-Dcom.sun.management.jmxremote", "-Dcom.sun.management.jmxremote.port=8099", "-Dcom.sun.management.jmxremote.ssl=false", "-Dcom.sun.management.jmxremote.authenticate=false"]
Fire up jconsole and hit localhost:8099.
</note to future self blog entry>
No comments:
Post a Comment