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

In the logs add remote IP address in case of authentication failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBoss A-MQ 6.2
    • JBoss A-MQ 6.2
    • broker
    • None

      • In case of authentication failure, ActiveMQ currently logs something like:
        2015-02-27 13:56:59,740 [ActiveMQ NIO Worker 7126] WARN Service - Security Error occurred: User name [_________] or password is invalid.
        
      • In order to find the culprit client, it would be very useful to add the remote IP address (and port) used while authenticating.
      • Currently we see that the timeout warnings do log such information:
        2015-03-02 08:32:14,520 [InactivityMonitor Async Task: java.util.concurrent.ThreadPoolExecutor$Worker@4182d5fc[State = -1, empty queue]] WARN Transport - Transport Connection to: tcp://120.140.140.33:39338 failed: org.apache.activemq.transport.InactivityIOException: Channel was inactive for too (>3600000) long: tcp://120.140.140.33:39338
        

              Unassigned Unassigned
              jaysensharma Jay SenSharma (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: