Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-7828

Karaf slave instance does not write port file until it becomes master

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.4.4, 4.4.5
    • None
    • karaf
    • None

    Description

      Originally reported as "Karaf slave instance does not write pid or port file until it becomes master" KARAF-5798

      Testing and a look at the code only the issue with the pid file was fixed. The port file is still only written (InstanceHelper#setupShutdown) from org.apache.karaf.main.Main - KarafLockCallback#lockAcquired 

      The impact of this is that the "stop" command fails with the error "shutdown port file doesn't exist. The container is not running" if the node doesn't have the lock.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            paulmcculloch Paul McCulloch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: