Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. 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:
  2.  
  3. -Dcom.sun.management.jmxremote
  4. -Dcom.sun.management.jmxremote.authenticate=false
  5. -Dcom.sun.management.jmxremote.port=8484
  6. -Dcom.sun.management.jmxremote.ssl=false
  7. –Xms2048M –Xmx2048M
  8.  
  9. 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".
  10.  
  11. 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:
  12. "Cannot connect to localhost:8484 using service:jmx:rmi:///jndi/rmi://localhost:8484/jmxrmi"
  13. 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