Synapse
  1. Synapse
  2. SYNAPSE-312

When the load balance endpoints are defined as anonymous the printed DEBUG messages are invalid

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.2-QA-B2
    • Fix Version/s: 2.0
    • Component/s: Endpoints
    • Labels:
      None
    • Environment:
      Ubuntu7.04, JDK1.5.0_06

      Description

      When the loadBalance endpoints are specified as anonymous the following log is printed when the servers are stopped when executing the client
      **********************************************************************************
      [HttpServerWorker-3] DEBUG AddressEndpoint Endpoint 'null' is in state ' true '
      **********************************************************************************

      When the endpoints are defined as endpoint keys the logs printed are duplicated
      **********************************************************************************
      [HttpServerWorker-8] DEBUG LoadbalanceEndpoint Start : Load-balance Endpoint
      [HttpServerWorker-8] DEBUG AddressEndpoint Endpoint 'simple1' is in state ' false '
      [HttpServerWorker-8] DEBUG AddressEndpoint Endpoint 'simple1' is in state ' false '
      [HttpServerWorker-8] DEBUG DefaultEndpoint Start : Address Endpoint
      **********************************************************************************

        Activity

        Hide
        Ruwan Linton added a comment -

        Fixed on the 1.3 branch as well as on the trunk, and will be available with the 1.3 release

        Show
        Ruwan Linton added a comment - Fixed on the 1.3 branch as well as on the trunk, and will be available with the 1.3 release
        Hide
        Evanthika Amarasiri added a comment -

        Tested in synapse1.2. Still the anonymous endpoints are printed as 'null'. Is it alright to display this as 'null'. Maybe the word 'anonymous' would be better than 'null'

        [HttpServerWorker-2] DEBUG AlgorithmContext Setting the current EPR 2
        [HttpServerWorker-2] DEBUG AddressEndpoint AddressEndpoint with name 'null' is in active state

        The issue will be reopened.

        Show
        Evanthika Amarasiri added a comment - Tested in synapse1.2. Still the anonymous endpoints are printed as 'null'. Is it alright to display this as 'null'. Maybe the word 'anonymous' would be better than 'null' [HttpServerWorker-2] DEBUG AlgorithmContext Setting the current EPR 2 [HttpServerWorker-2] DEBUG AddressEndpoint AddressEndpoint with name 'null' is in active state The issue will be reopened.
        Hide
        Ruwan Linton added a comment -

        Fixed on the 1.2 SVN branch of Synapse

        Show
        Ruwan Linton added a comment - Fixed on the 1.2 SVN branch of Synapse
        Hide
        Ruwan Linton added a comment -

        This issue has been fixed with the fixes to the SYNAPSE-325

        Show
        Ruwan Linton added a comment - This issue has been fixed with the fixes to the SYNAPSE-325

          People

          • Assignee:
            Ruwan Linton
            Reporter:
            Evanthika Amarasiri
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development