Uploaded image for project: 'Atlassian Cloud'
  1. Atlassian Cloud
  2. CLOUD-5769

Remove -Djava.net.preferIPv4Stack=true hack from pom

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • None

      The the JIRA 5.0 upgrade we did also brings in Crowd 2.3.6. The other apps are using Crowd <= 2.3.4. Because of CWD-2752 this means that when developing a Mac logging into JIRA would not create a SSO token that could also log into the other applications. Mac will use IPv6 for localhost and for some reason reports the local address as ::1%0.

      To work around this for the time being I am going to tell all the apps to use IPv4 in preference to IPv6 by adding -Djava.net.preferIPv4Stack=true. Unicorn uses IPv4 so this should not be a problem.

      We can remove this hack once all the applications go to or past Crowd Embedded 2.3.5 or Crowd Integration Client 2.3.5.

      REF: https://jira.atlassian.com/browse/CWD-2752

              Unassigned Unassigned
              bbain bain
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: