"org.apache.activemq.transport.TransportDisposedIOException: Peer (vm://localhost#1) disposed" when trying to browse a queue destination using the web console

Solution Verified - Updated -

Issue

Seeing the error
org.apache.activemq.transport.TransportDisposedIOException: Peer (vm://localhost#1) disposed.
in the broker log every time when trying to browse any destination in the web console.

Before the above error there is a single instance of this error in the broker's log:
java.lang.SecurityException: User jetty is not authorized to read from: queue://Test.2
Given this error it is assumed that access to the ActiveMQ Web Console is secured using authentication via a user called jetty. See Web Console Security for more information.

The broker is secured using authentication and authorization using a configuration similar to
<plugins>
<jaasAuthenticationPlugin configuration="PropertiesLogin" />
<authorizationPlugin>
<map>
<authorizationMap>
<authorizationEntries>
<authorizationEntry queue="Test.1" read="admins,web" write="admins,web" admin="admins,web"/>
<authorizationEntry queue="Test.2" read="admins" write="admins" admin="admins"/>
<authorizationEntry queue="&gt;" read="admins" write="admins" admin="admins"/>
<authorizationEntry topic="ActiveMQ.Advisory.&gt;" read="admins,web" write="admins,web" admin="admins,web"/>
</authorizationEntries>
</authorizationMap>
</map>
</authorizationPlugin>
</plugins>

Consult the Fuse Message Broker for more information on securing the broker.

Environment

  • Fuse Message Broker 5.5.x
  • Fuse MQ Enterprise 7.x

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.