Getting exception java.net.MalformedURLException: invalid authority while using jmap tool

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.