I'm trying to run the petclinic app with JMX monitoring enabled. I'm
using the following JVM options:
JAVA_OPTS => -Xmx384m -Xss512k -XX:+UseCompressedOops -
Dcom.sun.management.jmxremote.port=6543 -
Dcom.sun.management.jmxremote.authenticate=false -
Dcom.sun.management.jmxremote.ssl=false
After doing that, I get an application error when I try to load the
petclinic. The heroku logs show the following errors:
State changed from starting to crashed
Password file read access must be restricted: /usr/lib/jvm/java-6-
openjdk/jre/lib/management/jmxremote.password
Is this something I can fix?
Thanks for any help,
Ian