This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
We have a java application that resides on a remote server. It reads data from ActiveMQ, does stuff in Oracle, and sends some emails. I'd like to connect JConsole to it to get more insight into the inner workings of it while it is running. Since this is an in-house application not using anything like glassfish or jboss, is this possible without writing additional code into the application? If it isn't possible, can someone point me in the right direction for what I would need to write into the application in order to make it so that I can connect JConsole to it remotely?
I just tried doing the -Dcom.sun.management.jmxremote.ssl=false in addition to the arguments I listed earlier and it works now! From what I read in the documentation (and the fact that I don't have it), the -Dcom.sun.management.jmxremote argument is no longer needed as of Java 6.