Byteman throws "BindException: Address already in use"

Solution Verified - Updated -

Issue

  • When trying to use byteman to troubleshoot, byteman hits a bind exception:
java.net.BindException: Address already in use
       at java.net.PlainSocketImpl.socketBind(Native Method)
       at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
       at java.net.ServerSocket.bind(ServerSocket.java:376)
       at java.net.ServerSocket.bind(ServerSocket.java:330)
       at org.jboss.byteman.agent.TransformListener.initialize(TransformListener.java:80)

Environment

  • JBoss Enterprise Application Platform (EAP)
  • Byteman

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content