• Post Reply Bookmark Topic Watch Topic
  • New Topic

Enabling Java JConsole password protection?  RSS feed

Lee Kwok
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am attempting to enable remote JMX access protection using the following + variations...

Also did use cacls to change owner of the file etc.

However I am still able to connect to the JVM by ignoring the initial challenge and then JConsole indicates "Connection Failed: Retry? The Connection to 9648 did not succeed. Would you like to try again?". Then then click "Connect" and it connects.

The variation on this is to click "Connect" on the initial New Connection by leaving UserName and Password blank. This results in a pop up "ConnectionFailedSSL1 ConnectionFAiledSSL2". After clicking "Insecure" access to the JVM is granted.

What am I missing and why is the connection port different than what I specified?

Thanks for looking,
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!