Getting exception java.net.MalformedURLException: invalid authority while using jmap tool
Issue
- While running command
jmap -permstat JBOSS_PID
getting following error :
$ jmap -permstat JBOSS_PID
Attaching to remote server JBOSS_PID, please wait...
Error attaching to remote server: java.net.MalformedURLException: invalid authority: //JBOSS_PID/SARemoteDebugger
Environment
- Open JDK
- Oracle JDK
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.