Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Basically, I have a Java server, running as a service that I need to monitor with local VisualVM. Currently, I am running it with these parameters:
- -Dcom.sun.management.jmxremote
- -Dcom.sun.management.jmxremote.authenticate=false
- -Dcom.sun.management.jmxremote.port=8484
- -Dcom.sun.management.jmxremote.ssl=false
- –Xms2048M –Xmx2048M
- I am running it as the account I am logged in as (which has administrative privileges). When I run VisualVM, I can see a "local application" with a java pid. By trial and error (turning off the service, starting it as local system) I determined, that that IS the service I want to monitor. However, when I try to open it it says "Not supported for this JVM".
- I tried to "add a local jmx connection" fill in the port and check the "Do not require SSL connection" box. However this gives me following error:
- "Cannot connect to localhost:8484 using service:jmx:rmi:///jndi/rmi://localhost:8484/jmxrmi"
- Also not sure if this is important, but the service is a server with java version 1.8.0_141-b15 integrated. I tried googling high and low, but still cant get it to work. I am completely out of ideas and any advice would be more than welcome. In any case, THANK YOU for reading.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement