Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-2345

Hawtio becomes not available when the client repeatidly tries to create more connections than 'maximumConnections' property

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Hawtio
    • Labels:
      None
    • Environment:

      JBoss Fuse/A-MQ (6.1.0.redhat-379), and with patch applied
      Chromium
      Firefox

      Description

      1)Add transportConnector to activemq.xml:

       <transportConnector name="mqtt" uri="mqtt://0.0.0.0:1883?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/> 

      2) Start A-MQ
      3) Run test attached.
      4) After 1000 connections were started, try to log in into hawtio Hawtio becomes not available In Firefox is:

       Unresponsive script: http://localhost:8181/hawtio/lib/sugar-1.3.6-custom.min.js?v=1.2-redhat-387:35 

      jconsole is still available In the log is every 6-8 seconds:

       14:33:53,565 | ERROR | meSize=104857600 | TransportConnector | 131 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610387 | Could not accept connection : org.apache.activemq.transport.tcp.ExceededMaximumConnectionsException: Exceeded the maximum number of allowed client connections. See the 'maximumConnections' property on the TCP transport configuration URI in the ActiveMQ configuration file (e.g., activemq.xml) 14:33:59,966 | ERROR | meSize=104857600 | TransportConnector | 131 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610387 | Could not accept connection : org.apache.activemq.transport.tcp.ExceededMaximumConnectionsException: Exceeded the maximum number of allowed client connections. See the 'maximumConnections' property on the TCP transport configuration URI in the ActiveMQ configuration file (e.g., activemq.xml) 

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                sonicaaaa Paolo Antinori
                Reporter:
                emedvede Elena Medvedeva
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: