Ok, I have taken a little deeper look at this, here is what I've found...
running ps -ef|grep jmx
returned two processes that started using the -Dcom.sun.management.jmxremote parameter, with no additional properties
ActiveMQ and Karaf.
The recommendations about providing authentication is to adjust the startup parameters to use the following
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=<port#> -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.access.file=/install/path/to/tomcat/conf/jmxremote.access -Dcom.sun.management.jmxremote.password.file=/install/path/to/tomcat/conf/tomcat/conf/jmxremote.password"
I wanted to ask about the ports in use by those packages....
From what I've found ActiveMQ uses port 61616 AND 8161 (both ports show in netstat using the same PID and program name), if I were to update the env file for it, would I use 61616 or 8161? OR, would I just leave the jmxremote.port parameter out of the config (is that port specified elsewhere)?
The Karaf config might be a little trickier, as it is loads a little differently, and Google says it should use port 8181, but I think its using 8101 (based on netstat)
So, the big questions here are, which ports should be specified for those packages, and how can I test break-test each package's functionality after making the configuration changes?
And of course the biggest question, am I missing anything?
Thanks in advance for any help!!
Bill