Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3535

ConfigurationBuilder.withProperties adds empty address when SERVER_LIST not defined

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • 6.0.0.Beta1
    • Remote Protocols
    • None
    • Hide

      reset the servers field via reflection after calling withProperties

      Show
      reset the servers field via reflection after calling withProperties

      ConfigurationBuilder.withProperties uses getProperty(SERVER_LIST, "") with the default empty string and passes that to addServers. This one adds one server with empty address (=localhost) and default port.

      Because of that, it's not possible to use withProperties and setting the servers in proper way. However, IPv6 addresses cannot be parsed in addServers.

            rh-ee-galder Galder ZamarreƱo
            rvansa1@redhat.com Radim Vansa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: