Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-1990

Uncaught TypeError: Cannot read property '0' of null in hawtio logging console

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • JBoss A-MQ 6.2.1
    • broker, hawtio (console)
    • Hide
      1. check/set ulimits to a 1024 (default) [ulimit -n 1024]
      2. prepare content file ~1.5MB [openssl rand -base64 1100000 > /tmp/1.5M_msg_content.txt
      3. enable admin user in ./etc/users/properties
      4. set kahadb max journal file size (journalMaxFileLength) to 2MB, in ./etc/activemq.xml [<kahaDB directory="$ {data}

        /kahadb" journalMaxFileLength="2mb"/>]

      5. turn off producerFlowControl="false" (in etc/activemq.xml)
      6. send 200 messages to 32 queues with Durable set to True
      7. turn off broker
      8. damage kadadb index (delete the binary part) ./data/amq/kahadb/db.data
      9. login over hawtio as soon is possible and click to first pane(ActiveMQ)
      10. then you can see Error in logging console
      Show
      check/set ulimits to a 1024 (default) [ulimit -n 1024] prepare content file ~1.5MB [openssl rand -base64 1100000 > /tmp/1.5M_msg_content.txt enable admin user in ./etc/users/properties set kahadb max journal file size (journalMaxFileLength) to 2MB, in ./etc/activemq.xml [<kahaDB directory="$ {data} /kahadb" journalMaxFileLength="2mb"/>] turn off producerFlowControl="false" (in etc/activemq.xml) send 200 messages to 32 queues with Durable set to True turn off broker damage kadadb index (delete the binary part) ./data/amq/kahadb/db.data login over hawtio as soon is possible and click to first pane(ActiveMQ) then you can see Error in logging console

      tested on: rhel6
      build version: 621168 (6.2.1R5 candidate)

      After sending a 200 messages with big content(1.5M) to 32 queues and damage kadadb index and login over hawtio you can see (data.amq/kahadb/db.data) Uncaught TypeError: Cannot read property '0' of null in hawtio logging console

              Unassigned Unassigned
              tkratky_jira Tomas Kratky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: