Getting exception java.net.MalformedURLException: invalid authority while using jmap tool
Issue
- While running command
jmap -permstat JBOSS_PIDgetting 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
