Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-6963

default instance identifier for management should support multiple JVM on a single host

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4.1
    • Fix Version/s: 5.4.2-RC2, 5.4.2
    • Component/s: Core
    • Tags:
    • Impact type:
      Content model Change
    • Upgrade notes:
      Hide

      The default administrative status has been renamed. If you want to keep the previous administrative status you should
      put in your nuxeo.properties the following line :

      org.nuxeo.ecm.instance.administrative.id=localhost

      Show
      The default administrative status has been renamed. If you want to keep the previous administrative status you should put in your nuxeo.properties the following line : org.nuxeo.ecm.instance.administrative.id=localhost

      Description

      When starting multiple nuxeo instance on a single host, the default instance identifier computed by the core management is conflicting.

      In org.nuxeo.ecm.core.management.statuses.NuxeoInstanceIdentifierHelper the default is set to 'localhost'.

      if (StringUtils.isEmpty(serverInstanceName)) {
      InetAddress addr;
      try { addr = InetAddress.getLocalHost(); serverInstanceName = addr.getHostName(); } catch (UnknownHostException e) { serverInstanceName = "localhost"; }
      }
      }
      

      We want instead to compute a name from the osname, and md5 summaries of hardware info and the installation path.

        Attachments

          Activity

            People

            • Assignee:
              slacoin Stéphane Lacoin
              Reporter:
              slacoin Stéphane Lacoin
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: